CN108197300A - One kind searches topic method and system - Google Patents

One kind searches topic method and system Download PDF

Info

Publication number
CN108197300A
CN108197300A CN201810073701.6A CN201810073701A CN108197300A CN 108197300 A CN108197300 A CN 108197300A CN 201810073701 A CN201810073701 A CN 201810073701A CN 108197300 A CN108197300 A CN 108197300A
Authority
CN
China
Prior art keywords
target
client
server
topic
lteral data
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.)
Granted
Application number
CN201810073701.6A
Other languages
Chinese (zh)
Other versions
CN108197300B (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

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

Abstract

One kind searches topic method and system, including:Client obtains Target Photo, and at least one character area included according to the color distinction of text color and background color identification Target Photo, generates the word picture of each character area, all word pictures are sent to server;Server carries out Text region for each word picture and handles to obtain corresponding lteral data, and at least one question number is identified from each lteral data according to question number naming rule;Server carries out topic division according at least one question number to each lteral data, obtains at least one single topic lteral data, the lteral data of one of topic is included in each single topic lteral data;Server matches script corresponding with single topic lteral data from its test item bank, and all scripts are sent to the client, so that client exports script.Implementing the embodiment of the present invention can intercept and upload search multiple tracks topic simultaneously automatically, easy to operate, improve and search topic efficiency.

Description

One kind searches topic method and system
Technical field
The present invention relates to technical field of electronic equipment, and in particular to one kind searches topic method and system.
Background technology
At present, many e-education products on the market can realize the function of searching topic, and user can pass through topic Picture searches for the answer corresponding to the topic.When user carries out searching topic according to the picture of topic, user needs obtained Picture on stretch up and down by cutting preview topic frame and the operations such as mobile are come the topic searched for required for choosing, so Clicking afterwards after interception confirms could upload search, cumbersome, another aspect, when user encounters multiple tracks continuously no topic, User can only intercept and upload intercepted per pass topic one by one one by one, cumbersome and easy error.As it can be seen that existing search topic Method is cumbersome, leads to search topic and expends that the time is long, and efficiency is low.
Invention content
The embodiment of the present invention discloses one kind and searches topic method and system, can simultaneously scan for multiple tracks topic, and simple operation is promoted Search topic efficiency.
First aspect of the embodiment of the present invention discloses one kind and searches topic method, including:
Client obtains Target Photo, and the Target Photo packet is identified according to the color distinction of text color and background color At least one character area included, and generate the word picture of each character area and by all word figures Piece is sent to server;
The server carries out Text region for each word picture and handles to obtain and each word picture Corresponding lteral data, and at least one question number is identified from each lteral data according to question number naming rule;
The server is according at least one question number identified from each lteral data to each word Data carry out topic division, obtain at least one single topic lteral data of each lteral data, each single topic word The lteral data of one of topic is included in data;
The server matches examination corresponding with each single topic lteral data from the test item bank of the server Answer is inscribed, and each list is inscribed into the corresponding script of lteral data and is sent to the client, to trigger the client Output each list in end inscribes the corresponding script of lteral data.
As an alternative embodiment, in first aspect of the embodiment of the present invention, the client is according to word face The color distinction of color and background color identifies at least one character area that the Target Photo includes, including:
Target Photo progress binary conversion treatment is obtained binaryzation picture by the client;
The client obtains the font weight value of the font color of the binaryzation picture;
The client control presetted pixel window to the binaryzation picture slide according to default scanning step to be swept It retouches up to scanned to all areas of the binaryzation picture, and will be in presetted pixel window described in slip scan The scanning area that real-time gray value and the gray scale difference of the font weight value are less than or equal to default differential threshold is labeled as waiting Select character area;
The client merges all candidate character regions that continued labelling obtains, and obtains at least one character area.
As an alternative embodiment, in first aspect of the embodiment of the present invention, the method further includes:
The client detection user instructs for the collection of target script triggering, and will according to the collection instruction The corresponding single topic lteral data of the target script is puted into collection list, each single topic text of the client output The corresponding script of digital data includes the target script;
The client extracts knowledge point label from the label of the corresponding target examination question of the target script and makees Point label is investigated, and examination question searching request is sent to the server for target, the examination question searching request includes the target Investigate point label;
The server searches for the first preset quantity according to the examination question searching request in the test item bank of the server Similar examination question and the Courseware Resource of the second preset quantity is searched in the Courseware Resource library of the server, it is described similar The label of examination question includes the target and investigates point label, and the label of the Courseware Resource includes the target and investigates point label;
The server is by the similar examination question of first preset quantity and the class of second preset quantity The name identification list of part resource is sent to the client, and the name identification list includes the institute of first preset quantity State the name identification of the name identification of similar examination question and the Courseware Resource of second preset quantity;
The client exports the name identification list, and detect user's triggering name identification selection instruction and It is identified according to the target designation that the name identification selection instruction includes, from the learning object repository of the server described in acquisition Target designation identifies corresponding education resource and exports, and the name identification list is identified including the target designation, the mesh Mark name identification include the name identification of the similar examination question of target that user selects as needed from the name identification list and/ Or the name identification of target Courseware Resource, the education resource includes the similar examination question of the target and/or the target courseware provides Source, the learning object repository include but not limited to the test item bank of the server and the Courseware Resource of the server Library.
As an alternative embodiment, in first aspect of the embodiment of the present invention, the method further includes:
Other people study notes that the server obtains third preset quantity are taken down notes and are sent to the client, it is described he The label of people's study notes notes includes the target and investigates point label;
Other people study notes that the client exports the third preset quantity are taken down notes, and are checked for user;
The client detects whether that receive user refers to for the study notes typing of target script triggering It enables, if receiving study notes typing instruction, obtains target study notes notes input by user and by the target Gains in depth of comprehension notes are uploaded to the server, and the label of the target study notes notes includes the target and investigates point label.
As an alternative embodiment, in first aspect of the embodiment of the present invention, the method further includes:
The client detects whether to receive input by user for the corresponding single topic word of the target script The learning and communication instruction of data if received, sends mark to the server and obtains request, the mark obtains request bag It includes the target and investigates point label, the mark obtains request for acquisition request learning and communication group identification, and the study is handed over The label for flowing group identification includes a target investigation point label;
The server obtains the learning and communication group identification of the 4th preset quantity of acquisition request according to the mark, and The learning and communication group identification of 4th preset quantity is sent to the client;
The client exports the learning and communication group identification of the 4th preset quantity, and detects whether to receive use Family adds in instruction, the learning and communication group mark of the 4th preset quantity for the request of target learning and communication group identification triggering Knowledge includes the target learning and communication group identification;
If detecting the request addition instruction, the client is sent to the server adds in request, described to add Enter request and include the target learning and communication group identification and the preset User Identity of the client;
The server asks the User Identity being added to the target learning and communication group according to described add in It identifies in corresponding member identities' identification list.
Second aspect of the embodiment of the present invention discloses one kind and searches topic system, including client and server, the client packet First acquisition unit, region identification block, the first transmitting element and output unit are included, the server includes Text region list Member, topic division unit, examination question matching unit and the second transmitting element, wherein:
The first acquisition unit for obtaining Target Photo, and triggers and starts the region identification block;
The region identification block, for being obtained according to the color distinction of text color and background color identification described first At least one character area that the Target Photo that unit is got includes;
First transmitting element, for generate the word picture of each character area and will be all described in Word picture is sent to the server;
The word recognition unit handles to obtain and each institute for being directed to each word picture progress Text region It states the corresponding lteral data of word picture, and is identified from each lteral data according to question number naming rule at least one Question number;
The topic division unit, for according at least one question number for being identified from each lteral data to every A lteral data carries out topic division, obtains at least one single topic lteral data of each lteral data, Mei Gesuo State the lteral data for including one of topic in single topic lteral data;
The examination question matching unit, for being matched from the test item bank of the server and each single topic word number According to corresponding script;
Second transmitting element, for each single topic lteral data pair for matching the examination question matching unit The script answered is sent to the client;
The output unit, it is corresponding for exporting each single topic lteral data of the second transmitting element transmission Script.
As an alternative embodiment, in second aspect of the embodiment of the present invention, the region identification block includes:
First subelement, for Target Photo progress binary conversion treatment to be obtained binaryzation picture;And obtain institute State the font weight value of the font color of binaryzation picture;
Second subelement, for presetted pixel window to be controlled to be slided according to default scanning step to the binaryzation picture Dynamic scanning until scanned to all areas of the binaryzation picture, and will in slip scan the presetted pixel window Interior real-time gray value is less than or equal to default with the gray scale difference of the font weight value that first subelement is got The scanning area of differential threshold is labeled as candidate character region;And merge all candidate character regions that continued labelling obtains, Obtain at least one character area.
As an alternative embodiment, in second aspect of the embodiment of the present invention, the client further includes collection Unit and tag extraction unit, the server further include search unit, wherein:
The collection unit, for detecting collection instruction of the user for target script triggering, and according to the receipts Hide instruction the corresponding single topic lteral data of the target script is puted into collection list, the output unit output it is each The list inscribes the corresponding script of lteral data and includes the target script;
The tag extraction unit is known for being extracted from the label of the corresponding target examination question of the target script Know point label and investigate point label as target, and examination question searching request, the examination question searching request packet are sent to the server It includes the target and investigates point label;
Described search unit, for the examination question searching request that is sent according to the tag extraction unit in the service The similar examination question of the first preset quantity is searched in the test item bank of device and searches for second in the Courseware Resource library of the server The Courseware Resource of preset quantity, the label of the similar examination question include the target and investigate point label, the mark of the Courseware Resource Label investigate point label comprising the target;
Second transmitting element is additionally operable to preset the similar examination question of first preset quantity and described second The name identification list of the Courseware Resource of quantity is sent to the client, and the name identification list includes described first The name identification of the name identification of the similar examination question of preset quantity and the Courseware Resource of second preset quantity;
The output unit is additionally operable to export the name identification list that second transmitting element is sent, and detect The name identification selection instruction of user's triggering and the target designation mark included according to the name identification selection instruction, from The target designation is obtained in the learning object repository of the server to identify corresponding education resource and export, the name identification List is identified including the target designation, and the name identification list is identified including the target designation, the target designation mark Knowledge includes the name identification of the similar examination question of target and/or the target class that user selects as needed from the name identification list The name identification of part resource, the education resource include the similar examination question of the target and/or the target Courseware Resource, It practises resources bank and includes but not limited to the test item bank of the server and the Courseware Resource library of the server.
As an alternative embodiment, in second aspect of the embodiment of the present invention, the client further includes first Detection unit, the server further include second acquisition unit, wherein:
The second acquisition unit, other people study notes for obtaining third preset quantity are taken down notes and are sent to the visitor Family end, the label of other people the study notes notes include the target and investigate point label;
The output unit, be additionally operable to export the third preset quantity that the second acquisition unit is sent it is described he People's study notes are taken down notes, and are checked for user;
The first detection unit, for exporting other people study described in the third preset quantity in the output unit After gains in depth of comprehension notes, detect whether to receive study notes typing instruction of the user for target script triggering;
The first acquisition unit is additionally operable to detect to receive the study notes typing when the first detection unit During instruction, obtain target study notes notes input by user and target gains in depth of comprehension notes are uploaded to the server, institute The label for stating the notes of target study notes includes a target investigation point label.
As an alternative embodiment, in second aspect of the embodiment of the present invention, the client further includes second Detection unit, the server, which further includes, adds in unit and third acquiring unit, wherein:
The second detection unit, for detecting whether receiving input by user for target script correspondence Single topic lteral data learning and communication instruction;
First transmitting element is additionally operable to detect to receive the learning and communication instruction when the second detection unit When, mark acquisition request is sent to the server, the mark obtains request and includes the target investigation point label, the mark Know and obtain request for acquisition request learning and communication group identification, and the label of the learning and communication group identification is examined comprising the target Examine a label;
The third acquiring unit obtains acquisition request for the mark that is sent according to first transmitting element The learning and communication group identification of four preset quantities;
Second transmitting element is additionally operable to the institute of the 4th preset quantity for getting the third acquiring unit It states learning and communication group identification and is sent to the client;
The output unit is additionally operable to export for the 4th preset quantity that second transmitting element is sent Practise exchange group identification;
The second detection unit is additionally operable to detect whether to receive user for the triggering of target learning and communication group identification Request adds in instruction, and the learning and communication group identification of the 4th preset quantity includes the target learning and communication group identification;
First transmitting element is additionally operable to detect that receiving the request adds in instruction when the second detection unit When, it is sent to the server and adds in request, described add in asks to include the target learning and communication group identification and the client Hold preset User Identity;
The addition unit, the addition for being sent according to first transmitting element are asked the user identity Mark is added in the corresponding member identities' identification list of the target learning and communication group identification.
The third aspect of the embodiment of the present invention discloses a kind of client, including:
It is stored with the memory of executable program code;
The processor coupled with the memory;
The processor calls the executable program code stored in the memory, performs the embodiment of the present invention the The part or all of step of client executing disclosed in one side.
Fourth aspect of the embodiment of the present invention discloses a kind of server, including:
It is stored with the memory of executable program code;
The processor coupled with the memory;
The processor calls the executable program code stored in the memory, performs the embodiment of the present invention the The part or all of step of client executing disclosed in one side.
The 5th aspect of the embodiment of the present invention discloses a kind of computer readable storage medium, the computer readable storage medium Program code is stored, wherein, said program code includes any one disclosed in first aspect of the embodiment of the present invention for performing The instruction of the part or all of step of kind method.
The 6th aspect of the embodiment of the present invention discloses a kind of computer program product, when the computer program product is calculating When being run on machine so that the computer performs the part of any one method disclosed in first aspect of the embodiment of the present invention or complete Portion's step.
The aspect of the embodiment of the present invention the 7th disclose a kind of using distribution platform, and the application distribution platform is for described in issuing Computer program product, wherein, when the computer program product is run on computers so that the computer performs sheet The part or all of step of any one method disclosed in inventive embodiments first aspect.
Compared with prior art, the embodiment of the present invention has the advantages that:
In the embodiment of the present invention, client first obtains Target Photo, and can be according to the face of text color and background color Aberration does not identify at least one character area on the Target Photo;Then client generates the corresponding text of each character area Word picture, and all word pictures are sent to server;Further, server is respectively to each word picture into style of writing Word identifying processing obtains lteral data corresponding with each word picture, and according to question number naming rule from each word picture pair At least one question number is identified in the lteral data answered;Then server can be identified according to from each lteral data At least one question number topic division is carried out to each lteral data, obtain at least one single topic word number of each lteral data According to each list inscribes the lteral data that one of topic is included in lteral data;Still further, examination question of the server from the server Script corresponding with each list topic lteral data is matched in library, and each will singly inscribe the corresponding script of lteral data It is sent to client;The corresponding script of each list topic lteral data of client output, browses for user.As it can be seen that implement this Inventive embodiments, by the aberration and question number naming rule of text color and background color automatically to one containing multiple tracks topic Pictures carry out topic division, and carry out examination question matching, Neng Goutong respectively to each single topic lteral data that topic divides When search and take multiple tracks topic, step is simple, simple operation, and topic efficiency is searched so as to improve.
Description of the drawings
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to needed in the embodiment Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present invention, for ability For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 is a kind of flow diagram for searching topic method disclosed by the embodiments of the present invention;
Fig. 2 is the flow diagram that another kind disclosed by the embodiments of the present invention searches topic method;
Fig. 3 is the flow diagram that another kind disclosed by the embodiments of the present invention searches topic method;
Fig. 4 is a kind of structure diagram for searching topic system disclosed by the embodiments of the present invention;
Fig. 5 is the structure diagram that another kind disclosed by the embodiments of the present invention searches topic system;
Fig. 6 is the structure diagram that another kind disclosed by the embodiments of the present invention searches topic system;
Fig. 7 is a kind of structure diagram of client disclosed by the embodiments of the present invention;
Fig. 8 is a kind of structure diagram of server disclosed by the embodiments of the present invention.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.Based on this Embodiment in invention, the every other reality that those of ordinary skill in the art are obtained without making creative work Example is applied, shall fall within the protection scope of the present invention.
It should be noted that term " comprising " and " having " and their any changes in the embodiment of the present invention and attached drawing Shape, it is intended that cover non-exclusive include.Such as contain the process of series of steps or unit, method, system, product or The step of equipment is not limited to list or unit, but optionally further include the step of not listing or unit or optional Ground is further included for the intrinsic other steps of these processes, method, product or equipment or unit.
The embodiment of the present invention discloses one kind and searches topic method and system, can simultaneously scan for multiple tracks topic, and simple operation is promoted Search topic efficiency.It is described in detail separately below.
Embodiment one
Referring to Fig. 1, Fig. 1 is a kind of flow diagram for searching topic method disclosed by the embodiments of the present invention.Wherein, such as Fig. 1 Shown, this is searched topic method and may comprise steps of:
101st, client obtains Target Photo, and the Target Photo is identified according to the color distinction of text color and background color Including at least one character area, and generate the word picture of each character area and send all word picture To server.
In the embodiment of the present invention, client can be that the one kind run on an electronic device searches topic class application program, may be used also To be a kind of dedicated for searching the electronic equipment of topic, the embodiment of the present invention does not limit.The Target Photo that client obtains can be with Be user taken pictures in real time using electronic equipment gained photo or user using electronic equipment carry out shot operation obtained by Picture, can also be picture etc. that gained is downloaded from internet, the embodiment of the present invention is not construed as limiting.
In the embodiment of the present invention, client is by the color distinction of text color and background color to the topic on Target Photo Mesh carries out preliminary topic division, is conducive to promote the accuracy that topic divides, while advantageously reduce subsequent server to each Word picture carries out data calculation amount when accurate topic divides, and reduces the processing time of Text region, improves and search topic Efficiency.
102nd, server handles to obtain text corresponding with each word picture for each word picture progress Text region Digital data, and at least one question number is identified from each lteral data according to question number naming rule.
In the embodiment of the present invention, the question number template form of the question number naming rule can include but is not limited to numerical character The form of (such as Roman number, Chinese figure) mark-on point character (such as pause mark, colon), numerical character add the shape of Chinese bracket Formula etc., such as (1), (2), the embodiment of the present invention does not limit.
103rd, server carries out each lteral data according at least one question number identified from each lteral data Topic divides, and obtains at least one single topic lteral data of each lteral data, a problem is included in each single topic lteral data Purpose lteral data.
It, can be simultaneously on Target Photo by carrying out topic division to lteral data automatically in the embodiment of the present invention Multiple tracks topic carries out script search, and not needing to user, manual frame takes and uploads search one by one to the progress of single topic, is promoted It searches topic efficiency, optimizes user experience.
104th, server matches script corresponding with each list topic lteral data from the test item bank of the server, And each list is inscribed into the corresponding script of lteral data and is sent to client, inscribe word to trigger each list of client output The corresponding script of data.
As it can be seen that implementing the described methods of Fig. 1, pass through text color and the aberration of background color and question number naming rule Automatically the pictures containing multiple tracks topic are carried out with topic division, and each single topic lteral data that topic divides is divided Not carry out examination question matching, can search simultaneously and take multiple tracks topic, step is simple, simple operation, and topic efficiency is searched so as to improve.
Embodiment two
Referring to Fig. 2, Fig. 2 is the flow diagram that another kind disclosed by the embodiments of the present invention searches topic method.Wherein, as schemed Shown in 2, this is searched topic method and may comprise steps of:
201st, client obtains Target Photo.
202nd, Target Photo progress binary conversion treatment is obtained binaryzation picture by client.
In the embodiment of the present invention, client, which carries out Target Photo the binaryzation picture that binary conversion treatment obtains, to be presented Go out and significantly there was only black and white visual effect, be conducive to client and character area is recognized accurately, improve and search the accurate of topic Property and reliability.
As an alternative embodiment, client by Target Photo progress binary conversion treatment obtain binaryzation picture can To include the following steps:
Client carries out gray processing processing to Target Photo, obtains gray scale picture;
Client obtains all gray values of gray scale picture, and is more than or equal to a certain threshold by all in all gray values The gray value of value be adjusted to white gray value and, all gray values less than a certain threshold value in all gray values are adjusted to Black gray value obtains processing picture, as binaryzation picture, wherein, black gray value is 0, and white gray value is 255.
203rd, client obtains the font weight value of the font color of binaryzation picture.
204th, client control presetted pixel window carries out slip scan according to default scanning step to the binaryzation picture Until scanned to all areas of binaryzation picture, and by the real-time gray value in slip scan in presetted pixel window The scanning area for being less than or equal to default differential threshold with the gray scale difference of the font weight value is labeled as candidate character region.
In the embodiment of the present invention, the length in pixels of above-mentioned presetted pixel window is less than or equal to the picture of single alphabetic character Plain length, default scanning step could be provided as half of character length, character length etc., and the embodiment of the present invention does not limit It is fixed.
In the embodiment of the present invention, control presetted pixel window according to default scanning step to the binaryzation picture in client During carrying out slip scan, if the scanning direction of the presetted pixel window is scans from left to right, after line feed, this is pre- If the scanning direction of pixel window can be to scan from left to right, alternatively, the scanning direction of the presetted pixel window can also be from The right side is turned left scanning, and the embodiment of the present invention is not construed as limiting.
As an alternative embodiment, client control presetted pixel window according to default scanning step to this two It, can be by the real-time gray value in slip scan in presetted pixel window and the font during value carries out slip scan The gray scale difference of gray value is more than the scanning area of default differential threshold labeled as non-candidate character area, then when continued labelling two When scanning area is non-candidate character area, will enter a new line scanning automatically, wherein, if Current Scan direction is sweeps from left to right It retouches, then continues to scan from left to right during client line feed scanning.
205th, client merges all candidate character regions that continued labelling obtains, and obtains at least one character area.
In the embodiment of the present invention, implement 202~step 205 of above-mentioned steps, client can be according to text color and background The color distinction of color identifies at least one character area that the Target Photo includes, and is conducive to improve recognition efficiency, is promoted and used It experiences at family.
As an alternative embodiment, the font weight value that client obtains the font color of binaryzation picture can be with Include the following steps:
Client controls presetted pixel window to carry out continuing slip scan to the binaryzation picture according to default scanning step, And obtain the textural characteristics of the real-time region in slip scan in presetted pixel window;
Client judges the textural characteristics of the real-time region with whether matching with default word textural characteristics, if Match, the gray value mean value in the real-time region is obtained, as font weight value.
206th, client generates the word picture of each character area and all word pictures is sent to service Device.
Wherein, this is searched topic method and further includes step 207~209, and for the description of step 207~209, please refers to implementation The detailed description of step 102~104 is directed in example one, the embodiment of the present invention repeats no more.
210th, client detection user instructs for the collection of target script triggering, and will according to collection instruction The corresponding single topic lteral data of target script is puted into collection list, and each single topic lteral data of client output is corresponding Script includes the target script.
In the embodiment of the present invention, which is the original examination question topic corresponding to target script, the knowledge The corresponding knowledge point of point label is the knowledge point that the original examination question topic is investigated.When client detects that user is directed to the mesh When marking the collection instruction of answer triggering, that is, show that user may not grasp the target script, client can obtain the mesh The knowledge point that the corresponding target examination question of mark script includes, user may need to carry out the knowledge point further study and It grasps, client can investigate point label according to the target and push relational learning resource to user at this time, can optimize client Function promotes user experience.
211st, client extracts knowledge point label conduct from the label of the corresponding target examination question of the target script Target investigates point label, and sends examination question searching request to server, which includes the target and investigate point label.
It is corresponding with the original examination question topic comprising original examination question topic in the test item bank of the server in the embodiment of the present invention Script, server can match examination question corresponding with each single topic lteral data from the test item bank of the server and answer Case, wherein, each script matched has the original examination question topic corresponding to it, meanwhile, in the test item bank of server Comprising original examination question topic be preset with label, the label include but not limited to subject label, difficulty label, knowledge point mark Label, fallibility scale label etc., the embodiment of the present invention is not construed as limiting.Above-mentioned target examination question is the original corresponding to target script Beginning examination question topic, the knowledge point label are the knowledge point that the original examination question topic is investigated.
212nd, server searches for the similar of the first preset quantity according to examination question searching request in the test item bank of the server Examination question and the Courseware Resource that the second preset quantity is searched in the Courseware Resource library of the server, the label of the similar examination question Point label is investigated comprising target, the label of the Courseware Resource includes target and investigates point label.
In the embodiment of the present invention, the first preset quantity and the second preset quantity can independently be set by user by client It puts, can also automatically be set, can also independently be set by exploitation and composition personnel according to the pouplarity of a certain resource by client It puts, the embodiment of the present invention is not construed as limiting.
213rd, server is by the similar examination question of the first preset quantity and the name identification of the Courseware Resource of the second preset quantity List is sent to client.
In the embodiment of the present invention, the name identification of the similar examination question of the name identification list including the first preset quantity and the The name identification of the Courseware Resource of two preset quantities.
It can also include the following steps as an alternative embodiment, this searches topic method:
214th, client exports the name identification list, and detects the name identification selection instruction of user's triggering, Yi Jigen It is identified according to the target designation that the name identification selection instruction includes, the corresponding study money of target designation mark is obtained from the server Source simultaneously exports, which identifies including target designation.
In the embodiment of the present invention, target designation mark includes the mesh that user selects as needed from name identification list Mark the name identification of similar examination question and/or the name identification of target Courseware Resource, the education resource include the similar examination question of target and/ Or target Courseware Resource, the learning object repository include but not limited to the test item bank of server and the Courseware Resource library of server.
In the embodiment of the present invention, user can be by learning the similar examination question of the target and/or target Courseware Resource, can be right The target investigates the corresponding knowledge point of point label and is learnt and consolidated, and is conducive to improve learning efficiency, while also improve use It experiences at family.
As it can be seen that implementing the described methods of Fig. 2, text is identified by using the color distinction of text color and background color Block domain can reduce the operand of server Text region, promote recognition efficiency, be conducive to be promoted and search topic efficiency;Energy simultaneously Enough disposably search takes multiple tracks topic, and step is simple, simple operation, improves and searches topic efficiency;It also is able to push to user relevant Similar examination question and Courseware Resource are conducive to improve learning efficiency, optimize client functionality, improve user experience.
Embodiment three
Referring to Fig. 3, Fig. 3 is the flow diagram that another kind disclosed by the embodiments of the present invention searches topic method.Wherein, as schemed Shown in 3, this is searched topic method and may comprise steps of:
301st, client obtains Target Photo, and identifies the target figure according to the color distinction of text color and background color The word picture of at least one character area that piece includes and each character area of generation and by all word pictures It is sent to server.
As an alternative embodiment, client identifies the mesh according to the color distinction of text color and background color The specific embodiment of at least one character area that piece of marking on a map includes is referred to step 202- steps 205 in embodiment two Detailed description.
Wherein, this, which searches topic method, can also include step 302~308, and for the description of step 302~308, please refer to The detailed description of step 207~213 is directed in embodiment two, the embodiment of the present invention repeats no more.
It can also include the following steps as an alternative embodiment, this searches topic method:
309th, other people study notes of server acquisition third preset quantity are taken down notes and are sent to client, other people learn for this The label of gains in depth of comprehension notes includes target and investigates point label.
310th, client exports other people study notes notes of the third preset quantity, is checked for user.
In the embodiment of the present invention, client extracts in the label from the corresponding target examination question of the target script to be known After knowing point label as target investigation point label, can also further it be helped by the way of other people study notes notes are pushed User investigates the target the corresponding knowledge point of point label and is understood and learnt, and is conducive to promote learning efficiency, optimizes user Experience.
311st, client detects whether to receive study notes typing instruction of the user for target script triggering, If receiving study notes typing instruction, step 312 is performed;If not receiving study notes typing instruction, terminate This flow.
312nd, client obtains target study notes notes input by user and target gains in depth of comprehension notes is uploaded to the clothes Business device, the label of target study notes notes include the target and investigate a point label.
In the embodiment of the present invention, step 307~step 308 can be happened at before step 309~step 312, step 307 ~step 308 can also be happened at after step 309~step 312, and the embodiment of the present invention is not construed as limiting.
In the embodiment of the present invention, after other people study notes notes have been learnt by client, user can pass through visitor Family end records the target study notes notes of oneself in time, contributes to the understanding and grasp to the knowledge point, also helps to this The review and consolidation of knowledge point, while user can upload the target study notes notes of oneself by client, if the mesh It marks study notes and takes down notes vicious place, other people can be to the target study notes pen when browsing to target gains in depth of comprehension notes Vicious place is commented in note, and subsequent user can receive other people and the comment that the target gains in depth of comprehension are taken down notes is reminded, together When can by client according to the comment prompting reply exchange is carried out to the comment, reason of the user to the knowledge point can be promoted Solution and grasp are conducive to promote learning efficiency, optimize user experience.
It can also include the following steps as an alternative embodiment, this searches topic method:
Client detects whether that receiving the target script corresponding list input by user that is directed to inscribes lteral data Learning and communication instructs;
If detecting to receive learning and communication instruction, client sends mark to the server and obtains request, the mark Know to obtain and ask to include a target investigation point label, which obtains request and be used for acquisition request learning and communication group identification, and The label for practising exchange group identification includes a target investigation point label;
Server obtains the learning and communication group identification of the 4th preset quantity of acquisition request according to mark, and the 4th is preset The learning and communication group identification of quantity is sent to client;
Client exports the learning and communication group identification of the 4th preset quantity, and detects whether to receive user for target The request for practising exchange group identification triggering adds in instruction, and the learning and communication group identification of the 4th preset quantity includes target learning and communication Group identification;
If detecting that receiving the request adds in instruction, user end to server, which is sent, adds in request, addition request Including target learning and communication group identification and the preset User Identity of client;
User Identity is added to the corresponding member's body of target learning and communication group identification by server according to request is added in In part identification list.
It should be noted that can be happened at client corresponding from the target script for above-mentioned optional implementation steps Knowledge point label is extracted in the label of target examination question as the random time after target investigation point label, the embodiment of the present invention It is not construed as limiting.
In the embodiment of the present invention, third preset quantity and the 4th preset quantity can independently be set by user by client It puts, quantity can also be set automatically according to the pouplarity of a certain resource by client, can also be set by exploitation and composition personnel It puts, the embodiment of the present invention is not construed as limiting.
In the embodiment of the present invention, by user using client and target learning and communication group group members to target examination question into Row discusses in real time, and user is contributed to carry out further learning and understanding, while can be real-time to the knowledge point do not grasped User is solved to the doubt point of the target script, improves learning efficiency.
In the embodiment of the present invention, when user is not inconsistent by the script that single topic lteral data that client inputs matches When sharing the requirement at family, i.e., when not matching the script to match with the monomer lteral data, user can also pass through visitor The triggering of family end is instructed for the learning and communication of object knowledge point, which can be that user is manually selected by client Knowledge point label corresponding to knowledge point.Then it can browse on the client and the relevant study of object knowledge point Group identification is exchanged, further, user can trigger the request addition instruction for target learning and communication group by client, most The addition that server can be sent according to client afterwards asks User Identity being added to target learning and communication group identification pair In the member identities' identification list answered, user singly can inscribe word by the group members of client and target learning and communication group to this Data are discussed in real time, are conducive to that user is helped to learn and understand the corresponding topic of list topic lteral data.
As it can be seen that the described method of implementing Fig. 3, can disposably search and take multiple tracks topic, step is simple, and simple operation carries It has risen and has searched topic efficiency;It also is able to push the similar examination question of relevant target, target Courseware Resource and other people study notes to user Notes, are conducive to improve learning efficiency;Meanwhile user can also be by the group members of client and target learning and communication group to mesh Mark examination question is discussed solve doubt point of the user to the target script in real time, improve learning efficiency in real time, is optimized Client functionality, improves user experience.
Example IV
Referring to Fig. 4, Fig. 4 is a kind of structure diagram for searching topic system disclosed by the embodiments of the present invention.Wherein, such as Fig. 4 Shown, which can include client 40 and server 50, and client 40 includes first acquisition unit 401, region recognition list First 402, first transmitting element 403 and output unit 404, server 50 include word recognition unit 501, topic division unit 502nd, 503 and second transmitting element 504 of examination question matching unit, wherein:
First acquisition unit 401 for obtaining Target Photo, and triggers starting region recognition unit 402.
Region identification block 402, for identifying first acquisition unit according to the color distinction of text color and background color At least one character area that 401 Target Photos got include.
First transmitting element 403, the word of each character area gone out for the identification of formation zone recognition unit 402 402 Picture and all word pictures are sent to server 50.
In the embodiment of the present invention, by region identification block 402 according to the color distinction pair of text color and background color Topic on Target Photo carries out preliminary topic division, is conducive to promote the accuracy that topic divides, while after advantageously reducing Continuous server carries out each word picture data operation quantity when accurate topic divides, when reducing the processing of Text region Between, it improves and searches topic efficiency.
Word recognition unit 501 handles to obtain and each word figure for being directed to each word picture progress Text region The corresponding lteral data of piece, and at least one question number is identified from each lteral data according to question number naming rule.
Topic division unit 502, for according at least one question number for being identified from each lteral data to each text Digital data carries out topic division, at least one single topic lteral data of each lteral data is obtained, each in single topic lteral data Include the lteral data of one of topic.
In the embodiment of the present invention, topic division is carried out to lteral data by topic division unit 502 automatically, it can be simultaneously Script search is carried out to the multiple tracks topic on Target Photo, not needing to user, manual frame takes simultaneously one by one to the progress of single topic Search is uploaded, improves and searches topic efficiency, optimize user experience.
Examination question matching unit 503, it is corresponding with each single topic lteral data for being matched from the test item bank of server 50 Script.
Second transmitting element 504, for the corresponding examination of each list topic lteral data for matching examination question matching unit 503 Topic answer is sent to client 40.
Output unit 404 is answered for exporting each single corresponding examination question of lteral data of inscribing that the second transmitting element 504 is sent Case.
In the embodiment of the present invention, the first transmitting element 403 by all word pictures after server 50 is sent to, also Output unit 404 can be triggered and detect whether that each single topic lteral data for receiving the transmission of the second transmitting element 504 is corresponding Script;If detecting that each list for receiving the transmission of the second transmitting element 504 inscribes the corresponding script of lteral data, Output unit 404 will export each list and inscribe the corresponding script of lteral data.
As it can be seen that implementing the described systems of Fig. 4, pass through text color and the aberration of background color and question number naming rule Automatically the pictures containing multiple tracks topic are carried out with topic division, and each single topic lteral data that topic divides is divided Not carry out examination question matching, can search simultaneously and take multiple tracks topic, step is simple, simple operation, and topic efficiency is searched so as to improve, optimization User experience.
Embodiment five
Referring to Fig. 5, Fig. 5 is a kind of structure diagram for searching topic system disclosed by the embodiments of the present invention.Wherein, Fig. 5 institutes The system shown is arriving of optimizing of system as shown in Figure 4.In system shown in Fig. 5, region identification block 402 is wrapped It includes:
First subelement 4021, for Target Photo progress binary conversion treatment to be obtained binaryzation picture;And it obtains and is somebody's turn to do The font weight value of the font color of binaryzation picture.
Second subelement 4022, for presetted pixel window to be controlled to be carried out according to default scanning step to the binaryzation picture Slip scan, and will be in slip scan in the presetted pixel window until scanned to all areas of the binaryzation picture Real-time gray value and the gray scale difference of font weight value that gets of the first subelement 4021 be less than or equal to default difference threshold The scanning area of value is labeled as candidate character region;And merge the obtained all candidate character regions of continued labelling, obtain to A few character area.
As an alternative embodiment, client 40 further includes collection unit 405 and tag extraction unit 406, clothes Business device 50 further includes search unit 505, wherein:
Unit 405 is collected, is referred to for detecting user for the collection of target script triggering that output unit 404 exports It enables, and the corresponding single topic lteral data of target script is puted into collection list according to collection instruction, output unit 404 is defeated The corresponding script of each list topic lteral data gone out includes target script.
Tag extraction unit 406, for extracting knowledge from the label of the corresponding target examination question of the target script Point label investigates point label, and send examination question searching request to server 50 as target, which includes target Investigate point label.
Search unit 505, for according to the examination question searching request that tag extraction unit 406 is sent the server 50 examination The similar examination question of the first preset quantity is searched in exam pool and searches for the second present count in the Courseware Resource library of the server 50 The Courseware Resource of amount, the label of the similar examination question include target and investigate point label, and the label of the Courseware Resource is investigated comprising target Point label.
Second transmitting element 504 is additionally operable to the similar examination question and for the first preset quantity for searching search unit 505 The name identification list of the Courseware Resource of two preset quantities is sent to client 40, which includes the first present count The name identification of the name identification of the similar examination question of amount and the Courseware Resource of the second preset quantity.
Output unit 404 is additionally operable to the name identification list that the second transmitting element 504 of output is sent, and detects user and touch The name identification selection instruction of hair and the target designation mark included according to the name identification selection instruction, from server 50 Learning object repository in obtain the target designation and identify corresponding education resource and export, which includes destination name Claim mark.
In the embodiment of the present invention, target designation mark includes the mesh that user selects as needed from name identification list Mark the name identification of similar examination question and/or the name identification of target Courseware Resource, the education resource include the similar examination question of target and/ Or target Courseware Resource, the learning object repository include but not limited to the test item bank of server 50 and the Courseware Resource of server 50 Library.
As it can be seen that implementing the described systems of Fig. 5, can know by using the color distinction of text color and background color Other character area reduces the operand of 50 Text region of server, improves recognition efficiency, advantageously reduce the time for searching topic; It can disposably search simultaneously and take multiple tracks topic, step is simple, simple operation, improves and searches topic efficiency;It also is able to push to user Relevant similar examination question and Courseware Resource, are conducive to improve learning efficiency, optimize client functionality, improve user experience Degree.
Embodiment six
Referring to Fig. 6, Fig. 6 is a kind of structure diagram for searching topic system disclosed by the embodiments of the present invention.Wherein, Fig. 6 institutes The system shown is arriving of optimizing of system as shown in Figure 5.In system shown in fig. 6, client 40 further includes the first inspection Unit 407 is surveyed, server 50 further includes second acquisition unit 506, wherein:
Second acquisition unit 506, other people study notes for obtaining third preset quantity are taken down notes and are sent to client 40, the label of other people the study notes notes includes target and investigates point label.
In the embodiment of the present invention, search unit 505 receive tag extraction unit 406 transmission examination question searching request it Afterwards, the target included in the examination question searching request can also be sent to second acquisition unit 506 and investigates point label, to trigger second Other people study notes that acquiring unit 506 obtains third preset quantity are taken down notes, which includes mesh Mark investigates point label.
Output unit 404 is additionally operable to other people study notes of third preset quantity that output second acquisition unit 506 is sent Notes, are checked for user.
In the embodiment of the present invention, in tag extraction unit 406 from the label of the corresponding target examination question of the target script In extract after knowledge point label investigates point label as target, client 40 can also use and push other people study notes pens The mode of note further helps user to understand and learn the corresponding knowledge point of target investigation point label, and user can lead to Cross other people study notes notes of the third preset quantity of the output of output unit 404 to relevant similar examination question and Courseware Resource into Row further learns and understands, is conducive to promote learning efficiency, optimizes user experience.
In the embodiment of the present invention, output unit 404 is after other people study notes notes of output third preset quantity, also First detection unit 407 can be triggered and detect whether that receive user refers to for the study notes typing of target script triggering It enables.
First detection unit 407, other people study notes for exporting third preset quantity in output unit 404 take down notes it Afterwards, it detects whether to receive study notes typing instruction of the user for target script triggering, if detecting to receive The study notes typing instructs, and triggering first acquisition unit 401 performs corresponding operation.
First acquisition unit 401 is additionally operable to detect to receive study notes typing instruction when first detection unit 407 When, it obtains target study notes notes input by user and target gains in depth of comprehension notes is uploaded to server 50, target study The label of gains in depth of comprehension notes includes target and investigates point label.
In the embodiment of the present invention, after other people study notes notes have been learnt by client 40, user can pass through First acquisition unit 401 records the target study notes notes of oneself in time, contributes to the understanding and grasp to the knowledge point, also Be conducive to the review and consolidation to the knowledge point, while user can upload the target of oneself by first acquisition unit 401 Gains in depth of comprehension notes are practised, if the target study notes take down notes vicious place, other people can when browsing to target gains in depth of comprehension notes To comment on vicious place in target study notes notes, subsequent user can receive other people to the target heart The comment that must be taken down notes is reminded, while can carry out reply exchange to the comment according to comment prompting by client 40, can Promote understanding and grasp of the user to the knowledge point, be conducive to promote learning efficiency, optimize user experience.
As an alternative embodiment, client 40 further includes second detection unit 408, server 50 further includes Three acquiring units 507 and addition unit 508, wherein:
Second detection unit 408, for detecting whether receiving input by user corresponding for the target script The learning and communication of single topic lteral data instructs, if detecting to receive learning and communication instruction, triggering starts first and sends list Member 403.
In the embodiment of the present invention, output unit 404 is after the corresponding script of each list topic lteral data of output, also It can trigger and start second detection unit 408.
First transmitting element 403 is additionally operable to when second detection unit 408 detects to receive learning and communication instruction, Mark is sent to server 50 and obtains request, and mark acquisition request includes target and investigates point label, which, which obtains, asks to use In acquisition request learning and communication group identification, and the label of the learning and communication group identification includes target and investigates point label.
Third acquiring unit 507, it is default that the mark for being sent according to the first transmitting element 403 obtains acquisition request the 4th The learning and communication group identification of quantity.
Second transmitting element 504 is additionally operable to the learning and communication of the 4th preset quantity for getting third acquiring unit 507 Group identification is sent to client 40.
Output unit 404 is additionally operable to the learning and communication group of the 4th preset quantity mark that the second transmitting element 504 of output is sent Know.
Second detection unit 408 is additionally operable to detect whether to receive user for the triggering of target learning and communication group identification Request adds in instruction, and the learning and communication group identification of the 4th preset quantity includes target learning and communication group identification, if detected It receives the request and adds in instruction, triggering starts the first transmitting element 403.
First transmitting element 403 is additionally operable to when second detection unit 408 detects that receiving the request adds in instruction, It is sent to server 50 and adds in request, addition request includes 40 preset user's body of target learning and communication group identification and client Part mark.
Unit 508 is added in, User Identity is added to by the addition request for being sent according to the first transmitting element 403 In the corresponding member identities' identification list of target learning and communication group identification.
In the embodiment of the present invention, the second transmitting element 504 is sent to by the learning and communication group identification of the 4th preset quantity After client 40, addition unit 508 can also be triggered and detect whether that the addition for receiving the transmission of the first transmitting element 403 please It asks;If the addition for detecting to receive the transmission of the first transmitting element 403 is asked, adding in unit 508 can be by user identity mark Knowledge is added in the corresponding member identities' identification list of target learning and communication group identification.
In the embodiment of the present invention, user can be by the group members of client 40 and target learning and communication group to target examination question Answer is discussed in real time, helps to carry out the corresponding knowledge point of target script further to learn and understand, together When can solve doubt point of the user to the target script in real time, improve learning efficiency, and user can also pass through visitor Family end 40 and the group members of target learning and communication group discuss list topic lteral data in real time, are conducive to help user to this Single corresponding topic of lteral data of inscribing is learnt and is understood.
As it can be seen that implementing the described systems of Fig. 6, it can disposably search and take multiple tracks topic, step is simple, and simple operation carries It has risen and has searched topic efficiency;It also is able to take down notes to the relevant similar examination question of user's push, Courseware Resource and other people study notes, favorably In improving learning efficiency;Meanwhile user can also be by the group members of client 40 and target learning and communication group to target examination question Discussed solve doubt point of the user to the target script in real time, improve learning efficiency, optimize client in real time Function is held, improves user experience.
Referring to Fig. 7, Fig. 7 is a kind of structure diagram of client disclosed by the embodiments of the present invention.It as shown in fig. 7, should Client can include:
It is stored with the memory 601 of executable program code;
The processor 602 coupled with memory 601;
Wherein, processor 602 calls the executable program code stored in memory 601, performs Fig. 1~Fig. 3 clients The part or all of step performed.
Referring to Fig. 8, Fig. 8 is a kind of structure diagram of server disclosed by the embodiments of the present invention.It as shown in figure 8, should Server can include:
It is stored with the memory 701 of executable program code;
The processor 702 coupled with memory 701;
Processor 702 calls the executable program code stored in memory 701, performs what Fig. 1~Fig. 3 servers performed Part or all of step.
The embodiment of the present invention discloses a kind of computer readable storage medium, stores computer program, wherein, the computer Program causes computer to perform the part or all of step of Fig. 1~Fig. 3.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage Medium include read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), programmable read only memory (Programmable Read-only Memory, PROM), erasable programmable is read-only deposits Reservoir (Erasable Programmable Read Only Memory, EPROM), disposable programmable read-only memory (One- Time Programmable Read-Only Memory, OTPROM), the electronics formula of erasing can make carbon copies read-only memory (Electrically-Erasable Programmable Read-Only Memory, EEPROM), CD-ROM (Compact Disc Read-Only Memory, CD-ROM) or other disk storages, magnetic disk storage, magnetic tape storage or can For carrying or storing any other computer-readable medium of data.
It should be understood that " one embodiment " or " embodiment " that specification is mentioned in the whole text mean it is related with embodiment A particular feature, structure, or characteristic is included at least one embodiment of the present invention.Therefore, occur everywhere in the whole instruction " in one embodiment " or " in one embodiment " not necessarily refer to identical embodiment.In addition, these special characteristics, structure Or characteristic can in any suitable manner combine in one or more embodiments.Those skilled in the art should also know, Embodiment described in this description belongs to alternative embodiment, and not necessarily the present invention must for involved action and module Must.
In various embodiments of the present invention, it should be appreciated that the size of the serial number of above-mentioned each process is not meant to perform suitable The inevitable priority of sequence, the execution sequence of each process should be determined with its function and internal logic, without coping with the embodiment of the present invention Implementation process forms any restriction.
In addition, the terms " system " and " network " are often used interchangeably herein.It should be understood that the terms "and/or", only a kind of incidence relation for describing affiliated partner, expression may have three kinds of relationships, such as A and/or B, can To represent:Individualism A exists simultaneously A and B, these three situations of individualism B.In addition, character "/" herein, typicallys represent Forward-backward correlation object is a kind of relationship of "or".
In embodiment provided by the present invention, it should be appreciated that " B corresponding with A " represents that B is associated with A, can be with according to A Determine B.It is also to be understood that determine that B is not meant to determine B only according to A according to A, it can also be according to A and/or other information Determine B.
The above-mentioned unit illustrated as separating component may or may not be physically separate, be shown as unit The component shown may or may not be physical unit, you can positioned at a place or can also be distributed to multiple nets On network unit.Part or all of unit therein can be selected according to the actual needs to realize the purpose of this embodiment scheme.
In addition, each functional unit in various embodiments of the present invention can be integrated in a processing unit or Each unit is individually physically present, can also two or more units integrate in a unit.Above-mentioned integrated unit Both the form that hardware may be used is realized, can also be realized in the form of SFU software functional unit.
If above-mentioned integrated unit realized in the form of SFU software functional unit and be independent product sale or in use, It can be stored in a retrievable memory of computer.Based on such understanding, technical scheme of the present invention substantially or Person says all or part of of the part contribute to the prior art or the technical solution, can be in the form of software product It embodies, which is stored in a memory, including several requests with so that a computer is set Standby (can be personal computer, server or network equipment etc., can be specifically the processor in computer equipment) performs The part or all of step of each embodiment above method of the present invention.
Topic method and system are searched to one kind disclosed by the embodiments of the present invention above to be described in detail, it is used herein Specific case is expounded the principle of the present invention and embodiment, and the explanation of above example is only intended to help to understand this The method and its core concept of invention;Meanwhile for those of ordinary skill in the art, thought according to the present invention, specific There will be changes in embodiment and application range, in conclusion the content of the present specification should not be construed as to the present invention's Limitation.

