Question input method and device, electronic equipment and storage medium

Through the automatic entry method, the problem of low efficiency and high cost of entry of questions in the question bank is solved, efficient and accurate entry of questions is achieved, and learning effect is improved.

CN119066228APending Publication Date: 2024-12-03GUANGDONG XIAOTIANCAI TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202310639697.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-31
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

In the prior art, the inclusion of questions in the question bank is inefficient and costly, resulting in limited number of questions and affecting the learning effect.

Method used

Through the automatic entry method, candidate answers are obtained based on the information of the question to be entered, the target answer is determined, and the question is entered into the question bank together with the answers, and the entry conditions are judged using the matching degree and threshold value to realize automated question entry.

Benefits of technology

It improves the efficiency of question entry, reduces costs, ensures that the questions entered into the question bank have supporting answers, improves the learning effect, and improves the accuracy of the answers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119066228A_ABST
    Figure CN119066228A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a question input method and device, electronic equipment and a storage medium, and the method comprises the steps: obtaining a plurality of candidate answers according to first question information under the condition that the to-be-input question meets an input condition according to the first question information of the to-be-input question; determining a target answer corresponding to the to-be-input question according to the plurality of candidate answers; and inputting the to-be-input question and the target answer into the target question bank. According to the embodiment of the invention, the method achieves the automatic input of the to-be-input question and the corresponding target answer, improves the question input efficiency, and reduces the question input cost. According to the invention, the to-be-input questions and the corresponding target answers are input together, so that all the questions input into the target question bank have matched answers, and the learning effect when a question doser uses the questions in the target question bank to learn is ensured; and the target answer is determined from the plurality of candidate answers, and the target answer is determined from the plurality of candidate answers, so that the accuracy of the input answers can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of electronic teaching technology, and in particular to a method, device, electronic device and storage medium for entering questions. Background Art

[0002] In the learning process, it is necessary to improve the level of knowledge mastery by constantly doing questions, so questions are an important part of teaching resources. At present, the question bank is generally entered manually, which is inefficient and costly, resulting in a very limited number of questions in the question bank, which affects the learning effect of learners. Summary of the invention

[0003] The embodiments of the present application disclose a question entry method, device, electronic device and storage medium, which can realize automatic entry of questions, improve question entry efficiency, and thus improve the learning effect of learners.

[0004] The first aspect of the embodiment of the present application discloses a method for inputting a topic, the method comprising:

[0005] When it is determined according to the first question information of the question to be entered that the question to be entered meets the entry condition, obtaining a plurality of candidate answers according to the first question information;

[0006] Determining a target answer corresponding to the question to be entered based on the plurality of candidate answers;

[0007] The question to be entered and the target answer are entered into the target question bank.

[0008] As an optional implementation manner, in the first aspect of the embodiment of the present application, when it is determined according to the first question information of the question to be entered that the question to be entered meets the entry condition, before obtaining a plurality of candidate answers according to the first question information, the method further includes:

[0009] Matching the first question information with second question information of a plurality of entered questions included in a target question bank;

[0010] If the matching degree between the first topic information and each of the second topic information is less than the matching degree threshold, it is determined that the topic to be entered meets the entry condition.

[0011] As an optional implementation manner, in the first aspect of the embodiment of the present application, after matching the first question information with second question information of multiple entered questions included in the target question bank, the method further includes:

[0012] If the matching degree between the first topic information and each of the second topic information is less than the matching degree threshold, the topic to be entered is marked for storage;

[0013] If the number of times the to-be-entered question is marked for entry is greater than or equal to the first number threshold, it is determined that the to-be-entered question meets the entry condition.

[0014] As an optional implementation manner, in the first aspect of the embodiment of the present application, obtaining a plurality of candidate answers according to the first question information includes:

[0015] According to the first question information, obtaining a plurality of candidate answers through a plurality of problem-solving methods;

[0016] The multiple problem-solving methods include: searching for candidate answers through the Internet, outputting candidate answers through an artificial intelligence model, manually entering candidate answers, and searching for candidate answers through question banks other than the target question bank.

[0017] As an optional implementation manner, in the first aspect of the embodiment of the present application, determining the target answer corresponding to the question to be entered according to the plurality of candidate answers includes:

[0018] Performing clustering processing on the candidate answers to determine a target cluster; wherein the target cluster is the cluster containing the largest number of candidate answers;

[0019] If the number of candidate answers included in the target cluster is greater than the quantity threshold, the target answer corresponding to the question to be entered is determined based on the candidate answers included in the target cluster.

[0020] As an optional implementation, in the first aspect of the embodiment of the present application, after 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 for the question to be entered, the quantity threshold is increased; wherein the feedback information is used to indicate that there is an error in the target answer to the question to be entered.

