A question searching method and an electronic device
By detecting indicators and generating movement trajectories within the learning page, the scope of the question is determined, solving the problem that existing question-searching software cannot accurately determine the scope of the question, thus achieving higher accuracy and efficiency in question searching.
Patent Information
- Application Number
- CN202410241549.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-05-05
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2039-05-05
AI Technical Summary
Existing question-searching software cannot accurately determine the scope of the questions a user intends to search for, resulting in low accuracy.
By detecting an indicator pointing to the learning page within the field of view, continuously taking multiple images of the learning page, identifying the coordinates of the indicator, generating a movement trajectory, thereby determining the scope of the question frame and obtaining the content of the question frame, and identifying the question to be searched.
It improves the accuracy of question searching, is simple and flexible to operate, can narrow down the search scope, reduce accidental operation, adapt to the writing habits of paper learning materials, and improve efficiency.
Smart Images

Figure CN118155197B_ABST
Abstract
Description
[0001] This application is a divisional application. Its parent application is an invention patent application filed on May 5, 2019, with application number 201910367761.3 and invention title "A Question Search Method and Electronic Device". The entire contents of this application are included in the parent application. Technical Field
[0002] This invention relates to the field of educational technology, specifically to a question-searching method and an electronic device. Background Technology
[0003] Many smart devices on the market today have built-in question-searching software to help students solve homework problems during their studies. When using this software, students need to take a picture of the learning page (such as a page from a workbook), allowing the software to identify the question and search for its answer. However, in practice, this method can only recognize the entire learning page image and cannot pinpoint the specific question within it that matches the user's search intent, thus reducing the accuracy of the search. Summary of the Invention
[0004] This invention discloses a question-searching method and electronic device, which can determine the scope of questions that match the user's search intent when searching for questions in images, thereby improving the accuracy of question searching.
[0005] The first aspect of this invention discloses a question-searching method, the method comprising:
[0006] If an indicator is detected pointing to the learning page within the field of view, multiple images of the learning page are captured continuously; wherein, the indicator includes a finger or a stylus.
[0007] Identify the coordinates of the indicator in each of the learning page images;
[0008] The movement trajectory of the indicator is generated based on the coordinate positions of the indicator in multiple images of the learning page;
[0009] Based on the movement trajectory, determine the scope of the topic frame from the learning page image, and obtain the topic content corresponding to the scope of the topic frame;
[0010] Identify the search question from the content of the box;
[0011] Search and output the answer to the question to be searched.
[0012] As an optional implementation, in the first aspect of the present invention, the step of continuously capturing multiple images of the learning page if an indicator is detected pointing to the learning page within the field of view includes:
[0013] If a designated object is detected pointing to a designated area on the learning page used to trigger the question mode within the field of view, determine whether the duration for which the designated object stays in the designated area is greater than or equal to the preset trigger duration.
[0014] If so, then take multiple images of the learning page consecutively.
[0015] As an optional implementation, in the first aspect of the present invention, the title content includes title text and keywords, and obtaining the title content corresponding to the title range includes:
[0016] The printed text of the title box is identified to obtain the title text corresponding to the title box and the coordinate position information of the title text.
[0017] Handwriting recognition is performed on the scope of the title box to obtain the handwriting information corresponding to the scope of the title box.
[0018] The handwriting information is preprocessed to identify target handwriting that conforms to a preset marking format, and the coordinate position information of the target handwriting is obtained.
[0019] Based on the coordinate position information of the target handwriting and the coordinate position information of the question text, a position mapping relationship is established between the target handwriting and the question text in order to extract the keywords indicated by the target handwriting from the question text;
[0020] The step of identifying the search question from the content of the title box includes:
[0021] Based on the question text, the question to be searched is identified;
[0022] The process of searching for and outputting the answer to the question to be searched includes:
[0023] Search and output the answer to the question to be searched, as well as detailed explanations related to the keywords.
[0024] As an optional implementation, in the first aspect of the present invention, after identifying the question to be searched based on the question text, and before searching and outputting the answer content of the question to be searched and the detailed explanation content related to the keywords, the method further includes:
[0025] Get the specified answering time period for the current learning task;
[0026] Determine whether the current time is within the specified answering time period;
[0027] If not, perform the search and output the answer to the question to be searched, as well as detailed explanations related to the keywords;
[0028] If so, the question to be searched and the keyword are associated and stored in the set of questions to be solved. After the time specified for answering the current learning task is detected to be over, the question to be searched and the keyword are retrieved from the set of questions to be solved, and the answer to the question to be searched and the detailed explanation related to the keyword are output.
[0029] As an optional implementation, in the first aspect of the present invention, the method further includes:
[0030] The search question is analyzed for knowledge points to obtain the knowledge points corresponding to the search question.
[0031] Obtain the knowledge graph of the current user;
[0032] Determine whether the knowledge point corresponding to the question to be searched exists in the knowledge graph;
[0033] If the knowledge point corresponding to the question to be searched is not found, the knowledge point is added to the knowledge graph to update the knowledge graph, and learning content is pushed to the current user based on the updated knowledge graph.
[0034] A second aspect of this invention discloses an electronic device, the electronic device comprising:
[0035] The shooting module is used to continuously capture multiple images of the learning page when an indicator is detected pointing to the learning page within the field of view; wherein the indicator includes a finger or a stylus.
[0036] The location recognition module is used to identify the coordinates of the indicator in each of the learning page images;
[0037] The trajectory generation module is used to generate the movement trajectory of the indicator based on the coordinate positions of the indicator in multiple images of the learning page;
[0038] The range determination module is used to determine the range of the topic from the learning page image based on the movement trajectory;
[0039] The first acquisition module is used to acquire the content of the title corresponding to the title range;
[0040] The question recognition module is used to identify the question to be searched from the content of the question box;
[0041] The output module is used to search for and output the answer to the question to be searched.
[0042] As an optional implementation, in a second aspect of the present invention, the shooting module includes:
[0043] The judgment submodule is used to determine whether the duration of time the indicator stays in the specified area is greater than or equal to the preset trigger duration when a specified object is detected pointing to a specified area in the learning page used to trigger the question mode within the field of view.
[0044] The shooting submodule is used to continuously capture multiple images of the learning page when the judgment submodule determines that the duration of the indicator staying in the designated area is greater than or equal to the preset trigger duration.
[0045] As an optional implementation, in a second aspect of the present invention, the title content includes title text and keywords, and the first acquisition module includes:
[0046] The first recognition submodule is used to perform printed character recognition on the title area to obtain the title text corresponding to the title area and the coordinate position information of the title text;
[0047] The second recognition submodule is used to perform handwriting recognition on the bounding box area to obtain handwriting information corresponding to the bounding box area;
[0048] The location acquisition submodule is used to preprocess the handwriting information to identify target handwriting that conforms to a preset marking format and to acquire the coordinate position information of the target handwriting.
[0049] The mapping submodule is used to establish a position mapping relationship between the target handwriting and the question text based on the coordinate position information of the target handwriting and the coordinate position information of the question text, so as to extract the keywords indicated by the target handwriting from the question text;
[0050] The question recognition module is specifically used to identify the question to be searched based on the question text;
[0051] The output module is used to search for and output the answer to the question to be searched in the following way:
[0052] The output module is used to search for and output the answer to the question to be searched, as well as detailed explanations related to the keywords.
[0053] As an optional implementation, in a second aspect of the present invention, the electronic device further includes:
[0054] The second acquisition module is used to acquire the answering time period specified by the current learning task after the question recognition module identifies the question to be searched based on the question text, and before the output module searches and outputs the answer content of the question to be searched and the detailed explanation content related to the keywords.
[0055] The first judgment module is used to determine whether the current time is within the answering time period;
[0056] The storage module is used to associate and store the question to be searched and the keyword in the unsolved problem set when the first judgment module determines that the current time is not within the answering time period. After the answering time specified by the current learning task is detected to have ended, the module retrieves the question to be searched and the keyword from the unsolved problem set and outputs the answer content of the question to be searched and the detailed explanation content related to the keyword.
[0057] The output module is used to search for and output the answer to the question to be searched, as well as detailed explanations related to the keywords, in the following specific way:
[0058] The output module is used to search for and output the answer to the question to be searched and the detailed explanation related to the keyword when the first judgment module determines that the current time is within the answer time period.
[0059] As an optional implementation, in a second aspect of the present invention, the electronic device further includes:
[0060] The analysis module is used to perform knowledge point analysis on the question to be searched and obtain the knowledge points corresponding to the question to be searched.
[0061] The third acquisition module is used to acquire the knowledge graph of the current user;
[0062] The second judgment module is used to determine whether the knowledge point corresponding to the question to be searched exists in the knowledge graph.
[0063] The addition module is used to add the knowledge point corresponding to the search question to the knowledge graph when the second judgment module determines that the knowledge point does not exist in the knowledge graph, so as to update the knowledge graph and push learning content to the current user based on the updated knowledge graph.
[0064] A third aspect of this invention discloses an electronic device, comprising:
[0065] Memory containing executable program code;
[0066] A processor coupled to the memory;
[0067] The processor calls the executable program code stored in the memory to execute a question-searching method disclosed in the first aspect of the present invention.
[0068] A fourth aspect of the present invention discloses a computer-readable storage medium storing a computer program, wherein the computer program causes a computer to execute a question-searching method disclosed in the first aspect of the present invention.
[0069] The fifth aspect of this invention discloses a computer program product that, when run on a computer, causes the computer to perform some or all of the steps of any of the methods of the first aspect.
[0070] The sixth aspect of this invention discloses an application publishing platform for publishing computer program products, wherein when the computer program product is run on a computer, the computer performs some or all of the steps of any of the methods of the first aspect.
[0071] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:
[0072] In this embodiment of the invention, if an indicator pointing to the learning page is detected within the field of view, by continuously taking multiple images of the learning page and identifying the coordinate position of the indicator in the multiple images, the movement trajectory of the indicator can be generated, thereby obtaining the box selection area specified by the user on the learning page. The operation is simple and highly flexible. In addition, based on the movement trajectory of the indicator, by determining the scope of the question from the learning page image and obtaining the content of the question corresponding to the scope of the question, the search scope can be narrowed, and then the question to be searched can be identified from the content of the question, thus improving the accuracy of the question search. Attached Figure Description
[0073] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0074] Figure 1 This is a flowchart illustrating a question-searching method disclosed in an embodiment of the present invention;
[0075] Figure 2 This is a flowchart illustrating another question-searching method disclosed in an embodiment of the present invention;
[0076] Figure 3 This is a flowchart illustrating another question-searching method disclosed in an embodiment of the present invention;
[0077] Figure 4 This is a schematic diagram of the structure of an electronic device disclosed in an embodiment of the present invention;
[0078] Figure 5This is a schematic diagram of the structure of another electronic device disclosed in an embodiment of the present invention;
[0079] Figure 6 This is a schematic diagram of the structure of another electronic device disclosed in an embodiment of the present invention;
[0080] Figure 7 This is a schematic diagram of the structure of another electronic device disclosed in an embodiment of the present invention. Detailed Implementation
[0081] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0082] It should be noted that the terms "first," "second," "third," "fourth," etc., used in the specification and claims of this invention are used to distinguish different objects, not to describe a specific order. The terms "comprising" and "having," and any variations thereof, in the embodiments of this invention are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to these processes, methods, products, or devices.
[0083] This invention discloses a question-searching method and electronic device, which can determine the scope of questions that match the user's search intent when searching for questions in images, thereby improving the accuracy of question searches. The following is a detailed description in conjunction with the accompanying drawings.
[0084] Example 1
[0085] Please see Figure 1 , Figure 1 This is a flowchart illustrating a question-searching method disclosed in an embodiment of the present invention. Figure 1 As shown, this question-searching method may include the following steps.
[0086] 101. When the electronic device detects an indicator pointing to the learning page within its field of view, it continuously captures multiple images of the learning page.
[0087] The question-searching method disclosed in this invention is applicable to electronic devices such as learning tablets, learning phones, learning machines, tutoring machines, and e-readers for user use. Specifically, it is also applicable to Web applications, APPs, or dedicated software within the aforementioned electronic devices.
[0088] In this embodiment of the invention, the electronic device may have a camera module on one side equipped with a display screen. This camera module is used to detect an indicator within its field of view and to capture images of the learning page. The indicator may be a finger, a stylus, etc., and the learning page may be a page from printed learning materials (such as a textbook or workbook). It is understood that after detecting the indicator and triggering image capture, by continuously capturing multiple images of the learning page, different coordinate positions of the indicator can be recorded in different learning page images. Based on these multiple different indicator coordinate positions, the range of questions selected by the user by moving the indicator on the learning page can be obtained.
[0089] 102. Electronic devices identify the coordinates of indicators in each learning page image.
[0090] Generally speaking, the coordinates of the indicator can be the fingertip coordinates of the finger in the current learning page image, or the pen tip coordinates, etc.
[0091] 103. The electronic device generates the movement trajectory of the indicator based on the coordinate positions of the indicator in multiple learning page images.
[0092] 104. The electronic device determines the scope of the topic from the learning page image based on the movement trajectory of the indicator, and obtains the topic content corresponding to the scope of the topic.
[0093] 105. The electronic device identifies the question to be searched from the content of the title box.
[0094] 106. The electronic device searches for and outputs the answer to the question being searched.
[0095] It is evident that implementation Figure 1 The described method, if an indicator pointing to the learning page is detected within the field of view, can generate the indicator's movement trajectory by continuously capturing multiple images of the learning page and identifying the coordinates of the indicator in the multiple images. This allows the user to obtain the selected area on the learning page, making the operation simple and highly flexible. Furthermore, based on the indicator's movement trajectory, the search scope can be narrowed by determining the range of questions from the learning page images and obtaining the corresponding question content. This allows the user to identify the question to be searched from the question content, improving the accuracy of the search.
[0096] Example 2
[0097] Please see Figure 2 , Figure 2 This is a flowchart illustrating another question-searching method disclosed in an embodiment of the present invention. Figure 2 In the question-searching method shown, the question box includes the question text and keywords. For example... Figure 2 As shown, this question-searching method may include the following steps.
[0098] 201. When the electronic device detects that a specified object is pointing to a specified area on the learning page used to trigger the question mode within the field of view, it determines whether the duration for which the pointer stays in the specified area is greater than or equal to the preset trigger duration. If so, proceed to step 202.
[0099] In this embodiment of the invention, if the indicator stays in the designated area for less than the preset trigger time, a false touch operation is detected by default, and the title mode is not enabled.
[0100] For example, suppose the designated area for triggering the title-setting mode is set at the upper right corner of the learning page. When the electronic device detects that the user's finger is pointing at the upper right corner of the textbook for a period greater than or equal to a preset trigger duration, the title-setting mode is triggered. Optionally, after triggering the title-setting mode, the electronic device determines whether the pointer is pointing to any location outside the designated area on the learning page; and when the electronic device detects that the pointer is pointing to any location outside the designated area on the learning page, it performs a step of continuously capturing multiple images of the learning page. This avoids capturing multiple invalid images when the user has not performed the title-setting operation, reduces unnecessary resource consumption, and improves subsequent recognition efficiency.
[0101] 202. Electronic devices continuously capture multiple images of the learning page.
[0102] As can be seen, by implementing the above steps 201 and 202, by pre-setting a designated area in the learning page for triggering the question-and-answer mode, and only triggering the question-and-answer mode when the indicator stays in the designated area for a duration greater than or equal to the preset trigger duration, it is possible to identify users' accidental touch operations and avoid reducing the user's question-searching experience due to accidental touch operations.
[0103] 203. Electronic devices identify the coordinates of indicators in each learning page image.
[0104] 204. The electronic device generates the movement trajectory of the indicator based on the coordinate positions of the indicator in multiple learning page images.
[0105] 205. The electronic device determines the scope of the topic from the learning page image based on the movement trajectory.
[0106] 206. The electronic device performs printed text recognition on the title area to obtain the title text corresponding to the title area and the coordinate position information of the title text.
[0107] 207. Electronic devices perform handwriting recognition on the bounding box area to obtain the handwriting information corresponding to the bounding box area.
[0108] 208. The electronic device preprocesses the handwriting information to identify the target handwriting that conforms to the preset marking format and obtains the coordinate position information of the target handwriting.
[0109] In this embodiment of the invention, it can be understood that since the question text is usually printed, while the handwriting of the user at the question text location is handwritten, steps 206 and 207 can be used to extract the question text and handwriting information from the question area, respectively. Preset marking formats can include single horizontal lines, double horizontal lines, wavy lines, circles, rectangles, dots, five-pointed stars, etc.
[0110] 209. The electronic device establishes a positional mapping relationship between the target handwriting and the question text based on the coordinate position information of the target handwriting and the question text, so as to extract the keywords indicated by the target handwriting from the question text.
[0111] In this embodiment of the invention, for example, if the question text is "Use the Pythagorean theorem to solve for the hypotenuse of a right triangle", and the user marks the four characters "Pythagorean theorem" with a rectangle when writing, then the electronic device can identify the user's handwriting that conforms to the rectangle format within the scope of the question. Furthermore, since the position of the rectangle corresponds to the position of the four characters "Pythagorean theorem" in the question text, the four characters "Pythagorean theorem" can be extracted from the question text based on the positional mapping relationship between the two, and used as the keywords indicated by the user's handwriting.
[0112] 210. The electronic device identifies the question to be searched based on the question text.
[0113] 211. Electronic devices search for and output the answer to the question to be searched, as well as detailed explanations related to the keywords.
[0114] As can be seen, by implementing steps 206 to 211 above, by distinguishing the question text and handwriting information within the scope of the question, a positional mapping relationship is established between the target handwriting that conforms to the preset marking format and the question text. This allows the acquisition of keywords marked by the user's handwriting on the question text, which not only adapts to the user's writing habits when answering questions using paper learning materials, but also reduces the unnecessary steps of manually indicating keywords and improves the efficiency of question searching.
[0115] It is evident that implementation Figure 2The described method, if an indicator pointing to the learning page is detected within the field of view, generates the indicator's movement trajectory by continuously capturing multiple images of the learning page and identifying the indicator's coordinates in the images. This allows the user to obtain the selected area on the learning page, offering simplicity and flexibility. Furthermore, based on the indicator's movement trajectory, the search scope is narrowed by determining the range of questions from the learning page images and obtaining the corresponding question content. This allows for the identification of the question to be searched from the question content, improving search accuracy. Additionally, it can detect accidental touches, preventing them from negatively impacting the user's search experience. Moreover, it can acquire keywords handwritten by the user in the question text, aligning with users' writing habits when answering questions using paper learning materials and reducing unnecessary steps of manually indicating keywords, thus improving search efficiency.
[0116] Example 3
[0117] Please see Figure 3 , Figure 3 This is a flowchart illustrating another question-searching method disclosed in an embodiment of the present invention. Figure 3 As shown, this question-searching method may include the following steps.
[0118] Steps 301 to 310; for the description of steps 301 to 310, please refer to the detailed description of steps 201 to 210 in Embodiment 2, which will not be repeated in this embodiment of the invention.
[0119] 311. Electronic devices acquire the specified answering time period for the current learning task.
[0120] 312. The electronic device determines whether the current time is within the answering time period. If not, proceed to step 313; if yes, proceed to step 314.
[0121] 313. Electronic devices search for and output the answer to the question to be searched, as well as detailed explanations related to the keywords.
[0122] 314. The electronic device associates and stores the search question and keywords in the problem set, so that after the time specified for answering the current learning task has ended, it retrieves the search question and keywords from the problem set and outputs the answer to the search question and the detailed explanation related to the keywords.
[0123] It's understandable that students typically have a designated time limit when doing practice questions, such as completing 15 multiple-choice questions within half an hour. To ensure students complete the questions independently, search results can be output only after the designated time has elapsed. For example, suppose the designated time for the current learning task is Saturday afternoon from 1:00 PM to 3:00 PM, and the current time is Saturday afternoon at 1:30 PM. The electronic device will determine that the current time is outside the designated time and will temporarily store the search questions and keywords obtained from the user's search operation in a "question set" to push the corresponding answers and detailed explanations after the designated time has elapsed (e.g., after 3:00 PM on Saturday afternoon). Therefore, implementing steps 311-314 ensures that users can answer questions independently within the designated time and records any difficulties encountered during the process, allowing for the unified push of search results after the designated time has elapsed. This further improves the effectiveness of the search process and assists users in their learning.
[0124] As an optional implementation, the electronic device can obtain the specified answering time period for the current learning task through a target terminal that is bound to it. The electronic device can act as the student's terminal, and the target terminal can be a parent's or teacher's terminal. Taking the teacher's terminal as an example, the teacher can issue a remote learning task to each student's corresponding student terminal in the class. This task specifies that students in the class must complete designated questions within a specified answering time period, such as completing the unit exercises for the first unit of the math textbook on Saturday afternoon from 1:00 PM to 3:00 PM. After receiving the learning task, the student terminal checks the user's question-searching activity within the specified answering time period and summarizes the results after the time period ends, sending them to the teacher's terminal. Therefore, the teacher's terminal can provide reference information for subsequent question explanations based on the question-searching activity sent by each student terminal.
[0125] As an optional implementation, this solution may further include the following steps:
[0126] The electronic device performs knowledge point analysis on the question to be searched to obtain the knowledge points corresponding to the question.
[0127] Electronic devices acquire the current user's knowledge graph;
[0128] Electronic devices determine whether the knowledge points corresponding to the search question exist in the knowledge graph;
[0129] If the knowledge points corresponding to the question to be searched are not found, the electronic device will add them to the knowledge graph to update the knowledge graph and push learning content to the current user based on the updated knowledge graph.
[0130] As can be seen, by implementing the optional implementation method, based on the user's question search history, the knowledge points corresponding to the questions to be searched can be added to the user's knowledge graph. By continuously supplementing and enriching the user's knowledge graph, learning content that is more in line with the user's learning progress and needs can be pushed.
[0131] It is evident that implementation Figure 3 The described method, if an indicator pointing to the learning page is detected within the field of view, generates the indicator's movement trajectory by continuously capturing multiple images of the learning page and identifying the indicator's coordinates in these images. This allows the user to obtain the selected area on the learning page, offering simplicity and flexibility. Furthermore, based on the indicator's movement trajectory, the search scope is narrowed by determining the range of questions within the learning page images and obtaining the corresponding question content. This allows for the identification of the question to be searched from the question content, improving search accuracy. Moreover, the method ensures users can answer questions independently within the designated time period while recording any difficulties encountered during the process. Search results are then pushed out uniformly after the time period ends, further improving the search and learning support. Finally, the method adds the knowledge points corresponding to the searched question to the user's knowledge graph, continuously enriching and supplementing the user's knowledge graph to push learning content that better matches the user's learning progress and needs.
[0132] Example 4
[0133] Please see Figure 4 , Figure 4 This is a schematic diagram of the structure of an electronic device disclosed in an embodiment of the present invention. For example... Figure 4 As shown, the electronic device may include:
[0134] The shooting module 401 is used to continuously capture multiple images of the learning page when an indicator is detected pointing to the learning page within the field of view;
[0135] The location recognition module 402 is used to identify the coordinates of the indicator in each learning page image;
[0136] The trajectory generation module 403 is used to generate the movement trajectory of the indicator based on the coordinate positions of the indicator in multiple learning page images;
[0137] The range determination module 404 is used to determine the range of the topic from the learning page image based on the movement trajectory of the indicator;
[0138] The first acquisition module 405 is used to acquire the content of the title corresponding to the title range;
[0139] The question recognition module 406 is used to identify the question to be searched from the content of the question box;
[0140] Output module 407 is used to search for and output the answer to the question to be searched.
[0141] It is evident that implementation Figure 4 The described electronic device, if it detects an indicator pointing to a learning page within its field of view, can generate the indicator's movement trajectory by continuously capturing multiple images of the learning page and identifying the coordinates of the indicator in the images. This allows it to obtain the user's designated selection area on the learning page, offering simple and flexible operation. Furthermore, based on the indicator's movement trajectory, it can determine the scope of the search query from the learning page images and obtain the corresponding query content, thus narrowing down the search area and identifying the query from the query content, thereby improving the accuracy of the search.
[0142] Example 5
[0143] Please see Figure 5 , Figure 5 This is a schematic diagram of the structure of another electronic device disclosed in an embodiment of the present invention. Figure 5 The electronic device shown is made of Figure 4 The electronic device shown was optimized. Figure 4 Compared to the electronic devices shown, in Figure 5 In the electronic device shown:
[0144] The shooting module 401 includes:
[0145] The judgment submodule 4011 is used to determine whether the duration of the indicator staying in the specified area is greater than or equal to the preset trigger duration when the specified object is detected pointing to the specified area in the learning page used to trigger the question mode within the field of view.
[0146] The shooting submodule 4012 is used to continuously capture multiple images of the learning page when the judgment submodule 4011 determines that the duration of the indicator staying in the specified area is greater than or equal to the preset trigger duration.
[0147] Optionally, the judgment submodule 4011 can also be used to determine whether the indicator points to any location outside the specified area of the learning page after the question-and-answer mode is triggered; correspondingly, the shooting submodule 4012 is specifically used to continuously capture multiple images of the learning page when it is detected that the indicator points to any location outside the specified area of the learning page. This avoids capturing multiple invalid images when the user has not performed the question-and-answer operation, reduces unnecessary resource consumption, and improves subsequent recognition efficiency.
[0148] Furthermore, in this embodiment of the invention, the title content includes title text and keywords, and the first acquisition module 405 includes:
[0149] The first recognition submodule 4051 is used to perform printed text recognition on the title area to obtain the title text corresponding to the title area and the coordinate position information of the title text.
[0150] The second recognition submodule 4052 is used to perform handwriting recognition on the bounding area to obtain the handwriting information corresponding to the bounding area.
[0151] The location acquisition submodule 4053 is used to preprocess the handwriting information to identify the target handwriting that conforms to the preset marking format and to acquire the coordinate position information of the target handwriting.
[0152] The mapping submodule 4054 is used to establish a positional mapping relationship between the target handwriting and the question text based on the coordinate position information of the target handwriting and the question text, so as to extract the keywords indicated by the target handwriting from the question text.
[0153] The question recognition module 406 is specifically used to identify the question to be searched based on the question text;
[0154] The output module 407 is used to search for and output the answer to the question being searched in the following way:
[0155] Output module 407 is used to search for and output the answer to the question to be searched, as well as detailed explanations related to the keywords.
[0156] It is evident that implementation Figure 5 The described electronic device, when detecting an indicator pointing to a learning page within its field of view, can generate the indicator's movement trajectory by continuously capturing multiple images of the learning page and identifying the indicator's coordinates in the images. This allows the user to obtain the selected area on the learning page, offering simple and flexible operation. Furthermore, based on the indicator's movement trajectory, the device can narrow down the search area by determining the scope of the question from the learning page images and obtaining the corresponding question content. This improves search accuracy by identifying the question from the question content. Additionally, it can detect accidental touches, preventing them from negatively impacting the user's search experience. Moreover, it can acquire keywords handwritten by the user on the question text, aligning with the user's writing habits when answering questions using paper learning materials and reducing the need for manual keyword pointing, thus improving search efficiency.
[0157] Example 6
[0158] Please see Figure 6 , Figure 6 This is a schematic diagram of the structure of another electronic device disclosed in an embodiment of the present invention. Figure 6 The electronic device shown is made of Figure 5The electronic device shown was optimized. Figure 5 Compared to the electronic devices shown, Figure 6 The electronic device shown may further include a second acquisition module 408, a first judgment module 409, and a storage module 410, wherein:
[0159] The second acquisition module 408 is used to acquire the answering time period specified by the current learning task after the question recognition module 406 identifies the question to be searched based on the question text, and before the output module 407 searches and outputs the answer content and detailed explanation content related to the keywords of the question to be searched.
[0160] The first judgment module 409 is used to determine whether the current time is within the answering time period;
[0161] The storage module 410 is used to associate and store the question to be searched and the keyword in the question set when the first judgment module 409 determines that the current time is not within the answering time period. After the answering time specified by the current learning task is detected to have ended, the storage module 410 retrieves the question to be searched and the keyword from the question set and outputs the answer content of the question to be searched and the detailed explanation content related to the keyword.
[0162] The output module 407 is used to search for and output the answer to the question to be searched, as well as detailed explanations related to the keywords. Specifically, the method is as follows:
[0163] The output module 407 is used to search for and output the answer content of the question to be searched and the detailed explanation content related to the keywords when the first judgment module 409 determines that the current time is within the answer time period.
[0164] As an optional implementation, the electronic device may further include:
[0165] Analysis module 411 is used to perform knowledge point analysis on the question to be searched and obtain the knowledge points corresponding to the question to be searched.
[0166] The third acquisition module 412 is used to acquire the knowledge graph of the current user;
[0167] The second judgment module 413 is used to determine whether the knowledge point corresponding to the question to be searched exists in the knowledge graph;
[0168] The addition module 414 is used to add the knowledge points corresponding to the search question to the knowledge graph when the second judgment module 413 determines that the knowledge points corresponding to the search question do not exist in the knowledge graph, so as to update the knowledge graph and push learning content to the current user based on the updated knowledge graph.
[0169] As an optional implementation, the second acquisition module 408 can be used to acquire the specified answering time period for the current learning task through a target terminal that has established a binding relationship with the electronic device. The electronic device can be the student's terminal, and the target terminal can be a parent's terminal or a teacher's terminal. Taking the teacher's terminal as an example, the teacher can issue a remote learning task to each student's corresponding student terminal in the class. This remote learning task specifies that students in the class must complete specified answering content within a designated answering time period, such as completing the unit exercises for the first unit of the math textbook between 1:00 PM and 3:00 PM on Saturday afternoon. After receiving the learning task, the student terminal checks the user's question-searching status within the designated answering time period and summarizes the question-searching status after the answering time period ends, sending it to the teacher's terminal. Therefore, the teacher's terminal can provide reference information for subsequent question explanations based on the question-searching status sent by each student terminal.
[0170] It is evident that implementation Figure 6 The described electronic device, when detecting an indicator pointing to a learning page within its field of view, can generate the indicator's movement trajectory by continuously capturing multiple images of the learning page and identifying the indicator's coordinates in these images. This allows the user to obtain the selected area on the learning page, offering simple and flexible operation. Furthermore, based on the indicator's movement trajectory, the device can narrow down the search scope by determining the range of questions within the learning page images and obtaining the corresponding question content. This improves search accuracy by identifying the question to be searched from the question content. Moreover, it ensures users can answer questions independently within the designated time period while recording any difficulties encountered during the process, allowing for the unified delivery of search results after the time period ends. This further enhances the search and learning support effects. Finally, it adds the knowledge points corresponding to the searched question to the user's knowledge graph, continuously enriching and supplementing the user's knowledge graph to deliver learning content that better matches the user's learning progress and needs.
[0171] Example 7
[0172] Please see Figure 7 , Figure 7 This is a schematic diagram of the structure of another electronic device disclosed in an embodiment of the present invention.
[0173] like Figure 7 As shown, the electronic device may include:
[0174] Memory 701 storing executable program code;
[0175] Processor 702 coupled to memory 701;
[0176] Specifically, the processor 702 calls the executable program code stored in the memory 701 and executes it. Figures 1-3 Any of the question-searching methods shown.
[0177] This invention discloses a computer-readable storage medium storing a computer program, wherein the computer program causes a computer to execute... Figures 1-3 Any method of searching for answers.
[0178] This invention also discloses a computer program product, wherein when the computer program product is run on a computer, the computer performs some or all of the steps of the methods described in the above method embodiments.
[0179] This invention also discloses an application publishing platform for publishing computer program products, wherein when the computer program products are run on a computer, the computer performs some or all of the steps of the methods described in the above method embodiments.
[0180] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, including read-only memory (ROM), random access memory (RAM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), one-time programmable read-only memory (OTPROM), electrically-Erasable Programmable Read-Only Memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, disk storage, magnetic tape storage, or any other computer-readable medium capable of carrying or storing data.
[0181] The above provides a detailed description of a question-searching method and electronic device disclosed in the embodiments of the present invention. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.
Claims
1. A method of searching for a question, characterized by, The method includes: If an indicator is detected pointing to the learning page within the field of view, multiple images of the learning page are captured consecutively; wherein, the indicator includes a finger or a stylus. Identify the coordinates of the indicator in each of the learning page images; The movement trajectory of the indicator is generated based on the coordinate positions of the indicator in multiple images of the learning page; Based on the movement trajectory, determine the scope of the topic frame from the learning page image, and obtain the topic content corresponding to the scope of the topic frame; Identify the search question from the content of the box; Search and output the answer to the question to be searched; If an indicator pointing to the learning page is detected within the field of view, multiple images of the learning page are captured consecutively, including: If a designated object is detected pointing to a designated area on the learning page used to trigger the question mode within the field of view, determine whether the duration for which the designated object stays in the designated area is greater than or equal to the preset trigger duration. If so, then take multiple images of the learning page consecutively; The title content includes the title text and keywords. Obtaining the title content corresponding to the title range includes: The printed text of the title box is identified to obtain the title text corresponding to the title box and the coordinate position information of the title text. Handwriting recognition is performed on the scope of the title box to obtain the handwriting information corresponding to the scope of the title box. The handwriting information is preprocessed to identify target handwriting that conforms to a preset marking format, and the coordinate position information of the target handwriting is obtained. Based on the coordinate position information of the target handwriting and the coordinate position information of the question text, a position mapping relationship is established between the target handwriting and the question text in order to extract the keywords indicated by the target handwriting from the question text; The step of identifying the search question from the content of the title box includes: Based on the question text, the question to be searched is identified; The process of searching for and outputting the answer to the question to be searched includes: Search and output the answer to the question to be searched, as well as detailed explanations related to the keywords.
2. The method of claim 1, wherein, After identifying the question to be searched based on the question text, and before searching for and outputting the answer to the question to be searched and the detailed explanation related to the keywords, the method further includes: Get the specified answering time period for the current learning task; Determine whether the current time is within the specified answering time period; If not, perform the search and output the answer to the question to be searched, as well as detailed explanations related to the keywords; If so, the question to be searched and the keyword are associated and stored in the set of questions to be solved. After the time specified for answering the current learning task is detected to be over, the question to be searched and the keyword are retrieved from the set of questions to be solved, and the answer to the question to be searched and the detailed explanation related to the keyword are output.
3. The method according to any one of claims 1 to 2, characterized in that, The method further includes: The search question is analyzed for knowledge points to obtain the knowledge points corresponding to the search question. Obtain the knowledge graph of the current user; Determine whether the knowledge point corresponding to the question to be searched exists in the knowledge graph; If the knowledge point corresponding to the question to be searched is not found, the knowledge point is added to the knowledge graph to update the knowledge graph, and learning content is pushed to the current user based on the updated knowledge graph.
4. An electronic device, comprising: The electronic device includes: The shooting module is used to continuously capture multiple images of the learning page when an indicator is detected pointing to the learning page within the field of view; wherein the indicator includes a finger or a stylus. The location recognition module is used to identify the coordinates of the indicator in each of the learning page images; The trajectory generation module is used to generate the movement trajectory of the indicator based on the coordinate positions of the indicator in multiple images of the learning page; The range determination module is used to determine the range of the topic from the learning page image based on the movement trajectory; The first acquisition module is used to acquire the content of the title corresponding to the title range; The question recognition module is used to identify the question to be searched from the content of the question box; The output module is used to search for and output the answer to the question to be searched. The shooting module includes: The judgment submodule is used to determine whether the duration of time the indicator stays in the specified area is greater than or equal to the preset trigger duration when a specified object is detected pointing to a specified area in the learning page used to trigger the question mode within the field of view. The shooting submodule is used to continuously capture multiple images of the learning page when the judgment submodule determines that the duration of the indicator stays in the designated area is greater than or equal to the preset trigger duration. The title content includes title text and keywords. The first acquisition module includes: The first recognition submodule is used to perform printed character recognition on the title area to obtain the title text corresponding to the title area and the coordinate position information of the title text; The second recognition submodule is used to perform handwriting recognition on the bounding box area to obtain handwriting information corresponding to the bounding box area; The location acquisition submodule is used to preprocess the handwriting information to identify target handwriting that conforms to a preset marking format and to acquire the coordinate position information of the target handwriting. The mapping submodule is used to establish a position mapping relationship between the target handwriting and the question text based on the coordinate position information of the target handwriting and the coordinate position information of the question text, so as to extract the keywords indicated by the target handwriting from the question text; The question recognition module is specifically used to identify the question to be searched based on the question text; The output module is used to search for and output the answer to the question to be searched in the following way: The output module is used to search for and output the answer to the question to be searched, as well as detailed explanations related to the keywords.
5. The electronic device of claim 4, wherein, The electronic device also includes: The second acquisition module is used to acquire the answering time period specified by the current learning task after the question recognition module identifies the question to be searched based on the question text, and before the output module searches and outputs the answer content of the question to be searched and the detailed explanation content related to the keywords. The first judgment module is used to determine whether the current time is within the answering time period; The storage module is used to associate and store the question to be searched and the keyword in the unsolved problem set when the first judgment module determines that the current time is not within the answering time period. After the answering time specified by the current learning task is detected to have ended, the module retrieves the question to be searched and the keyword from the unsolved problem set and outputs the answer content of the question to be searched and the detailed explanation content related to the keyword. The output module is used to search for and output the answer to the question to be searched, as well as detailed explanations related to the keywords, in the following way: The output module is used to search for and output the answer to the question to be searched and the detailed explanation related to the keyword when the first judgment module determines that the current time is within the answer time period.
6. The electronic device of any of claims 4-5, wherein, The electronic device also includes: The analysis module is used to perform knowledge point analysis on the question to be searched and obtain the knowledge points corresponding to the question to be searched. The third acquisition module is used to acquire the knowledge graph of the current user; The second judgment module is used to determine whether the knowledge point corresponding to the question to be searched exists in the knowledge graph. The addition module is used to add the knowledge point corresponding to the search question to the knowledge graph when the second judgment module determines that the knowledge point does not exist in the knowledge graph, so as to update the knowledge graph and push learning content to the current user based on the updated knowledge graph.
Citation Information
Patent Citations
Question searching control method based on terminal equipment and terminal equipment
CN107085711A
