Question answering method for dictionary pen, dictionary pen and storage medium
By using a technology that combines a preset database and a large language model in Dictionary Pen, the question-answering method is adjusted based on user feedback, which solves the problems of mismatched questions and simple answers in the existing technology, and improves the accuracy of answers and user experience.
Patent Information
- Application Number
- CN202410892876.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-03
- Publication Date
- 2024-10-18
AI Technical Summary
Existing electronic products such as dictionaries and pens have unsatisfactory answers when answering questions. They cannot adjust the answering method based on user feedback, resulting in mismatched or too brief answers, which affects learning enthusiasm and efficiency.
Search questions to be answered through a preset database, obtain user feedback results, and determine the answering method based on the feedback results. Combined with question bank search and large language model analysis technology, the question answering process is dynamically adjusted.
It provides more accurate and effective problem-solving services, enhances users' learning enthusiasm and independent learning ability, and avoids the problem of inaccurate matching in traditional methods.
Smart Images

Figure CN118797028A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present disclosure relate to the field of computer technology, and more specifically, to a method for answering questions using a dictionary pen, as well as a dictionary pen and a computer-readable storage medium for executing the aforementioned method. Background Art
[0002] This section is intended to provide background or context for the embodiments of the present disclosure set forth in the claims. The descriptions herein may include concepts that may be explored, but not necessarily concepts that have been previously thought of or explored. Therefore, unless otherwise noted herein, the content described in this section is not prior art with respect to the specification and claims of the present disclosure, and is not admitted to be prior art by inclusion in this section.
[0003] At present, when answering questions, electronic products such as dictionary pens will directly output the answers to the questions for users' reference. The answering method of the whole question is single and does not vary from person to person. In actual application, due to the diversity and complexity of question expressions and the limitations of question search technology, the answers provided by current answering technology are often too brief, and the answers may not match the questions, and the accuracy of the answers cannot be ensured, so that users cannot get timely and effective help during use, which affects their learning enthusiasm and learning efficiency. Summary of the invention
[0004] The question answering effect of the question answering function of known electronic products such as dictionary pens is not ideal, which is a very annoying process.
[0005] To this end, there is a great need for an improved solution for answering questions for dictionary pens, which can flexibly adjust the answering method based on user feedback, thereby providing more accurate and effective problem-solving services.
[0006] In this context, the embodiments of the present disclosure are intended to provide a method for answering questions using a dictionary pen, a dictionary pen, and a storage medium.
[0007] In a first aspect of the disclosed embodiments, a method for answering questions using a dictionary pen is proposed, the method comprising: searching questions to be answered based on a preset database to obtain search results for the questions; obtaining user feedback results for the search results; and determining a method for answering the questions based on the user feedback results, and answering the questions according to the determined method.
[0008] In a second aspect of the disclosed embodiments, a dictionary pen is provided, comprising: a processor; and a memory storing computer instructions for answering questions of the dictionary pen, wherein when the computer instructions are executed by the processor, the dictionary pen executes the method described in the foregoing and following embodiments.
[0009] In a third aspect of the disclosed embodiments, a computer-readable storage medium is provided, comprising program instructions for answering questions of a dictionary pen, and when the program instructions are executed by a processor, the method described in the foregoing and following embodiments is implemented.
[0010] According to the method for answering questions using a dictionary pen, the dictionary pen, and the storage medium of the disclosed embodiment, it is possible to obtain the search results of the questions to be answered based on a preset database, and to answer the questions in a question-answering manner determined by the user feedback results of the search results. It can be seen that in the question-answering process of the disclosed solution, the actual effectiveness of the question-answering results for the user can be learned through the user feedback results, and the question-answering manner can be adjusted in combination with the user's feedback on the question-answering results. As a result, not only can the question explanation process be adaptively and dynamically adjusted and flexibly optimized based on user feedback to provide users with more accurate and effective question-solving services, but it can also mobilize the user's initiative in the question-answering process and enhance the user's learning enthusiasm and autonomous learning ability.
[0011] Furthermore, in some embodiments, the question bank search technology and the large language model explanation technology can be effectively combined to more accurately match and answer the user's questions, avoiding the inaccurate matching problem caused by incomplete question banks or limitations of search algorithms in traditional methods. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] The above and other objects, features and advantages of the exemplary embodiments of the present disclosure will become readily understood by reading the detailed description below with reference to the accompanying drawings. In the accompanying drawings, several embodiments of the present disclosure are shown in an exemplary and non-limiting manner, in which:
[0013] Figure 1 Schematically shows a block diagram of an exemplary computing system 100 suitable for implementing the embodiments of the present disclosure;
[0014] Figure 2 The flowchart of the method for answering questions using a dictionary pen according to an embodiment of the present disclosure is schematically shown;
[0015] Figure 3 The flowchart of the method for answering questions using a dictionary pen according to another embodiment of the present disclosure is schematically shown;
[0016] Figure 4The flowchart of the method for answering questions using a dictionary pen according to another embodiment of the present disclosure is schematically shown;
[0017] Figure 5A to Figure 5C A schematic diagram schematically shows the interactive process of human-computer question answering;
[0018] Figure 6 The structural diagram of the dictionary pen according to the embodiment of the present disclosure is schematically shown.
[0019] In the drawings, the same or corresponding reference numerals represent the same or corresponding parts. DETAILED DESCRIPTION
[0020] The principles and spirit of the present disclosure will be described below with reference to several exemplary embodiments. It should be understood that these embodiments are provided only to enable those skilled in the art to better understand and implement the present disclosure, and are not intended to limit the scope of the present disclosure in any way. On the contrary, these embodiments are provided to make the present disclosure more thorough and complete, and to fully convey the scope of the present disclosure to those skilled in the art.
[0021] Figure 1 1 is a block diagram of an exemplary computing system 100 suitable for implementing embodiments of the present disclosure. Figure 1 As shown, the computing system 100 may include: a central processing unit (CPU) 101, a random access memory (RAM) 102, a read-only memory (ROM) 103, a system bus 104, a hard disk controller 105, a keyboard controller 106, a serial interface controller 107, a parallel interface controller 108, a display controller 109, a hard disk 110, a keyboard 111, a serial external device 112, a parallel external device 113, and a display 114. Among these devices, the CPU 101, the RAM 102, the ROM 103, the hard disk controller 105, the keyboard controller 106, the serial controller 107, the parallel controller 108, and the display controller 109 are coupled to the system bus 104. The hard disk 110 is coupled to the hard disk controller 105, the keyboard 111 is coupled to the keyboard controller 106, the serial external device 112 is coupled to the serial interface controller 107, the parallel external device 113 is coupled to the parallel interface controller 108, and the display 114 is coupled to the display controller 109. It should be understood that Figure 1 The structural block diagram is only for the purpose of illustration, and is not intended to limit the scope of the present disclosure. In some cases, some devices may be added or reduced according to specific circumstances.
[0022] Those skilled in the art will appreciate that the embodiments of the present disclosure may be implemented as a system, method, or computer program product. Therefore, the present disclosure may be specifically implemented in the following forms, namely: complete hardware, complete software (including firmware, resident software, microcode, etc.), or a combination of hardware and software, generally referred to herein as a "circuit," "module," "unit," or "system." In addition, in some embodiments, the present disclosure may also be implemented in the form of a computer program product in one or more computer-readable media, which contains computer-readable program code.
[0023] Any combination of one or more computer-readable media may be used. A computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. A computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive examples) of computer-readable storage media may include, for example: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device.
[0024] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0025] The program code embodied on the computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0026] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0027] The following will describe the embodiments of the present disclosure with reference to the flowchart of the method of the present disclosure embodiment and the block diagram of the device (or system). It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer or other programmable data processing device, thereby producing a machine, and these computer program instructions are executed by a computer or other programmable data processing device to produce a device that implements the function / operation specified in the box in the flowchart and / or block diagram.
[0028] These computer program instructions may also be stored in a computer-readable medium that enables a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable medium produce a product that includes an instruction device that implements the functions / operations specified in the blocks in the flowchart and / or block diagram.
[0029] Computer program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby enabling the instructions executed on the computer or other programmable device to provide a process for implementing the functions / operations specified in the blocks in the flowchart and / or block diagram.
[0030] According to the embodiments of the present disclosure, a method for answering questions of a dictionary pen, a dictionary pen and a storage medium are proposed. In addition, any number of elements in the drawings is for illustration rather than limitation, and any naming is only for distinction and does not have any limiting meaning.
[0031] The principle and spirit of the present disclosure are explained in detail below with reference to several representative embodiments of the present disclosure. SUMMARY OF THE INVENTION
[0032] The inventors have discovered that the question answering function supported by current electronic products such as dictionary pens is not ideal. Specifically, electronic products such as dictionary pens often rely solely on traditional question bank search methods to search for answers when answering questions. However, traditional question bank search methods have certain limitations. Due to the diversity and complexity of question expressions, the system may not be able to find a completely matching question, or the answer provided may be too brief and difficult for the user to understand. In addition, existing systems are usually unable to adjust the answer method based on user feedback and lack a personalized feedback mechanism, resulting in users being unable to receive timely and effective help during the learning process. Finally, due to the above-mentioned shortcomings, users often feel frustrated during use, which affects their enthusiasm and efficiency in learning.
[0033] In this regard, the inventor has found through research that the actual effectiveness of the search results for users can be learned based on the user's feedback on the search results, and the specific answering method for the questions can be adjusted and optimized in combination with the user feedback results. Based on this, the inventor has further found that the search results of the questions to be answered can be obtained based on the preset database, and the questions can be answered according to the answering method determined by the user feedback results of the search results. Not only can the process of explaining the questions be adaptively and dynamically adjusted and flexibly optimized based on user feedback to provide users with more accurate and effective problem-solving services, but it can also mobilize the user's initiative in the question-answering process and enhance the user's learning enthusiasm and autonomous learning ability.
[0034] After introducing the basic principles of the present disclosure, various non-limiting embodiments of the present disclosure are described in detail below. Exemplary Methods
[0035] Reference below Figure 2 The method for answering questions for a dictionary pen according to an exemplary embodiment of the present disclosure is described below. It should be noted that the embodiments of the present disclosure can be applied to any applicable scenario.
[0036] Figure 2 The flowchart of the method 200 for answering questions using a dictionary pen according to an embodiment of the present disclosure is schematically shown.
[0037] like Figure 2As shown, at step S201, the question to be answered can be searched according to the preset database to obtain the search result of the question. In some embodiments, the preset database may include a local database, and multiple questions and corresponding answer contents can be pre-stored in the local database. Of course, in other embodiments, the preset database may also be located in a remote server or cloud, and multiple questions and corresponding answer contents need to be pre-stored in the preset database. Furthermore, whether the preset database is on the local side or the remote side, the stored content can be updated (such as addition and deletion) as needed.
[0038] In practical applications, questions to be answered can be obtained in a variety of ways. For example, scanning technology can be used to scan the questions to be answered, and the scanned code content can be identified in combination with optical character recognition technology to convert them into text-based questions to be answered. For another example, image acquisition technology can be used to capture images containing questions, and image processing technology can be used to extract the questions to be answered from the images. For another example, the user can directly input the questions to be answered through input methods such as voice or text. For another example, it is also possible to link with other electronic devices (especially learning products such as smart desk lamps) to receive pictures, text or other forms of questions to be received transmitted by these electronic products. It should be noted that the description of the method for obtaining the questions to be answered here is only an exemplary description, and the scheme disclosed herein is not limited to this. It can be set and adjusted according to the configuration of the product used and the human-computer interaction design.
[0039] After obtaining the above-mentioned questions to be answered, you can use a question search engine or some question matching algorithms (such as similarity algorithms, etc.) to obtain questions that match the questions to be answered and the corresponding answers from a preset database to complete the question search process and obtain the question search results. In some embodiments, the aforementioned question search results may only include questions pre-stored in the preset database that match the questions to be answered, and of course, they may also include questions that match the questions to be answered and the corresponding answers.
[0040] Preferably, in some embodiments, the questions to be answered can be searched based on a preset database on the local side so that possible answers can be quickly obtained, thereby improving the efficiency of the entire question-answering process.
[0041] At step S202, user feedback results for the search results can be obtained. After obtaining the search results of the question, whether the search results are effective for the user needs to be inferred and determined in combination with the actual feedback of the user. Therefore, it is necessary to obtain user feedback results for the search results.
[0042] In step S203, a question-answering method may be determined based on the aforementioned user feedback result, and the aforementioned question may be answered according to the determined question-answering method.
[0043] Thus, the search results of the questions to be answered can be obtained based on the preset database, and the questions can be answered according to the answering method determined by the user feedback results of the search results, so that the answering process of the questions is no longer single, but can vary from person to person to meet the actual needs of users. At the same time, in the process of answering questions, the actual effectiveness of the search results for users can be known through user feedback results, and the answering method can be adjusted in combination with the user's feedback on the search results of the questions. This can not only adaptively and dynamically adjust and flexibly optimize the question explanation process based on user feedback to provide users with more accurate and effective problem-solving services, but also mobilize the user's initiative in the question-answering process, and enhance the user's learning enthusiasm and autonomous learning ability.
[0044] Figure 3 The flowchart of the method 300 for answering questions of a dictionary pen according to another embodiment of the present disclosure is schematically shown. It can be understood that the method 300 is for Figure 2 Therefore, the above combined with the method 200 Figure 2 The relevant detailed description also applies to the following.
[0045] like Figure 3 As shown, at step S301, the questions to be answered can be searched according to the preset database to obtain the search results of the questions. In some embodiments, the questions to be answered can be obtained by scanning, image acquisition (such as taking pictures, etc.) or user input, and after obtaining the questions to be answered, some general search techniques can be used to find matching questions and answer information from the local or remote preset database as the search results. It should be noted that the specific process of obtaining the questions to be answered and searching according to the preset database can refer to the relevant description above and will not be repeated here.
[0046] As an example, in the application scenario of the dictionary pen, the scanning pen head of the dictionary pen can be used to obtain the questions to be answered. Specifically, a scanned image containing the questions to be solved scanned by the scanning pen head can be obtained. In actual applications, the scanning pen head of the dictionary pen can support single-line scanning or multi-line scanning, and the user can use the dictionary pen to scan the questions to be answered to obtain a scanned image. Then, the size of the image cutting window can be adjusted according to the text integrity and / or text line spacing in the scanned image. For example, when the user is using the dictionary pen to scan, incomplete text will inevitably appear in the collected scanned image. At this time, the size of the image cutting window can be adjusted by using the text integrity to filter out the incomplete text content and cut out the effective area containing the complete text content. For another example, some scanned code content containing formulas generally has a larger line spacing than the scanned content of pure text. At this time, the text line spacing can be used to adjust the size of the image cutting window to ensure that the effective area containing the complete formula can be obtained. For example, when there are incomplete text and formulas in the scanned content, the size of the cutting window can be adjusted based on the text completeness and text line spacing to ensure that a valid area containing complete text and complete formulas can be cut out.
[0047] After obtaining the valid area, if the valid area already contains complete question information (for example, a scanned image collected by multi-line scanning mode, a scanned image covering the complete question can be obtained by one scan), the image to be parsed is directly extracted from the valid area. If each valid area only contains part of the question content (for example, a scanned image collected by single-line scanning mode, or when the question content is large, etc.), these valid areas need to be spliced, and the question to be parsed is extracted from the spliced valid areas.
[0048] Furthermore, when the question to be analyzed is obtained through the effective area, the question to be analyzed can be graphically displayed so that the user can promptly understand whether the collected question meets the requirements (such as the completeness of the question, whether the question is the required specified question, etc.). In response to obtaining the user's confirmation feedback on the question to be analyzed, the step of searching for the question to be answered according to the preset database is executed. When the user determines that the question that meets the requirements is obtained through the scanning pen, a feedback indication can be given. For example, a feedback input item (such as a confirmation button, a voice input button, etc.) can be displayed on the interactive interface. When the user inputs confirmation feedback on the question to be analyzed through the feedback input item, the dictionary pen can be triggered to perform subsequent question-answering operations. Therefore, the above-mentioned human-computer interaction design can well enhance the user experience and meet the actual needs of users.
[0049] At step S302, the aforementioned search results may be graphically displayed. For example, the aforementioned searched questions and their corresponding answers may be displayed in a visual interactive interface, or the search results may be displayed in a graphic form, and the displayed content may be broadcasted in combination with voice. It should be noted that the solution disclosed herein does not limit the specific graphical display method, and it may be adjusted according to the configuration of the product used (such as hardware, screen size, etc.) and application requirements.
[0050] At step S303, the user's feedback information on the graphical search result can be obtained. In the application, there are many ways to obtain real feedback from users on the search results. The specific settings and adjustments need to be made in combination with the specific display method of the search results and the requirements of human-computer interaction design.
[0051] As an example, a human-computer interaction interface including the aforementioned search results and feedback input items about the search results can be displayed to the user, and then the feedback information input by the user based on the feedback input items on the human-computer interaction interface can be obtained, and then the user feedback result can be determined based on the feedback information. For example, when the user searches for the question "Solve the equation: x / 2+1=(2-x) / 3", when the matching questions and answers are retrieved through the preset database, the question and its answer content can be displayed on the human-computer interaction interface, and feedback input items such as "Is it the question you want" can be displayed at the same time, so that the user can input feedback information through the feedback input items. It should be noted that the description of the display content on the human-computer interaction interface here is only an exemplary description, and the scheme disclosed in the present invention does not limit this, and the specific input method of the feedback information can be set according to the actual interaction needs. For example, input buttons such as voice mode can also be set on the human-computer interaction interface, and the user inputs feedback information through the voice button.
[0052] At step S304, the user feedback result can be determined based on the aforementioned feedback information. If the feedback information is input in a specified format (e.g., text format), the feedback information can be directly determined as the user feedback result. Of course, if the feedback information is input in voice or other ways, it can be adjusted to a unified required format, and then the user feedback result is determined based on the information after the adjusted format.
[0053] At step S305, the question answering method can be determined according to the user feedback result, and the question is answered according to the determined question answering method. At this point, the question answering for the question is completed.
[0054] Specifically, in some embodiments, multiple preset feedback results may be created, and a corresponding question-answering method may be configured for each preset feedback result, and then an association relationship between each preset feedback result and the corresponding question-answering method may be established. Then, the preset feedback result corresponding to the user feedback result may be determined, and the question-answering method corresponding to the user feedback result may be searched based on the aforementioned association relationship.
[0055] Furthermore, in some implementation scenarios, the preset feedback result includes a first feedback result, a second feedback result, and a third feedback result. In practical applications, the user feedback results can be summarized and divided into any of the three categories of feedback results mentioned above. For example, in response to the user feedback result belonging to the first feedback result, it can be determined to adopt the question-answering method of the question-searching result. That is, when the user feedback result is the first feedback result, it means that the currently obtained question-searching result has met the user's needs, and the explanation can be directly based on the question-searching result.
[0056] For another example, in response to the aforementioned user feedback result belonging to the second feedback result, it is determined to adopt a question-answering method that combines the question search result with the large language model analysis. That is, when the user feedback result is the second feedback result, it means that the current question search result is too simple or does not meet the user's needs, and the user cannot accurately understand the question and its solution process based on the question search result, so it is necessary to adopt a question-answering method that combines the question search result with the large language model analysis to answer the question. Specifically, the question search result can be processed based on the large language model to obtain the solution process of the question search result, and then the question search result and the solution process are graphically displayed.
[0057] Among them, the large language model can be understood as a large-scale pre-trained model based on deep learning, which has powerful natural language processing and generation capabilities. The large language model is used to process the search results to parse the search results into a solution process that matches the user's ability, so that the user can better understand the question and the solution process. Specifically, the basic information of the question and the user's problem-solving ability information can be obtained. Among them, the basic information of the question may include information such as the subject to which the question belongs, the question type, etc., and the user's problem-solving ability information may include age, school age, school stage, etc., and of course, it can also be linked with other learning products used by the user to obtain the user's problem-solving ability information (such as some online exercises of the user). In practical applications, this information can be obtained by direct input by the user. After obtaining this information, the basic information, problem-solving ability information, and search results can be input into the large language model to output the solution steps and auxiliary information that match the user's problem-solving ability. Among them, the auxiliary information may include the knowledge points involved in the question, or the answer content, the summary of the question, some key points or key points of the question, or some extended knowledge. It can be seen that the question-answering method of this embodiment is completely different from the traditional fixed question-answering method. There is no need to make users adapt to the provided answer process by improving their abilities. Instead, it generates corresponding answer steps based on the user's current problem-solving abilities, etc., which is more conducive to users' quick and efficient in-depth understanding of questions and problem-solving ideas, enhances the user's learning experience, and helps users solve learning problems more efficiently.
[0058] For example, in response to the user feedback result belonging to the third feedback result, it is determined to adopt the question-answering method of large language model analysis. That is, when the user feedback result is the third feedback result, it means that the current search result is seriously mismatched with the question, or even not the question the user wants, and has no auxiliary effect on the user. At this time, the question can be processed based on the large language model to obtain the answer and solution process of the question. For example, the large language model can be based on natural language processing technology and machine learning technology to deeply understand the question and output the answer and solution process of the question. Specifically, the basic information of the question and the user's problem-solving ability information can be obtained, and then the basic information, problem-solving ability information, and the question can be input into the large language model to output the solution steps and auxiliary information that match the user's problem-solving ability. Then, the search result is withdrawn, and the answer and solution process are graphically displayed.
[0059] During the display of the answer process, the user may have new questions about the answer or the answer steps, etc., and the question answering process can continue at this time. At step S306, it can be detected whether the interactive information of the answer process for the question is obtained. Among them, the interactive information may include question information about the answer process input by voice, text input or other human-computer interaction methods. At step S307, in response to determining that the interactive information is obtained, a reply to the interactive information can be generated based on the large language model. In some embodiments, the large language model can adopt a general large model as a basic model and be trained in combination with deep learning technology. The large language model can combine natural language processing technology and machine learning technology to deeply understand the interactive information and generate detailed and easy-to-understand replies for user reference.
[0060] Therefore, the scheme disclosed in the present invention can improve the accuracy of answers. By combining the question bank search and the large model explanation, it can more accurately match and answer the user's questions, avoiding the inaccurate matching problem caused by the incomplete question bank or the limitation of the search algorithm in the traditional method. In addition, by enhancing the understanding ability, the large language model has a stronger explanation ability, and can explain the questions in a more understandable way, helping users to deeply understand the questions and problem-solving ideas, and improving the learning effect. In addition, it also supports real-time feedback and optimization, obtains the user's feedback results for the search results, and can automatically withdraw the search results according to the feedback results and use the large model to explain again. This real-time feedback mechanism makes the answering process more dynamic and accurate. Further, it can also improve the user experience. Through the dual guarantee mechanism of question bank search and large language model, users can get a better learning experience during use, no longer feel frustrated because they cannot match the questions or have difficulty understanding, and enhance their enthusiasm and confidence in learning. At the same time, it can also reduce dependence. Users can also get accurate problem solutions without the help of teachers or parents, which improves their autonomous learning ability.
[0061] In practical applications, Figure 2 and Figure 3 The question answering process for the dictionary pen can be implemented in a variety of ways. Figure 4 The present invention exemplarily shows a specific implementation process of the method 400 for answering questions of a dictionary pen, which specifically includes:
[0062] At step S401, the questions can be obtained by scanning or taking photos. This embodiment is described by taking a dictionary pen as an example. Generally, a dictionary pen has the functions of scanning, taking photos, and voice input. Therefore, when the user encounters a difficult problem during the learning process, the user can use the scanning, taking photos, or voice input functions of the dictionary pen to obtain the questions.
[0063] refer to Figure 5A, the question can be scanned or photographed by the scanning or photographing function of the dictionary pen to obtain an image of the question. Furthermore, the image of the question obtained by scanning or photographing can be displayed, and buttons such as "voice" and "submit" can be displayed on the interface so that the user can click these buttons to submit the question. Confirm whether to upload the question image for subsequent question search processing.
[0064] return Figure 4 In step S402, the search result can be obtained.
[0065] As an example, a dictionary pen has components such as a scanning end and a processor. The scanning end can be used to scan questions, and then optical character recognition technology is used to convert the scanned questions into digital text, and then the text is transmitted to the processor in the scanning pen. Then, the processor can start the preset question bank search engine to search the preset database for questions and match the scanned questions. A large number of questions and their answers are pre-stored in the question bank. The processor uses matching algorithms such as similarity calculation to quickly retrieve one or more questions that match the scanned questions and display the corresponding answers. This process ensures that users can obtain possible answers in the shortest time, thereby improving learning efficiency.
[0066] refer to Figure 5B ,After the question image is uploaded, the corresponding question and answer are obtained from the ,preset database using the aforementioned question bank search engine and ,then the question and answer can be displayed on the human-computer ,interaction interface.
[0067] return Figure 4 At step S403, when the user determines that the search result is valid, the answer to the question can be viewed. At step S404, when it is determined that the search result is not detailed enough, the AI explanation can be combined with the large language model. At step S405, when the user finds that the search result is seriously mismatched with the scanned question, the search result can be withdrawn, and at step S406, the AI explanation can be used to explain the question input by scanning or taking a photo.
[0068] refer to Figure 5B In this figure, the human-computer interaction interface also displays feedback input items such as "No", "Little P Explains", "View Answers", and "Video Explanations". When the user clicks the "View Answers" button, it means that the user is sure that the search result is valid. At this time, the answer can be directly displayed in the form of pictures and text. Alternatively, the user can also select the "Video Explanation" button, in which case the answer can be displayed through audio and video. For example, when the user clicks the "Little P Explains" button, it means that the user is sure that the search result is too simple. At this time, the search result can be further analyzed in combination with the large language model to generate detailed problem-solving steps. At the same time, auxiliary information such as knowledge points, summaries, and key points can also be provided. For details, see Figure 5C, combined with a large language model, the answers in the search results can be split into steps, and the knowledge points involved can be prompted or summarized.
[0069] For example, when a user clicks the "No" button, it means that the user is sure that the search result is not the question he needs. At this time, the large language model can be triggered to re-analyze the scanned or photographed question to generate a detailed and easy-to-understand answer process. This mechanism ensures that users can still get a full answer even if the search result is not ideal, which significantly improves the accuracy of the answer and the user's understanding.
[0070] Furthermore, in some embodiments, the answering process for the large model output can be continued. For example, when the user clicks Figure 5B When you click the "Ask me any questions" button, you can enter some new questions for the answering process. At this time, the large language model can continue to answer questions based on the new questions entered by the user to meet the user's question-answering needs.
[0071] The above exemplary application scenarios are mainly aimed at the needs of users when using the dictionary pen to solve questions and answer questions. When users encounter difficult problems in the learning process, they can use the dictionary pen to scan the questions. The dictionary pen can provide search results based on the question bank, displaying one or more matching questions and their answers. However, the search results may not fully match the questions scanned by the students, or the answers provided may be difficult for students to understand. In this case, the dictionary pen will further use the capabilities of the large language model to explain in detail so that users can better understand the questions and the answering process.
[0072] In addition, if the user believes that the search results provided do not match their questions, they can feedback "This is not my question" through the interface. At this time, the dictionary pen will automatically withdraw the search results and directly use the large language model to analyze and explain the questions scanned by the user, providing more accurate answers. This dual guarantee mechanism not only improves the accuracy of the answers, but also enhances the user's learning experience and helps users solve learning problems more efficiently. Through the innovative question-answering solution in this embodiment, the dictionary pen helps users become an intelligent assistant in learning, significantly improving the learning effect and learning experience.
[0073] In summary, the comprehensive answering method disclosed in this disclosure, which combines question bank search with large language model explanation, can ensure the accuracy and comprehensibility of question matching and answers. At the same time, it also provides an adaptive explanation mechanism driven by feedback. The adaptive explanation mechanism based on user feedback can dynamically adjust and optimize the answering process and provide more accurate question-solving services. In addition, it also provides a user interface for intelligent question answering, and designs and implements an intuitive and easy-to-use user interface (e.g. Figure 5A to Figure 5C The user interface shown in the figure) organically integrates the question bank search results, large language model explanation, feedback mechanism and user interface to form a complete and optimized intelligent question answering system.
[0074] It should be noted that the application scenarios to which the solution of the present disclosure is applicable are not limited to dictionary pens, but may also include other electronic products that support functions such as question acquisition and question answering.
[0075] Exemplary Devices
[0076] After introducing the method of the exemplary embodiment of the present disclosure, next, refer to Figure 6 The related products of the method for answering questions of a dictionary pen according to the exemplary embodiment of the present disclosure are described.
[0077] Figure 6 Schematically shows a schematic block diagram of a dictionary pen 600 according to an embodiment of the present disclosure. Figure 6 As shown, the dictionary pen 600 may include a processor 601 and a memory 602. The memory 602 stores The computer instructions for answering questions of the dictionary pen, when the computer instructions are executed by the processor 601, make the dictionary pen 600 perform the following method steps:
[0078] The questions to be answered are searched according to a preset database to obtain the search results of the questions; user feedback results for the search results are obtained; and the answering method of the questions is determined according to the user feedback results, and the questions are answered according to the determined answering method.
[0079] Optionally, obtaining a user feedback result for the question search result includes: graphically displaying the question search result; obtaining user feedback information for the graphical question search result, and determining the user feedback result based on the feedback information.
[0080] Optionally, graphically displaying the question search results and obtaining user feedback information on the graphical question search results includes: displaying to the user a human-computer interaction interface including the question search results and feedback input items regarding the question search results; obtaining feedback information input by the user based on the feedback input items on the human-computer interaction interface; and determining the user feedback result based on the feedback information.
[0081] Optionally, wherein the user feedback result includes multiple preset feedback results, the method further includes: creating multiple preset feedback results, and configuring a corresponding question-answering method for each preset feedback result; and establishing an association relationship between each preset feedback result and the corresponding question-answering method; determining the question-answering method for the question based on the user feedback result includes: determining the preset feedback result corresponding to the user feedback result; and searching for the question-answering method corresponding to the user feedback result based on the association relationship.
[0082] Optionally, the multiple preset feedback results include a first feedback result, a second feedback result and a third feedback result, and determining the answering method of the question according to the user feedback result includes: in response to the user feedback result belonging to the first feedback result, determining to adopt the answering method of the question search result; or in response to the user feedback result belonging to the second feedback result, determining to adopt the answering method of the question search result combined with the large language model analysis; or in response to the user feedback result belonging to the third feedback result, determining to adopt the answering method of the large language model analysis.
[0083] Optionally, determining a question-answering method using the question search results combined with large language model analysis, and answering the question according to the determined question-answering method includes: processing the question search results based on the large language model to obtain an answering process for the question search results; and graphically displaying the question search results and the answering process.
[0084] Optionally, determining a question-answering method using a large language model for analysis, and answering the question according to the determined question-answering method includes: processing the question based on the large language model to obtain the The answer to the question and the solution process; and withdrawing the search result, and graphically displaying the answer and the solution process.
[0085] Optionally, the search result or the question is processed based on the large language model to obtain an answer to the search result or the question, including: obtaining basic information of the question and the user's problem-solving ability information; and inputting the basic information and the problem-solving ability information into the large language model to output answer steps and auxiliary information that match the user's problem-solving ability.
[0086] Optionally, the method further includes: detecting whether interaction information of a solution process for the question is obtained; and in response to determining that the interaction information is obtained, generating a reply regarding the interaction information based on a large language model.
[0087] Optionally, the dictionary pen is equipped with a scanning pen head, and the method further includes: obtaining a scanned image scanned by the scanning pen head that contains the question to be analyzed; adjusting the size of the cutting window according to the text integrity and / or text line spacing in the scanned image; cutting out a valid area from the scanned image according to the adjusted cutting window; and determining the question to be analyzed based on the cut-out valid area.
[0088] Optionally, the question to be solved is graphically displayed; and in response to obtaining a confirmation feedback from the user on the question to be solved, a step of searching the question to be answered based on a preset database is executed.
[0089] It should be noted that the specific contents of the method steps of the dictionary pen or the specific execution contents of each functional module in the dictionary pen are in accordance with the above combination. Figure 2 to Figure 4 The specific implementation methods of the described method for answering questions using a dictionary pen are the same or similar, so they will not be described in detail here.
[0090] Through the above implementation, the dictionary pen can learn the actual effectiveness of the search results for users through user feedback during the question answering process, and can effectively adjust the question answering method based on the user's feedback on the question search results. Therefore, it can not only adaptively and dynamically adjust and flexibly optimize the question explanation process based on user feedback to provide users with more accurate and effective question-solving services, but also mobilize the user's initiative in the question answering process, and enhance the user's learning enthusiasm and autonomous learning ability.
[0091] In addition, the present disclosure also provides a computer-readable storage medium in which program instructions are stored, and the program instructions are configured to be executed at runtime. Figure 2 to Figure 4 The method for answering questions using a dictionary pen is shown.
[0092] Specifically, in this embodiment, the storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (ROM), RAM for short), mobile hard disk, magnetic disk or CD, etc., which can store computer programs.
[0093] It should be noted that although several devices or sub-devices of the device are mentioned in the above detailed description, such division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more devices described above can be embodied in one device. Conversely, the features and functions of one device described above can be further divided into multiple devices to be embodied.
[0094] The use of the verbs "comprise", "include" and their conjugations mentioned in the application documents does not exclude the presence of elements or steps other than those recorded in the application documents. The article "a" or "an" before an element does not exclude the presence of a plurality of such elements.
[0095] Although the spirit and principle of the present disclosure have been described with reference to several specific embodiments, it should be understood that the present disclosure is not limited to the disclosed specific embodiments, and the division of various aspects does not mean that the features in these aspects cannot be combined to benefit, and such division is only for the convenience of expression. The present disclosure is intended to cover various modifications and equivalent arrangements included in the spirit and scope of the attached claims. The scope of the attached claims conforms to the broadest interpretation, thereby including all such modifications and equivalent structures and functions.
[0096] The collection and acquisition of various data in this disclosure complies with relevant laws and regulations and is authorized by the data provider. Any organization or individual that needs to obtain external data must obtain authorization in accordance with the law and ensure data security. It is prohibited to illegally collect, use, process, or transmit unauthorized or unprotected data, or to illegally buy, sell, provide, or disclose unauthorized or unprotected data.
Claims
1. A method for answering questions about a dictionary pen, characterized in that: include: Searching the questions to be answered according to a preset database to obtain search results for the questions; Obtaining user feedback results for the search results; as well as The question-answering method of the question is determined according to the user feedback result, and the question is answered according to the determined question-answering method.
2. The method according to claim 1, characterized in that Obtaining user feedback results for the search results includes: Graphically displaying the search results; Get user feedback on graphical search results, and The user feedback result is determined according to the feedback information.
3. The method according to claim 2, characterized in that Graphically displaying the search results and obtaining user feedback information on the graphical search results include: Displaying a human-computer interaction interface including the search result and a feedback input item about the search result to the user; Acquiring feedback information input by the user based on the feedback input item on the human-computer interaction interface; and The user feedback result is determined according to the feedback information.
4. The method according to claim 1, characterized in that: The user feedback result includes multiple preset feedback results, and the method further includes: Creating multiple preset feedback results, and configuring a corresponding question-answering method for each of the preset feedback results; and Establishing an association relationship between each of the preset feedback results and the corresponding question-answering method; Determining the answering method of the question according to the user feedback result includes: Determine a preset feedback result corresponding to the user feedback result; According to the association relationship, the question-answering method corresponding to the user feedback result is searched.
5. The method according to claim 4, characterized in that The multiple preset feedback results include a first feedback result, a second feedback result, and a third feedback result. The method of answering the question according to the user feedback results includes: In response to the user feedback result belonging to the first feedback result, determining to adopt the question answering method of the question search result; or In response to the user feedback result belonging to the second feedback result, determining to adopt a question answering method combining the question search result with large language model analysis; or In response to the user feedback result belonging to the third feedback result, it is determined to adopt a question-answering method of large language model parsing.
6. The method according to claim 5, characterized in that Determining a question-answering method using the question search results combined with large language model analysis, and answering the question according to the determined question-answering method includes: Processing the question search results based on the large language model to obtain a solution process for the question search results; and The question search results and the solution process are graphically displayed.
7. The method according to claim 5, characterized in that Determining a question-answering method using a large language model for analysis, and answering the question according to the determined question-answering method includes: Processing the question based on the large language model to obtain an answer to the question and a process of answering the question; and The search result is withdrawn, and the answer and the solution process are graphically displayed.
8. The method according to claim 6 or 7, characterized in that: The process of processing the question search result or the question based on the large language model to obtain an answer to the question search result or the question includes: Obtaining basic information about the question and information about the user's problem-solving ability; and The basic information and the problem-solving ability information are input into the large language model to output solution steps and auxiliary information that match the problem-solving ability of the user.
9. A dictionary pen, characterized in that: include: processor; as well as A memory storing computer instructions for answering questions of a dictionary pen. When the computer instructions are executed by the processor, the dictionary pen executes the method according to any one of claims 1 to 8.
10. A computer-readable storage medium, characterized in that: Contains program instructions for answering questions using a dictionary pen, and when the program instructions are executed by a processor, the method according to any one of claims 1 to 8 is implemented.