[0022] As an optional implementation, in the first aspect of the embodiment of the present application, after entering the question to be entered and the target answer into the target question bank, the method further includes:

[0023] If feedback information for the question to be entered is received, a correction request is output, wherein the correction request is used to instruct the user to input the latest answer to the question to be entered; wherein the feedback information is used to indicate that there is an error in the target answer to the question to be entered;

[0024] The latest answer is used as a 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 manner, in the first aspect of the embodiment of the present application, the method further includes:

[0026] If feedback information is received for the question to be entered, marking the question to be entered as wrong;

[0027] If the number of wrong question marks for the question to be entered is greater than or equal to the second numerical threshold, the question to be entered and the target answer corresponding to the question to be entered are deleted from the target question bank.

[0028] The second aspect of the embodiment of the present application discloses a title input device, the device comprising:

[0029] An answer acquisition module, configured to acquire a plurality of candidate answers according to the first question information of the question to be entered, if it is determined that the question to be entered meets the entry condition according to the first question information;

[0030] An answer screening module, used to determine a 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 question to be entered and the target answer into the target question bank.

[0032] A third aspect of an embodiment of the present application discloses an electronic device, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor implements a topic input method disclosed in the first aspect of the embodiment of the present application.

[0033] A fourth aspect of an embodiment of the present application discloses a computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, a method for entering a topic disclosed in the first aspect of an embodiment of the present application is implemented.

[0034] Compared with the related art, the embodiments of the present application have the following beneficial effects:

[0035] According to the first question information of the question to be entered, whether the question to be entered meets the entry conditions is judged; when the question to be entered meets the entry conditions, a number of candidate answers are obtained according to the above-mentioned first question information, and then the target answer corresponding to the question to be entered is determined according to the several candidate answers, and the question to be entered and the corresponding target answer are entered into the target question bank together, thereby realizing the automatic entry of the question to be entered and the corresponding target answer, improving the question entry efficiency and reducing the question entry cost; and the question to be entered and the corresponding target answer are entered together, so that the questions entered into the target question bank all have matching answers, thereby ensuring 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 a number of candidate answers and determining the target answer from multiple candidate answers can improve the accuracy of the entered answers. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0037] Figure 1 is an application scenario diagram of a method for inputting a title in an embodiment;

[0038] Figure 2 It is a flowchart of a method for entering a topic disclosed in an embodiment of the present application;

[0039] Figure 3 is a method flow chart of another method for entering a topic disclosed in an embodiment;

[0040] Figure 4 is a method flow chart of another method for entering a topic disclosed in an embodiment;

[0041] Figure 5 A method flow chart of a method for inputting a topic is disclosed in an embodiment;

[0042] Figure 6 It is a structural schematic diagram of a title input device disclosed in an embodiment of the present application;

[0043] Figure 7 The present invention is a schematic diagram of the structure of an electronic device disclosed in an embodiment. DETAILED DESCRIPTION

[0044] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0045] It should be noted that the terms "including" and "having" and any variations thereof in the embodiments of the present application and the accompanying drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device including a series of steps or units is not limited to the listed steps or units, 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] The embodiment of the present application discloses a method, device, electronic device and storage medium for entering questions, which can realize automatic entry of questions, improve question entry efficiency, and thus improve the learning effect rate of learners.

[0047] See also Figure 1 , Figure 1 FIG. 1 is an application scenario diagram of a method for inputting a title in an embodiment. Figure 1 As shown, the electronic device 10 may be included, and the electronic device 10 may be a desktop computer, a tablet computer, a laptop computer, a 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, which is not specifically limited here. In some embodiments, the electronic device 10 may be connected to other electronic devices for communication, and the other electronic devices may include but are not limited to desktop computers, tablet computers, laptop computers, mobile phones and wearable devices, etc.; the electronic device 10 may obtain the question to be entered from other electronic devices. In some embodiments, the electronic device 10 may also include an image acquisition device, and the electronic device 10 may acquire a question image containing the question to be entered through the image acquisition device, and obtain the question to be entered by identifying the question image. When the electronic device 10 determines that the question to be entered meets the entry condition according to the first question information of the question to be entered, the electronic device 10 obtains several candidate answers according to the first question information; the electronic device 10 determines the target answer corresponding to the question to be entered according to the several candidate answers, and enters the question to be entered and the target answer into the target question bank.

[0048] See also Figure 2 , Figure 2 is a flowchart of a method for entering a question in an embodiment of the present application. The method for entering a question can be applied to Figure 1The electronic device 10 shown in the figure may include but is not limited to a smart watch, a smart phone, a smart bracelet, a tablet computer, etc. The method may include the following steps:

[0049] 210. When it is determined that the question to be entered meets the entry condition based on the first question information of the question to be entered, a plurality of candidate answers are obtained based on the first question information.

[0050] In an embodiment of the present application, an electronic device can obtain a question to be entered, and extract information from the question to be entered to obtain first question information of the question to be entered. The question to be entered is a question that the electronic device may enter into a target question bank. Optionally, the question to be entered may be a question that the user currently needs to search for an answer to, or a question that the user is currently correcting, or a question that the electronic device automatically searches for in a question bank of a local area network, a wide area network, or other device. The first question information is the question information of the question to be entered, and the question information may include text information of the question, digital character information of the question, character quantity information of the question, and category information of the question, etc., wherein text information refers to which specific text is contained in the question; digital character information refers to which specific digital characters are contained in the question; character quantity information refers to the number of characters contained in the question; and category information of the question refers to the category of the question.

[0051] For example, the question to be entered is "It is known that the length of one right angle in a right triangle is 3, and the length of the hypotenuse is 5, then the length of the other right angle is ()". Then, the first question information includes the text information of the question, the digital character information of the question, the number of characters of the question, and the category information of the question, among which the text information is "It is known that the length of one right angle in a right triangle is 3, and the length of the hypotenuse is 5, then the length of the other right angle is", the digital character information is "3, 5, (), the number of characters is 3, and the category information of the question is a math multiple-choice question.

[0052] The electronic device can determine whether the first question information of the question to be entered meets the entry conditions. If the first question information of the question to be entered does not meet the entry conditions, the electronic device will not enter the question to be entered into the target question bank; if the first question information of the question to be entered meets the entry conditions, the electronic device can enter the question to be entered and the target answer corresponding to the question to be entered into the target question bank. The entry conditions are that the question to be entered is entered into the target question bank, and the information corresponding to the first question information is required. For example, the question information includes the category information of the question, and the entry condition is the category range of the question; the question information includes the number of characters of the question, and the entry condition is the character number threshold of the question, etc. The candidate answer is the possible answer to the question to be entered.

[0053] In some embodiments, for obtaining the questions to be entered, the electronic device can receive 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 a local area network based on 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 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 an embodiment of the present application, for obtaining the first question information of the question to be entered, the electronic device can extract character information of the question to be entered, and perform quantity statistics or extract key words and phrases from the extracted character information, and obtain the first question information of the question to be entered based on the number of character information and key words and phrases obtained by statistics.

