Title entry method and apparatus, electronic device, and storage medium
By judging the input conditions and automatically inputting the target answer, the problem of low input efficiency of the question bank is solved, and efficient and accurate question input and improved learning effect are achieved.
Patent Information
- Application Number
- CN202310639697.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-31
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2043-05-31
AI Technical Summary
Current technologies suffer from low efficiency and high cost in inputting questions into question banks, which negatively impacts learning outcomes.
By judging the input conditions based on the information of the question to be entered, candidate answers are obtained and the target answer is automatically entered into the question bank. The target answer is determined by combining multiple problem-solving methods and clustering processing.
It improved the efficiency of question entry, reduced costs, and ensured that the entered questions had corresponding answers, thereby improving learning effectiveness and the accuracy of answers.
Smart Images

Figure CN119066228B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of electronic teaching technology, specifically to a method, apparatus, electronic device, and storage medium for entering a question book. Background Technology
[0002] In the learning process, it is necessary to continuously practice questions to improve knowledge mastery; therefore, questions are an important part of teaching resources. Currently, question banks are generally entered manually, which is inefficient and costly, resulting in a very limited number of questions in the question bank and affecting learners' learning outcomes. Summary of the Invention
[0003] This application discloses a question entry method, apparatus, electronic device, and storage medium, which can realize automatic question entry, improve question entry efficiency, and thus improve learners' learning outcomes.
[0004] The first aspect of this application discloses a method for entering a title list, the method comprising:
[0005] If the question to be entered meets the entry conditions based on the first question information, then several candidate answers are obtained based on the first question information.
[0006] The target answer corresponding to the question to be entered is determined based on the candidate answers;
[0007] The questions to be entered and the target answers are entered into the target question bank.
[0008] As an optional implementation, in the first aspect of the embodiments of this application, before obtaining a plurality of candidate answers based on the first question information after determining that the question to be entered meets the entry conditions based on the first question information, the method further includes:
[0009] Match the first question information with the second question information of multiple entered questions contained in the target question bank;
[0010] If the matching degree between the first question information and each of the second question information is less than the matching degree threshold, then the question to be entered is determined to meet the entry conditions.
[0011] As an optional implementation, in the first aspect of the embodiments of this application, after matching the first question information with the second question information of a plurality of entered questions contained in the target question bank, the method further includes:
[0012] If the matching degree between the first question information and each of the second question information is less than the matching degree threshold, then the question to be entered is marked for entry into the database once;
[0013] If the number of times the question to be entered is marked as entered is greater than or equal to the threshold for the first entry, then the question to be entered is determined to meet the entry conditions.
[0014] As an optional implementation, in the first aspect of the embodiments of this application, obtaining a plurality of candidate answers based on the first question information includes:
[0015] Based on the information in the first question, several candidate answers are obtained through multiple problem-solving methods;
[0016] The multiple problem-solving methods include: searching for candidate answers via the Internet, outputting candidate answers through an artificial intelligence model, manually entering candidate answers, and searching for candidate answers from other question banks besides the target question bank.
[0017] As an optional implementation, in the first aspect of the embodiments of this application, determining the target answer corresponding to the question to be entered based on the plurality of candidate answers includes:
[0018] Clustering is performed on the candidate answers to determine the target cluster; wherein, the target cluster is the cluster containing the largest number of candidate answers.
[0019] If the number of candidate answers contained in the target cluster is greater than the number threshold, then the target answer corresponding to the question to be entered is determined based on the candidate answers contained in the target cluster.
[0020] As an optional implementation, in the first aspect of the embodiments of this application, after the step of entering the question to be entered and the target answer into the target question bank, the method further includes:
[0021] If feedback information is received regarding the question to be entered, the quantity threshold is increased; wherein, the feedback information is used to indicate that the target answer of the question to be entered is incorrect.
[0022] As an optional implementation, in the first aspect of the embodiments of this application, after the step of entering the question to be entered and the target answer into the target question bank, the method further includes:
[0023] If feedback information is received regarding the question to be entered, a correction request is output, which instructs the user to input the latest answer to the question to be entered; wherein, the feedback information is used to indicate that the target answer to the question to be entered is incorrect;
[0024] The latest answer is used as the new target answer for the question to be entered, and the new target answer is entered into the target question bank.
[0025] As an optional implementation, in the first aspect of the embodiments of this application, the method further includes:
[0026] If feedback is received regarding the question to be entered, mark the question as an incorrect question.
[0027] If the number of incorrect answers marked for the question to be entered is greater than or equal to the second threshold, then the question to be entered and the target answer corresponding to the question to be entered will be deleted from the target question bank.
[0028] A second aspect of this application discloses a title catalog input device, the device comprising:
[0029] The answer acquisition module is used to acquire several candidate answers based on the first question information when it is determined that the question to be entered meets the entry conditions.
[0030] The answer filtering module is used to determine the target answer corresponding to the question to be entered based on the plurality of candidate answers;
[0031] The question entry module is used to enter the questions to be entered and the target answers into the target question bank.
[0032] The third aspect of this application discloses an electronic device, including a memory and a processor. The memory stores a computer program, and when the computer program is executed by the processor, the processor implements a title entry method disclosed in the first aspect of this application.
[0033] The fourth aspect of this application discloses a computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements a title entry method disclosed in the first aspect of this application.
[0034] Compared with related technologies, the embodiments of this application have the following beneficial effects:
[0035] Based on the initial question information, it is determined whether the question meets the entry criteria. If the question meets the criteria, several candidate answers are obtained based on the initial question information. Then, the target answer for the question is determined based on these candidate answers. The question and its target answer are then entered into the target question bank together, achieving automatic entry of the question and its target answer, improving the efficiency and reducing the cost of question entry. Furthermore, entering the question and its target answer together ensures that all questions in the target question bank have corresponding answers, guaranteeing the learning effect for test takers when using the questions in the target question bank. In addition, determining the target answer from several candidate answers and from multiple candidate answers improves the accuracy of the entered answer. Attached Figure Description
[0036] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0037] Figure 1 This is an application scenario diagram of the title entry method in one embodiment;
[0038] Figure 2 This is a flowchart illustrating a title entry method disclosed in an embodiment of this application;
[0039] Figure 3 This is a flowchart illustrating another method for entering a title list, as disclosed in one embodiment.
[0040] Figure 4 This is a flowchart illustrating another method for entering a title list, as disclosed in one embodiment.
[0041] Figure 5 This is a flowchart illustrating another method for entering a title list, as disclosed in one embodiment.
[0042] Figure 6 This is a schematic diagram of the structure of a title entry device disclosed in an embodiment of this application;
[0043] Figure 7 This is a schematic diagram of the structure of an electronic device disclosed in one embodiment. Detailed Implementation
[0044] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0045] It should be noted that the terms "comprising" and "having," and any variations thereof, in the embodiments and accompanying drawings of this application are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the steps or units listed, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or devices.
[0046] This application discloses a question entry method, apparatus, electronic device, and storage medium, which can automatically enter questions, improve question entry efficiency, and thus improve learners' learning effectiveness. The following is a detailed description in conjunction with the accompanying drawings.
[0047] Please see Figure 1 , Figure 1 This is an application scenario diagram of the title entry method in one embodiment. For example... Figure 1 As shown, the device may include an electronic device 10, which may be a desktop computer, tablet computer, laptop computer, or mobile phone, etc. The electronic device 10 may include at least a central processing unit. The computer system in the electronic device 10 may be Windows, Linux, iOS, or Unix, without specific limitations. In some embodiments, the electronic device 10 may communicate with other electronic devices, which may include, but are not limited to, desktop computers, tablet computers, laptop computers, mobile phones, and wearable devices; the electronic device 10 may obtain questions to be entered from other electronic devices. In some embodiments, the electronic device 10 may also include an image acquisition device, which may acquire an image of a question containing the question to be entered, and obtain the question to be entered by recognizing the question image. If the electronic device 10 determines that the question to be entered meets the entry conditions based on the first question information obtained from the question to be entered, it obtains several candidate answers based on the first question information; the electronic device 10 determines the target answer corresponding to the question to be entered based on the several candidate answers, and enters the question to be entered and the target answer into the target question bank.
[0048] Please see Figure 2 , Figure 2 This is a flowchart illustrating a title entry method disclosed in an embodiment of this application. This title entry method can be applied to... Figure 1The electronic device 10 shown may include, but is not limited to, smartwatches, smartphones, smart bracelets, and tablets. The method may include the following steps:
[0049] 210. If the information of the first question to be entered determines that the question meets the entry conditions, obtain several candidate answers based on the information of the first question.
[0050] In this embodiment, the electronic device can acquire a question to be entered and extract information from it to obtain first question information. The question to be entered is a question that the electronic device may input into a target question bank. Optionally, the question to be entered can be a question that the user is currently searching for an answer to, a question that the user is currently grading, or a question that the electronic device automatically searches for in a question bank on a local area network, wide area network, or other devices. The first question information is the question information of the question to be entered. The question information may include the text information of the question, the numeric character information of the question, the number of characters in the question, and the category information of the question. The text information refers to the specific text contained in the question; the numeric character information refers to the specific numeric characters contained in the question; the number of characters in the question refers to the number of characters contained in the question; and the category information refers to the category of the question.
[0051] For example, the question to be entered is "Given that in a right triangle, one leg is 3 and the hypotenuse is 5, then the length of the other leg is ().". The first question information includes the text information, the numeric characters, the number of characters, and the question category. The text information is "Given that in a right triangle, one leg is 3 and the hypotenuse is 5, then the length of the other leg is (). The numeric characters are "3, 5, ()," the number of characters is 3, and the question category is a multiple-choice math question.
[0052] The electronic device can determine whether the initial question information of the question to be entered meets the entry conditions. If the initial question information does not meet the entry conditions, the electronic device will not enter the question into the target question bank. If the initial question information meets the entry conditions, the electronic device can enter the question and its corresponding target answer into the target question bank. The entry conditions are the information requirements corresponding to the initial question information for the question to be entered into the target question bank. For example, if the question information includes the question category, the entry condition is the category range; if the question information includes the number of characters, the entry condition is a character count threshold, etc. Candidate answers are the possible answers corresponding to the question to be entered.
[0053] In some embodiments, for obtaining the questions to be entered, the electronic device can receive the question information input by the test taker, where the question information is the same as the first question information of the questions to be entered; the electronic device searches for the questions to be entered in a wide area network or local area network according to the question information to obtain the questions to be entered; or, the electronic device can use an image acquisition device such as a camera to capture images of the questions on the screen of other electronic devices or on the test paper, and recognize the captured images to extract the question content such as text, numbers and graphics contained in the images to obtain the questions to be entered.
[0054] In this embodiment of the application, to obtain the first question information of the question to be entered, the electronic device can extract the character information of the question to be entered, and perform quantity statistics or keyword extraction from the extracted character information. Based on the quantity of character information and keyword information obtained from the statistics, the first question information of the question to be entered is obtained.
[0055] In some embodiments, for the method of obtaining several candidate answers based on the first question information, the electronic device can match the extracted first question information with several answers in a wide area network or local area network, and determine several candidate answers based on the matching of each answer. In specific implementation, the electronic device can obtain questions that match the first question information from different channels based on the first question information, and take the answers corresponding to these questions as candidate answers.
[0056] 220. Determine the target answer for the question to be entered based on several candidate answers.
[0057] In this embodiment, the electronic device determines a target answer based on several candidate answers. The target answer is the one most likely to be the correct answer to the question to be entered.
[0058] Regarding the method for determining the target answer, the electronic device can count the number of identical candidate answers among several candidate answers and determine the candidate answer with the most occurrences as the target answer. For example, the question to be entered is "Given that in a right triangle, one leg is 3 and the hypotenuse is 5, then the length of the other leg is (). The electronic device obtains 10 candidate answers to the question to be entered, of which 3 are options "A, 3", 6 are options "B, 4", 1 is option "C, 5", and 0 are options "D, 6". In this case, the electronic device can determine option "B, 4" as the target answer for the question to be entered.
[0059] Alternatively, the electronic device can preset several keywords and their corresponding scores. Based on the keywords contained in the candidate answers and their corresponding scores, it calculates the score for each candidate answer and determines the candidate answer with the highest score as the target answer. For example, given three candidate answers to a question to be entered: candidate answer A, candidate answer B, and candidate answer C, the electronic device presets keywords and their corresponding scores as follows: keyword a - 1 point, keyword b - 2 points, keyword c - 3 points, and keyword d - 2 points. Candidate answer A contains keywords a and c, therefore its score is 4 points; candidate answer B contains keywords b and c, therefore its score is 5 points; and candidate answer C contains keywords b, c, and d, therefore its score is 7 points. Therefore, the electronic device can determine candidate answer C as the target answer.
[0060] Alternatively, the electronic device can fit at least two candidate answers to obtain the target answer for the question to be entered. For example, if there are three questions to be entered: two intermediate questions and one final question, namely question 1, question 2, and question 3, the electronic device can preset several keywords for each question and the corresponding score for each keyword. For question 1, the electronic device presets keywords and their corresponding scores as follows: keyword a - 1 point, keyword b - 2 points, and keyword c - 3 points; for question 2, the electronic device presets keywords and their corresponding scores as follows: keyword d - 1 point, keyword e - 2 points, and keyword f - 3 points; for question 3, the electronic device presets keywords and their corresponding scores as follows: keyword g - 1 point, keyword h - 2 points, and keyword i - 3 points. The electronic device obtains three candidate answers: candidate answer A, candidate answer B, and candidate answer C. In this context, for the answer to question 1, candidate answer A scores 1 point, candidate answer B scores 2 points, and candidate answer C scores 3 points; for the answer to question 2, candidate answer A scores 3 points, candidate answer B scores 2 points, and candidate answer C scores 1 point; and for the answer to question 3, candidate answer A scores 2 points, candidate answer B scores 3 points, and candidate answer C scores 1 point. Therefore, the electronic device can fit candidate answers A, B, and C to obtain the target answer. Specifically, the fitting method involves fitting the answer to question 2 from candidate answer A, the answer to question 3 from candidate answer B, and the answer to question 1 from candidate answer C to obtain the target answer.
[0061] 230. Enter the questions to be entered and the target answers into the target question bank.
[0062] In this embodiment, after determining the target answer, the electronic device enters the target answer and the question to be entered into the target question bank. Specifically, the electronic device can associate the target answer with the question to be entered and store both the question to be entered and the associated target answer together in the target question bank.
[0063] By adopting the above embodiments, the automatic input of questions to be entered and their corresponding target answers is realized, which improves the efficiency of question entry and reduces the cost of question entry; moreover, by entering the questions to be entered together with their corresponding target answers, all questions entered into the target question bank have matching answers, which ensures the learning effect of the test taker when using the questions in the target question bank for learning; in addition, determining the target answer from several candidate answers and from multiple candidate answers can improve the accuracy of the entered answers.
[0064] In some embodiments, after performing the step of entering the questions to be entered and the target answers into the target question bank, the electronic device may also perform the following steps:
[0065] If feedback is received regarding the question to be entered, a correction request is output, which instructs the user to enter the latest answer to the question to be entered; the feedback information indicates that the target answer to the question to be entered is incorrect.
[0066] The latest answer is used as the new target answer for the question to be entered, and the new target answer is entered into the target question bank.
[0067] In this embodiment, if the electronic device receives feedback information regarding the question to be entered, the electronic device can output a correction request to instruct the user to enter the latest answer to the question. The feedback information indicates that the target answer to the question is incorrect; the latest answer is a manually obtained answer; and the correction request instructs the user to enter the latest answer to the question.
[0068] In practice, electronic devices can output grading requests through voice output or text information display. Users can obtain the latest answers to the questions to be entered by manually answering the questions based on the grading requests, and then input the latest answers into the electronic devices.
[0069] In this embodiment, after obtaining the latest answer to the question to be entered, the electronic device uses the latest answer as the new target answer for the question and enters the new target answer into the target question bank. Specifically, the electronic device can associate the latest answer as the new target answer with the question in the target question bank, cancel the association between the previous target answer and the question, enter the new target answer into the target question bank, and delete the previously associated target answer from the target question bank, thus updating the target answer corresponding to the question to be entered.
[0070] In some embodiments, the electronic device can receive content input by the user through input devices such as a keyboard, mouse, touch screen, etc., to obtain the latest answer to the question to be entered; or, the electronic device can use an image acquisition device such as a camera to capture images of the screen of other electronic devices or the latest answer handwritten by the user, and recognize the captured images to extract the text, numbers, graphics and other question content contained in the images to obtain the latest answer to the question to be entered.
[0071] Using the above embodiments, after receiving feedback that there is an incorrect answer to the question to be entered, the electronic device requests to obtain a new answer through manual question answering, and uses the new answer to update the previously incorrect target answer. This realizes the correction of incorrect answers entered into the target question bank, and the manual question answering method can ensure the accuracy of the new answer used for replacement, and avoid the situation where the answer continues to be incorrect.
[0072] In some embodiments, the electronic device may also perform the following steps:
[0073] If feedback is received regarding the questions to be entered, mark the questions as incorrect.
[0074] If the number of incorrect answers marked for the question to be entered is greater than or equal to the second threshold, then the question to be entered and its corresponding answer will be deleted from the target question bank.
[0075] In this embodiment, if the electronic device receives feedback information regarding a question to be entered, it can mark the question with an incorrect answer (i.e., the question to be entered) as an incorrect question. The electronic device then compares the number of incorrect markings for the question to be entered with a second threshold, which is a preset threshold for the number of incorrect markings. If the number of incorrect markings for the question to be entered is greater than or equal to the second threshold, the electronic device considers the question to be incorrect or not worth storing in the target question bank. In this case, the electronic device can delete the question to be entered and its corresponding answer from the target question bank. Here, the answer to the question to be entered may be the target answer already entered in the target question bank, or it may be the latest answer after one or more updates to the target answer. If the number of incorrect markings for the question to be entered is less than the second threshold, the electronic device can output a correction request to request a latest answer through manual question answering and update the current incorrect answer with this latest answer.
[0076] By using the above embodiments, the number of times the answer to a question is incorrectly reported is counted through the method of marking incorrect questions. When the number of incorrect reports reaches a certain number, the question to be entered and its corresponding answer are deleted. This can ensure the quality of the questions stored in the target question bank and guarantee the learning effect when users use the questions in the target question bank for learning.
[0077] In one embodiment, see Figure 3 , Figure 3 This is a flowchart illustrating another method for entering a title list, as disclosed in one embodiment. This method can be applied to... Figure 1 The electronic device 10 shown. For example... Figure 3 As shown, the method may include the following steps:
[0078] 310. Match the information of the first question with the information of the second question in the target question bank, which contains multiple questions that have already been entered.
[0079] In this embodiment, the electronic device acquires the question to be entered and extracts the first question information of the question to be entered. Then, the electronic device matches the extracted first question information with the second question information of the questions already entered in the target question bank. The entered questions are those stored in the target question bank, and the second question information is the question information of the entered questions. The second question information corresponds to the content contained in the first question information. For example, if the first question information includes the text information of the question, the numeric character information of the question, the number of characters in the question, and the category information of the question, then the second question information also correspondingly includes the text information of the question, the numeric character information of the question, the number of characters in the question, and the category information of the question.
[0080] In this embodiment, the electronic device can match the first question information with the second question information of each entered question in the target question bank; alternatively, it can match the first question information with the second question information of some entered questions in the target question bank. For example, when the question information does not contain question category information, the electronic device can match the first question information with the second question information of each entered question in the target question bank to avoid omissions during the matching process; when the question information contains question category information, the electronic device can match the first question information with the second question information of entered questions with the same category information in the target question bank to improve matching efficiency.
[0081] 320. If the matching degree between the information of the first question and the information of each second question is less than the matching degree threshold, then the question to be entered is determined to meet the entry conditions.
[0082] In this embodiment, the electronic device matches the first question information with the second question information of multiple entered questions to obtain the matching degree or similarity between the first question information and each second question information. The electronic device compares each matching degree with a matching degree threshold. If the matching degree between the first question information and one or more second question information is greater than or equal to the matching degree threshold, the electronic device can determine that the question to be entered is the same as the entered question corresponding to the second question information with a matching degree greater than the matching degree threshold. In this case, the electronic device can consider that there is already a question in the target question bank that is the same as the question to be entered, and there is no need to enter the question to be entered into the target question bank. Therefore, it is determined that the question to be entered does not meet the entry conditions. If the matching degree between the first question information and each second question information is less than the matching degree threshold, the electronic device can determine that the question to be entered is different from all the entered questions in the target question bank. In this case, the electronic device can consider that there is no question in the target question bank that is the same as the question to be entered, and it is necessary to enter the question to be entered into the target question bank. Therefore, it is determined that the question to be entered meets the entry conditions.
[0083] By using the above embodiments, the matching degree between the first question information of the question to be entered and the second question information of multiple entered questions contained in the target question bank is used to determine whether the question to be entered meets the entry conditions, which can improve the accuracy and rationality of determining whether the question to be entered meets the entry conditions.
[0084] 330. If the information of the first question to be entered determines that the question meets the entry conditions, obtain several candidate answers based on the information of the first question.
[0085] 340. Determine the target answer for the question to be entered based on several candidate answers.
[0086] 350. Enter the questions to be entered and the target answers into the target question bank.
[0087] In some embodiments, after performing the step of matching the first question information with the second question information of a plurality of entered questions contained in the target question bank, the electronic device may further perform the following steps:
[0088] If the matching degree between the first question information and each second question information is less than the matching degree threshold, then the question to be entered will be marked for entry into the database once.
[0089] If the number of times the question to be entered is marked as entered is greater than or equal to the threshold for the first entry, then the question to be entered is determined to meet the entry conditions.
[0090] In this embodiment, after the electronic device matches the extracted first question information with the second question information already entered in the target question bank to obtain the matching degree between the first question information and each second question information, if the matching degree between the first question information and each second question information is less than the matching degree threshold, the electronic device can determine that the question to be entered has not been entered into the target question bank during this matching process. At this time, the electronic device can mark the question to be entered into the bank once. After the electronic device marks the question to be entered into the bank, it can determine the number of times the question to be entered into the bank. If the number of times the question to be entered into the bank is greater than or equal to the first entry threshold, the electronic device can determine that the question to be entered meets the entry conditions; if the number of times the question to be entered into the bank is less than the first entry threshold, the electronic device can determine that the question to be entered does not meet the entry conditions. Here, the first entry threshold is a preset threshold corresponding to the number of entry marks.
[0091] For example, the first question information 'a' of question A to be entered includes the question category "physics question," the number of characters "46," and the keywords "Newton's third law" and "force analysis." The electronic device can match the first question information 'a' with the second question information of already entered questions in the target question bank. The preset matching threshold is 90%. If the matching degree between the first question information 'a' and the second question information of already entered questions in the target question bank is less than the matching threshold, the electronic device marks question A to be entered into the database once. After marking, the number of times question A is marked into the database is 3, and the preset first threshold is 2. Therefore, the electronic device determines that the number of times question A is marked into the database is greater than the first threshold, and thus determines that question A meets the entry conditions. Next, based on the first question information 'a,' the electronic device obtains several candidate answers and determines the target answer corresponding to question A from these candidate answers. Question A and the target answer are then entered into the target question bank, achieving automatic entry of question A.
[0092] Using the above embodiments, when the question to be entered does not match the already entered questions in each instance, the question to be entered is marked as being entered into the database. When the number of times the question to be entered is marked as being entered into the database exceeds the threshold of the first count, it is determined that the question to be entered meets the entry conditions. This can avoid the situation where the question to be entered is mistakenly considered not to be entered into the target question bank during a single matching process, resulting in the automatic entry of duplicate questions, thus improving the accuracy of the automatic question entry process.
[0093] In some embodiments, the electronic device may include the following steps in the process of obtaining several candidate answers based on the first question information:
[0094] Based on the information in the first question, obtain several candidate answers through multiple problem-solving methods;
[0095] Multiple problem-solving methods are available, including: searching for candidate answers via the internet, outputting candidate answers through an artificial intelligence model, manually entering candidate answers, and searching for candidate answers from multiple question banks other than the target question bank.
[0096] In this embodiment, the electronic device obtains several candidate answers based on the first question information through multiple problem-solving methods. Specifically, the electronic device can search the internet for answers to questions with the same question information as the first question information, using these as candidate answers; or, the electronic device can input the first question information into an artificial intelligence model to obtain candidate answers; or, the electronic device can request access to other question banks outside the target question bank and, based on the first question information, search those other question banks for answers to questions with the same question information as the first question information, using these as candidate answers.
[0097] By using the above embodiments, several candidate answers corresponding to the question to be entered can be obtained through various problem-solving methods, which can ensure as much as possible that the candidate answers contain the correct answer to the question to be entered, thereby improving the accuracy of the answers in the subsequent question entry process.
[0098] In one embodiment, see Figure 4 , Figure 4 This is a flowchart illustrating another method for entering a title list, as disclosed in one embodiment. This method can be applied to... Figure 1 The electronic device 10 shown. For example... Figure 4 As shown, the method may include the following steps:
[0099] 410. If the information of the first question to be entered determines that the question meets the entry conditions, obtain several candidate answers based on the information of the first question.
[0100] 420. Perform clustering on several candidate answers to determine the target cluster; the target cluster is the cluster containing the most candidate answers.
[0101] 430. If the number of candidate answers contained in the target cluster class is greater than the number threshold, then the target answer corresponding to the question to be entered is determined based on the candidate answers contained in the target cluster class.
[0102] In this embodiment, after obtaining several candidate answers, the electronic device can cluster these candidate answers to obtain one or more clusters, each containing one or more candidate answers. The electronic device determines a target cluster based on the number of candidate answers contained in each cluster. The target cluster is the cluster containing the most candidate answers. Specifically, the electronic device can extract the answer information for each candidate answer. The answer information may include the corresponding options, textual information, or numerical information. For example, if the question to be entered is a multiple-choice question, the candidate answers are the options, and the answer information is the specific options for the candidate answer, such as A and B. The electronic device then clusters the candidate answers based on the answer information for each candidate answer.
[0103] In this embodiment, after determining the target cluster, the electronic device compares the number of candidate answers contained in the target cluster with a quantity threshold. The quantity threshold is a preset threshold corresponding to the number of candidate answers. If the number of candidate answers contained in the target cluster is less than or equal to the preset quantity threshold, the electronic device considers it impossible to determine the target answer based on the candidate answers contained in the target cluster, and in this case, the electronic device can pause the question input process. If the number of candidate answers contained in the target cluster is greater than the quantity threshold, the target answer corresponding to the question to be input is determined based on the candidate answers contained in the target cluster.
[0104] In the process of determining the target answer for the question to be entered based on the candidate answers contained in the target cluster, if all the candidate answers in the target cluster are the same (e.g., the candidate answer is an option) or a calculation result, the electronic device selects any one of the candidate answers in the target cluster as the target answer. If the candidate answers in the target cluster are not all the same (e.g., the candidate answer is text information), the electronic device can use several preset keywords to match each candidate answer in the target cluster, determine the number of keywords contained in each candidate answer, and select the candidate answer with the most keywords as the target answer.
[0105] By employing the above embodiments and through clustering processing, it is possible to identify the number of identical or similar candidate answers obtained from different answer sources for the question to be entered, and to determine the target answer based on these candidate answers. This can improve the rationality of the answer selection process and the accuracy of the final target answer.
[0106] 440. Enter the questions to be entered and the target answers into the target question bank.
[0107] 450. If feedback information is received regarding the question to be entered, the quantity threshold is increased; the feedback information is used to indicate that the target answer of the question to be entered is incorrect.
[0108] In some embodiments, after the electronic device inputs the question to be entered and the target answer into the target question bank, if it receives feedback information regarding the question to be entered, the electronic device can increase the threshold used to determine the number of candidate answers contained in the target cluster. The feedback information indicates that the target answer to the question to be entered is incorrect. Specifically, the electronic device can generate feedback information for the question to be entered in response to user input, such as when the user clicks the "Incorrect Answer" button.
[0109] By using the above embodiments, after receiving feedback indicating that the target answer to the question to be entered is incorrect, the electronic device increases the quantity threshold, which further improves the accuracy of the target answer determination process for subsequent questions to be entered, and further ensures the accuracy of the target answer.
[0110] In one embodiment, see Figure 5 , Figure 5 This is a flowchart illustrating another method for entering a title list, as disclosed in one embodiment. Figure 5 As shown, in the specific implementation of this question input method, the electronic device acquires user-generated content (UGC), that is, the question the user is currently working on, and uses this question as the question to be entered. This acquisition can be achieved through methods such as image capture and text recognition. Next, the electronic device can obtain multiple candidate answers through methods such as searching for candidate answers on the internet, outputting candidate answers through artificial intelligence models, manually entering candidate answers, and obtaining candidate answers from other question banks besides the target question bank. The electronic device compares each candidate answer and selects the optimal candidate answer as the target answer. The electronic device can detect whether a manual entry instruction has been received. If no manual entry instruction has been received, the question to be entered and the target answer are entered into the target question bank. Using the above embodiment, the question currently being worked on by the user can be quickly entered, improving the rationality of the questions entered into the target question bank and enhancing the user's learning effect.
[0111] Please see Figure 6 , Figure 6 This is a schematic diagram of the structure of a title entry device disclosed in an embodiment of this application. For example... Figure 6 As shown, the question entry device includes: an answer acquisition module 610, an answer filtering module 620, and a question entry module 630.
[0112] The answer acquisition module 610 is used to acquire several candidate answers based on the first question information, provided that the question to be entered meets the entry conditions.
[0113] The answer filtering module 620 is used to determine the target answer for the question to be entered based on several candidate answers;
[0114] The question entry module 630 is used to enter the questions to be entered and the target answers into the target question bank.
[0115] In some embodiments, Figure 6 The question input device shown also includes:
[0116] The question discrimination module 640 is used to match the first question information with the second question information of multiple entered questions contained in the target question bank before obtaining several candidate answers based on the first question information, after determining that the question to be entered meets the entry conditions based on the first question information of the question to be entered.
[0117] If the matching degree between the information of the first question and the information of each second question is less than the matching degree threshold, then the question to be entered is determined to meet the entry conditions.
[0118] In some embodiments, the question discrimination module 640 is further configured to:
[0119] After matching the first question information with the second question information of multiple entered questions contained in the target question bank, if the matching degree between the first question information and each second question information is less than the matching degree threshold, the question to be entered is marked as being entered into the database.
[0120] If the number of times the question to be entered is marked as entered is greater than or equal to the threshold for the first entry, then the question to be entered is determined to meet the entry conditions.
[0121] In some embodiments, the answer acquisition module 610 is further configured to:
[0122] Based on the information in the first question, obtain several candidate answers through multiple problem-solving methods;
[0123] Multiple problem-solving methods are available, including: searching for candidate answers via the internet, outputting candidate answers through an artificial intelligence model, manually entering candidate answers, and searching for candidate answers from multiple question banks other than the target question bank.
[0124] In some embodiments, the answer filtering module 620 is further configured to:
[0125] Clustering is performed on several candidate answers to determine the target cluster; the target cluster is the cluster containing the largest number of candidate answers.
[0126] If the number of candidate answers contained in the target cluster is greater than the number threshold, then the target answer corresponding to the question to be entered is determined based on the candidate answers contained in the target cluster.
[0127] In some embodiments, Figure 6 The question input device shown also includes:
[0128] The question correction module 650 is used to increase the quantity threshold if feedback information is received regarding the question to be entered after the question and the target answer have been entered into the target question bank; the feedback information is used to indicate that there is an error in the target answer of the question to be entered.
[0129] In some embodiments, the question correction module 650 is further configured to:
[0130] After the questions to be entered and the target answers are entered into the target question bank, if feedback information is received regarding the questions to be entered, a correction request is output. The correction request is used to instruct the user to enter the latest answer to the questions to be entered; the feedback information is used to indicate that there is an error in the target answer to the questions to be entered.
[0131] The latest answer is used as the new target answer for the question to be entered, and the new target answer is entered into the target question bank.
[0132] In some embodiments, the question correction module 650 is further configured to:
[0133] If feedback is received regarding the question to be entered, mark the question as incorrect.
[0134] If the number of incorrect answers marked for the question to be entered is greater than or equal to the second threshold, then the question to be entered and its corresponding answer will be deleted from the target question bank.
[0135] Please see Figure 7 , Figure 7 This is a schematic diagram of the structure of an electronic device disclosed in one embodiment. For example... Figure 7 As shown, the electronic device 700 may include:
[0136] Memory 710 storing executable program code;
[0137] Processor 720 coupled to memory 710;
[0138] The processor 720 calls the executable program code stored in the memory 710 to execute any of the title entry methods disclosed in the embodiments of this application.
[0139] It should be noted that, Figure 7 The electronic device shown may also include components not shown, such as a power supply, input buttons, camera, speaker, screen, RF circuit, Wi-Fi module, Bluetooth module, and sensors, which will not be described in detail in this embodiment.
[0140] This application discloses a computer-readable storage medium storing a computer program that causes a computer to execute any of the title entry methods disclosed in this application.
[0141] This application discloses a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute any of the title entry methods disclosed in this application.
[0142] It should be understood that the phrase "one embodiment" or "an embodiment" throughout the specification means that a specific feature, structure, or characteristic related to the embodiment is included in at least one embodiment of this application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. Furthermore, these specific features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. Those skilled in the art should also recognize that the embodiments described in the specification are optional embodiments, and the actions and modules involved are not necessarily essential to this application.
[0143] In the various embodiments of this application, it should be understood that the sequence number of each process does not necessarily imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0144] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units; they can be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0145] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0146] If the aforementioned integrated units are implemented as software functional units and sold or used as independent products, they can be stored in a computer-accessible memory. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a memory and includes several requests to cause a computer device (which can be a personal computer, server, or network device, specifically a processor in the computer device) to execute some or all of the steps of the methods described in the various embodiments of this application.
[0147] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, including read-only memory (ROM), random access memory (RAM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), one-time programmable read-only memory (OTPROM), electrically-Erasable Programmable Read-Only Memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, disk storage, magnetic tape storage, or any other computer-readable medium capable of carrying or storing data.
[0148] The foregoing has provided a detailed description of a title entry method, apparatus, wireless earphone, and storage medium disclosed in the embodiments of this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the embodiments above are merely for the purpose of helping to understand the method and core ideas of this application. Furthermore, those skilled in the art will recognize that, based on the ideas of this application, there will be changes in the specific implementation methods and application scope. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims
1. A method for entering a question book, characterized in that, The method includes: If the question to be entered meets the entry conditions based on the first question information, several candidate answers are obtained based on the first question information; the entry conditions are the information requirements corresponding to the first question information when the question to be entered is entered into the target question bank; the first question information includes the category information of the question, and the entry conditions are the category range of the question; or, the first question information includes the character count information of the question, and the entry conditions are the character count threshold of the question. Determine the target answer corresponding to the question to be entered based on the candidate answers, including: Clustering is performed on the candidate answers to determine the target cluster; wherein the target cluster is the cluster containing the largest number of candidate answers. If the number of candidate answers contained in the target cluster class is greater than the number threshold, then the target answer corresponding to the question to be entered is determined based on the candidate answers contained in the target cluster class. The questions to be entered and the target answers are entered into the target question bank.
2. The method according to claim 1, characterized in that, Before obtaining several candidate answers based on the first question information after determining that the question to be entered meets the entry conditions, the method further includes: Match the first question information with the second question information of multiple entered questions contained in the target question bank; If the matching degree between the first question information and each of the second question information is less than the matching degree threshold, then the question to be entered is determined to meet the entry conditions.
3. The method according to claim 2, characterized in that, After matching the first question information with the second question information of multiple entered questions contained in the target question bank, the method further includes: If the matching degree between the first question information and each of the second question information is less than the matching degree threshold, then the question to be entered is marked for entry into the database once; If the number of times the question to be entered is marked as entered is greater than or equal to the threshold for the first entry, then the question to be entered is determined to meet the entry conditions.
4. The method according to claim 1, characterized in that, The step of obtaining several candidate answers based on the first question information includes: Based on the information in the first question, several candidate answers are obtained through multiple problem-solving methods; The multiple problem-solving methods include: searching for candidate answers via the Internet, outputting candidate answers through an artificial intelligence model, manually entering candidate answers, and searching for candidate answers from other question banks besides the target question bank.
5. The method according to claim 1, characterized in that, After entering the questions to be entered and the target answers into the target question bank, the method further includes: If feedback information is received regarding the question to be entered, the quantity threshold is increased; wherein, the feedback information is used to indicate that the target answer of the question to be entered is incorrect.
6. The method according to any one of claims 1 to 5, characterized in that, After entering the questions to be entered and the target answers into the target question bank, the method further includes: If feedback information is received regarding the question to be entered, a correction request is output, which instructs the user to input the latest answer to the question to be entered; wherein, the feedback information is used to indicate that the target answer to the question to be entered is incorrect; The latest answer is used as the new target answer for the question to be entered, and the new target answer is entered into the target question bank.
7. The method according to any one of claims 1 to 5, characterized in that, The method further includes: If feedback is received regarding the question to be entered, mark the question as an incorrect question. If the number of incorrect answers marked for the question to be entered is greater than or equal to the second threshold, then the question to be entered and the target answer corresponding to the question to be entered will be deleted from the target question bank.
8. A question catalog input device, characterized in that, The device includes: The answer acquisition module is used to acquire several candidate answers based on the first question information when it is determined that the question to be entered meets the entry conditions. The entry conditions are the information requirements corresponding to the first question information when the question to be entered is entered into the target question bank. The first question information includes the category information of the question, and the entry conditions are the category range of the question; or, the first question information includes the character count information of the question, and the entry conditions are the character count threshold of the question. The answer filtering module is used to determine the target answer corresponding to the question to be entered based on the plurality of candidate answers, including: Clustering is performed on the candidate answers to determine the target cluster; wherein the target cluster is the cluster containing the largest number of candidate answers. If the number of candidate answers contained in the target cluster class is greater than the number threshold, then the target answer corresponding to the question to be entered is determined based on the candidate answers contained in the target cluster class. The question entry module is used to enter the questions to be entered and the target answers into the target question bank.
9. An electronic device, characterized in that, The method includes a memory and a processor, wherein the memory stores a computer program that, when executed by the processor, causes the processor to perform the method as described in any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Providing answers to questions including assembling answers from multiple document segments
CN103124980A
Examination question duplicate checking and judging method and device
CN104657923A