Claims (10)

1. one kind searches topic method, which is characterized in that the method includes:
Client obtains Target Photo, identifies what the Target Photo included according to the color distinction of text color and background color At least one character area, and generate the word picture of each character area and send out all word pictures It send to server;
The server handles to obtain corresponding with each word picture for each word picture progress Text region Lteral data, and at least one question number is identified from each lteral data according to question number naming rule;
The server is according at least one question number identified from each lteral data to each lteral data Topic division is carried out, obtains at least one single topic lteral data of each lteral data, each single topic lteral data In the lteral data comprising one topic;
The server matches examination question corresponding with each single topic lteral data from the test item bank of the server and answers Case, and each list is inscribed into the corresponding script of lteral data and is sent to the client, it is defeated to trigger the client Go out the corresponding script of each list topic lteral data.
2. according to the method described in claim 1, it is characterized in that, the client is according to the face of text color and background color Aberration does not identify at least one character area that the Target Photo includes, including:
Target Photo progress binary conversion treatment is obtained binaryzation picture by the client;
The client obtains the font weight value of the font color of the binaryzation picture;
The client control presetted pixel window is straight to binaryzation picture progress slip scan according to default scanning step It is extremely scanned to all areas of the binaryzation picture, and will be real-time in presetted pixel window described in slip scan Gray value and the gray scale difference of the font weight value are less than or equal to the scanning area of default differential threshold labeled as candidate text Block domain;
The client merges all candidate character regions that continued labelling obtains, and obtains at least one character area.
3. according to the method described in claim 1, it is characterized in that, the method further includes:
The client detection user is directed to the collection instruction of target script triggering, and according to the collection instruction by described in The corresponding single topic lteral data of target script is puted into collection list, each single topic word number of the client output Include the target script according to corresponding script;
The client extracts knowledge point label as mesh from the label of the corresponding target examination question of the target script Mark investigates point label, and sends examination question searching request to the server, and the examination question searching request is investigated including the target Point label;
The server searches for the phase of the first preset quantity according to the examination question searching request in the test item bank of the server The Courseware Resource of the second preset quantity, the similar examination question are searched for like examination question and in the Courseware Resource library of the server Label include the target and investigate a point label, the label of the Courseware Resource includes the target and investigates a point label;
The server provides the similar examination question of first preset quantity and the courseware of second preset quantity The name identification list in source is sent to the client, and the name identification list includes the phase of first preset quantity Like the name identification of the Courseware Resource of the name identification and second preset quantity of examination question;
The client exports the name identification list, and detect user's triggering name identification selection instruction and according to The target designation mark that the name identification selection instruction includes, obtains the target from the learning object repository of the server The corresponding education resource of name identification simultaneously exports, and the name identification list is identified including the target designation, the destination name Mark is claimed to include the name identification and/or mesh of the similar examination question of target that user selects as needed from the name identification list The name identification of Courseware Resource is marked, the education resource includes the similar examination question of the target and/or the target Courseware Resource, institute It states learning object repository and includes but not limited to the test item bank of the server and the Courseware Resource library of the server.
4. according to the method described in claim 3, it is characterized in that, the method further includes:
Other people study notes that the server obtains third preset quantity are taken down notes and are sent to the client, and described other people learn The label for practising gains in depth of comprehension notes includes a target investigation point label;
Other people study notes that the client exports the third preset quantity are taken down notes, and are checked for user;
The client detects whether that receive user instructs for the study notes typing of target script triggering, such as Fruit receives study notes typing instruction, obtains target study notes notes input by user and by the target gains in depth of comprehension pen Note is uploaded to the server, and the label of the target study notes notes includes the target and investigates point label.
5. according to the method described in claim 3, it is characterized in that, the method further includes:
The client detects whether to receive input by user for the corresponding single topic lteral data of the target script Learning and communication instruction, if received, to the server send mark obtain request, it is described mark obtain request include institute It states target and investigates point label, the mark, which obtains, asks for acquisition request learning and communication group identification, and the learning and communication group The label of mark includes the target and investigates point label;
The server obtains the learning and communication group identification of the 4th preset quantity of acquisition request according to the mark, and by institute The learning and communication group identification for stating the 4th preset quantity is sent to the client;
The client exports the learning and communication group identification of the 4th preset quantity, and detects whether to receive user's needle Instruction, the learning and communication group identification packet of the 4th preset quantity are added in the request of target learning and communication group identification triggering Include the target learning and communication group identification;
If detecting that the request adds in instruction, the client is sent to the server adds in request, and the addition please It asks including the target learning and communication group identification and the preset User Identity of the client;
The server asks the User Identity being added to the target learning and communication group identification according to described add in In corresponding member identities' identification list.
6. one kind searches topic system, which is characterized in that including client and server, the client include first acquisition unit, Region identification block, the first transmitting element and output unit, the server include word recognition unit, topic division unit, Examination question matching unit and the second transmitting element, wherein:
The first acquisition unit for obtaining Target Photo, and triggers and starts the region identification block;
The region identification block, for identifying the first acquisition unit according to the color distinction of text color and background color At least one character area that the Target Photo got includes;
First transmitting element, for the word picture that generates each character area and by all words Picture is sent to the server;
The word recognition unit handles to obtain and each text for being directed to each word picture progress Text region The corresponding lteral data of word picture, and at least one topic is identified from each lteral data according to question number naming rule Number;
The topic division unit, for according at least one question number for being identified from each lteral data to each institute It states lteral data and carries out topic division, obtain at least one single topic lteral data of each lteral data, each list Inscribe the lteral data that one of topic is included in lteral data;
The examination question matching unit, for being matched from the test item bank of the server and each single topic lteral data pair The script answered;
Second transmitting element, it is corresponding for each list that the examination question matching unit matches to be inscribed lteral data Script is sent to the client;
The output unit inscribes the corresponding examination question of lteral data for exporting each list that second transmitting element is sent Answer.
7. system according to claim 6, which is characterized in that the region identification block includes:
First subelement, for Target Photo progress binary conversion treatment to be obtained binaryzation picture;And obtain described two The font weight value of the font color of value picture;
Second subelement is swept for presetted pixel window to be controlled to the binaryzation picture slide according to default scanning step It retouches up to scanned to all areas of the binaryzation picture, and will be in presetted pixel window described in slip scan Real-time gray value is less than or equal to default difference with the gray scale difference of the font weight value that first subelement is got The scanning area of threshold value is labeled as candidate character region;And merge all candidate character regions that continued labelling obtains, it obtains At least one character area.
8. system according to claim 6, which is characterized in that the client further includes collection unit and tag extraction list Member, the server further include search unit, wherein:
The collection unit for detecting collection instruction of the user for target script triggering, and refers to according to the collection Enable and the corresponding single topic lteral data of the target script puted into collection list, the output unit output it is each described The corresponding script of list topic lteral data includes the target script;
The tag extraction unit, for extracting knowledge point from the label of the corresponding target examination question of the target script Label investigates point label, and send examination question searching request to the server as target, and the examination question searching request includes institute It states target and investigates point label;
Described search unit, for the examination question searching request that is sent according to the tag extraction unit in the server The similar examination question of the first preset quantity is searched in test item bank and second is searched in the Courseware Resource library of the server and is preset The Courseware Resource of quantity, the label of the similar examination question include the target and investigate point label, the label packet of the Courseware Resource Point label is investigated containing the target;
Second transmitting element is additionally operable to the similar examination question of first preset quantity and second preset quantity The name identification list of the Courseware Resource be sent to the client, it is default that the name identification list includes described first The name identification of the name identification of the similar examination question of quantity and the Courseware Resource of second preset quantity;
The output unit is additionally operable to export the name identification list that second transmitting element is sent, and detect user The name identification selection instruction of triggering and the target designation included according to the name identification selection instruction identify, from described The target designation is obtained in the learning object repository of server to identify corresponding education resource and export, the name identification list It is identified including the target designation, the name identification list is identified including the target designation, the target designation mark packet Include the name identification for the similar examination question of target that user selects as needed from the name identification list and/or target courseware money The name identification in source, the education resource include the similar examination question of the target and/or the target Courseware Resource, the study money Source library includes but not limited to the test item bank of the server and the Courseware Resource library of the server.
9. system according to claim 8, which is characterized in that the client further includes first detection unit, the clothes Business device further includes second acquisition unit, wherein:
The second acquisition unit, other people study notes for obtaining third preset quantity are taken down notes and are sent to the client End, the label of other people the study notes notes include the target and investigate point label;
The output unit, be additionally operable to export the third preset quantity that the second acquisition unit is sent it is described other people learn Gains in depth of comprehension notes are practised, are checked for user;
The first detection unit, for exporting other people study notes described in the third preset quantity in the output unit After notes, detect whether to receive study notes typing instruction of the user for target script triggering;
The first acquisition unit is additionally operable to detect to receive the study notes typing instruction when the first detection unit When, it obtains target study notes notes input by user and target gains in depth of comprehension notes is uploaded to the server, the mesh The label for marking study notes notes includes a target investigation point label.
10. system according to claim 8, which is characterized in that the client further includes second detection unit, the clothes Business device, which further includes, adds in unit and third acquiring unit, wherein:
The second detection unit, for detecting whether receiving input by user for the corresponding list of the target script Inscribe the learning and communication instruction of lteral data;
First transmitting element is additionally operable to when the second detection unit detects to receive the learning and communication instruction, Mark acquisition request is sent to the server, the mark obtains request and includes the target investigation point label, the mark Request is obtained for acquisition request learning and communication group identification, and the label of the learning and communication group identification is investigated comprising the target Point label;
The third acquiring unit, it is pre- that the mark for being sent according to first transmitting element obtains acquisition request the 4th If the learning and communication group identification of quantity;
Second transmitting element is additionally operable to of the 4th preset quantity for getting the third acquiring unit It practises exchange group identification and is sent to the client;
The output unit, the study for being additionally operable to export the 4th preset quantity that second transmitting element is sent are handed over Flow group identification;
The second detection unit is additionally operable to detect whether to receive the request that user is directed to the triggering of target learning and communication group identification Instruction is added in, the learning and communication group identification of the 4th preset quantity includes the target learning and communication group identification;
First transmitting element is additionally operable to when the second detection unit detects that receiving the request adds in instruction, It is sent to the server and adds in request, the addition request includes the target learning and communication group identification and the client is pre- If User Identity;
The addition unit, the addition for being sent according to first transmitting element are asked the User Identity It is added in the corresponding member identities' identification list of the target learning and communication group identification.
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 true CN108197300A (en) 2018-06-22
CN108197300B 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)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109710750A (en) * 2019-01-23 2019-05-03 广东小天才科技有限公司 One kind searching topic method and facility for study
CN109785691A (en) * 2019-01-18 2019-05-21 广东小天才科技有限公司 A kind of method and system by terminal assisted learning
CN111027537A (en) * 2019-05-05 2020-04-17 广东小天才科技有限公司 Question searching method and electronic equipment
CN111177441A (en) * 2019-12-11 2020-05-19 广东小天才科技有限公司 Question searching method and electronic equipment
CN111563498A (en) * 2020-04-30 2020-08-21 广东小天才科技有限公司 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 广东小天才科技有限公司 The method for pushing of a kind of script and device
CN106372126A (en) * 2016-08-24 2017-02-01 广东小天才科技有限公司 Photography-based question search method and apparatus

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 广东小天才科技有限公司 The method for pushing of a kind of script and device
CN106372126A (en) * 2016-08-24 2017-02-01 广东小天才科技有限公司 Photography-based question search method and apparatus

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
罗笑玲等: "基于多分类器集成的图像文字识别技术及其应用研究", 《软件》 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109785691A (en) * 2019-01-18 2019-05-21 广东小天才科技有限公司 A kind of method and system by terminal assisted learning
CN109785691B (en) * 2019-01-18 2021-09-24 广东小天才科技有限公司 Method and system for assisting learning through terminal
CN109710750A (en) * 2019-01-23 2019-05-03 广东小天才科技有限公司 One kind searching topic method and facility for study
CN111027537A (en) * 2019-05-05 2020-04-17 广东小天才科技有限公司 Question searching method and electronic equipment
CN111027537B (en) * 2019-05-05 2024-03-22 广东小天才科技有限公司 Question searching method and electronic equipment
CN111177441A (en) * 2019-12-11 2020-05-19 广东小天才科技有限公司 Question searching method and electronic equipment
CN111177441B (en) * 2019-12-11 2023-04-25 广东小天才科技有限公司 Question searching method and electronic equipment
CN111563498A (en) * 2020-04-30 2020-08-21 广东小天才科技有限公司 Method and device for collecting questions, electronic equipment and storage medium
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

