CN108197300B - Question searching method and system - Google Patents

Question searching method and system Download PDF

Info

Publication number
CN108197300B
CN108197300B CN201810073701.6A CN201810073701A CN108197300B CN 108197300 B CN108197300 B CN 108197300B CN 201810073701 A CN201810073701 A CN 201810073701A CN 108197300 B CN108197300 B CN 108197300B
Authority
CN
China
Prior art keywords
target
learning
question
unit
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810073701.6A
Other languages
Chinese (zh)
Other versions
CN108197300A (en
Inventor
周忠杰
贺亚明
黄东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN201810073701.6A priority Critical patent/CN108197300B/en
Publication of CN108197300A publication Critical patent/CN108197300A/en
Application granted granted Critical
Publication of CN108197300B publication Critical patent/CN108197300B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/60Type of objects
    • G06V20/62Text, e.g. of license plates, overlay texts or captions on TV images
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/40Document-oriented image-based pattern recognition
    • G06V30/41Analysis of document content
    • G06V30/418Document matching, e.g. of document images

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Artificial Intelligence (AREA)
  • Electrically Operated Instructional Devices (AREA)

Abstract

A method and a system for searching questions comprise: the method comprises the steps that a client side obtains a target picture, at least one character area included in the target picture is identified according to the color difference between the character color and the background color, a character picture of each character area is generated, and all the character pictures are sent to a server; the server carries out character recognition processing on each character picture to obtain character data corresponding to the character picture, and at least one question mark is recognized from each character data according to a question mark naming rule; the server divides each text data according to at least one question number to obtain at least one single-question text data, wherein each single-question text data comprises a question text data; the server matches the test answers corresponding to the single-question text data from the test question library, and sends all the test answers to the client so that the client outputs the test answers. By implementing the embodiment of the invention, a plurality of titles can be automatically intercepted and uploaded for searching at the same time, the operation is simple, and the title searching efficiency is improved.

Description

Question searching method and system
Technical Field
The invention relates to the technical field of electronic equipment, in particular to a question searching method and system.
Background
At present, many electronic education products on the market can realize the function of searching for the question, and a user can search for the answer corresponding to the question through the picture of the question. When a user searches for questions according to pictures of the questions, the user needs to select the questions to be searched on the obtained pictures by stretching, moving and the like the preview question frame up and down, left and right, and then clicking the preview question frame to confirm and upload the search, so that the operation is complex. Therefore, the existing method for searching the questions is complicated to operate, so that the time for searching the questions is long, and the efficiency is low.
Disclosure of Invention
The embodiment of the invention discloses a method and a system for searching questions, which can search multiple questions simultaneously, are convenient and fast to operate and improve the efficiency of searching the questions.
The first aspect of the embodiments of the present invention discloses a topic searching method, which includes:
the method comprises the steps that a client side obtains a target picture, identifies at least one text area included by the target picture according to the color difference between the text color and the background color, generates a text picture of each text area, and sends all the text pictures to a server;
the server carries out character recognition processing on each character picture to obtain character data corresponding to each character picture, and at least one question mark is recognized from each character data according to a question mark naming rule;
the server divides the question of each character data according to at least one question number identified from each character data to obtain at least one single-question character data of each character data, wherein each single-question character data comprises a question of character data;
the server matches the test question answers corresponding to the single-question word data from the test question library of the server, and sends the test question answers corresponding to the single-question word data to the client so as to trigger the client to output the test question answers corresponding to the single-question word data.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the identifying, by the client, at least one text region included in the target picture according to a color difference between a text color and a background color includes:
the client performs binarization processing on the target picture to obtain a binarized picture;
the client acquires a font gray value of the font color of the binarization picture;
the client controls a preset pixel window to perform sliding scanning on the binary image according to a preset scanning step length until all areas of the binary image are scanned completely, and marks a scanning area, in which the gray difference between a real-time gray value in the preset pixel window and the font gray value is smaller than or equal to a preset difference threshold value during sliding scanning, as a candidate character area;
and the client side merges all candidate character areas obtained by continuous marking to obtain at least one character area.
As an optional implementation manner, in the first aspect of this embodiment of the present invention, the method further includes:
the client detects a collection instruction triggered by a user aiming at a target test question answer, single-question character data corresponding to the target test question answer are added into a collection list according to the collection instruction, and the test question answer corresponding to each single-question character data output by the client comprises the target test question answer;
the client extracts a knowledge point label from a label of a target test question corresponding to the target test question answer to serve as a target examination point label, and sends a test question searching request to the server, wherein the test question searching request comprises the target examination point label;
the server searches a first preset number of similar test questions in a test question library of the server according to the test question searching request, and searches a second preset number of courseware resources in a courseware resource library of the server, wherein the labels of the similar test questions comprise the target investigation point labels, and the labels of the courseware resources comprise the target investigation point labels;
the server sends the first preset number of similar test questions and the second preset number of name identification lists of the courseware resources to the client, wherein the name identification lists comprise the first preset number of name identifications of the similar test questions and the second preset number of name identifications of the courseware resources;
the client outputs the name identification list, detects a name identification selection instruction triggered by a user, and acquires and outputs learning resources corresponding to the target name identification from a learning resource library of the server according to a target name identification included by the name identification selection instruction, wherein the name identification list includes the target name identification, the target name identification includes name identifications of target similar test questions and/or name identifications of target courseware resources selected by the user from the name identification list according to needs, the learning resources include the target similar test questions and/or the target courseware resources, and the learning resource library includes but is not limited to the test library of the server and the courseware resource library of the server.
As an optional implementation manner, in the first aspect of this embodiment of the present invention, the method further includes:
the server acquires a third preset number of other people learning mind notes and sends the third preset number of other people learning mind notes to the client, wherein labels of the other people learning mind notes comprise the target investigation point labels;
the client outputs the learning mind notes of the other people in the third preset number for the user to check;
the client detects whether a learning mental recording instruction triggered by the user aiming at the target test question answer is received, if the learning mental recording instruction is received, a target learning mental recording input by the user is obtained and uploaded to the server, and the label of the target learning mental recording comprises the target investigation point label.
As an optional implementation manner, in the first aspect of this embodiment of the present invention, the method further includes:
the client detects whether a learning communication instruction which is input by a user and aims at the single-question character data corresponding to the target test question answer is received, if so, an identification obtaining request is sent to the server, the identification obtaining request comprises the target examination point label, the identification obtaining request is used for requesting to obtain a learning communication group identification, and the label of the learning communication group identification comprises the target examination point label;
the server acquires a fourth preset number of the learning exchange group identifications according to the identification acquisition request and sends the fourth preset number of the learning exchange group identifications to the client;
the client outputs the learning exchange group identifications of the fourth preset number, and detects whether a request adding instruction triggered by a user aiming at a target learning exchange group identification is received, wherein the learning exchange group identifications of the fourth preset number comprise the target learning exchange group identification;
if the request joining instruction is detected, the client sends a joining request to the server, wherein the joining request comprises the target learning communication group identification and a user identity identification preset by the client;
and the server adds the user identity into a member identity list corresponding to the target learning communication group identity according to the adding request.
A second aspect of the embodiments of the present invention discloses a topic searching system, including a client and a server, where the client includes a first obtaining unit, an area identifying unit, a first sending unit and an output unit, and the server includes a character identifying unit, a topic dividing unit, a test question matching unit and a second sending unit, where:
the first acquisition unit is used for acquiring a target picture and triggering and starting the area identification unit;
the region identification unit is used for identifying at least one character region included in the target picture acquired by the first acquisition unit according to the color difference between the character color and the background color;
the first sending unit is used for generating a text picture of each text area and sending all the text pictures to the server;
the character recognition unit is used for performing character recognition processing on each character picture to obtain character data corresponding to each character picture, and recognizing at least one question mark from each character data according to a question mark naming rule;
the topic dividing unit is used for performing topic division on each character data according to at least one topic number identified from each character data to obtain at least one single topic character data of each character data, and each single topic character data comprises a topic character data;
the test question matching unit is used for matching test question answers corresponding to the single-question character data from a test question library of the server;
the second sending unit is configured to send the answer to the test question corresponding to each of the single-question text data matched by the test question matching unit to the client;
and the output unit is used for outputting the answer of the test question corresponding to each single-question character data sent by the second sending unit.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the area identifying unit includes:
the first subunit is used for carrying out binarization processing on the target picture to obtain a binarized picture; acquiring a font gray value of the font color of the binarization picture;
the second subunit is used for controlling a preset pixel window to perform sliding scanning on the binarized picture according to a preset scanning step length until all areas of the binarized picture are scanned completely, and marking a scanning area, in which the gray difference between the real-time gray value in the preset pixel window and the font gray value acquired by the first subunit during the sliding scanning is smaller than or equal to a preset difference threshold value, as a candidate character area; and merging all candidate character areas obtained by continuous marking to obtain at least one character area.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the client further includes a favorite unit and a tag extraction unit, and the server further includes a search unit, where:
the collection unit is used for detecting a collection instruction triggered by a user aiming at a target test question answer, adding the single-question character data corresponding to the target test question answer into a collection list according to the collection instruction, and the test question answer corresponding to each single-question character data output by the output unit comprises the target test question answer;
the label extraction unit is used for extracting a knowledge point label from a label of a target test question corresponding to the target test question answer to serve as a target examination point label, and sending a test question search request to the server, wherein the test question search request comprises the target examination point label;
the search unit is used for searching a first preset number of similar test questions in a test question library of the server according to the test question search request sent by the tag extraction unit, and searching a second preset number of courseware resources in a courseware resource library of the server, wherein tags of the similar test questions comprise the target investigation point tags, and tags of the courseware resources comprise the target investigation point tags;
the second sending unit is further configured to send the first preset number of similar test questions and the second preset number of name identifier lists of the courseware resources to the client, where the name identifier lists include the first preset number of name identifiers of the similar test questions and the second preset number of name identifiers of the courseware resources;
the output unit is further configured to output the name identifier list sent by the second sending unit, and detect a name identifier selection instruction triggered by a user, and according to the target name identifier included in the name identifier selection instruction, acquiring the learning resource corresponding to the target name identifier from the learning resource library of the server and outputting the learning resource, the name identification list comprising the target name identification, the target name identification comprises name identification of target similar test questions and/or name identification of target courseware resources selected by the user according to needs from the name identification list, the learning resources comprise the target similar test questions and/or the target courseware resources, and the learning resource library comprises but is not limited to the test library of the server and the courseware resource library of the server.
As an optional implementation manner, in a second aspect of the embodiment of the present invention, the client further includes a first detection unit, and the server further includes a second acquisition unit, where:
the second obtaining unit is used for obtaining a third preset number of other people learning mind notes and sending the third preset number of other people learning mind notes to the client, and labels of the other people learning mind notes comprise the target investigation point labels;
the output unit is further configured to output the third preset number of learning mind notes of the other people sent by the second obtaining unit for the user to view;
the first detection unit is used for detecting whether a learning mind entry instruction triggered by the user according to the target test question answer is received or not after the output unit outputs the third preset number of learning mind notes of the other people;
the first obtaining unit is further configured to, when the first detecting unit detects that the learning mind entry instruction is received, obtain a target learning mind note input by a user and upload the target learning mind note to the server, where a tag of the target learning mind note includes the target survey point tag.
As an optional implementation manner, in a second aspect of the embodiment of the present invention, the client further includes a second detecting unit, and the server further includes a joining unit and a third obtaining unit, where:
the second detection unit is used for detecting whether a learning communication instruction which is input by a user and aims at the single-question character data corresponding to the target test question answer is received;
the first sending unit is further configured to send an identifier obtaining request to the server when the second detecting unit detects that the learning communication instruction is received, where the identifier obtaining request includes the target investigation point tag, the identifier obtaining request is used to request to obtain a learning communication group identifier, and the tag of the learning communication group identifier includes the target investigation point tag;
the third obtaining unit is configured to obtain a fourth preset number of the learning communication group identifiers according to the identifier obtaining request sent by the first sending unit;
the second sending unit is further configured to send the learning communication group identifiers of the fourth preset number acquired by the third acquiring unit to the client;
the output unit is further configured to output the learning exchange group identifiers of the fourth preset number sent by the second sending unit;
the second detection unit is further configured to detect whether a request join instruction triggered by a user for a target learning communication group identifier is received, where the fourth preset number of learning communication group identifiers includes the target learning communication group identifier;
the first sending unit is further configured to send a join request to the server when the second detecting unit detects that the join request instruction is received, where the join request includes the target learning communication group identifier and a user identity identifier preset by the client;
and the joining unit is used for joining the user identity into a member identity list corresponding to the target learning communication group identity according to the joining request sent by the first sending unit.
A third aspect of the embodiments of the present invention discloses a client, including:
a memory storing executable program code;
a processor coupled with the memory;
the processor calls the executable program code stored in the memory to execute part or all of the steps executed by the client disclosed in the first aspect of the embodiment of the present invention.
A fourth aspect of the present invention discloses a server, including:
a memory storing executable program code;
a processor coupled with the memory;
the processor calls the executable program code stored in the memory to execute part or all of the steps executed by the client disclosed in the first aspect of the embodiment of the present invention.
A fifth aspect of the present invention discloses a computer-readable storage medium storing a program code, wherein the program code includes instructions for performing some or all of the steps of any one of the methods disclosed in the first aspect of the present invention.
A sixth aspect of the embodiments of the present invention discloses a computer program product, which, when run on a computer, causes the computer to perform part or all of the steps of any one of the methods disclosed in the first aspect of the embodiments of the present invention.
A seventh aspect of the present embodiment discloses an application publishing platform, where the application publishing platform is configured to publish the computer program product, and when the computer program product runs on a computer, the computer is enabled to execute some or all of the steps of any one of the methods disclosed in the first aspect of the present embodiment.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, a client acquires a target picture and can identify at least one character area on the target picture according to the color difference between the character color and the background color; then the client generates a character picture corresponding to each character area and sends all the character pictures to the server; further, the server respectively carries out character recognition processing on each character picture to obtain character data corresponding to each character picture, and at least one question mark is recognized from the character data corresponding to each character picture according to the question mark naming rule; then the server can perform question division on each character data according to at least one question number identified from each character data to obtain at least one single-question character data of each character data, wherein each single-question character data comprises a question character data; further, the server matches the answer of the test question corresponding to each single-question text data from the test question library of the server, and sends the answer of the test question corresponding to each single-question text data to the client; the client outputs the answer of the test question corresponding to each single-question text data for the user to browse. Therefore, by implementing the embodiment of the invention, the problem division is automatically carried out on a picture containing a plurality of problems through the color difference of the character color and the background color and the problem number naming rule, and the test problem matching is respectively carried out on each single-problem character data obtained by the problem division, so that the plurality of problems can be simultaneously searched, the steps are simple, the operation is convenient and fast, and the problem searching efficiency is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a schematic flow chart illustrating a method for searching for a topic according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart illustrating another topic searching method according to an embodiment of the present invention;
FIG. 3 is a schematic flow chart illustrating another topic searching method according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a topic searching system according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of another topic searching system according to an embodiment of the present invention;
FIG. 6 is a schematic structural diagram of another topic searching system disclosed in the embodiments of the present invention;
fig. 7 is a schematic structural diagram of a client according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a server according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It is to be noted that the terms "comprises" and "comprising" and any variations thereof in the embodiments and drawings of the present invention are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
The embodiment of the invention discloses a method and a system for searching questions, which can search multiple questions simultaneously, are convenient and fast to operate and improve the efficiency of searching the questions. The following are detailed below.
Example one
Referring to fig. 1, fig. 1 is a schematic flow chart of a topic searching method according to an embodiment of the present invention. As shown in fig. 1, the title searching method may include the following steps:
101. the client acquires a target picture, identifies at least one text area included by the target picture according to the color difference between the text color and the background color, generates a text picture of each text area, and sends all the text pictures to the server.
In this embodiment of the present invention, the client may be a question searching application program running on the electronic device, or may be an electronic device specially used for searching for a question, which is not limited in this embodiment of the present invention. The target picture acquired by the client may be a picture obtained by a user taking a picture in real time by using an electronic device, may also be a picture obtained by a user performing a screenshot operation by using the electronic device, may also be a picture obtained by downloading the picture from the internet, and the like, and the embodiment of the present invention is not limited.
In the embodiment of the invention, the client performs preliminary topic division on the topic on the target picture through the color difference between the character color and the background color, which is favorable for improving the accuracy of topic division, and simultaneously is favorable for reducing the data calculation amount when the follow-up server performs accurate topic division on each character picture, thereby reducing the processing time of character recognition and improving the topic searching efficiency.
102. The server carries out character recognition processing on each character picture to obtain character data corresponding to each character picture, and at least one question mark is recognized from each character data according to the question mark naming rule.
In this embodiment of the present invention, the form of the title template of the title naming rule may include, but is not limited to, a form of a numeric character (e.g., roman numeral, chinese numeral, etc.) plus a punctuation character (e.g., a pause sign, a colon, etc.), a form of a numeric character plus a chinese bracket, etc., such as (1), (2), etc., and the embodiment of the present invention is not limited thereto.
103. And the server performs question division on each character data according to at least one question number identified from each character data to obtain at least one single-question character data of each character data, wherein each single-question character data comprises a question character data.
In the embodiment of the invention, by automatically dividing the text data into the questions, the test question answer search can be simultaneously carried out on a plurality of questions on the target picture, and the user does not need to manually frame and upload the search to the single questions one by one, so that the question searching efficiency is improved, and the user experience is optimized.
104. The server matches the test question answers corresponding to the single-question character data from the test question library of the server, and sends the test question answers corresponding to the single-question character data to the client so as to trigger the client to output the test question answers corresponding to the single-question character data.
It can be seen that, by implementing the method described in fig. 1, a picture containing multiple titles is automatically subject-divided according to the color difference between the text color and the background color and the title number naming rule, and each single-title text data obtained by subject division is respectively subject-matched, so that multiple titles can be searched at the same time, the steps are simple, the operation is convenient, and the title searching efficiency is improved.
Example two
Referring to fig. 2, fig. 2 is a schematic flow chart of another topic searching method according to an embodiment of the invention. As shown in fig. 2, the title searching method may include the following steps:
201. the client acquires a target picture.
202. And the client performs binarization processing on the target picture to obtain a binarized picture.
In the embodiment of the invention, the client performs binarization processing on the target picture to obtain the binarized picture, which can present an obvious visual effect of only black and white, thereby being beneficial to the client to accurately identify the character area and improving the accuracy and reliability of searching the question.
As an optional implementation manner, the client performing binarization processing on the target picture to obtain a binarized picture may include the following steps:
the client performs graying processing on the target picture to obtain a grayscale picture;
the client acquires all gray values of the gray picture, adjusts all gray values which are larger than or equal to a certain threshold value in all gray values to be white gray values, and adjusts all gray values which are smaller than the certain threshold value in all gray values to be black gray values to obtain a processed picture as a binary picture, wherein the black gray value is 0, and the white gray value is 255.
203. And the client acquires the font gray value of the font color of the binary image.
204. And the client controls a preset pixel window to perform sliding scanning on the binary image according to a preset scanning step length until all areas of the binary image are scanned completely, and marks a scanning area, in which the gray difference between the real-time gray value in the preset pixel window and the font gray value is less than or equal to a preset difference threshold value during sliding scanning, as a candidate character area.
In the embodiment of the present invention, the pixel length of the preset pixel window is less than or equal to the pixel length of a single text character, and the preset scanning step length may be set to be half a character length, and the like.
In the embodiment of the present invention, in the process of controlling the preset pixel window to perform sliding scanning on the binarized picture according to the preset scanning step length by the client, if the scanning direction of the preset pixel window is from left to right, after line feed, the scanning direction of the preset pixel window may be from left to right, or the scanning direction of the preset pixel window may also be from right to left, which is not limited in the embodiment of the present invention.
As an optional implementation manner, in the process of controlling the preset pixel window to perform sliding scanning on the binarization according to the preset scanning step length, the client may mark, as a non-candidate text region, a scanning region in which a gray difference between a real-time gray value in the preset pixel window and a gray value of the font is greater than a preset difference threshold during the sliding scanning, and when two scanning regions are continuously marked as the non-candidate text regions, automatically scan a line in a line-changing manner, wherein if a current scanning direction is from left to right, the client continues to scan from left to right during the line-changing scanning.
205. And the client combines all the candidate character areas obtained by continuous marking to obtain at least one character area.
In the embodiment of the present invention, by implementing the above steps 202 to 205, the client may identify at least one text region included in the target picture according to the color difference between the text color and the background color, which is beneficial to improving the identification efficiency and improving the user experience.
As an optional implementation manner, the obtaining, by the client, the font grayscale value of the font color of the binarized picture may include the following steps:
the client controls a preset pixel window to continuously slide and scan the binary image according to a preset scanning step length, and obtains texture characteristics of a real-time area in the preset pixel window during sliding scanning;
and the client judges whether the texture features of the real-time area are matched with the texture features of the preset characters or not, and if so, the average value of the gray values in the real-time area is obtained and is used as the font gray value.
206. The client generates a text picture of each text area and sends all the text pictures to the server.
The title searching method further includes steps 207-209, and for the description of steps 207-209, please refer to the detailed description of steps 102-104 in the first embodiment, which is not repeated in the embodiments of the present invention.
210. The client detects a collection instruction triggered by the user aiming at the target test question answer, single-question character data corresponding to the target test question answer are added into a collection list according to the collection instruction, and the test question answer corresponding to each single-question character data output by the client comprises the target test question answer.
In the embodiment of the invention, the target test question is an original test question corresponding to the answer of the target test question, and the knowledge point corresponding to the knowledge point label is a knowledge point investigated by the original test question. When the client detects a collection instruction triggered by the user for the target answer, that is, the user may not master the target test question answer is shown, the client may obtain a knowledge point included in the target test question corresponding to the target test question answer, the user may need to further learn and master the knowledge point, and at this time, the client may push a relevant learning resource to the user according to the target examination point tag, so that the client function can be optimized, and the user experience degree is improved.
211. The client extracts a knowledge point label from the label of the target test question corresponding to the target test question answer as a target examination point label, and sends a test question searching request to the server, wherein the test question searching request comprises the target examination point label.
In the embodiment of the present invention, the test question library of the server includes original test question questions and test question answers corresponding to the original test question questions, and the server may match the test question answers corresponding to each single-question text data from the test question library of the server, where each of the matched test question answers has the corresponding original test question, and meanwhile, the original test question questions included in the test question library of the server are preset with labels, where the labels include, but are not limited to, subject labels, difficulty labels, knowledge point labels, error-prone labels, and the like. The target test question is an original test question corresponding to the target test question, and the knowledge point label is a knowledge point investigated by the original test question.
212. The server searches a first preset number of similar test questions in a test question library of the server according to the test question searching request, and searches a second preset number of courseware resources in a courseware resource library of the server, wherein the labels of the similar test questions comprise target survey point labels, and the labels of the courseware resources comprise the target survey point labels.
In the embodiment of the present invention, the first preset number and the second preset number may be set by a user through a client, may also be set by the client automatically according to the popularity of a certain resource, may also be set by a development manufacturer, and the like, and the embodiment of the present invention is not limited.
213. And the server sends the first preset number of similar test questions and the second preset number of the name identification lists of the courseware resources to the client.
In the embodiment of the invention, the name identification list comprises the name identifications of the similar test questions in the first preset quantity and the name identifications of the courseware resources in the second preset quantity.
As an optional implementation manner, the topic searching method may further include the following steps:
214. the client outputs the name identification list, detects a name identification selection instruction triggered by a user, and acquires and outputs the learning resource corresponding to the target name identification from the server according to the target name identification included in the name identification selection instruction, wherein the name identification list includes the target name identification.
In the embodiment of the present invention, the target name identifier includes a name identifier of a target similar test question and/or a name identifier of a target courseware resource, which are selected by a user from a name identifier list as needed, the learning resource includes a target similar test question and/or a target courseware resource, and the learning resource library includes, but is not limited to, a test library of a server and a courseware resource library of a server.
In the embodiment of the invention, the user can learn and consolidate the knowledge points corresponding to the target investigation point labels by learning the target similar test questions and/or the target courseware resources, thereby being beneficial to improving the learning efficiency and simultaneously improving the user experience.
Therefore, by implementing the method described in fig. 2, the text area is identified by adopting the color difference between the text color and the background color, so that the calculation amount of the server text identification can be reduced, the identification efficiency is improved, and the efficiency of searching for the question is improved; meanwhile, multiple questions can be searched at one time, the steps are simple, the operation is convenient, and the question searching efficiency is improved; related similar test questions and courseware resources can be pushed to the user, learning efficiency is improved, client functions are optimized, and user experience is improved.
EXAMPLE III
Referring to fig. 3, fig. 3 is a schematic flow chart of another topic searching method according to an embodiment of the invention. As shown in fig. 3, the title searching method may include the following steps:
301. the client acquires the target picture, identifies at least one text area included by the target picture according to the color difference between the text color and the background color, generates a text picture of each text area, and sends all the text pictures to the server.
As an alternative implementation, the specific implementation that the client identifies at least one text region included in the target picture according to the color difference between the text color and the background color may refer to the detailed description of step 202-step 205 in example two.
The title searching method may further include steps 302 to 308, and for the description of steps 302 to 308, please refer to the detailed description of steps 207 to 213 in the second embodiment, which is not repeated herein.
As an optional implementation manner, the topic searching method may further include the following steps:
309. the server acquires a third preset number of other people learning mind notes and sends the third preset number of other people learning mind notes to the client, wherein the labels of the other people learning mind notes comprise target investigation point labels.
310. And the client outputs the third preset number of learning mind notes of other people for the user to check.
In the embodiment of the invention, after the client extracts the knowledge point label from the label of the target test question corresponding to the target test question answer as the target investigation point label, the client can further help the user to understand and learn the knowledge point corresponding to the target investigation point label by pushing the learning mind notes of other people, thereby being beneficial to improving the learning efficiency and optimizing the user experience.
311. The client detects whether a learning mental input instruction triggered by the user aiming at the target test question answer is received, and if the learning mental input instruction is received, the step 312 is executed; if the learning mind entry instruction is not received, the process is ended.
312. The client acquires a target learning mind note input by a user and uploads the target learning mind note to the server, and the label of the target learning mind note comprises the label of the target investigation point.
In this embodiment of the present invention, steps 307 to 308 may occur before steps 309 to 312, and steps 307 to 308 may also occur after steps 309 to 312, which is not limited in this embodiment of the present invention.
In the embodiment of the invention, after learning the mind notes of other people through the client, the user can timely record the own target learning mind notes through the client, which is beneficial to understanding and mastering the knowledge points and reviewing and consolidating the knowledge points, meanwhile, the user can upload the own target learning mind notes through the client, if the target learning mind notes have wrong places, other people can comment on the wrong places in the target learning mind notes when browsing the target mind notes, and then the user can receive comment prompts of other people to the target mind notes, and can reply and communicate the comments according to the comment prompts through the client, so that the understanding and mastering of the user on the knowledge points can be promoted, the learning efficiency is improved, and the user experience is optimized.
As an optional implementation manner, the topic searching method may further include the following steps:
the client detects whether a learning communication instruction which is input by a user and aims at the single-question character data corresponding to the target test question answer is received;
if the learning communication instruction is detected to be received, the client sends an identification acquisition request to the server, wherein the identification acquisition request comprises a target investigation point label, the identification acquisition request is used for requesting to acquire a learning communication group identification, and the label of the learning communication group identification comprises the target investigation point label;
the server acquires a fourth preset number of learning exchange group identifications according to the identification acquisition request and sends the fourth preset number of learning exchange group identifications to the client;
the client outputs a fourth preset number of learning communication group identifications, and detects whether a request adding instruction triggered by a user aiming at the target learning communication group identification is received, wherein the fourth preset number of learning communication group identifications comprise the target learning communication group identification;
if the request joining instruction is detected to be received, the client sends a joining request to the server, wherein the joining request comprises a target learning exchange group identifier and a user identity identifier preset by the client;
and the server adds the user identity into a member identity list corresponding to the target learning communication group identity according to the adding request.
It should be noted that the optional implementation step may occur at any time after the client extracts the knowledge point tag from the tag of the target test question corresponding to the target test question answer as the target examination point tag, and the embodiment of the present invention is not limited.
In the embodiment of the present invention, the third preset number and the fourth preset number may be set by a user through a client, or the number may be set by the client automatically according to the popularity of a certain resource, or may be set by a development manufacturer, which is not limited in the embodiment of the present invention.
In the embodiment of the invention, the user utilizes the client side to discuss the target test question in real time with the group members of the target learning exchange group, so that the user can learn and understand the knowledge points which are not mastered, the puzzlement points of the user on the answer of the target test question can be solved in real time, and the learning efficiency is improved.
In the embodiment of the invention, when the answer to the test question matched with the single-subject character data input by the user through the client does not meet the requirement of the user, namely the answer to the test question matched with the single-subject character data is not matched, the user can also trigger a learning exchange instruction aiming at a target knowledge point through the client, and the target knowledge point can be a knowledge point corresponding to a knowledge point label manually selected by the user through the client. And finally, the server can add the user identity identification into a member identity identification list corresponding to the target learning communication group identification according to the adding request sent by the client, and the user can discuss the single-subject character data in real time through the client and the group members of the target learning communication group, so that the method is favorable for helping the user to learn and understand the subject corresponding to the single-subject character data.
Therefore, by implementing the method described in fig. 3, multiple titles can be searched at one time, the steps are simple, the operation is convenient, and the title searching efficiency is improved; related target similar test questions, target courseware resources and learning thoughts of other people can be pushed to the user, so that the learning efficiency is improved; meanwhile, the user can discuss the target test question in real time through the client and the group member of the target learning communication group, so that the problem that the user answers the target test question is solved in real time, the learning efficiency is improved, the client function is optimized, and the user experience is improved.
Example four
Referring to fig. 4, fig. 4 is a schematic structural diagram of a topic searching system according to an embodiment of the present invention. As shown in fig. 4, the system may include a client 40 and a server 50, where the client 40 includes a first obtaining unit 401, an area identifying unit 402, a first sending unit 403, and an output unit 404, and the server 50 includes a character identifying unit 501, a topic dividing unit 502, a question matching unit 503, and a second sending unit 504, where:
a first obtaining unit 401, configured to obtain a target picture, and trigger the start area identifying unit 402.
An area identifying unit 402, configured to identify at least one text area included in the target picture acquired by the first acquiring unit 401 according to a color difference between a text color and a background color.
A first sending unit 403, configured to generate a text image for each text region identified 402 by the region identifying unit 402, and send all text images to the server 50.
In the embodiment of the invention, the region identification unit 402 is used for performing preliminary topic division on the topics on the target picture according to the color difference between the character color and the background color, which is beneficial to improving the accuracy of topic division, and simultaneously is beneficial to reducing the data operation amount when a subsequent server performs accurate topic division on each character picture, thereby reducing the processing time of character identification and improving the topic searching efficiency.
The text recognition unit 501 is configured to perform text recognition processing on each text image to obtain text data corresponding to each text image, and recognize at least one question mark from each text data according to a question mark naming rule.
The topic dividing unit 502 is configured to perform topic division on each text data according to at least one topic number identified from each text data to obtain at least one piece of topic text data of each text data, where each piece of topic text data includes a piece of topic text data.
In the embodiment of the invention, the topic dividing unit 502 automatically divides the character data into topics, so that test question answer search can be simultaneously carried out on a plurality of topics on a target picture, and a user does not need to manually frame and upload search one by one for a single topic, thereby improving the topic searching efficiency and optimizing the user experience.
The test question matching unit 503 is configured to match the answer of the test question corresponding to each of the single-question text data from the test question library of the server 50.
The second sending unit 504 is configured to send the answer to the test question corresponding to each piece of the single-question text data matched by the test question matching unit 503 to the client 40.
The output unit 404 is configured to output answers to the test questions corresponding to each piece of the single-question text data sent by the second sending unit 504.
In the embodiment of the present invention, after the first sending unit 403 sends all text images to the server 50, the output unit 404 may be further triggered to detect whether an answer to the test question corresponding to each piece of text data sent by the second sending unit 504 is received; if the answer to the test question corresponding to each of the single-question text data transmitted by the second transmitting unit 504 is detected to be received, the output unit 404 outputs the answer to the test question corresponding to each of the single-question text data.
It can be seen that, by implementing the system described in fig. 4, a picture containing multiple titles is automatically subject-divided according to the color difference between the text color and the background color and the title number naming rule, and each single-title text data obtained by subject division is respectively subject-matched, so that multiple titles can be searched at the same time, the steps are simple, the operation is convenient, the title searching efficiency is improved, and the user experience is optimized.
EXAMPLE five
Please refer to fig. 5, fig. 5 is a schematic structural diagram of a topic searching system according to an embodiment of the present invention. Wherein the system shown in fig. 5 is optimized from the system shown in fig. 4. In the system shown in fig. 5, the area identifying unit 402 includes:
a first subunit 4021, configured to perform binarization processing on a target picture to obtain a binarized picture; and acquiring the font gray value of the font color of the binarization picture.
The second subunit 4022 is configured to control a preset pixel window to perform sliding scanning on the binarized picture according to a preset scanning step length until all regions of the binarized picture are scanned completely, and mark a scanning region where a gray difference between a real-time gray value in the preset pixel window and a font gray value acquired by the first subunit 4021 during sliding scanning is smaller than or equal to a preset difference threshold as a candidate character region; and merging all candidate character areas obtained by continuous marking to obtain at least one character area.
As an optional implementation, the client 40 further includes a collecting unit 405 and a tag extracting unit 406, and the server 50 further includes a searching unit 505, where:
the collection unit 405 is configured to detect a collection instruction triggered by the user for the target test question answer output by the output unit 404, add the single-question text data corresponding to the target test question answer to the collection list according to the collection instruction, and the test question answer corresponding to each single-question text data output by the output unit 404 includes the target test question answer.
A tag extracting unit 406, configured to extract a knowledge point tag from tags of the target test question corresponding to the target test question answer as a target examination point tag, and send a test question search request to the server 50, where the test question search request includes the target examination point tag.
A searching unit 505, configured to search a first preset number of similar test questions in the test question library of the server 50 according to the test question search request sent by the tag extracting unit 406, and search a second preset number of courseware resources in the courseware resource library of the server 50, where tags of the similar test questions include a target survey point tag, and tags of the courseware resources include a target survey point tag.
The second sending unit 504 is further configured to send the name identifier list of the first preset number of similar test questions and the second preset number of courseware resources, which are searched by the searching unit 505, to the client 40, where the name identifier list includes the name identifiers of the first preset number of similar test questions and the name identifiers of the second preset number of courseware resources.
The output unit 404 is further configured to output the name identifier list sent by the second sending unit 504, detect a name identifier selection instruction triggered by the user, and obtain and output a learning resource corresponding to the target name identifier from the learning resource library of the server 50 according to the target name identifier included in the name identifier selection instruction, where the name identifier list includes the target name identifier.
In the embodiment of the present invention, the target name identifier includes a name identifier of a target similar test question and/or a name identifier of a target courseware resource, which are selected by the user as needed from the name identifier list, the learning resource includes a target similar test question and/or a target courseware resource, and the learning resource library includes, but is not limited to, a test library of the server 50 and a courseware resource library of the server 50.
Therefore, by implementing the system described in fig. 5, the text area can be identified by adopting the color difference between the text color and the background color, so that the calculation amount of text identification of the server 50 is reduced, the identification efficiency is improved, and the time for searching for the question is favorably reduced; meanwhile, multiple questions can be searched at one time, the steps are simple, the operation is convenient, and the question searching efficiency is improved; related similar test questions and courseware resources can be pushed to the user, learning efficiency is improved, client functions are optimized, and user experience is improved.
EXAMPLE six
Referring to fig. 6, fig. 6 is a schematic structural diagram of a topic searching system according to an embodiment of the present invention. Wherein the system shown in fig. 6 is optimized from the system shown in fig. 5. In the system shown in fig. 6, the client 40 further includes a first detecting unit 407, and the server 50 further includes a second obtaining unit 506, where:
a second obtaining unit 506, configured to obtain a third preset number of other people learning mind notes and send the third preset number of other people learning mind notes to the client 40, where tags of the other people learning mind notes include a target survey point tag.
In this embodiment of the present invention, after receiving the test question search request sent by the tag extraction unit 406, the search unit 505 may further send a target research point tag included in the test question search request to the second acquisition unit 506, so as to trigger the second acquisition unit 506 to acquire a third preset number of other people learning happy notes, where the tag of the other people learning happy notes includes the target research point tag.
The output unit 404 is further configured to output a third preset number of learning happy notes sent by the second obtaining unit 506 for the user to view.
In the embodiment of the present invention, after the tag extraction unit 406 extracts the knowledge point tag from the tag of the target test question corresponding to the target test question answer as the target review point tag, the client 40 may further assist the user in understanding and learning the knowledge point corresponding to the target review point tag by pushing a mind note for others to learn, and the user may further learn and understand the related similar test question and courseware resource through a third preset number of mind notes for others to learn and understand, which is output by the output unit 404, and is beneficial to improving learning efficiency and optimizing user experience.
In this embodiment of the present invention, after the output unit 404 outputs the third preset number of learning mind notes of other people, the first detection unit 407 may be further triggered to detect whether a learning mind entry instruction triggered by the user for the target test question answer is received.
The first detecting unit 407 is configured to detect whether a learning mind entry instruction triggered by the user for the answer to the target test question is received after the output unit 404 outputs a third preset number of other people learning mind notes, and if it is detected that the learning mind entry instruction is received, trigger the first obtaining unit 401 to execute a corresponding operation.
The first obtaining unit 401 is further configured to, when the first detecting unit 407 detects that the learning mind entry instruction is received, obtain a target learning mind note input by the user and upload the target learning mind note to the server 50, where a tag of the target learning mind note includes a target survey point tag.
In the embodiment of the invention, after learning the mind note of other people through the client 40, the user can timely record the target mind note of the user through the first obtaining unit 401, which is helpful for understanding and mastering the knowledge point and is also beneficial for reviewing and consolidating the knowledge point, meanwhile, the user can upload his/her target learning mind note through the first acquisition unit 401, if the target learning mind note has a wrong place, others can comment on the wrong place in the target learning mind note when browsing the target mind note, and then the user can receive a comment prompt of others to the target mind note, meanwhile, the client 40 can reply and exchange the comment according to the comment prompt, so that the knowledge point can be understood and mastered by the user, the learning efficiency can be improved, and the user experience is optimized.
As an optional implementation manner, the client 40 further includes a second detecting unit 408, and the server 50 further includes a third obtaining unit 507 and a joining unit 508, where:
the second detecting unit 408 is configured to detect whether a learning communication instruction for the single-topic character data corresponding to the target test question answer is received, and trigger the first sending unit 403 to start if the learning communication instruction is detected to be received.
In this embodiment of the present invention, after the output unit 404 outputs the answer to the test question corresponding to each single-question text data, the second detection unit 408 may be triggered and started.
The first sending unit 403 is further configured to, when the second detecting unit 408 detects that the learning communication instruction is received, send an identifier obtaining request to the server 50, where the identifier obtaining request includes a target survey point tag, the identifier obtaining request is used to request to obtain a learning communication group identifier, and the tag of the learning communication group identifier includes the target survey point tag.
A third obtaining unit 507, configured to obtain a fourth preset number of learning exchange group identifiers according to the identifier obtaining request sent by the first sending unit 403.
The second sending unit 504 is further configured to send the fourth preset number of learning exchange group identifiers obtained by the third obtaining unit 507 to the client 40.
The output unit 404 is further configured to output the fourth preset number of learning exchange group identifiers sent by the second sending unit 504.
The second detecting unit 408 is further configured to detect whether a join request instruction triggered by the user for the target learning communication group identifier is received, where the fourth preset number of learning communication group identifiers includes the target learning communication group identifier, and if it is detected that the join request instruction is received, trigger to start the first sending unit 403.
The first sending unit 403 is further configured to send, when the second detecting unit 408 detects that the request join instruction is received, a join request to the server 50, where the join request includes the target learning exchange group identifier and the user identity identifier preset by the client 40.
The joining unit 508 is configured to join the user identity into the member identity list corresponding to the target learning communication group identity according to the joining request sent by the first sending unit 403.
In this embodiment of the present invention, after the second sending unit 504 sends the fourth preset number of learning exchange group identifiers to the client 40, the joining unit 508 may be further triggered to detect whether the joining request sent by the first sending unit 403 is received; if it is detected that the join request sent by the first sending unit 403 is received, the joining unit 508 may join the user id into the member id list corresponding to the target learning communication group id.
In the embodiment of the invention, the user can discuss the target test question answers in real time through the client 40 and the group members of the target learning communication group, which is beneficial to further learning and understanding the knowledge points corresponding to the target test question answers, and simultaneously can solve the puzzlement points of the user on the target test question answers in real time, thereby improving the learning efficiency, and the user can discuss the single-question text data in real time through the client 40 and the group members of the target learning communication group, thereby being beneficial to helping the user learn and understand the questions corresponding to the single-question text data.
Therefore, by implementing the system described in FIG. 6, multiple titles can be searched at one time, the steps are simple, the operation is convenient, and the title searching efficiency is improved; related similar test questions, courseware resources and other people learning hearty notes can be pushed to the user, and the learning efficiency is improved; meanwhile, the user can discuss the target test question in real time with the group member of the target learning communication group through the client 40, so that the problem that the user answers the target test question is solved in real time, the learning efficiency is improved, the client function is optimized, and the user experience is improved.
Referring to fig. 7, fig. 7 is a schematic structural diagram of a client according to an embodiment of the present invention. As shown in fig. 7, the client may include:
a memory 601 in which executable program code is stored;
a processor 602 coupled to a memory 601;
among them, the processor 602 calls the executable program code stored in the memory 601 to execute part or all of the steps executed by the client in fig. 1 to 3.
Referring to fig. 8, fig. 8 is a schematic structural diagram of a server according to an embodiment of the present invention. As shown in fig. 8, the server may include:
a memory 701 in which executable program code is stored;
a processor 702 coupled to the memory 701;
the processor 702 calls the executable program code stored in the memory 701 to perform some or all of the steps performed by the server of fig. 1-3.
The embodiment of the invention discloses a computer readable storage medium which stores a computer program, wherein the computer program enables a computer to execute part or all of the steps of figures 1-3.
It will be understood by those skilled in the art that all or part of the steps in the methods of the embodiments described above may be implemented by instructions associated with a program, which may be stored in a computer-readable storage medium, where the storage medium includes 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 Memory, magnetic disk, magnetic tape, or magnetic tape, Or any other medium which can be used to carry or store data and which can be read by a computer.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. Those skilled in the art should also appreciate that the embodiments described in this specification are exemplary and alternative embodiments, and that the acts and modules illustrated are not required in order to practice the invention.
In various embodiments of the present invention, it should be understood that the sequence numbers of the above-mentioned processes do not imply an inevitable order of execution, and the execution order of the processes should be determined by their functions and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
In addition, the terms "system" and "network" are often used interchangeably herein. It should be understood that the term "and/or" herein is merely one type of association relationship describing an associated object, meaning that three relationships may exist, for example, a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
In the embodiments provided herein, it should be understood that "B corresponding to A" means that B is associated with A from which B can be determined. It should also be understood, however, that determining B from a does not mean determining B from a alone, but may also be determined from a and/or other information.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated units, if implemented as software functional units and sold or used as a stand-alone product, may be stored in a computer accessible memory. Based on such understanding, the technical solution of the present invention, which is a part of or contributes to the prior art in essence, or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a memory and includes several requests for causing a computer device (which may be a personal computer, a server, a network device, or the like, and may specifically be a processor in the computer device) to execute part or all of the steps of the above-described method of each embodiment of the present invention.
The method and system for searching for a question disclosed by the embodiment of the invention are described in detail, a specific example is applied in the text to explain the principle and the implementation mode of the invention, and the description of the embodiment is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (8)

1. A method for searching for a question, the method comprising:
the method comprises the steps that a client side obtains a target picture, identifies at least one text area included by the target picture according to the color difference between the text color and the background color, generates a text picture of each text area, and sends all the text pictures to a server;
the server carries out character recognition processing on each character picture to obtain character data corresponding to each character picture, and at least one question mark is recognized from each character data according to a question mark naming rule;
the server divides the question of each character data according to at least one question number identified from each character data to obtain at least one single-question character data of each character data, wherein each single-question character data comprises a question of character data;
the server matches test question answers corresponding to the single-question character data from a test question library of the server, and sends the test question answers corresponding to the single-question character data to the client so as to trigger the client to output the test question answers corresponding to the single-question character data;
the client identifies at least one text area included in the target picture according to the color difference between the text color and the background color, and the method comprises the following steps:
the client performs binarization processing on the target picture to obtain a binarized picture;
the client acquires a font gray value of the font color of the binarization picture;
in the process that a preset pixel window is controlled by the client to carry out sliding scanning on the binary image according to a preset scanning step length, a scanning area, in which the gray difference between the real-time gray value in the preset pixel window and the font gray value is smaller than or equal to a preset difference threshold value during sliding scanning, is marked as a candidate character area; marking the scanning area, in which the gray difference between the real-time gray value in the preset pixel window and the font gray value is greater than a preset difference threshold value during sliding scanning, as a non-candidate character area;
when two scanning areas are continuously marked as non-candidate character areas, automatically scanning in a line feed manner until all areas of the binary image are scanned;
and the client side merges all candidate character areas obtained by continuous marking to obtain at least one character area.
2. The method of claim 1, further comprising:
the client detects a collection instruction triggered by a user aiming at a target test question answer, single-question character data corresponding to the target test question answer are added into a collection list according to the collection instruction, and the test question answer corresponding to each single-question character data output by the client comprises the target test question answer;
the client extracts a knowledge point label from a label of a target test question corresponding to the target test question answer to serve as a target examination point label, and sends a test question searching request to the server, wherein the test question searching request comprises the target examination point label;
the server searches a first preset number of similar test questions in a test question library of the server according to the test question searching request, and searches a second preset number of courseware resources in a courseware resource library of the server, wherein the labels of the similar test questions comprise the target investigation point labels, and the labels of the courseware resources comprise the target investigation point labels;
the server sends the first preset number of similar test questions and the second preset number of name identification lists of the courseware resources to the client, wherein the name identification lists comprise the first preset number of name identifications of the similar test questions and the second preset number of name identifications of the courseware resources;
the client outputs the name identification list, detects a name identification selection instruction triggered by a user, and acquires and outputs learning resources corresponding to the target name identification from a learning resource library of the server according to a target name identification included by the name identification selection instruction, wherein the name identification list includes the target name identification, the target name identification includes name identifications of target similar test questions and/or name identifications of target courseware resources selected by the user from the name identification list according to needs, the learning resources include the target similar test questions and/or the target courseware resources, and the learning resource library includes but is not limited to the test library of the server and the courseware resource library of the server.
3. The method of claim 2, further comprising:
the server acquires a third preset number of other people learning mind notes and sends the third preset number of other people learning mind notes to the client, wherein labels of the other people learning mind notes comprise the target investigation point labels;
the client outputs the learning mind notes of the other people in the third preset number for the user to check;
the client detects whether a learning mental recording instruction triggered by the user aiming at the target test question answer is received, if the learning mental recording instruction is received, a target learning mental recording input by the user is obtained and uploaded to the server, and the label of the target learning mental recording comprises the target investigation point label.
4. The method of claim 2, further comprising:
the client detects whether a learning communication instruction which is input by a user and aims at the single-question character data corresponding to the target test question answer is received, if so, an identification obtaining request is sent to the server, the identification obtaining request comprises the target examination point label, the identification obtaining request is used for requesting to obtain a learning communication group identification, and the label of the learning communication group identification comprises the target examination point label;
the server acquires a fourth preset number of the learning exchange group identifications according to the identification acquisition request and sends the fourth preset number of the learning exchange group identifications to the client;
the client outputs the learning exchange group identifications of the fourth preset number, and detects whether a request adding instruction triggered by a user aiming at a target learning exchange group identification is received, wherein the learning exchange group identifications of the fourth preset number comprise the target learning exchange group identification;
if the request joining instruction is detected, the client sends a joining request to the server, wherein the joining request comprises the target learning communication group identification and a user identity identification preset by the client;
and the server adds the user identity into a member identity list corresponding to the target learning communication group identity according to the adding request.
5. The utility model provides a system for searching for topic, its characterized in that includes client and server, the client includes first acquisition unit, regional identification unit, first sending unit and output unit, the server includes that word identification unit, topic divide unit, examination question matching unit and second sending unit, wherein:
the first acquisition unit is used for acquiring a target picture and triggering and starting the area identification unit;
the region identification unit is used for identifying at least one character region included in the target picture acquired by the first acquisition unit according to the color difference between the character color and the background color;
the first sending unit is used for generating a text picture of each text area and sending all the text pictures to the server;
the character recognition unit is used for performing character recognition processing on each character picture to obtain character data corresponding to each character picture, and recognizing at least one question mark from each character data according to a question mark naming rule;
the topic dividing unit is used for performing topic division on each character data according to at least one topic number identified from each character data to obtain at least one single topic character data of each character data, and each single topic character data comprises a topic character data;
the test question matching unit is used for matching test question answers corresponding to the single-question character data from a test question library of the server;
the second sending unit is configured to send the answer to the test question corresponding to each of the single-question text data matched by the test question matching unit to the client;
the output unit is used for outputting the answer of the test question corresponding to each single-question text data sent by the second sending unit;
the area recognition unit includes:
the first subunit is used for carrying out binarization processing on the target picture to obtain a binarized picture; acquiring a font gray value of the font color of the binarization picture;
the second subunit is used for controlling a preset pixel window to mark a scanning area, in which the gray difference between the real-time gray value in the preset pixel window and the font gray value is less than or equal to a preset difference threshold value during sliding scanning, as a candidate character area in the process of sliding scanning the binarized picture according to a preset scanning step length; marking the scanning area, in which the gray difference between the real-time gray value in the preset pixel window and the font gray value is greater than a preset difference threshold value during sliding scanning, as a non-candidate character area;
when two scanning areas are continuously marked as non-candidate character areas, automatically scanning in a line feed manner until all areas of the binary image are scanned; and the number of the first and second groups,
and combining all candidate character areas obtained by continuous marking to obtain at least one character area.
6. The system of claim 5, wherein the client further comprises a favorites unit and a tag extraction unit, and the server further comprises a search unit, wherein:
the collection unit is used for detecting a collection instruction triggered by a user aiming at a target test question answer, adding the single-question character data corresponding to the target test question answer into a collection list according to the collection instruction, and the test question answer corresponding to each single-question character data output by the output unit comprises the target test question answer;
the label extraction unit is used for extracting a knowledge point label from a label of a target test question corresponding to the target test question answer to serve as a target examination point label, and sending a test question search request to the server, wherein the test question search request comprises the target examination point label;
the search unit is used for searching a first preset number of similar test questions in a test question library of the server according to the test question search request sent by the tag extraction unit, and searching a second preset number of courseware resources in a courseware resource library of the server, wherein tags of the similar test questions comprise the target investigation point tags, and tags of the courseware resources comprise the target investigation point tags;
the second sending unit is further configured to send the first preset number of similar test questions and the second preset number of name identifier lists of the courseware resources to the client, where the name identifier lists include the first preset number of name identifiers of the similar test questions and the second preset number of name identifiers of the courseware resources;
the output unit is further configured to output the name identifier list sent by the second sending unit, detect a name identifier selection instruction triggered by a user, and obtain and output a learning resource corresponding to the target name identifier from a learning resource library of the server according to a target name identifier included in the name identifier selection instruction, where the name identifier list includes the target name identifier, the target name identifier includes a name identifier of a target similar test question and/or a name identifier of a target courseware resource selected by the user from the name identifier list as needed, the learning resource includes the target similar test question and/or the target courseware resource, and the learning resource library includes, but is not limited to, the test library of the server and the courseware resource library of the server.
7. The system of claim 6, wherein the client further comprises a first detection unit, and wherein the server further comprises a second acquisition unit, wherein:
the second obtaining unit is used for obtaining a third preset number of other people learning mind notes and sending the third preset number of other people learning mind notes to the client, and labels of the other people learning mind notes comprise the target investigation point labels;
the output unit is further configured to output the third preset number of learning mind notes of the other people sent by the second obtaining unit for the user to view;
the first detection unit is used for detecting whether a learning mind entry instruction triggered by the user according to the target test question answer is received or not after the output unit outputs the third preset number of learning mind notes of the other people;
the first obtaining unit is further configured to, when the first detecting unit detects that the learning mind entry instruction is received, obtain a target learning mind note input by a user and upload the target learning mind note to the server, where a tag of the target learning mind note includes the target survey point tag.
8. The system of claim 6, wherein the client further comprises a second detection unit, and the server further comprises a joining unit and a third acquisition unit, wherein:
the second detection unit is used for detecting whether a learning communication instruction which is input by a user and aims at the single-question character data corresponding to the target test question answer is received;
the first sending unit is further configured to send an identifier obtaining request to the server when the second detecting unit detects that the learning communication instruction is received, where the identifier obtaining request includes the target investigation point tag, the identifier obtaining request is used to request to obtain a learning communication group identifier, and the tag of the learning communication group identifier includes the target investigation point tag;
the third obtaining unit is configured to obtain a fourth preset number of the learning communication group identifiers according to the identifier obtaining request sent by the first sending unit;
the second sending unit is further configured to send the learning communication group identifiers of the fourth preset number acquired by the third acquiring unit to the client;
the output unit is further configured to output the learning exchange group identifiers of the fourth preset number sent by the second sending unit;
the second detection unit is further configured to detect whether a request join instruction triggered by a user for a target learning communication group identifier is received, where the fourth preset number of learning communication group identifiers includes the target learning communication group identifier;
the first sending unit is further configured to send a join request to the server when the second detecting unit detects that the join request instruction is received, where the join request includes the target learning communication group identifier and a user identity identifier preset by the client;
and the joining unit is used for joining the user identity into a member identity list corresponding to the target learning communication group identity according to the joining request sent by the first sending unit.
CN201810073701.6A 2018-01-25 2018-01-25 Question searching method and system Active CN108197300B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810073701.6A CN108197300B (en) 2018-01-25 2018-01-25 Question searching method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810073701.6A CN108197300B (en) 2018-01-25 2018-01-25 Question searching method and system

Publications (2)

Publication Number Publication Date
CN108197300A CN108197300A (en) 2018-06-22
CN108197300B true CN108197300B (en) 2020-10-16

Family

ID=62590735

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810073701.6A Active CN108197300B (en) 2018-01-25 2018-01-25 Question searching method and system

Country Status (1)

Country Link
CN (1) CN108197300B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109785691B (en) * 2019-01-18 2021-09-24 广东小天才科技有限公司 Method and system for assisting learning through terminal
CN109710750A (en) * 2019-01-23 2019-05-03 广东小天才科技有限公司 Question searching method and learning equipment
CN118155197A (en) * 2019-05-05 2024-06-07 广东小天才科技有限公司 Question searching method and electronic equipment
CN111177441B (en) * 2019-12-11 2023-04-25 广东小天才科技有限公司 Question searching method and electronic equipment
CN111563498B (en) * 2020-04-30 2024-01-19 广东小天才科技有限公司 Method and device for collecting questions, electronic equipment and storage medium
CN111581367A (en) * 2020-05-11 2020-08-25 广东小天才科技有限公司 Method and system for inputting questions

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008020506A (en) * 2006-07-11 2008-01-31 Fuji Xerox Co Ltd Image processor and image processing program
CN101187928A (en) * 2007-08-14 2008-05-28 新诺亚舟科技(深圳)有限公司 Method for combining study and searching aiming at test question implemented on personal hand-held study terminal
CN103500216A (en) * 2013-09-30 2014-01-08 北京林业大学 Method for extracting file information
CN106021293A (en) * 2016-05-03 2016-10-12 华中师范大学 Knowledge linkage based study note storage method, storage device and system
CN106250475A (en) * 2016-07-29 2016-12-21 广东小天才科技有限公司 Method and device for pushing test question answers
CN106372126A (en) * 2016-08-24 2017-02-01 广东小天才科技有限公司 Method and device for searching questions by photographing

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008020506A (en) * 2006-07-11 2008-01-31 Fuji Xerox Co Ltd Image processor and image processing program
CN101187928A (en) * 2007-08-14 2008-05-28 新诺亚舟科技(深圳)有限公司 Method for combining study and searching aiming at test question implemented on personal hand-held study terminal
CN103500216A (en) * 2013-09-30 2014-01-08 北京林业大学 Method for extracting file information
CN106021293A (en) * 2016-05-03 2016-10-12 华中师范大学 Knowledge linkage based study note storage method, storage device and system
CN106250475A (en) * 2016-07-29 2016-12-21 广东小天才科技有限公司 Method and device for pushing test question answers
CN106372126A (en) * 2016-08-24 2017-02-01 广东小天才科技有限公司 Method and device for searching questions by photographing

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于多分类器集成的图像文字识别技术及其应用研究;罗笑玲等;《软件》;20150331;第36卷(第3期);第99页 *

Also Published As

Publication number Publication date
CN108197300A (en) 2018-06-22

Similar Documents

Publication Publication Date Title
CN108197300B (en) Question searching method and system
CN110837579B (en) Video classification method, apparatus, computer and readable storage medium
KR20180122926A (en) Method for providing learning service and apparatus thereof
CN110740389B (en) Video positioning method, video positioning device, computer readable medium and electronic equipment
CN109766412B (en) Learning content acquisition method based on image recognition and electronic equipment
CN109299399B (en) Learning content recommendation method and terminal equipment
CN111460185A (en) Book searching method, device and system
CN107679070B (en) Intelligent reading recommendation method and device and electronic equipment
CN108121715B (en) Character labeling method and character labeling device
CN111753120B (en) Question searching method and device, electronic equipment and storage medium
CN111026949A (en) Question searching method and system based on electronic equipment
CN111027537A (en) Question searching method and electronic equipment
CN111126486A (en) Test statistical method, device, equipment and storage medium
CN115759293A (en) Model training method, image retrieval device and electronic equipment
CN116016421A (en) Method, computing device readable storage medium, and computing device for facilitating media-based content sharing performed in a computing device
CN112800177B (en) FAQ knowledge base automatic generation method and device based on complex data types
CN113704623A (en) Data recommendation method, device, equipment and storage medium
CN111027557B (en) Subject identification method based on subject image and electronic equipment
CN117349515A (en) Search processing method, electronic device and storage medium
CN111933133A (en) Intelligent customer service response method and device, electronic equipment and storage medium
CN109783679B (en) Learning auxiliary method and learning equipment
KR102043693B1 (en) Machine learning based document management system
US11669583B2 (en) Generating interactive screenshot based on a static screenshot
CN111666474A (en) Method and terminal for searching questions in whole page
CN111027536A (en) Question searching method based on electronic equipment and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant