CN112989303A - Question generation method and equipment - Google Patents
Question generation method and equipment Download PDFInfo
- Publication number
- CN112989303A CN112989303A CN202110519557.6A CN202110519557A CN112989303A CN 112989303 A CN112989303 A CN 112989303A CN 202110519557 A CN202110519557 A CN 202110519557A CN 112989303 A CN112989303 A CN 112989303A
- Authority
- CN
- China
- Prior art keywords
- information
- answer
- topic
- user
- client
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 43
- 238000004891 communication Methods 0.000 claims abstract description 8
- 238000000605 extraction Methods 0.000 claims description 62
- 238000012795 verification Methods 0.000 claims description 55
- 230000006399 behavior Effects 0.000 claims description 28
- 238000010586 diagram Methods 0.000 description 12
- 239000000284 extract Substances 0.000 description 5
- 230000003993 interaction Effects 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/30—Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
- G06F16/33—Querying
- G06F16/332—Query formulation
- G06F16/3329—Natural language query formulation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/30—Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
- G06F16/33—Querying
- G06F16/338—Presentation of query results
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/45—Structures or tools for the administration of authentication
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- General Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- Computational Linguistics (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Mathematical Physics (AREA)
- Artificial Intelligence (AREA)
- Human Computer Interaction (AREA)
- Electrically Operated Instructional Devices (AREA)
Abstract
The invention discloses a problem generation method, which is applied to a server, wherein the server is in communication connection with a client, and the method comprises the following steps: acquiring request information from a client, wherein the request information carries user information; generating first question information and option information corresponding to the first question information according to the request information, wherein the option information comprises correct answer information and at least one piece of confusing answer information; and generating feedback information and sending the feedback information to the client, wherein the feedback information carries display information corresponding to the first question information and the option information, so that the client displays according to the display information.
Description
Technical Field
The invention relates to the field of identity authentication, in particular to a problem generation method and device.
Background
The security problem is a common method for identity authentication of a software system, and is usually that the system provides a plurality of questions for a client through a user, the user selects part of the questions to answer, the system stores the questions selected by the user and the filled answers, when the identity authentication is needed, the user selects the questions again and fills the answers to realize the identity authentication, but the user often forgets the answers corresponding to the questions in the identity authentication process to cause the identity authentication failure.
Disclosure of Invention
The embodiment of the invention provides a question generation method and equipment, which have the function of generating questions according to user information.
One aspect of the present invention provides a problem generation method, which is applied to a server, where the server is in communication connection with a client, and the method includes: acquiring request information from a client, wherein the request information carries user information; generating first question information and option information corresponding to the first question information according to the request information, wherein the option information comprises correct answer information and at least one confusion answer information; generating feedback information and sending the feedback information to the client, wherein the feedback information carries display information corresponding to the first question information and the option information, so that the client displays according to the display information.
In an implementation manner, after the generating the feedback information is sent to the client, the method further includes: acquiring answer information from a client; when the answer information is judged to be matched with the correct answer information, generating first verification information and sending the first verification information to the client, wherein the first verification information is used for representing that verification is correct; and generating second verification information to be sent to the client side under the condition that the answer information is judged not to be matched with the correct answer information, wherein the second verification information is used for representing verification errors.
In an implementation mode, the server comprises a topic library, and the topic library comprises a plurality of second first topic information; correspondingly, the generating of the first topic information according to the request information includes: generating extraction information according to the request information; extracting one second first topic information from the topic library according to the extraction information to determine the second first topic information as first topic information; the extraction information comprises at least one of the following types: the device comprises first extraction information used for representing random extraction, second extraction information used for representing device type extraction and third extraction information used for representing user operation.
In an implementation manner, the server includes a log library and an answer library, the log library includes log information, and the answer library includes a plurality of answer information; correspondingly, the generating of the option information corresponding to the first topic information according to the request information includes: analyzing a log library according to the user information and the first question information to obtain the correct answer information; extracting at least one answer information from the answer base according to the first question information to serve as confusion answer information; arranging the correct answer information and the confusing answer information to obtain the option information; wherein the correct answer information and the confusing answer information are different.
In an implementation manner, analyzing a log library according to the user information and the first topic information, and obtaining the correct answer information includes: acquiring log information corresponding to the user information within specified time from the log library according to the user information; counting the user behaviors in the log information corresponding to the user information to obtain user behavior information; analyzing the user behavior information corresponding to the first question information to obtain the correct answer information.
Another aspect of the present invention provides a problem generation device, applied to a server, where the server is in communication connection with a client, and the device includes: the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring request information from a client, and the request information carries user information; the generating module is used for generating first question information and option information corresponding to the first question information according to the request information, wherein the option information comprises correct answer information and at least one confusion answer information; and the generating module is further used for generating feedback information and sending the feedback information to the client, wherein the feedback information carries display information corresponding to the first question information and the option information, so that the client displays according to the display information.
In an embodiment, the apparatus further comprises: the acquisition module is also used for acquiring the answer information from the client; the generating module is further used for generating first verification information to be sent to the client under the condition that the answer information is judged to be matched with the correct answer information, wherein the first verification information is used for representing that verification is correct; and the generating module is further used for generating second verification information to be sent to the client side under the condition that the answer information is judged not to be matched with the correct answer information, wherein the second verification information is used for representing verification errors.
In an implementation mode, the server comprises a topic library, and the topic library comprises a plurality of second first topic information; correspondingly, the generating module comprises: the generating submodule is used for generating extraction information according to the request information; the extraction submodule is used for extracting one second first topic information from the topic library according to the extraction information and determining the second first topic information as first topic information; the extraction information comprises at least one of the following types: the device comprises first extraction information used for representing random extraction, second extraction information used for representing device type extraction and third extraction information used for representing user operation.
In an implementation manner, the server includes a log library and an answer library, the log library includes log information, and the answer library includes a plurality of answer information; correspondingly, the generating module further comprises: the analysis submodule is used for analyzing a log library according to the user information and the first question information to obtain the correct answer information; the extraction sub-module is further used for extracting at least one answer information from the answer base according to the first question information to serve as the confusing answer information; the arrangement submodule is used for arranging the correct answer information and the confusing answer information to obtain the option information; wherein the correct answer information and the confusing answer information are different.
In one embodiment, the analysis submodule includes: the acquisition unit is used for acquiring the log information corresponding to the user information in the specified time from the log library according to the user information; the statistical unit is used for carrying out statistics on the user behaviors in the log information corresponding to the user information to obtain user behavior information; and the analysis unit is used for analyzing the user behavior information corresponding to the first question information to obtain the correct answer information.
Another aspect of the invention provides a computer-readable storage medium comprising a set of computer-executable instructions which, when executed, perform any of the problem generation methods described above.
In the embodiment of the invention, a problem generation method is provided, which can generate first topic information and option information corresponding to the first topic information according to request information by acquiring the request information carrying user information, and send the generated feedback information to a client so as to enable the client to display the first topic information and the option information; the method for generating the first topic information and the option information based on the user information can generate the topic and the option related to the user according to the user information, thereby effectively avoiding the failure of identity authentication caused by the fact that the user forgets the answer of the question due to too long time.
Drawings
The above and other objects, features and advantages of exemplary embodiments of the present invention will become readily apparent from the following detailed description read in conjunction with the accompanying drawings. Several embodiments of the invention are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which:
in the drawings, the same or corresponding reference numerals indicate the same or corresponding parts.
FIG. 1 is a schematic diagram of an implementation flow of a problem generation method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of an answer information verification process of a question generation method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram illustrating a topic extraction flow of a problem generation method according to an embodiment of the present invention;
FIG. 4 is a schematic diagram illustrating an option generation flow of a problem generation method according to an embodiment of the present invention;
FIG. 5 is a schematic diagram illustrating a correct answer generation process of a question generation method according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a problem generation device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
FIG. 1 is a schematic diagram of an implementation flow of a problem generation method according to an embodiment of the present invention; please refer to fig. 1.
The invention provides a problem generation method which is applied to a server, wherein the server is in communication connection with a client, and the method comprises the following steps:
102, generating first question information and option information corresponding to the first question information according to the request information, wherein the option information comprises correct answer information and at least one confusion answer information;
and 103, generating feedback information and sending the feedback information to the client, wherein the feedback information carries display information corresponding to the first question information and the option information, so that the client displays according to the display information.
In the embodiment of the invention, a problem generation method is provided, which can generate first topic information and option information corresponding to the first topic information according to request information by acquiring the request information carrying user information, and send the generated feedback information to a client so as to enable the client to display the first topic information and the option information; the method for generating the first topic information and the option information based on the user information can generate the topic and the option related to the user according to the user information, thereby effectively avoiding the failure of identity authentication caused by the fact that the user forgets the answer of the question due to too long time.
The server, which may also be referred to as a server, refers to a device providing computing services, and the server is in communication connection with the client to implement data interaction between the server and the terminal device. The client is a program corresponding to the server and providing a local service to the client. The client is generally installed on a client device, and specifically, the client device includes, but is not limited to, a mobile phone, a computer, and a tablet.
In step 101 of the embodiment of the present invention, a user sends request information to a server through a communication connection between a client and the server, where the request information carries user information, and the user information is information for representing a user identity; the user information may be a mobile phone number, a certificate number, an account number, and the like of the user, where the account number refers to an account number generated after the user performs a registration operation in the server. Specifically, the sending of the request information to the client may be that the client has a button for characterizing identity authentication, and when the user clicks the button, the request information is generated and sent to the server, and the button is used for characterizing the identity authentication operation; further, after the user clicks the button, the client generates an interface for inputting user information, so that after the user inputs the user information in the interface, the client generates request information and sends the request information to the server.
In step 102 of the embodiment of the present invention, after receiving request information, a server generates first topic information and option information corresponding to the first topic information according to the request information; the first question information refers to a question for identity authentication, the option information refers to answer options corresponding to the first question information, at least two answer options in the option information are provided, the answer options at least comprise correct answer information and at least one confusing answer information, and the content of the confusing answer information is different from that of the correct answer information. The option information can also comprise blank filling information, and the blank filling information is used for displaying a blank at the client so that a user can fill the correct answer into the blank filling lattice after selecting the answer option according to the first question information.
In a specific embodiment, when the first topic information is "why the user last logged in", the correct answer information is "8 am" obtained after the server processes the user information, and the confusing answer information may be other than "8 am", for example, "4 pm".
In step 103 of the embodiment of the present invention, a server generates feedback information and sends the feedback information to a client, the feedback information carries display information corresponding to first topic information and option information, and the client displays the first topic information and the option information on a human-computer interaction interface of a client device where the client is located according to the display information after receiving the display information. The answer operation means that the user selects the correct answer option from the option information after reading the first question information. The display mode of the display information is not particularly limited.
FIG. 2 is a schematic diagram of an answer information verification process of a question generation method according to an embodiment of the present invention; please refer to fig. 2.
In an implementation manner, after the step 103 generates the feedback information and sends the feedback information to the client, the method further includes:
and 203, generating second verification information to be sent to the client when the answer information is judged not to be matched with the correct answer information, wherein the second verification information is used for representing verification errors.
In step 201 of the embodiment of the present invention, after the client displays according to the display information, the user performs an answer operation through the client to generate answer information; the client sends the answer information to the server; wherein the answer information at least matches with the correct answer information or the confusing answer information in the option information.
In step 202-203 of the embodiment of the present invention, after receiving the answer information, the server determines whether the answer information matches with the correct answer information; when the judgment result is that the answer information is matched with the correct answer information, generating first verification information and sending the first verification information to the client so as to represent that the verification is correct; otherwise, when the judgment result is that the answer information is not matched with the correct answer information, generating second verification information and sending the second verification information to the client so as to represent a verification error; specifically, after receiving the first verification information or the second verification information, the client may display the verification correctness or the verification mistake on the client according to the first verification information or the second verification information, specifically, the display mode may be a display mode in a picture mode or a text mode, or may provide a link, and when the verification is correct, a certain interface may be skipped through the link, and when the verification fails, the initial interface may be skipped through the link for re-operation.
To provide an embodiment, when the first topic information is "why the user last logged in, the correct answer information is" 8 am ", and the confusing answer information is" 4 pm "; and when the answer information received by the server is 8 am, judging that the user authentication is correct, sending first authentication information to the client, and when the answer information received by the server is 4 pm, judging that the user authentication is failed, and sending second authentication information to the client.
FIG. 3 is a schematic diagram illustrating a topic extraction flow of a problem generation method according to an embodiment of the present invention; please refer to fig. 3.
In an implementation mode, the server comprises a topic library, wherein the topic library comprises a plurality of second first topic information; correspondingly, the step 101 of generating the first topic information according to the request information includes:
In this embodiment, the topic library refers to a database in the server for storing the first topic information; the topic library comprises second topic information, wherein the second topic information is a topic used for identity authentication, and the second topic information in the topic library includes but is not limited to one of the following topics: what the user's usual login time is, what the user's usual devices are, and what the user's usual login location is.
In step 301-. The server determines the second topic information extracted by the extraction information as the first topic information.
Wherein, the extraction information comprises at least one of the following types: the server randomly extracts any one second topic information in the topic library as the first topic information according to the first extraction information.
And the server randomly extracts second topic information corresponding to the equipment type in the topic library according to the second extraction information as the first topic information. For example, when the device is a mobile phone, second topic information corresponding to the mobile phone, such as "what the time of last use of the mobile phone login was".
The server randomly extracts second topic information corresponding to the user operation as the first topic information in the topic library according to the third extraction information, for example, the corresponding second topic information may be extracted according to the login operation of the user, such as "what the login location with the most frequent login times is".
A specific embodiment is provided when questions are included in the topic library of what the user's usual login time is, what the user's usual device is, and what the user's usual login location is. The server extracts a second topic information from the question bank according to the extraction instruction, and when the extracted second topic information is ' what the user's frequently-used equipment is ', the second topic information corresponding to the question ' what the user's frequently-used equipment is ' is the first topic information, and at this time, the first topic information is ' what the user's frequently-used equipment is '.
FIG. 4 is a schematic diagram illustrating an option generation flow of a problem generation method according to an embodiment of the present invention; please refer to fig. 4.
In one implementation mode, the server comprises a log library and an answer library, wherein the log library comprises log information, and the answer library comprises a plurality of answer information; correspondingly, the step 101 of generating the option information corresponding to the first topic information according to the request information includes:
In this embodiment, the log library is a database used by the server to store log information of the user, and the log information refers to a record file or a file set of system operation events. The answer library is a database used by the server to store answer information corresponding to the questions in the question library.
In step 401 of the embodiment of the present invention, information corresponding to the user information and the first topic information in the log library is analyzed according to the user information and the first topic information, where the analysis may refer to statistics, calculation, and the like, to obtain correct answer information corresponding to the first topic information, and since the correct answer information is obtained based on the analysis of the user information and the first topic information, even if the correct answer information is the same topic, the correct answer information is different for different users, so that in a process of avoiding forgetting of a client, the security of identity authentication is effectively improved at the same time.
In step 402 of the embodiment of the present invention, the server extracts answer information corresponding to the first topic information from the answer library as the confusing answer information, wherein the confusing answer information is preferably three or more, and further may be eight, so as to better play a role in confusing correct answers. In one embodiment, when the first topic information is "why the last login place", and the correct answer information is "beijing hai lake district", the confusing answer may be "beijing chaos yang district", "beijing chang ping district", "beijing dong city", and so on.
In step 403 of the embodiment of the present invention, the correct answer information is arranged and combined, and the arrangement manner is not limited, and may be a random ordering, or an initial ordering, and the like. In an embodiment, when the correct answer information is "beijing hai lake district", the confusing answer is "beijing chao yang district", "beijing chang ping district", "beijing dong district"; the combination of the rehearsal and the rehearsal may be called "Changping district, Haizhijie district, Chaoyang district and Tokyo district".
FIG. 5 is a schematic diagram illustrating a correct answer generation process of a question generation method according to an embodiment of the present invention; please refer to fig. 5.
In an implementation manner, the step 401 of analyzing the log library according to the user information and the first topic information, and obtaining correct answer information includes:
In step 501 of the embodiment of the present invention, log information corresponding to user information within a specified time is obtained from a log library according to the user information; the user information refers to information for characterizing the user identity, and the specified time refers to a time range, and specifically, may refer to a month before the time when the server acquires the request instruction. By limiting the time, the user can have more impression on the answer, so that the identity authentication is convenient. For example, when the user information is user a, the log information at least includes a behavior log of user a and a system log during operation of user a.
In step 502-503 of the embodiment of the present invention, user behaviors in the log information corresponding to the user information are counted, where the user behaviors at least include login operations. When the user behavior is a login operation, the user behavior information includes at least a login time, a login location, and a login device. And analyzing the user behavior information according to the first topic information, wherein the user behavior information with the most user behaviors can be used as correct answer information. Providing a specific embodiment, when the first topic information is "what the frequently-used device of the user is", then the corresponding user behavior information is the user login device, analyzing the times that the user logs in the device, and taking the device with the largest number of user login times as a correct answer to generate correct answer information, for example: the longest login device of the user is the mobile phone with the brand A device of 123, and the correct answer is the mobile phone with the brand A device of 123. When the question is "what the normal login time is", the user behavior time is the login time of the user, and the user login time is analyzed, which may be by counting the user login times in a time period, and taking the time period with the largest login times as correct answer information, for example, the user login times between 8 am and 9 am are the largest, and the correct answer is 8 am to 9 am.
FIG. 6 is a diagram of a problem generation apparatus according to an embodiment of the present invention; please refer to fig. 6.
Another aspect of the present invention provides a problem generation device, applied to a server, where the server is in communication connection with a client, and the device includes: an obtaining module 601, configured to obtain request information from a client, where the request information carries user information; a generating module 602, configured to generate first topic information and option information corresponding to the first topic information according to the request information, where the option information includes one piece of correct answer information and at least one piece of confusing answer information; the generating module 602 is further configured to generate feedback information and send the feedback information to the client, where the feedback information carries display information corresponding to the first topic information and the option information, so that the client displays the display information.
In one embodiment, the apparatus further comprises: the obtaining module 601 is further configured to obtain answer information from the client; the generating module 602 is further configured to generate first verification information to be sent to the client when it is determined that the answer information matches the correct answer information, where the first verification information is used to represent that verification is correct; the generating module 602 is further configured to generate second verification information to be sent to the client when it is determined that the answer information does not match the correct answer information, where the second verification information is used to represent a verification error.
In an implementation mode, the server comprises a topic library, wherein the topic library comprises a plurality of second first topic information; accordingly, the generating module 602 includes: a generation submodule 6021 for generating extraction information according to the request information; the extraction submodule 6022 is configured to extract one of the second first topic information in the topic library according to the extraction information to determine the second first topic information as the first topic information; the extraction information includes at least one of the following types: the device comprises first extraction information used for representing random extraction, second extraction information used for representing device type extraction and third extraction information used for representing user operation.
In one implementation mode, the server comprises a log library and an answer library, wherein the log library comprises log information, and the answer library comprises a plurality of answer information; accordingly, the generating module 602 further includes: the analysis submodule 6023 is configured to analyze the log library according to the user information and the first question information to obtain correct answer information; the extraction sub-module 6022 is further configured to extract at least one piece of answer information from the answer library according to the first question information as the confusing answer information; the arrangement submodule 6024 is configured to arrange the correct answer information and the confusing answer information to obtain option information; wherein, the correct answer information is different from the confusing answer information.
In one possible embodiment, the analysis submodule 6023 includes: an obtaining unit 6025, configured to obtain log information corresponding to the user information within a specified time from the log library according to the user information; a counting unit 6026 that counts the user behavior in the log information corresponding to the user information to obtain user behavior information; the analysis unit 6027 analyzes the user behavior information corresponding to the first topic information to obtain correct answer information.
Another aspect of the invention provides a computer-readable storage medium comprising a set of computer-executable instructions which, when executed, perform any of the above-described problem generation methods.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means two or more unless specifically defined otherwise.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (10)
1. A question generation method applied to a server, wherein the server is in communication connection with a client, the method comprising:
acquiring request information from a client, wherein the request information carries user information;
generating first question information and option information corresponding to the first question information according to the request information, wherein the option information comprises correct answer information and at least one confusion answer information;
generating feedback information and sending the feedback information to the client, wherein the feedback information carries display information corresponding to the first question information and the option information, so that the client displays according to the display information.
2. The method of claim 1, wherein after the generating the feedback information is sent to the client, the method further comprises:
acquiring answer information from a client;
when the answer information is judged to be matched with the correct answer information, generating first verification information and sending the first verification information to the client, wherein the first verification information is used for representing that verification is correct;
and generating second verification information to be sent to the client side under the condition that the answer information is judged not to be matched with the correct answer information, wherein the second verification information is used for representing verification errors.
3. The method according to claim 1, wherein the server comprises a topic library, and the topic library comprises a plurality of second first topic information;
correspondingly, the generating of the first topic information according to the request information includes:
generating extraction information according to the request information;
extracting one second first topic information from the topic library according to the extraction information to determine the second first topic information as first topic information;
the extraction information comprises at least one of the following types: the device comprises first extraction information used for representing random extraction, second extraction information used for representing device type extraction and third extraction information used for representing user operation.
4. The method according to claim 3, wherein the server comprises a log library and an answer library, the log library comprises log information, and the answer library comprises a plurality of answer information;
correspondingly, the generating of the option information corresponding to the first topic information according to the request information includes:
analyzing a log library according to the user information and the first question information to obtain the correct answer information;
extracting at least one answer information from the answer base according to the first question information to serve as confusion answer information;
arranging the correct answer information and the confusing answer information to obtain the option information;
wherein the correct answer information and the confusing answer information are different.
5. The method of claim 4, wherein analyzing a log library according to the user information and the first topic information to obtain the correct answer information comprises:
acquiring log information corresponding to the user information within specified time from the log library according to the user information;
counting the user behaviors in the log information corresponding to the user information to obtain user behavior information;
analyzing the user behavior information corresponding to the first question information to obtain the correct answer information.
6. A question generation device, for application to a server communicatively coupled to a client, the device comprising:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring request information from a client, and the request information carries user information;
the generating module is used for generating first question information and option information corresponding to the first question information according to the request information, wherein the option information comprises correct answer information and at least one confusion answer information;
and the generating module is further used for generating feedback information and sending the feedback information to the client, wherein the feedback information carries display information corresponding to the first question information and the option information, so that the client displays according to the display information.
7. The apparatus of claim 6, further comprising:
the acquisition module is also used for acquiring the answer information from the client;
the generating module is further used for generating first verification information to be sent to the client under the condition that the answer information is judged to be matched with the correct answer information, wherein the first verification information is used for representing that verification is correct;
and the generating module is further used for generating second verification information to be sent to the client side under the condition that the answer information is judged not to be matched with the correct answer information, wherein the second verification information is used for representing verification errors.
8. The apparatus according to claim 6, wherein the server comprises a topic library, the topic library comprising a plurality of second first topic information;
correspondingly, the generating module comprises:
the generating submodule is used for generating extraction information according to the request information;
the extraction submodule is used for extracting one second first topic information from the topic library according to the extraction information and determining the second first topic information as first topic information; the extraction information comprises at least one of the following types: the device comprises first extraction information used for representing random extraction, second extraction information used for representing device type extraction and third extraction information used for representing user operation.
9. The device according to claim 8, wherein the server comprises a log library and an answer library, the log library comprises log information, and the answer library comprises a plurality of answer information;
correspondingly, the generating module further comprises:
the analysis submodule is used for analyzing a log library according to the user information and the first question information to obtain the correct answer information;
the extraction sub-module is further used for extracting at least one answer information from the answer base according to the first question information to serve as the confusing answer information;
the arrangement submodule is used for arranging the correct answer information and the confusing answer information to obtain the option information; wherein the correct answer information and the confusing answer information are different.
10. The apparatus of claim 9, wherein the analysis submodule comprises:
the acquisition unit is used for acquiring the log information corresponding to the user information in the specified time from the log library according to the user information;
the statistical unit is used for carrying out statistics on the user behaviors in the log information corresponding to the user information to obtain user behavior information;
and the analysis unit is used for analyzing the user behavior information corresponding to the first question information to obtain the correct answer information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110519557.6A CN112989303A (en) | 2021-05-13 | 2021-05-13 | Question generation method and equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110519557.6A CN112989303A (en) | 2021-05-13 | 2021-05-13 | Question generation method and equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112989303A true CN112989303A (en) | 2021-06-18 |
Family
ID=76337556
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110519557.6A Pending CN112989303A (en) | 2021-05-13 | 2021-05-13 | Question generation method and equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112989303A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104348822A (en) * | 2013-08-09 | 2015-02-11 | 深圳市腾讯计算机系统有限公司 | Method and device for authentication of Internet account number and server |
CN105989256A (en) * | 2015-02-09 | 2016-10-05 | 阿里巴巴集团控股有限公司 | User behaviour based data verification method and device |
US20160301674A1 (en) * | 2013-02-01 | 2016-10-13 | Interman Corporation | Identity confirmation method and identity confirmation system using life log |
US20190281048A1 (en) * | 2016-11-24 | 2019-09-12 | Alibaba Group Holding Limited | Methods and devices for generating security questions and verifying identities |
CN112016067A (en) * | 2020-08-14 | 2020-12-01 | 支付宝(杭州)信息技术有限公司 | User identity verification method and device |
-
2021
- 2021-05-13 CN CN202110519557.6A patent/CN112989303A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160301674A1 (en) * | 2013-02-01 | 2016-10-13 | Interman Corporation | Identity confirmation method and identity confirmation system using life log |
CN104348822A (en) * | 2013-08-09 | 2015-02-11 | 深圳市腾讯计算机系统有限公司 | Method and device for authentication of Internet account number and server |
CN105989256A (en) * | 2015-02-09 | 2016-10-05 | 阿里巴巴集团控股有限公司 | User behaviour based data verification method and device |
US20190281048A1 (en) * | 2016-11-24 | 2019-09-12 | Alibaba Group Holding Limited | Methods and devices for generating security questions and verifying identities |
CN112016067A (en) * | 2020-08-14 | 2020-12-01 | 支付宝(杭州)信息技术有限公司 | User identity verification method and device |
Non-Patent Citations (1)
Title |
---|
陈长松 等: "《网络安全管理实践》", 30 April 2018, 北京:中国人民公安大学出版社 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108712413B (en) | Identity verification method and equipment | |
CN112148518A (en) | Log file processing method and device, computer equipment and storage medium | |
CN106330458B (en) | A kind of processing method and processing device of identifying code | |
CN104901924B (en) | Internet account verification method and device | |
CN111478969A (en) | Interface checking method and device | |
CN109712000A (en) | Repeat insure method for limiting, device, equipment and readable storage medium storing program for executing | |
CN110290486A (en) | Short message sends test method, device, computer equipment and storage medium | |
CN109587351B (en) | Call testing method, device, equipment and storage medium | |
CN106921621A (en) | User authentication method and device | |
CN112800401B (en) | Privacy processing method, privacy processing device and terminal | |
CN111708712A (en) | User behavior test case generation method, flow playback method and electronic equipment | |
CN107231358B (en) | Questionnaire data acquisition method, server and mobile terminal | |
CN114816815A (en) | Fault positioning method, log format configuration method, equipment and storage medium | |
CN111798219A (en) | Employee attendance record filling method and device, mobile terminal and storage medium | |
CN112989303A (en) | Question generation method and equipment | |
CN108280024A (en) | Traffic distribution strategy test method, device and electronic equipment | |
CN108540521A (en) | A kind of method of synchronizing information, terminal device and server | |
CN105956870A (en) | Content-based multimedia authentication code advertisement inputting and trading system | |
CN112131085A (en) | Method, system and device for recording and playing back Internet business process | |
CN108229127B (en) | System and method for generating authentication data in advance to distinguish clients | |
CN115587371A (en) | Method and device for generating secret key in test process, computer equipment and storage medium | |
CN112995648B (en) | Internet television full-flow fault diagnosis method and device and computing equipment | |
CN108449224B (en) | Data acquisition method, device, equipment and storage medium | |
CN109634602B (en) | Electronic device, man-machine voting recognition method, and storage medium | |
CN114020191A (en) | Operation video generation method and device of service page, computer equipment and medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210618 |
|
RJ01 | Rejection of invention patent application after publication |