Online answer sheet method and question generation method
By filtering out the question groups from the target question pool according to the component type and selected timestamps when the user selects the target component, and generating the target answer sheet, the existing online answering system has solved the problems of high maintenance costs and low efficiency, and more efficient answer sheet generation and system management have been achieved.
Patent Information
- Application Number
- CN202510153291.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-11
- Publication Date
- 2025-06-27
AI Technical Summary
The existing online answering system has high maintenance costs and low efficiency in generating answer sheets. It requires frequent adjustments and optimization of the system to meet different needs.
When the user selects a target component, determines the component type and filters out the question group from the target question pool based on the selected timestamp, and generates the target answer sheet. This method includes implementing the online answering method on the client side, and implementing the question generation method on the server side, and dynamically updating the question group in the question pool.
It realizes unified management of various answering components, reduces system maintenance costs, and improves the efficiency of generating answers.
Smart Images

Figure CN120216673A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present application relate to the field of information technology, and in particular, to an online answer sheet method, a question generation method, a device, a computer device, a computer-readable storage medium, and a computer program product. Background Art
[0002] With the rapid development of Internet technology and the increasing diversification of user needs, various online communities have gradually become important platforms for people to obtain information, exchange ideas, and establish social relationships. Many communities adopt various answering systems to screen users in order to maintain the characteristics of the community.
[0003] However, the answering systems may vary, and the system or device often needs to be frequently adjusted and optimized according to specific requirements, thereby increasing the maintenance cost of the system or device and having a low efficiency in generating answer sheets.
[0004] It should be noted that the above content is not necessarily prior art and does not limit the patent protection scope of the present application. Summary of the Invention
[0005] Embodiments of the present application provide an online answer sheet method, a question generation method, a device, a computer device, a computer-readable storage medium, and a computer program product to solve or alleviate one or more of the above technical problems.
[0006] One aspect of embodiments of the present application provides an online answer sheet method for a client, and the method includes: In response to selecting a target component, determining the component type corresponding to the target component; In the case where the component type is a randomly switched question, determining the selected timestamp of the target component; According to the selected timestamp, determining a target question group from a target question pool, where the target question group is used to generate a target answer sheet; Displaying the target answer sheet on the answering interface.
[0007] Optionally, the target question pool is updated based on a time series: Updating a new question group to the target question pool according to the time series; where the time series includes multiple time points after the current time point, and one time point corresponds to generating one new question group; Wherein, one time point corresponding to generating one new question group includes: respectively selecting several questions and spare questions from each question bank; generating a new question group associated with the time point according to the several questions and spare questions obtained from each question bank; where the spare questions are used to replace the questions selected from the same question bank.
[0008] Optionally, obtaining a target question group from a target question pool according to the selected timestamp includes: Searching in the target question pool for a question group with a time point the same as the selected timestamp; If a question group with a time point the same as the selected timestamp is found, determining the found question group as the target question group.
[0009] Optionally, obtaining a target question group from a target question pool according to the selected timestamp further includes: If no question group with a time point the same as the selected timestamp is found, randomly selecting a question group from a backup question pool as the target question group; wherein, the question groups in the backup question pool are obtained from the target question pool.
[0010] Optionally, the method further includes: When the component type is such that random question switching is not required, obtaining a fixed question group; Generating the target answer sheet according to the fixed question group.
[0011] Optionally, the target question group includes target questions, and the method further includes: When the question replacement control corresponding to the target question is triggered, obtaining alternative questions corresponding to the target question group; Displaying the alternative questions on the answer interface to replace the target questions.
[0012] Optionally, the target question group includes target questions, and the method further includes: In response to the submission control for the target question group and / or the target question being triggered, uploading the corresponding answer result to the server.
[0013] Optionally, the target question group includes target questions, and the method further includes: In response to the hint control corresponding to the target question being triggered, popping up a hint box.
[0014] Another aspect of the embodiments of the present application provides a question generation method for a server, and the method includes: Determining a time sequence, where the time sequence includes time points after the current time point; Respectively selecting several questions and backup questions from each question pool; Generating a new question group associated with the time point according to the several questions and backup questions obtained from each of the question pools; Updating the new question group to the target question pool, and binding the time point as the version number of the new question group.
[0015] Optionally, the question generation method further includes: Determining a component type corresponding to the answer result in response to answer results uploaded by a plurality of target objects; When the component type is a target type, determining a similarity between the plurality of target objects according to the answer result; Generating a target feedback according to the similarity; Sending the target feedback to a client.
[0016] Another aspect of the embodiments of the present application provides an online answer sheet device for a client, and the device includes: A first determination module, configured to determine a component type corresponding to the target component in response to a selected target component; A second determination module, configured to determine a selected timestamp of the target component when the component type is a randomly switched question; A third determination module, configured to determine a target question group from a target question pool according to the selected timestamp, where the target question group is used to generate a target answer sheet; A display module, configured to display the target answer sheet on an answer interface.
[0017] Another aspect of the embodiments of the present application provides a question generation device for a server, and the device includes: A determination module, configured to determine a time sequence, where the time sequence includes time points after a current time point; A selection module, configured to respectively select a plurality of questions and standby questions from each question bank; A generation module, configured to generate a new question group associated with the time point according to the plurality of questions and standby questions obtained from each question bank; A binding module, configured to update the new question group to the target question pool and bind the time point as a version number of the new question group.
[0018] Another aspect of the embodiments of the present application provides a computer device, including: At least one processor; and A memory communicatively connected to the at least one processor; Wherein: the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method as described above.
[0019] Another aspect of the embodiments of the present application provides a computer-readable storage medium, where computer instructions are stored in the computer-readable storage medium, and when the computer instructions are executed by a processor, the method as described above is implemented.
[0020] Another aspect of the embodiments of the present application provides a computer program product, including a computer program, which when executed by a processor implements the method described above.
[0021] The embodiments of the present application adopting the above technical solutions may include the following advantages: When a user selects a target component, such as a Q&A component, a quiz component, or a "Test Yourself" component, etc., the specific component type of the target component is identified and determined. If the component type is one that requires randomly switching questions, then according to the selected timestamp corresponding to the target component, a question group is screened from the target question bank. Subsequently, based on the screened question group, a target answer sheet for the user to answer is generated. Thus, it can be seen that the embodiments of the present application effectively reduce the maintenance cost of the system or device and improve the efficiency of generating answer sheets by realizing the unified management of various types of answering components. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] The drawings exemplarily show embodiments and form a part of the specification, and are used together with the written description of the specification to explain the exemplary embodiments. The shown embodiments are only for illustrative purposes and do not limit the scope of the claims. In all the drawings, the same reference numerals refer to similar but not necessarily identical elements.
[0023] Figure 1 Schematically shows an operating environment diagram of an online answer sheet method and a question generation method according to Embodiment 1 of the present application; Figure 2 Schematically shows a flowchart of an online answer sheet method according to Embodiment 1 of the present application; Figure 3 Schematically shows Figure 2 a sub-step flowchart of step S204 in Figure 4 Schematically shows Figure 2 a sub-step flowchart of step S204 in Figure 5 Schematically shows an additional flowchart of an online answer sheet method according to Embodiment 1 of the present application; Figure 6 Schematically shows a flowchart of a question generation method according to Embodiment 2 of the present application; Figure 7 Schematically shows an additional flowchart of a question generation method according to Embodiment 2 of the present application; Figure 8A 、 8B and 8C schematically show an exemplary application flowchart of the present application; Figure 9A 、 9B and 9C schematically show an answer sheet display diagram corresponding to an answering component; Figure 10A, 10B 10C schematically shows the answer sheet display diagram corresponding to the test component; Figure 11A , 11B 11C schematically shows the answer sheet display diagram corresponding to the questionnaire component; Figure 12A and 12B schematically shows the interactive form display diagram Figure 13 schematically shows the block diagram of the online answer sheet method device according to the second embodiment of the present application; and Figure 14 schematically shows the block diagram of the question generation method device according to the third embodiment of the present application; and Figure 15 schematically shows the hardware architecture diagram of the computer device according to the fourth embodiment of the present application. Detailed implementation manners
[0024] In order to make the objectives, technical solutions and advantages of the present application clearer, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in the present application without creative efforts shall fall within the protection scope of the present application.
[0025] It should be noted that the descriptions involving "first", "second", etc. in the embodiments of the present application are only for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include at least one of such features. In addition, the technical solutions between the various embodiments may be combined with each other, but it must be based on the fact that those of ordinary skill in the art can implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be considered that such a combination of technical solutions does not exist and is not within the protection scope required by the present application.
[0026] In the description of the present application, it should be understood that the numerical labels before the steps do not identify the order of execution of the steps, but are only used to facilitate the description of the present application and distinguish each step, and thus cannot be understood as a limitation to the present application.
[0027] First, the term explanations related to the present application are provided: Component: A software module embedded in an application, website, or platform that provides the functions and interfaces required for answering questions. These components allow users to input answers, submit answers, view results, and may include functions such as scoring, feedback, or other interactive functions.
[0028] Title: Questions to be answered, including the question stem (containing: text description, additional pictures, etc.), several options, option scores, etc.
[0029] Question Bank / Race Track: A collection of questions that can be classified, stored, and distributed according to business scenarios. For example: difficulty level, activity track (audition, advanced), interest direction, subject (such as mathematics, Chinese, foreign languages, etc.).
[0030] Secondly, to facilitate those skilled in the art to understand the technical solutions provided by the embodiments of the present application, the related technologies are described below: By screening specific users (such as anime enthusiasts) through a question-answering system, the sense of belonging and identity of users to the community can be enhanced. With the further development of such online gameplay, various modes have evolved. For example: quizzes, questionnaire answering, question-answering components, etc. However, these online gameplay have problems such as relatively high system or device maintenance costs and low production efficiency.
[0031] Therefore, the embodiments of the present application provide an online answer sheet technical solution and a question generation technical solution to overcome the above problems, as described in detail later.
[0032] Finally, for the convenience of understanding, an exemplary operating environment is provided below.
[0033] As Figure 1 shown, the operating environment diagram includes: server 2, clients (4A, 4B,..., 4N).
[0034] Server 2 can be connected to clients (4A, 4B,..., 4N) through a network.
[0035] Server 2 can be a single server, a server cluster, or a cloud computing service center.
[0036] Server 2 can provide services such as storing questions and sending questions to clients.
[0037] Server 2 can be located in a data center such as a single location, or distributed in different geographical locations (for example, in multiple locations). Server 2 can provide services via a network. The network includes various network devices, such as routers, switches, multiplexers, hubs, modems, bridges, repeaters, firewalls, proxy devices, and / or the like. The network can include physical links, such as coaxial cable links, twisted pair cable links, fiber optic links, and combinations thereof, or wireless links, such as cellular links, satellite links, Wi-Fi links, etc.
[0038] Clients (4A, 4B, …, 4N) can be configured to access the content and services of server 2. The clients (4A, 4B, …, 4N) can include electronic devices with a built-in or external display panel, such as mobile devices, tablet devices, laptop computers, workstations, virtual reality devices, gaming devices, digital streaming devices, vehicle terminals, smart TVs, set-top boxes, etc., and can also include virtualized computing instances. The virtualized computing instances can include virtual machines, such as emulations of computer systems, operating systems, servers, etc. The computing device can load a virtual machine based on a virtual image and / or other data defining specific software (e.g., operating system, dedicated application, server) for emulation. As the demand for different types of processing services changes, different virtual machines can be loaded and / or terminated on one or more computing devices.
[0039] Clients (4A, 4B, …, 4N) can be associated with one or more users. A single user can also use one or more of the clients (4A, 4B, …, 4N) to access server 2. The clients (4A, 4B, …, 4N) can travel to various locations and use different networks to access server 2.
[0040] Clients (4A, 4B, …, 4N) can include an interface. The interface can include a touchpad, touch screen, mouse, keyboard, or other sensing elements. For example, the input element can be configured to receive user instructions, and the user instructions can cause the clients (4A, 4B, …, 4N) to perform various operations, such as answering questions, changing questions, uploading questions, etc.
[0041] It should be noted that the above devices are exemplary, and in different scenarios or according to different requirements, the number and types of devices can be adjusted.
[0042] The technical solutions of this application will be introduced below through multiple embodiments with the clients and the server as the execution entities respectively. It should be noted that these embodiments can be implemented in various different forms and should not be construed as being limited only to the embodiments described herein.
[0043] Embodiment 1 This method embodiment can be executed in a client. The following takes the client as the execution entity of this process Figure 2 A flowchart of an online answer sheet method according to Embodiment 1 of the present application is schematically shown.
[0044] As Figure 2 shown, the online answer sheet method can include steps S200 to S206, where: Step S200, in response to selecting a target component, determine the component type corresponding to the target component; Step S202, when the component type is a randomly switched question, determine the selected timestamp of the target component; Step S204, determine a target question group from a target question pool according to the selected timestamp, where the target question group is used to generate a target answer sheet; Step S206, display the target answer sheet on the answering interface.
[0045] The online answer sheet method provided in this embodiment, when a user selects a target component, such as a Q&A component, an answering component, or a quiz component, etc., identifies and determines the specific component type of the target component. If the component type is one that requires randomly switching questions, then according to the selected timestamp corresponding to the target component, a question group is screened from the target question bank. Subsequently, based on the screened question group, a target answer sheet for the user to answer is generated. It can be seen that the embodiment of the present application realizes unified management of various answering components, increases the generality of question generation for various answering components by the system, effectively reduces the maintenance cost of the system or device, and improves the efficiency of generating answer sheets.
[0046] The following combines Figure 2 to elaborate in detail on each step in steps S200 to S206 and optional other steps.
[0047] Step S200, in response to selecting a target component, determine the component type corresponding to the target component.
[0048] The target component is a business form that users can directly access. For example, a questionnaire component, an answering component, a quiz component, etc. The component type can be classified according to the function and use of the component. The component type determines how to specifically process and present questions. The component type can be a type that does not require randomly switching questions (i.e., presenting the same questions each time), a type that randomly switches questions (i.e., presenting different question groups each time), etc. For example, a questionnaire component, etc. can be a type that does not require randomly switching questions; an answering component, a quiz component, etc. can be types that randomly switch questions.
[0049] For different target components, there may be different requirements for data distribution methods and display methods. For example, for answering components and quiz components, for the sake of the fun of the gameplay. Generally, it is required to randomly display different questions each time. For components such as questionnaire components that are more inclined to collect feedback, there is no need to randomly switch questions.
[0050] Combined with Figure 12A and 12BThe operation staff can manage the attributes of each component through the interactive form in the background. Specifically, the number of question banks corresponding to each component, the question bank sorting strategy, the answer submission method (for example, submitting in one batch, or judging and submitting question by question), the limit on the number of times a user can answer / submit, the time for re-answering, the question generation strategy (issuing in full quantity in sequence, issuing randomly), the user's re-answering, the cooling time, the number of questions in the question pool, the number of times questions can be changed in each round, the number of times the answer can be prompted in each round, the answering time for each question, the score for each question, etc. can be set.
[0051] Step S202, when the component type is randomly switching questions, determine the selected timestamp of the target component.
[0052] The selected timestamp refers to the time point when the user selects / triggers the target component, or can also be the time point when the target component starts. This selected timestamp can be used later to select a target question group from the target question pool. One selected timestamp corresponds to one question group. Different selected timestamps correspond to different question groups. Thus, the user can obtain different target question groups each time they refresh the page or select the target component, thereby improving the fun of answering questions.
[0053] Step S204, determine a target question group from the target question pool according to the selected timestamp, and the target question group is used to generate a target answer sheet.
[0054] A target question pool including multiple questions can be determined according to the configuration and / or type of the target component. Each target question group can include questions, answers, prompts, etc. The questions can be of various types (such as multiple-choice questions, fill-in-the-blank questions, true-or-false questions, etc.), various difficulty levels (easy, medium, difficult, etc.), various disciplines, etc.
[0055] The target question group can be generated in server 2 or locally on the client.
[0056] The target question pool includes multiple question groups and can be continuously updated to ensure the diversity and differentiation of the answer sheets.
[0057] In an optional embodiment, the target question pool is updated based on a time series: Update new question groups to the target question pool according to the time series; wherein, the time series includes multiple time points after the current time point, and one time point corresponds to generating one new question group; Wherein, one time point corresponds to generating one new question group, including: selecting several questions and spare questions from each question bank respectively; generating a new question group associated with the time point according to the several questions and spare questions obtained from each question bank; wherein, the spare questions are used to replace the questions selected from the same question bank.
[0058] can be combined Figure 12A and 12B such that an operator can manage question banks (i.e., tracks) and questions through an interactive form in the background. Specifically, multiple question banks can be created according to different business classifications (such as subject, difficulty, etc.). Then, the questions are organized, stored, etc. It should be noted that one type of question group corresponds to one question pool, and one question pool is associated with a preset number of question banks.
[0059] After successfully creating multiple question banks and entering questions, a generation strategy is executed once per second. Multiple questions are respectively selected from each question bank associated with the target question pool. Then, based on the time series, these questions are updated to the corresponding target question pool to generate snapshot data (i.e., new question groups) for a period of time after the current time point. For example, assuming that K questions need to be set for each subject and L questions are allowed to be replaced, then K + L questions are randomly fetched from each corresponding question bank. This process is repeated 60 * 10 = 600 times to form second-level snapshot data for the next 10 minutes and is numbered. In some embodiments, the expiration time of these snapshot data can be set, such as 1 hour.
[0060] In this embodiment, based on the time series, questions and backup questions are selected from each question bank to generate a question group associated with the time point and are dynamically updated to the target question pool, thereby realizing flexible replacement and update of the question group, improving the timeliness and diversity of the question group in the target question pool. The setting of backup questions enables subsequent users to perform question replacement operations, optimizing the user experience. In addition, the question group is updated in real time based on the time series, ensuring the real-time interaction of question setting and answering.
[0061] The target question group can be obtained from the target question pool in different ways, such as randomly or by locating and selecting based on the time stamp.
[0062] In an alternative embodiment, as Figure 3 shown, step S204 may include:[[]] Step S300, searching for a question group in the target question pool whose time point is the same as the selected time stamp; Step S302, if a question group whose time point is the same as the selected time stamp is found, then determining the found question group as the target question group.
[0063] If the user selects a target component that needs to randomly switch questions, then search in the target question pool to check if there is a question group whose time point is the same as the selected time stamp. If a question group whose time point is the same as the selected time stamp is found, then determining the found question group as the target question group.
[0064] In some embodiments, a time tolerance mechanism may be introduced. If a question group with a time point identical to the selected time stamp cannot be found, a search for the question group may be conducted within a certain time range (such as ±2 seconds, ±5 seconds, etc.) before and after the selected time stamp. If a question group is found within this time range, it is also regarded as a successful match, and any one of the found question groups is determined as the target question group.
[0065] In this embodiment, by matching the selected time stamp with the time points associated with each question group, the target question group is determined from the target question pool. This method enables different target question groups to be found for different selected time stamps, thus effectively achieving random question generation, ensuring the immediacy of the answer sheet, and increasing the interest and diversity of subsequent user answering.
[0066] In an alternative embodiment, as Figure 4 shown, step S204 may further include: If a question group with a time point identical to the selected time stamp is not found, a question group is randomly selected from the backup question pool as the target question group; wherein, the question groups in the backup question pool are obtained from the target question pool.
[0067] The backup question pool includes at least one question group. In some embodiments, the backup question group can be set to never expire, so that after the user selects the target component, subsequent display of the target questionnaire on the client will not be affected due to clock errors or other reasons. The backup question pool can be synchronously updated as the target question pool is updated (such as the addition of new question groups, the removal of outdated question groups, etc.). In some embodiments, the update time of the backup question pool can also be different from that of the target question pool. In some embodiments, the content of the backup question pool does not change with the update of the target question pool. When the user selects the target component that needs to randomly switch questions, the time of selecting the target component is used as the version number to search the target question pool for a question group with a time point identical to the selected time stamp. If a question group with a time point identical to the selected time stamp cannot be found in the target question pool (possibly due to user clock errors or other reasons), a question group is randomly selected from the backup question pool as the target question group.
[0068] In some embodiments, to prevent the user from encountering the same question group repeatedly in a short period of time, the information of the question groups recently accessed by the user can be recorded and these accessed question groups can be excluded during random selection.
[0069] In this embodiment, by setting up the backup question pool, the user can still obtain a question group in case of clock errors or other situations, improving the success rate of subsequent answer sheet generation.
[0070] Step S206, display the target answer sheet on the answering interface.
[0071] With reference to FIG. 8, the obtained target question group can be used to generate a target answer sheet in accordance with a preset format and structure. During this process, the display style of the target answer sheet can be set according to the type of the question group (such as single-choice, multiple-choice, fill-in-the-blank, short-answer, etc.) and specific requirements (such as question order, option layout, etc.).
[0072] It can be combined with Figures 9A to 11C , and the target answer sheet corresponding to the target component (answer component, test component, and questionnaire component) can include questions and options for the user to select. In some embodiments, for fill-in-the-blank or short-answer question types, the target answer sheet can include questions and input boxes for the user to enter answers, etc. In some embodiments, interactive elements such as buttons like "previous question", "next question", "submit answer sheet", etc., and countdown prompts can be added to enhance the user experience.
[0073] In an alternative embodiment, as Figure 4 shown, the online answer sheet method may further include: Step S400, when the component type does not require random switching of questions, obtain a fixed question group; Step S402, generate the target answer sheet according to the fixed question group.
[0074] When it is recognized that the currently selected target component is a non-random question-switching type, such as a questionnaire component. Subsequently, a fixed question group pre-set by the operator can be obtained. Then, the target answer sheet is generated according to the fixed question group.
[0075] In this embodiment, for components that tend to collect feedback (such as questionnaire components), in the way of a fixed question group, a series of questions are defined in advance by the operator so as to comprehensively and accurately cover the user feedback they want to collect. In this way, not only the process of generating the answer sheet is simplified, but also the efficiency and quality of subsequent data collection are improved.
[0076] In an alternative embodiment, the target question group includes target questions. As Figure 5 shown, the online answer sheet method may further include: Step S500, when the question-changing control corresponding to the target question is triggered, obtain the alternative questions corresponding to the target question group; Step S502, display the alternative questions on the answer interface to replace the target questions.
[0077] A question-changing control can be displayed on the answer interface, and the answering control can be a button, a link, or other interactive elements. When the user clicks and triggers the question-changing control, the alternative questions corresponding to the target question group are obtained and displayed on the answer interface.
[0078] In this embodiment, the method of switching questions through the question switching control improves the convenience of interaction. In addition, users can select questions according to their own needs, which increases the fun and interactivity of answering questions.
[0079] In an optional embodiment, the target question group includes a target question, and the online answering method may further include: In response to the submission control of the target question group and / or target question being triggered, the corresponding answer result is uploaded to the server.
[0080] A submit control may be displayed on the answering interface, and the submit control may be a button, link or other interactive element. The data uploaded when the submit control is triggered may include: answer version number (seconds of selecting the target component, i.e., the selected timestamp mentioned in the context), question identifier (such as ID), specific options, and the nickname or ID of the answerer.
[0081] The server scores each question based on its score: (1) Answering component: There is a standard answer for each question. For example, each option has 0 points and 1 point.
[0082] (2) Test component: There is no standard answer, but there needs to be a degree of discrimination in the evaluation. Therefore, each question is accompanied by a score (negative scores can be set) to calculate the similarity of the people answering the questions.
[0083] (3) Questionnaire components: There is no standard answer, and there is no need to measure similarity. That is, each question option has no score.
[0084] In some embodiments, after the data is persisted, the evaluation information (i.e., the answer result) or questionnaire information can be counted according to the answer version number. If multiple answers are allowed, the score differences and similarity differences of the multiple answers can be further analyzed, and the information collected from the questionnaire can be derived.
[0085] In this embodiment, after the user triggers the submission control, the answer results will be uploaded to the server, realizing the real-time collection and storage of the answer data, ensuring the accuracy and completeness of the answer data as much as possible, and facilitating subsequent data analysis and processing.
[0086] In an optional embodiment, the target question group includes a target question, and the online answering method may further include: In response to the prompt control corresponding to the target topic being triggered, a prompt box pops up.
[0087] A hint control can be displayed on the answer interface. The hint control can be a button, a link, or other interactive elements. The content of the hint box can include the problem-solving ideas of the question, the explanations of key concepts, the references to formulas or theorems, etc. The hint box is used to help the user better understand the target question and find the problem-solving clues.
[0088] In some embodiments, the behavior of the hint control can be customized according to the user's needs. For example, the user can choose whether to display the hint box, adjust the transparency or size of the hint box, set the display mode of the hint information, etc.
[0089] In this embodiment, by triggering the hint control to immediately pop up the hint box, a shortcut method improves the human-computer interaction efficiency. By providing the required information or help in the form of a hint box, the user experience and learning efficiency are enhanced.
[0090] Embodiment 2 This method embodiment can be executed in a server. Here, the server is taken as the execution entity of this process.
[0091] It should be noted that the technical details and technical effects in this embodiment can be referred to, introduced, and combined with Embodiment 1.
[0092] Figure 6 Schematically shows a flowchart of a question generation method according to Embodiment 2 of the present application.
[0093] As Figure 6 shown, the question generation method can include steps S600 to S606, where: Step S600, determine a time series, where the time series includes time points after the current time point; Step S602, respectively select a number of questions and backup questions from each question bank; Step S604, generate a new question group associated with the time point according to the number of questions and backup questions obtained from each of the question banks; Step S606, update the new question group to the target question pool, and bind the time point as the version number of the new question group.
[0094] The update can be, for example, the addition of a new question group, the removal of an outdated question group, etc.
[0095] A number of questions can be randomly selected from each question bank according to the set rules. Then, according to the set question group generation rules (such as the number of questions, order, type, etc.), the selected questions and backup questions can be combined into a new question group. A unique version number is assigned to each new question group, and the version number is bound to the corresponding time point. The version number can be used to find the question group in the target question pool whose time point is the same as the selected time stamp.
[0096] In this embodiment, by updating a new question group to a target question pool based on a time series, the client can find the target question group from the target question pool according to the selected time of the target component (such as, a question answering component and a quiz component), thereby improving the efficiency of randomly generating questions.
[0097] In an alternative embodiment, as Figure 7 shown, the question generation method may further include: Step S700, in response to the answering results uploaded by a plurality of target objects, determining the component type corresponding to the answering results; Step S702, in the case where the component type is a target type, determining the similarity of the plurality of target objects according to the answering results; Step S704, generating a target feedback according to the similarity; Step S706, sending the target feedback to the client.
[0098] Based on the answering results of the target objects, the similarity between the plurality of target objects can be calculated to form a similarity matrix. Analyze the similarity matrix to determine the similarity of the plurality of target objects. Then, generate a target feedback for the target objects according to the similarity. It can be combined with Figure 10C , and the target feedback can be generating a personalized description, personalized learning suggestions, learning partner recommendations, etc.
[0099] In this embodiment, by calculating the similarity of each target object to generate a target feedback, the human-computer interaction efficiency is improved, and targeted target feedback (such as, personalized description, learning suggestions, etc.) is provided, promoting the improvement of the user's learning efficiency and the enhancement of social interaction.
[0100] To make the present application easier to understand, the following provides an exemplary application in combination with Figure 8A 、 8B and 8C.
[0101] Step S1, an operator can perform data preparation through an interactive form in the background (such as, managing question pools, components, question banks, questions, etc.).
[0102] (1) For questions: Questions can be made in various ways such as manually. The answering time of each question, the score of each question, etc. can be set.
[0103] (2) For question banks: Multiple question banks can be divided according to different classifications of the business (such as, disciplines, difficulty levels, etc.). Enter multiple questions into each question bank. Among them, each question bank corresponds to a business scenario and includes several questions.
[0104] (3) For question pools: According to business requirements, bind each question pool to a different question bank.
[0105] (4) For components: Set the component types of each component. The components may include: a "Test" component, a "Question Answering" component, a "Questionnaire" component, etc. According to business requirements, associate each component with each question pool. Among them, one component corresponds to one question pool.
[0106] Step S2, after the operator completes the configuration of the target component, question bank, question pool, questions, etc., select K questions and L backup questions respectively from each question bank corresponding to each question pool in time series. K and L are natural numbers greater than zero.
[0107] Step S3, generate multiple new question groups based on the selected K questions and L backup questions. Among them, the backup questions are used to replace the questions selected from the same question bank when the user triggers a question change later.
[0108] Step S4, execute the set question-posing strategy once per second, and update multiple new question groups to the question pool based on time series to form multiple snapshot data (i.e., the new question groups mentioned above). It should be noted that each snapshot data includes a complete set of K + L questions and answers, hint answers, etc.
[0109] Step S5, bind multiple version numbers (timestamps) to multiple snapshot data based on time series. The time series includes multiple time points after the current time point, and each time point corresponds to the version number of each snapshot data respectively. The expiration time of these snapshot data can be set, such as 1 hour.
[0110] Step S6, when the user selects the target component, determine the component type corresponding to the target component. It should be noted that the component types include those that require random question switching and those that do not require random question switching.
[0111] Different component types correspond to different processing logics: (1) When the component type is one that requires random question switching, the system will perform the following operations: Step S7A, determine the selected timestamp of the target component as the target version number, and check whether there is snapshot data in the target question pool corresponding to the target component whose version number matches the target version number.
[0112] Step S8A, determine the target question group according to the target version number.
[0113] Specifically, if there is snapshot data whose version number matches the target version number, use this snapshot data as the target question group.
[0114] If there is no snapshot data in the target question pool whose version number matches the version number of the target component, obtain a question group from the backup question pool as the target question group. Among them, the question group in the backup question pool is obtained from the target question pool.
[0115] (2) If the component type does not require random switching of questions, the system will perform the following operations: Step S7B, obtaining the fixed question set configured by the operator.
[0116] Step S8B, taking the fixed question set as the target question set.
[0117] After determining the target question set, the system will perform the following operations: Step S9, generating a target answer sheet according to the acquired target question set.
[0118] Step S10, displaying the answer interface of the target answer sheet, so that the user can preview the data (change questions, prompts, etc.) and answer the questions.
[0119] Step S11, after the user completes the answer, the answer result is uploaded to the server for data recovery and scoring.
[0120] Step S12, determine whether the uploaded data is of the knowledge assessment type (i.e. determine whether the component type corresponding to the answer result requires random switching of questions). The data includes the answer result, answer version number (seconds of entering the component), question ID, specific options, and the nickname or ID of the answerer.
[0121] Step S13, if the uploaded data is of the knowledge assessment type (ie, the component type corresponding to the answer result is for randomly switching questions), the similarity of multiple users is determined based on the scores.
[0122] Step S14, generating target feedback (eg, personalized description, suggestion, etc.) according to the similarity.
[0123] Therefore, a three-layer data arrangement and organization method of interactive question pool components, question bank, and questions is provided.
[0124] Interactive question pool components: such as questionnaire components, test components, answer components, etc. These components have business commonalities. At the same time, there are also business differences. Some are objective gameplay (answering questions), some are subjective fun evaluation (test), and some are biased towards collecting feedback (questionnaire). A question pool component contains one or more question banks / tracks.
[0125] Question bank / track: Under the same question pool component, data can also be secondary classified, stored and distributed according to segmented business scenarios. For example: difficulty level, activity track (open audition, advanced), interest direction, subject, etc. Each category contains a group of related questions.
[0126] Title: It includes the question stem (including: text description, additional pictures and other information), options, option scores, etc. It can also set the online answering time, sorting, weight, random question generation strategy, answer hint and other online interaction functions for each question.
[0127] Based on the above three-layer data arrangement and organization method, unified question bank management is ensured, and generality is improved.
[0128] In addition, through the snapshot random question generation method based on time series, the improvement of production efficiency and the diversity of test papers are ensured.
[0129] Embodiment III Figure 13 A block diagram of an online answer sheet device according to Embodiment III of the present application is schematically shown. This device is for a client, and the device can be divided into one or more program modules. One or more program modules are stored in a storage medium and executed by one or more processors to complete the embodiments of the present application. The program modules referred to in the embodiments of the present application refer to a series of computer program instruction segments that can complete specific functions. The following description will specifically introduce the functions of each program module in this embodiment. As Figure 13 shown, the device 1000 may include: a first determination module 1100, a second determination module 1200, a third determination module 1300, and a display module 1400, where: The first determination module 1100 is configured to determine the component type corresponding to the target component in response to selecting the target component; The second determination module 1200 is configured to determine the selected timestamp of the target component when the component type is a randomly switched question; The third determination module 1300 is configured to determine a target question group from the target question pool according to the selected timestamp, and the target question group is used to generate a target answer sheet; The display module 1400 is configured to display the target answer sheet on the answering interface.
[0130] In an alternative embodiment, the target question pool is updated based on a time series: According to the time series, update new question groups to the target question pool; where the time series includes multiple time points after the current time point, and one time point corresponds to generating one new question group; Among them, one time point corresponding to generating one new question group includes: respectively selecting several questions and spare questions from each question bank; generating a new question group associated with the time point according to the several questions and spare questions obtained from each question bank; where the spare questions are used to replace the questions selected from the same question bank.
[0131] In an alternative embodiment, obtaining a target question group from a target question pool according to the selected timestamp includes: Searching the target question pool for a question group with a time point identical to the selected timestamp; If a question group with a time point identical to the selected timestamp is found, determining the found question group as the target question group.
[0132] In an alternative embodiment, obtaining a target question group from a target question pool according to the selected timestamp further includes: If no question group with a time point identical to the selected timestamp is found, randomly selecting a question group from a backup question pool as the target question group; wherein the question groups in the backup question pool are obtained from the target question pool.
[0133] In an alternative embodiment, the online answer sheet device further includes a generation module for: Obtaining a fixed question group when the component type is one that does not require random question switching; Generating the target answer sheet according to the fixed question group.
[0134] In an alternative embodiment, the target question group includes target questions, and the online answer sheet device further includes a display module for: When a question replacement control corresponding to the target question is triggered, obtaining alternative questions corresponding to the target question group; Displaying the alternative questions on the answer interface to replace the target questions.
[0135] In an alternative embodiment, the target question group includes target questions, and the method further includes: In response to a submission control for the target question group and / or target questions being triggered, uploading the corresponding answer results to the server.
[0136] In an alternative embodiment, the target question group includes target questions, and the online answer sheet device further includes a pop-up module for: In response to a prompt control corresponding to the target question being triggered, popping up a prompt box.
[0137] Embodiment IV Figure 14 Schematically shows a block diagram of a question generation device according to Embodiment IV of the present application. The device is for a server and can be divided into one or more program modules. One or more program modules are stored in a storage medium and executed by one or more processors to complete the embodiments of the present application. The program modules referred to in the embodiments of the present application refer to a series of computer program instruction segments that can complete specific functions. The following description will specifically introduce the functions of each program module in this embodiment. AsFigure 14 As shown, the device 2000 may include: a first determination module 2100, a selection module 2200, a generation module 2300, and a binding module 2400, where: The first determination module 2100 is configured to determine a time series, where the time series includes time points after the current time point; The selection module 2200 is configured to separately select a number of questions and alternative questions from each question bank; The generation module 2300 is configured to generate a new question set associated with the time point according to the number of questions and alternative questions obtained from each of the question banks; The binding module 2400 is configured to update the new question set to the target question pool and bind the time point as the version number of the new question set.
[0138] In an alternative embodiment, the question generation device further includes a second determination module, configured to: In response to the answer results uploaded by multiple target objects, determine the component type corresponding to the answer results; When the component type is the target type, determine the similarity of the multiple target objects according to the answer results; Generate a target feedback according to the similarity; Send the target feedback to the client.
[0139] Embodiment Five Figure 15 Schematically shows a hardware architecture diagram of a computer device 10000 suitable for implementing the online answer sheet method and the question generation method according to Embodiment Five of the present application. In some embodiments, the computer device 10000 may be a terminal device such as a smart phone, a tablet computer, a personal computer, a vehicle-mounted terminal, a virtual device, a workbench, a robot, etc. In other embodiments, the computer device 10000 may be a rack server, a blade server, a tower server, or a cabinet server (including an independent server or a server cluster composed of multiple servers), etc. As Figure 15 shown, the computer device 10000 includes but is not limited to: a memory 10010, a processor 10020, and a network interface 10030 that can communicate with each other through a system bus. Wherein: The memory 10010 includes at least one type of computer-readable storage medium. The readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (such as SD or DX memory), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disk, optical disc, etc. In some embodiments, the memory 10010 may be an internal storage module of the computer device 10000, such as the hard disk or memory of the computer device 10000. In other embodiments, the memory 10010 may also be an external storage device of the computer device 10000, such as a plug-in hard disk, Smart Media Card (SMC), Secure Digital (SD) card, Flash Card, etc. equipped on the computer device 10000. Of course, the memory 10010 may also include both the internal storage module and the external storage device of the computer device 10000. In this embodiment, the memory 10010 is generally used to store the operating system installed on the computer device 10000 and various application software, such as the program codes of the online answer sheet method and the question generation method. In addition, the memory 10010 can also be used to temporarily store various types of data that have been output or will be output.
[0140] In some embodiments, the processor 10020 may be a central processing unit (CPU), controller, microcontroller, microprocessor, or other chip. The processor 10020 is generally used to control the overall operation of the computer device 10000, such as performing control and processing related to data interaction or communication with the computer device 10000. In this embodiment, the processor 10020 is used to run the program code stored in the memory 10010 or process data.
[0141] The network interface 10030 may include a wireless network interface or a wired network interface, which is generally used to establish a communication link between the computer device 10000 and other computer devices. For example, the network interface 10030 is used to connect the computer device 10000 to an external terminal through a network, and establish a data transmission channel and a communication link between the computer device 10000 and the external terminal. The network may be a wireless or wired network such as an enterprise intranet (Intranet), the Internet, the Global System of Mobile communication (GSM for short), Wideband Code Division Multiple Access (WCDMA for short), 4G network, 5G network, Bluetooth, Wi-Fi, etc.
[0142] It should be noted that Figure 15 Only the computer device with components 10010 - 10030 is shown, but it should be understood that it is not required to implement all the shown components, and more or fewer components can be alternatively implemented.
[0143] In this embodiment, the online answer sheet method and the question generation method stored in the memory 10010 can also be divided into one or more program modules and executed by one or more processors (such as the processor 10020) to complete the embodiments of the present application.
[0144] Embodiment Six The embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the online answer sheet method and the question generation method in the embodiment are implemented.
[0145] In this embodiment, the computer-readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (such as SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disk, optical disc, etc. In some embodiments, the computer-readable storage medium may be an internal storage unit of a computer device, such as the hard disk or memory of the computer device. In other embodiments, the computer-readable storage medium may also be an external storage device of the computer device, such as a plug-in hard disk, Smart Media Card (SMC), Secure Digital (SD) card, Flash Card, etc. equipped on the computer device. Of course, the computer-readable storage medium may also include both the internal storage unit and the external storage device of the computer device. In this embodiment, the computer-readable storage medium is generally used to store the operating system and various application software installed on the computer device, such as the program codes of the online answer sheet method and the question generation method in the embodiment. In addition, the computer-readable storage medium may also be used to temporarily store various data that have been output or will be output.
[0146] Embodiment VII The embodiment of the present application also provides a computer program product, including a computer program, which when executed by a processor implements the method in the above embodiment.
[0147] Obviously, those skilled in the art should understand that the above-mentioned modules or steps of the embodiments of the present application can be implemented by a general computer device. They can be concentrated on a single computer device or distributed on a network composed of multiple computer devices. Optionally, they can be implemented by program codes executable by the computer device. Thus, they can be stored in a storage device and executed by the computer device. And in some cases, the steps shown or described can be executed in a different order from here, or they can be separately made into individual integrated circuit modules, or multiple modules or steps among them can be made into a single integrated circuit module to implement. In this way, the embodiments of the present application are not limited to any specific combination of hardware and software.
[0148] It should be noted that the above are only the preferred embodiments of the present application, and do not limit the patent protection scope of the present application. Any equivalent structure or equivalent process transformation made by using the content of the specification and drawings of the present application, or directly or indirectly applied in other related technical fields, shall be included in the patent protection scope of the present application by the same token.
Claims
1. An online answering method, characterized in that: For a client, the method comprises: In response to selecting a target component, determining a component type corresponding to the target component; In the case where the component type is a random switching topic, determining a selected timestamp of the target component; Determining a target question group from a target question pool according to the selected timestamp, wherein the target question group is used to generate a target answer sheet; The target answer sheet is displayed on the question answering interface.
2. The method according to claim 1, characterized in that The target question pool is updated based on time series: According to the time sequence, the new question group is updated to the target question pool; wherein the time sequence includes multiple time points after the current time point, and one new question group is generated corresponding to each time point; Among them, one new question group is generated corresponding to one of the time points, including: selecting a number of questions and backup questions from each question bank respectively; generating a new question group associated with the time point based on the number of questions and backup questions obtained from each of the question banks; wherein the backup questions are used to replace the questions selected from the same question bank.
3. The method according to claim 2, characterized in that According to the selected timestamp, a target question group is obtained from a target question pool, including: Searching for a question group whose time point is the same as the selected timestamp from the target question pool; If a question set having the same time point as the selected timestamp is found, the found question set is determined as the target question set.
4. The method according to claim 3, characterized in that According to the selected timestamp, a target question group is obtained from a target question pool, further comprising: If no question group with the same time point as the selected timestamp is found, randomly selecting a question group from the backup question pool as the target question group; Wherein, the question groups of the backup question pool are obtained from the target question pool.
5. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: When the component type does not require random switching of questions, a fixed question set is obtained; The target answer sheet is generated according to the fixed question set.
6. The method according to any one of claims 1 to 4, characterized in that: The target question group includes a target question, and the method further includes: When a question change control corresponding to the target question is triggered, obtaining alternative questions corresponding to the target question group; The alternative questions are displayed on the question answering interface to replace the target question.
7. The method according to any one of claims 1 to 4, characterized in that: The target question group includes a target question, and the method further includes: In response to the submission control of the target question group and / or target question being triggered, the corresponding answer result is uploaded to the server.
8. The method according to any one of claims 1 to 4, characterized in that: The target question group includes a target question and the method further includes: In response to the prompt control corresponding to the target topic being triggered, a prompt box pops up.
9. A method for generating a topic, characterized in that: For a server, the method comprises: Determining a time sequence, the time sequence including time points after a current time point; Select several questions and backup questions from each question bank; Generating a new question group associated with the time point according to a plurality of questions and backup questions obtained from each of the question banks; The new question set is updated into the target question pool, and the time point is bound as the version number of the new question set.
10. The method according to claim 9, characterized in that The method further comprises: In response to answer results uploaded by multiple target objects, determine the component type corresponding to the answer results; In the case where the component type is a target type, determining similarities of a plurality of target objects according to the answer results; generating target feedback according to the similarity; The target feedback is sent to the client.
11. An online answering device, characterized in that: For a client, the device comprises: A first determination module, configured to determine, in response to selecting a target component, a component type corresponding to the target component; A second determination module, configured to determine a selected timestamp of the target component when the component type is a random switching topic; A third determination module is used to determine a target question group from a target question pool according to the selected timestamp, wherein the target question group is used to generate a target answer sheet; A display module is used to display the target answer sheet on the answering interface.
12. A question generating device, characterized in that: For a server, the device comprises: A determination module, used to determine a time series, wherein the time series includes a time point after a current time point; A selection module is used to select a number of questions and backup questions from each question bank; A generating module, configured to generate a new question group associated with the time point according to a plurality of questions and backup questions obtained from each of the question banks; A binding module is used to update the new question group into the target question pool and bind the time point as the version number of the new question group.
13. A computer device, characterized in that: include: at least one processor; and a memory communicatively connected to the at least one processor; wherein: The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 10.
14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and when the computer instructions are executed by a processor, the method according to any one of claims 1 to 10 is implemented.
15. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to claims 1 to 10 are implemented.