[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 the wide area network or the 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 use the answers corresponding to these questions as candidate answers.

[0056] 220. Determine a target answer corresponding to the question to be entered based on a number of candidate answers.

[0057] In the embodiment of the present application, the electronic device determines a target answer based on a plurality of candidate answers, wherein the target answer is the answer that is most likely to be the correct answer to the question to be entered.

[0058] Regarding the method of 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 largest number as the target answer. For example, the question to be entered is "It is known that the length of one right angle in a right triangle is 3, and the length of the hypotenuse is 5, then the length of the other right angle is ()". The electronic device obtains 10 candidate answers for the question to be entered, of which 3 candidate answers are options "A, 3", 6 candidate answers are options "B, 4", 1 candidate answer is option "C, 5", and 0 candidate answers are option "D, 6". At this time, the electronic device can determine the candidate answer option "B, 4" as the target answer corresponding to the question to be entered.

[0059] Alternatively, the electronic device can preset several keywords and the scores corresponding to each keyword, calculate the scores corresponding to each candidate answer based on the keywords contained in the candidate answers and the scores corresponding to the keywords contained in the candidate answers, and determine the candidate answer with the highest score as the target answer. For example, three candidate answers are obtained for the question to be entered, namely candidate answer A, candidate answer B and candidate answer C, and the electronic device presets keywords and the corresponding scores as 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, so the corresponding score is 4 points; candidate answer B contains keywords b and c, so the corresponding score is 5 points; candidate answer C contains keywords b, c and d, so the corresponding 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 corresponding to the question to be entered. For example, if there are 3 questions in the question to be entered, there are 2 intermediate questions and 1 final question, namely Question 1, Question 2 and Question 3. The electronic device can preset several keywords for each question and the score corresponding to each keyword. For Question 1, the electronic device presets keywords and the corresponding scores are keyword a-1 point, keyword b-2 points and keyword c-3 points; for Question 2, the electronic device presets keywords and the corresponding scores are keyword d-1 point, keyword e-2 points and keyword f-3 points; for Question 3, the electronic device presets keywords and the corresponding scores are keyword g-1 point, keyword h-2 points and keyword i-3 points. The electronic device obtains 3 candidate answers, namely Candidate Answer A, Candidate Answer B and Candidate Answer C. Among them, for the answer corresponding to question 1, the score of candidate answer A is 1 point, the score of candidate answer B is 2 points, and the score of candidate answer C is 3 points; for the answer corresponding to question 2, the score of candidate answer A is 3 points, the score of candidate answer B is 2 points, and the score of candidate answer C is 1 point; for the answer corresponding to question 3, the score of candidate answer A is 2 points, the score of candidate answer B is 3 points, and the score of candidate answer C is 1 point. Therefore, the electronic device can fit candidate answer A, candidate answer B, and candidate answer C to obtain the target answer, and the specific fitting method is to fit the answer to question 2 in candidate answer A, the answer to question 3 in candidate answer B, and the answer to question 1 in 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 the embodiment of the present application, after the electronic device determines the target answer, it enters the target answer and the question to be entered into the target question bank. In specific implementation, the electronic device can associate the target answer with the question to be entered, and store the question to be entered and the associated target answer together in the target question bank.

[0063] By adopting the above-mentioned embodiment, the automatic entry of the questions to be entered and the corresponding target answers is realized, which improves the efficiency of question entry and reduces the cost of question entry; and the questions to be entered are entered together with the corresponding target answers, so that the questions entered into the target question bank all have matching answers, ensuring the learning effect of the test takers when using the questions in the target question bank for learning; in addition, determining the target answer from several candidate answers and determining the target answer from multiple candidate answers can improve the accuracy of the entered answers.

[0064] In some embodiments, after executing the step of entering the question to be entered and the target answer into the target question bank, the electronic device may further execute the following steps:

[0065] If feedback information is received for the question to be entered, a correction request is output, where the correction request is used to instruct the user to enter the latest answer to the question to be entered; wherein the feedback information is used to indicate that there is an error in the target answer to the question to be entered;

[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 an embodiment of the present application, if the electronic device receives feedback information for 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 to be entered. The feedback information is information used to indicate that there is an error in the target answer to the question to be entered; the latest answer is an answer obtained manually, and the correction request is information used to instruct the user to enter the latest answer to the question to be entered.

[0068] In specific implementation, the electronic device can output the correction request through voice output or text information display, and the user can obtain the latest answer to the question to be entered by manually solving the question according to the correction request, and input the latest answer into the electronic device.

[0069] In the embodiment of the present application, after obtaining the latest answer to the question to be entered, the electronic device uses the latest answer as the new target answer to the question to be entered, and enters the new target answer into the target question bank. In specific implementation, the electronic device can associate the latest answer with the question to be entered in the target question bank as the new target answer to the question to be entered, and cancel the association between the previous target answer and the question to be entered, enter the new target answer into the target question bank, and delete the previously associated target answer from the target question bank, thereby 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 other electronic device screens or the latest answers 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 answers to the questions to be entered.

[0071] By adopting the above embodiment, after receiving feedback information that there is an incorrect answer to the question to be entered, the electronic device requests to obtain a latest answer through manual question-solving, and uses the latest answer to update the previously incorrect target answer, thereby correcting the incorrect answer entered into the target question bank, and the manual question-solving method can ensure the accuracy of the latest answer used for replacement, avoiding the situation where the answer continues to be incorrect.

[0072] In some embodiments, the electronic device may further perform the following steps:

[0073] If feedback information is received for the question to be entered, the question to be entered is marked as wrong;

[0074] If the number of wrong question marks of the question to be entered is greater than or equal to the second number threshold, the question to be entered and the answer corresponding to the question to be entered will be deleted from the target question bank.

[0075] In an embodiment of the present application, if the electronic device receives feedback information for the question to be entered, the electronic device can mark the question with the wrong answer fed back by the feedback information, that is, the question to be entered as a wrong question. Then the electronic device can compare the number of wrong question marks of the question to be entered with the second number threshold. Wherein, the second number threshold is the threshold value corresponding to the preset number of wrong question marks. If the number of wrong question marks of the question to be entered is greater than or equal to the second number threshold, then the electronic device can consider that the question to be entered is wrong or not worthy of being stored in the target question bank, and at this time the electronic device can delete the question to be entered and the answer corresponding to the question to be entered from the target question bank. Here, the answer corresponding to the question to be entered may be the target answer corresponding to the entry in the target question bank, or it may be the latest answer after the target answer has been updated once or multiple times. If the number of wrong question marks of the question to be entered is less than the second number threshold, the electronic device can output a correction request to request to obtain a latest answer through manual question-solving, and update the current wrong answer with the latest answer.

[0076] By adopting the above embodiment, the number of times that incorrect answers are fed back to the questions to be entered is counted by marking wrong questions. When the number of feedbacks reaches a certain number, the questions to be entered and the corresponding answers are deleted. This can ensure the quality of the questions stored in the target question bank and guarantee the learning effect of users when using the questions in the target question bank for learning.

[0077] In one embodiment, see Figure 3 , Figure 3 The present invention is a flowchart of another method for entering a topic into a subject disclosed in an embodiment. The method can be applied to Figure 1 The electronic device 10 shown. Figure 3 As shown, the method may include the following steps:

[0078] 310. Match the first question information with second question information of a plurality of entered questions included in the target question bank.

[0079] In an embodiment of the present application, the electronic device obtains the question to be entered, and extracts the first question information of the question to be entered, and then the electronic device matches the extracted first question information with the second question information of the question already entered in the target question bank. Among them, the entered question is the question stored in the target question bank, and the second question information is the question information of the entered question; the second question information corresponds to the content contained in the first question information, for example, the first question information includes the text information of the question, the digital character information of the question, the number of characters of the question, and the category information of the question, etc., then the second question information also correspondingly includes the text information of the question, the digital character information of the question, the number of characters of the question, and the category information of the question, etc.

[0080] In an embodiment of the present application, the electronic device may match the first question information with the second question information of each entered question contained in the target question bank; or may match the first question information with the second question information of some entered questions contained in the target question bank. For example, when the question information does not contain the category information of the question, the electronic device may match the first question information with the second question information of each entered question contained in the target question bank to avoid omissions in the matching process; when the question information contains the category information of the question, the electronic device may match the first question information with the second question information of the entered questions with the same category information in the target question bank to improve the matching efficiency.

[0081] 320. If the matching degree between the first topic information and each second topic information is less than the matching degree threshold, it is determined that the topic to be entered meets the entry condition.

[0082] In an embodiment of the present application, the electronic device matches the first topic information with the second topic information of multiple entered topics, and obtains the matching degree or similarity between the first topic information and each second topic information. The electronic device compares each matching degree with the matching degree threshold. If the matching degree between the first topic information and one or more second topic information is greater than or equal to the matching degree threshold, then the electronic device can determine that the topic to be entered is the same as the topic already entered corresponding to the second topic information with a matching degree greater than the matching degree threshold. At this time, the electronic device can consider that the target topic bank already has the same topic as the topic to be entered, and there is no need to enter the topic to be entered into the target topic bank, so it is determined that the topic to be entered does not meet the entry condition; if the matching degree between the first topic information and each second topic information is less than the matching degree threshold, then the electronic device can determine that the topic to be entered is different from the topic already entered in the matching target topic bank. At this time, the electronic device can consider that the target topic bank does not have the same topic as the topic to be entered, and it is necessary to enter the topic to be entered into the target topic bank, so it is determined that the topic to be entered meets the entry condition.

[0083] By adopting the above embodiment, whether the question to be entered meets the entry conditions is judged by 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, which can improve the accuracy and rationality of judging whether the question to be entered meets the entry conditions.

[0084] 330. When it is determined that the question to be entered meets the entry condition based on the first question information of the question to be entered, a plurality of candidate answers are obtained based on the first question information.

[0085] 340. Determine a target answer corresponding to the question to be entered based on a number of 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 the plurality of entered questions included 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, the entered question is marked for storage;

[0089] If the number of times the question to be entered is marked as being entered into the database is greater than or equal to the first number threshold, it is determined that the question to be entered meets the entry conditions.

[0090] In an embodiment of the present application, after the electronic device matches the extracted first question information with the second question information of the question that has been entered in the target question bank and obtains 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, then the electronic device can determine that the question to be entered has not been entered into the target question bank during this matching process, and at this time the electronic device can mark the question to be entered once. After the electronic device marks the question to be entered, the number of times the question to be entered is marked can be determined. If the number of times the question to be entered is marked is greater than or equal to the first number threshold, then 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 is marked is less than the first number threshold, then the electronic device can determine that the question to be entered does not meet the entry conditions. Among them, the first number threshold is the threshold corresponding to the preset number of times of entry marking.

[0091] For example, the first question information a of the question A to be entered includes the question category of physics question, the number of characters is 46, and the keyword information is Newton's third law and force analysis. The electronic device can match the first question information a with the second question information of the entered question in the target question bank. The preset matching degree threshold is 90%. If the matching degree between the first question information a and the second question information of the entered question in the target question bank is less than the matching degree threshold, then the electronic device performs a storage mark for the question A to be entered; after marking, the number of storage marks of the question A to be entered is 3 times, and the preset first number threshold is 2 times, so the electronic device determines that the number of storage marks of the question A to be entered is greater than the first number threshold, so it is determined that the question A to be entered meets the entry condition. Then the electronic device obtains several candidate answers according to the first question information a, and determines the target answer corresponding to the question A to be entered from the several candidate answers, enters the question A to be entered and the target answer into the target question bank, and realizes the automatic entry of the question A to be entered.

[0092] By adopting the above embodiment, each time the question to be entered does not match the entered question in the question bank, the question to be entered is marked for entry, and when the number of entry marks of the question to be entered is greater than the first number threshold, it is determined that the question to be entered meets the entry conditions. This can avoid the situation in which 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, thereby improving the accuracy of the automatic question entry process.

[0093] In some embodiments, the electronic device may include the following steps when executing the process of acquiring a plurality of candidate answers according to the first question information:

[0094] According to the information of the first question, a plurality of candidate answers are obtained through multiple problem-solving methods;

[0095] Multiple ways of solving the problem, including: searching for candidate answers through the Internet, outputting candidate answers through an artificial intelligence model, manually entering candidate answers, and searching for candidate answers through question banks other than the target question bank.

[0096] In an embodiment of the present application, the electronic device obtains several candidate answers through multiple problem-solving methods according to the first question information. In specific implementation, the electronic device can search for answers to questions with the same question information as the first question information through the Internet according to the first question information, as candidate answers; or, the electronic device inputs the first question information into an artificial intelligence model to obtain candidate answers; or, the electronic device requests access to other question banks other than the target question bank, and searches for answers to questions with the same question information as the first question information from other question banks according to the first question information, as candidate answers.

[0097] By adopting the above embodiment, several candidate answers corresponding to the question to be entered can be obtained through a variety of problem-solving methods, which can ensure as much as possible that the candidate answers contain the correct answer to the question to be entered, so as to improve the accuracy of the answers in the subsequent question entry process.

[0098] In one embodiment, see Figure 4 , Figure 4 is a flowchart of another method for entering a topic into a subject disclosed in an embodiment. The method can be applied to Figure 1 The electronic device 10 shown. Figure 4 As shown, the method may include the following steps:

[0099] 410. When it is determined that the question to be entered meets the entry condition based on the first question information of the question to be entered, a plurality of candidate answers are obtained based on the first question information.

[0100] 420. Clustering is performed on a number of candidate answers to determine a target cluster; wherein the target cluster is the cluster containing the largest number of candidate answers.

[0101] 430. If the number of candidate answers included in the target cluster is greater than the quantity threshold, determine the target answer corresponding to the question to be entered based on the candidate answers included in the target cluster.

[0102] In an embodiment of the present application, after obtaining several candidate answers, the electronic device can cluster the candidate answers to obtain one or more clusters, each cluster containing one or more candidate answers. The electronic device determines the target cluster based on the number of candidate answers contained in each cluster. Among them, the target cluster is the cluster containing the largest number of candidate answers. In specific implementation, the electronic device can extract the answer information of each candidate answer, and the answer information may include options, text information or digital information corresponding to the answer. For example, when the question to be entered is a multiple-choice question, the candidate answer is an option, and the answer information is the specific option of the candidate answer, such as AB. The electronic device clusters several candidate answers based on the answer information of each candidate answer.

[0103] In an embodiment of the present application, after the electronic device determines the target cluster, it compares the number of candidate answers contained in the target cluster with the quantity threshold. The quantity threshold is a threshold corresponding to the preset 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 may consider that the target answer cannot be determined based on the candidate answers contained in the target cluster, and the electronic device may suspend the input process of the question to be input; 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] For the process of determining the target answer corresponding to the question to be entered based on the candidate answers included in the target cluster, during specific implementation, if the candidate answers included in the target cluster are all the same, for example, the candidate answers are options, or the candidate answers are calculation results, the electronic device selects any candidate answer included in the target cluster as the target answer; if the candidate answers included in the target cluster are not all the same, for example, the candidate answers are text information, the electronic device can use a preset number of 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 containing the largest number of keywords as the target answer.

[0105] By adopting the above embodiment, 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 determine the target answer based on these candidate answers, thereby improving the rationality of the answer screening process and the accuracy of the target answer finally determined.

[0106] 440. Enter the questions to be entered and the target answers into the target question bank.

[0107] 450. If feedback information is received for the question to be entered, the quantity threshold is increased; wherein the feedback information is used to indicate that there is an error in the target answer to the question to be entered.

[0108] In some embodiments, after the electronic device enters the question to be entered and the target answer into the target question bank, if the electronic device receives feedback information for the question to be entered, the electronic device may increase the number threshold for determining the number of candidate answers included in the target cluster. The feedback information is information indicating that the target answer to the question to be entered is wrong. In specific implementation, the electronic device may generate feedback information for the question to be entered in response to a feedback operation input by the user, such as when the user clicks a "wrong answer" button.

[0109] By adopting the above embodiment, after receiving feedback information indicating that the target answer to the question to be entered is wrong, the electronic device increases the quantity threshold, further improving the accuracy of the target answer determination process for subsequent questions to be entered, and further ensuring the accuracy of the target answer.

[0110] In one embodiment, see Figure 5 , Figure 5 FIG. 1 is a flow chart of a method for inputting a topic according to an embodiment of the present invention. Figure 5 As shown, when the question entry method is specifically implemented, the electronic device obtains the user-generated question (User Generated Content, UGC), that is, the question currently being done by the user, and uses the question as the question to be entered, which can be obtained specifically by image acquisition, text information recognition, etc. Then the electronic device can search for candidate answers through the Internet, output candidate answers through an artificial intelligence model, manually enter candidate answers, and obtain multiple candidate answers through candidate answers from other question banks other than the target question bank. The electronic device compares each candidate answer to obtain the best candidate answer as the target answer. The electronic device can detect whether a manual entry instruction is received. If no manual entry instruction is 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 done by the user can be quickly entered, the rationality of the question entered into the target question bank is improved, and the learning effect of the user is improved.

[0111] See also Figure 6 , Figure 6 Schematic diagram of a structure of a title input device disclosed in the embodiment of the present application. Figure 6 As shown, the question entry device includes: an answer acquisition module 610 , an answer screening module 620 and a question entry module 630 .

[0112] The answer acquisition module 610 is used to acquire a plurality of candidate answers according to the first question information of the question to be entered, if it is determined that the question to be entered meets the entry condition according to the first question information of the question to be entered;

[0113] The answer screening module 620 is used to determine the target answer corresponding to the question to be entered based on a number of candidate answers;

[0114] The question entry module 630 is used to enter the question to be entered and the target answer into the target question bank.

[0115] In some embodiments, Figure 6 The title entry device shown also includes:

[0116] The question identification module 640 is used to match the first question information with the second question information of the multiple entered questions contained in the target question bank before obtaining a plurality of candidate answers according to the first question information when it is determined that the question to be entered meets the entry condition according to the first question information;

[0117] If the matching degree between the first topic information and each second topic information is less than the matching degree threshold, it is determined that the topic to be entered meets the entry condition.

[0118] In some embodiments, the topic identification module 640 is further used 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 entered question is marked for storage once;

[0120] If the number of times the question to be entered is marked as being entered into the database is greater than or equal to the first number threshold, it is determined that the question to be entered meets the entry conditions.

[0121] In some embodiments, the answer acquisition module 610 is further configured to:

[0122] According to the information of the first question, a plurality of candidate answers are obtained through multiple problem-solving methods;

[0123] Multiple ways of solving the problem, including: searching for candidate answers through the Internet, outputting candidate answers through an artificial intelligence model, manually entering candidate answers, and searching for candidate answers through question banks other than the target question bank.

[0124] In some embodiments, the answer screening 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 included in the target cluster is greater than the quantity threshold, the target answer corresponding to the question to be entered is determined based on the candidate answers included in the target cluster.

[0127] In some embodiments, Figure 6 The title entry device shown also includes:

[0128] The question error correction module 650 is used to increase the quantity threshold if feedback information is received for the question to be entered after the question to be entered and the target answer are entered into the target question bank; wherein the feedback information is used to indicate that there is an error in the target answer to the question to be entered.

[0129] In some embodiments, the question error correction module 650 is further used to:

[0130] After the question to be entered and the target answer are entered into the target question bank, if feedback information for the question to be entered is received, a correction request is output, the correction request is used to instruct the user to enter the latest answer to the question to be entered; wherein the feedback information is used to indicate that there is an error in the target answer to the question 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 error correction module 650 is further used to:

[0133] If feedback information is received for the question to be entered, the question to be entered is marked as wrong;

[0134] If the number of wrong question marks of the question to be entered is greater than or equal to the second number threshold, the question to be entered and the answer corresponding to the question to be entered will be deleted from the target question bank.

[0135] See also Figure 7 , Figure 7 FIG. 1 is a schematic diagram of the structure of an electronic device disclosed in an embodiment. Figure 7 As shown, the electronic device 700 may include:

[0136] A memory 710 storing executable program codes;

[0137] a processor 720 coupled to the memory 710;

[0138] The processor 720 calls the executable program code stored in the memory 710 to execute any one of the question input methods disclosed in the embodiments of the present application.

[0139] It should be noted that Figure 7 The electronic device shown may also include a power supply, input buttons, a camera, a speaker, a screen, an RF circuit, a Wi-Fi module, a Bluetooth module, a sensor and other components not shown, which are not described in detail in this embodiment.

[0140] The embodiment of the present application discloses a computer-readable storage medium storing a computer program, wherein the computer program enables a computer to execute any one of the topic entry methods disclosed in the embodiment of the present application.

[0141] The embodiment of the present 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 one of the title entry methods disclosed in the embodiment of the present application.

[0142] It should be understood that the "one embodiment" or "an embodiment" mentioned throughout the specification means that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. Those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required for the present application.

[0143] In the various embodiments of the present application, it should be understood that the size of the serial numbers of the above-mentioned processes does not necessarily mean 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 the present application.

[0144] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0145] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0146] If the above-mentioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-accessible memory. Based on this understanding, the technical solution of the present 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, which is stored in a memory and includes several requests for a computer device (which can be a personal computer, a server or a network device, etc., specifically a processor in a computer device) to perform some or all of the steps of the above-mentioned methods of various embodiments of the present application.

[0147] Those skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium includes a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable rewritable read-only memory (EEPROM), a compact disc (CD-ROM) or other optical disc storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.

[0148] The above is a detailed introduction to a method, device, wireless headset and storage medium for entering a topic disclosed in the embodiment of the present application. The principle and implementation method of the present application are described in detail using specific examples. The description of the above embodiments is only used to help understand the method and core idea of ​​the present application. At the same time, for those skilled in the art, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as limiting the present application.

Claims

1. A method for entering a topic, characterized in that: The method comprises: When it is determined according to the first question information of the question to be entered that the question to be entered meets the entry condition, obtaining a plurality of candidate answers according to the first question information; Determining a target answer corresponding to the question to be entered based on the plurality of candidate answers; The question to be entered and the target answer are entered into the target question bank.

2. The method according to claim 1, characterized in that In the case where it is determined according to the first question information of the question to be entered that the question to be entered meets the entry condition, before obtaining a plurality of candidate answers according to the first question information, the method further includes: Matching the first question information with second question information of a plurality of entered questions included in a target question bank; If the matching degree between the first topic information and each of the second topic information is less than the matching degree threshold, it is determined that the topic to be entered meets the entry condition.

3. The method according to claim 2, characterized in that After matching the first question information with second question information of a plurality of entered questions contained in the target question bank, the method further includes: If the matching degree between the first topic information and each of the second topic information is less than the matching degree threshold, the topic to be entered is marked for storage; If the number of times the to-be-entered question is marked for entry is greater than or equal to the first number threshold, it is determined that the to-be-entered question meets the entry condition.