Also Published As

Publication number Publication date
CN108197300B (en) 2020-10-16

Similar Documents

Publication Publication Date Title
CN108197300A (en) One kind searches topic method and system
US8930360B2 (en) System and method for online handwriting recognition in web queries
US20140040228A1 (en) Displaying browse sequence with search results
CN109817046A (en) A kind of study householder method and private tutor's equipment based on private tutor's equipment
CN110362714A (en) The searching method and device of video content
CN109408821B (en) Corpus generation method and device, computing equipment and storage medium
CN108959586A (en) Text vocabulary is identified in response to visual query
CN106325688A (en) Text processing method and device
CN109726712A (en) Character recognition method, device and storage medium, server
CN108846091A (en) Information recommended method, device and equipment
CN107516235A (en) Commodity preference predictor method and device
CN105893484A (en) Microblog Spammer recognition method based on text characteristics and behavior characteristics
CN106846961A (en) The treating method and apparatus of electronic test paper
CN108694325B (en) Method and device for identifying specified type of website
CN103984747B (en) Method and device for screen information processing
CN105512224A (en) Search engine user satisfaction automatic assessment method based on cursor position sequence
CN106547803A (en) The method and apparatus for crawling website incremental resource
CN113010657B (en) Answer processing method and answer recommendation method based on answer text
CN110147434A (en) A kind of information processing method and electronic equipment
CN108093032A (en) A kind of control method and client of answer lock
CN109949175B (en) User attribute inference method based on collaborative filtering and similarity measurement
US20220253503A1 (en) Generating interactive screenshot based on a static screenshot
CN103793444B (en) Method for acquiring user requirements
CN111382383A (en) Method, device, medium and computer equipment for determining sensitive type of webpage content
CN108171074A (en) One kind is based on the associated Web trackings automatic testing method of content

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