4. The method according to claim 1, characterized in that: The step of obtaining a plurality of candidate answers according to the first question information includes: According to the first question information, obtaining a plurality of candidate answers through a plurality of problem-solving methods; The multiple problem-solving methods include: searching for candidate answers through the Internet, outputting candidate answers through an artificial intelligence model, manually entering candidate answers, and searching for candidate answers through question banks other than the target question bank.

5. The method according to claim 1, characterized in that Determining a target answer corresponding to the question to be entered according to the plurality of candidate answers includes: Performing clustering processing on the candidate answers to determine a target cluster; wherein the target cluster is the cluster containing the largest number of candidate answers; If the number of candidate answers included in the target cluster is greater than the quantity threshold, the target answer corresponding to the question to be entered is determined based on the candidate answers included in the target cluster.

6. The method according to claim 5, characterized in that After entering the question to be entered and the target answer into the target question bank, the method further includes: If feedback information is received for the question to be entered, the quantity threshold is increased; wherein the feedback information is used to indicate that there is an error in the target answer to the question to be entered.

7. The method according to any one of claims 1 to 6, characterized in that: After entering the question to be entered and the target answer into the target question bank, the method further includes: If feedback information for the question to be entered is received, a correction request is output, wherein the correction request is used to instruct the user to input the latest answer to the question to be entered; wherein the feedback information is used to indicate that there is an error in the target answer to the question to be entered; The latest answer is used as a new target answer for the question to be entered, and the new target answer is entered into the target question bank.

8. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: If feedback information is received for the question to be entered, marking the question to be entered as wrong; If the number of wrong question marks for the question to be entered is greater than or equal to the second numerical threshold, the question to be entered and the target answer corresponding to the question to be entered are deleted from the target question bank.

9. A title entry device, characterized in that: The device comprises: An answer acquisition module, configured to acquire a plurality of candidate answers according to the first question information of the question to be entered, if it is determined that the question to be entered meets the entry condition according to the first question information; An answer screening module, used to determine a target answer corresponding to the question to be entered based on the plurality of candidate answers; The question entry module is used to enter the question to be entered and the target answer into the target question bank.

10. An electronic device, characterized in that: The method comprises a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor implements the method according to any one of claims 1 to 8.

11. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 8 is implemented.

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

  • Question storage method and device, equipment, and storage medium

    CN111522992A

  • Updating method and device of question bank, electronic equipment and storage medium

    CN115687372A

  • Updating method and device of question bank, electronic equipment and storage medium

    CN115687373A