[go: up one dir, main page]

CN106844638A - Information retrieval method, device and electronic equipment - Google Patents

Information retrieval method, device and electronic equipment Download PDF

Info

Publication number
CN106844638A
CN106844638A CN201710045053.9A CN201710045053A CN106844638A CN 106844638 A CN106844638 A CN 106844638A CN 201710045053 A CN201710045053 A CN 201710045053A CN 106844638 A CN106844638 A CN 106844638A
Authority
CN
China
Prior art keywords
information
search
search terms
module
index
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
CN201710045053.9A
Other languages
Chinese (zh)
Other versions
CN106844638B (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.)
Hangzhou Huishu Zhitong Technology Co ltd
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201710045053.9A priority Critical patent/CN106844638B/en
Publication of CN106844638A publication Critical patent/CN106844638A/en
Application granted granted Critical
Publication of CN106844638B publication Critical patent/CN106844638B/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/903Querying

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a kind of information retrieval method, device and electronic equipment.By obtaining keyword, keyword is combined and obtains multiple queries index, inquiry dictionary is set up by the search index, the inquiry dictionary includes multiple search indexes, after the search terms for receiving user input, search terms is carried out into matching inquiry, display information corresponding higher than the search index of preset value with the matching degree of search terms and the information being associated with described information with the search index in inquiry dictionary.The present invention builds the mapping relations between search terms and Query Result by setting up inquiry dictionary, being capable of the more efficient answer for accurately providing search.

Description

Information retrieval method, device and electronic equipment
Technical field
The present invention relates to areas of information technology, in particular to a kind of information retrieval method, device and electronic equipment.
Background technology
With developing rapidly for information technology, various data are all able to collection storage, so as to form the number of various magnanimity According to source, such as the production environment data of various sensor real time records in industrial and agricultural production;Booming internet electronic business The various transaction record data that business transaction is produced;For the various figures that the camera in the fields such as public safety and traffic monitoring is produced As data etc., these data are becoming more and more huger.And these have been produced and the data that produce often can be with For the various decision-makings of the mankind provide reference guide, such as the data various related to company management of information departments' collection of enterprise Reference can be provided for the business decision of enterprise;The Various types of data such as various residents, traffic, the safety that public administrative departments are collected are then Reference can be provided for government department's Optimal Decision-making;The related data of the health such as electronic health record that hygiene department of hospital produces can be with For insurance company, health supervision department, doctor provide decision references.
The wisdom for being enough to aid decision is extracted from data, otherwise traditional data processing method set it is fixed Pattern, the extracted data from database obtains an output by programming, computing, and often this process will wait dozens of minutes Or the longer time;And the process of this interaction be all it is unidirectional, it is pre-set, that is to say, that software systems or data System is to go configuration processor to calculate corresponding result, search efficiency and standard according to a default problem or problem combination every time True rate is relatively low.
The content of the invention
In view of this, the purpose of the embodiment of the present invention is to provide a kind of information retrieval method, device and electronic equipment, is led to Cross the intelligent extracting keywords from data and inquiry phrase, and matching algorithm are set, allow data system or software systems to possess Certain wisdom, understanding search terms that can be more efficient is more efficient accurately to provide answer.
To achieve the above object, the technical scheme that the embodiment of the present invention is used is as described below:
In a first aspect, the embodiment of the invention provides a kind of information retrieval method, methods described includes:
Keyword is obtained, the keyword is obtained by from information source extraction or User Defined;
The keyword is combined, multiple queries index is obtained, inquiry dictionary, institute are set up by the search index Stating inquiry dictionary includes multiple search indexes, and the search index at least includes one in phrase, word, morpheme, sentence Or multiple types;
Receive the search terms of user input;
The search terms is carried out into matching inquiry with the multiple search index;
Show information corresponding higher than the search index of preset value with the matching degree of the search terms and and described information Associated information.
Further, methods described also includes:
Set up the search terms and information source corresponding higher than the search index of preset value with the matching degree of the search terms Corresponding match group;
The match group to a fresh information source is backed up in evaluation according to user to the match group.
Further, methods described also includes:
The evaluation of user is added into the inquiry dictionary higher than the match group of default evaluation of estimate.
Further, methods described also includes:
Match group is ranked up according to the evaluation height of user.
Further, methods described also includes:
Removal is repeated and insignificant search index, and search index is carried out into classification row according to the frequency for being matched inquiry Sequence.
Further, when user input search terms, methods described also includes:
The search index is sequentially shown according to the matching degree height with the search terms.
Further, methods described also includes:
Back up information corresponding higher than the search index of preset value with the matching degree of the search terms to a fresh information source.
Further, when the search terms is sentence, methods described also includes:
Participle is carried out to the search terms;
Core data is recalled according to each participle;
Show findings data of the matching degree higher than preset value with the core data;
Selection of the response user to the findings data, the problem data that user is selected and the search terms add described Inquiry dictionary.
Second aspect, the embodiment of the invention provides a kind of information indexing device, and described device includes:
Acquisition module, for obtaining keyword, the keyword is obtained by from information source extraction or User Defined;
Composite module, for being combined to the keyword, obtains multiple queries index, is built by the search index Vertical inquiry dictionary, the inquiry dictionary includes multiple search indexes, the search index at least include phrase, word, morpheme, One or more types in sentence;
Receiver module, the search terms for receiving user input;
Enquiry module, for the search terms to be carried out into matching inquiry with the multiple search index;
Display module, for show information corresponding higher than the search index of preset value with the matching degree of the search terms with And the information being associated with described information.
Further, described device also includes:
Match group generation module, is higher than looking into for preset value for setting up the search terms and with the matching degree of the search terms Ask the corresponding match group of the corresponding information source of index;
Backup module, the match group to a fresh information source is backed up for the evaluation according to user to the match group.
Further, described device also includes:
Update module, for the evaluation of user to be added into the inquiry dictionary higher than the match group of default evaluation of estimate.
Further, described device also includes:
, be ranked up for match group for the evaluation height according to user by order module.
Further, described device also includes:
Module is screened out, is repeated and insignificant search index for removing;
Order module, for search index to be carried out into classification and ordination according to the frequency for being matched inquiry.
Further, when user input search terms, the display module is additionally operable to be matched according to the search terms Degree height sequentially shows the search index.
Further, described device also includes:
Backup module, for backing up information corresponding higher than the search index of preset value with the matching degree of the search terms extremely One fresh information source.
Further, described device also includes:
Word-dividing mode, for carrying out participle to the search terms;
Calling module, for recalling core data according to each participle;
The display module is additionally operable to the findings data of the matching degree higher than preset value of display and the core data;
Update module, for responding selection of the user to the findings data, by user select problem core data and The search terms adds the inquiry dictionary.
The third aspect, the embodiment of the present invention additionally provides a kind of electronic equipment, including:
Processor;
Memory;And
Information indexing device, described information retrieval device is installed in the memory and including one or more by described The software function module of computing device, described information retrieval device includes:
Acquisition module, for obtaining keyword, the keyword is obtained by from information source extraction or User Defined;
Composite module, for being combined to the keyword, obtains multiple queries index, is built by the search index Vertical inquiry dictionary, the inquiry dictionary includes multiple search indexes, the search index at least include phrase, word, morpheme, One or more types in sentence;
Receiver module, the search terms for receiving user input;
Enquiry module, for the search terms to be carried out into matching inquiry with the multiple search index;
Display module, for show information corresponding higher than the search index of preset value with the matching degree of the search terms with And the information being associated with described information.
Compared with prior art, information retrieval method, device and the electronic equipment that the present invention is provided by obtaining keyword, The keyword is combined and obtains multiple queries index, inquiry dictionary, the query word are set up by the search index Allusion quotation includes multiple search indexes, after the search terms for receiving user input, by the search terms and the inquiry dictionary In search index carry out matching inquiry, display letter corresponding higher than the search index of preset value with the matching degree of the search terms Breath and the information being associated with described information.The present invention is built between search terms and Query Result by setting up inquiry dictionary Mapping relations, being capable of the more efficient answer for accurately providing search.
To enable the above objects, features and advantages of the present invention to become apparent, preferred embodiment cited below particularly, and coordinate Appended accompanying drawing, is described in detail below.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, below will be attached to what is used needed for embodiment Figure is briefly described, it will be appreciated that the following drawings illustrate only certain embodiments of the present invention, thus be not construed as it is right The restriction of scope, for those of ordinary skill in the art, on the premise of not paying creative work, can also be according to this A little accompanying drawings obtain other related accompanying drawings.
Fig. 1 is the block diagram of electronic equipment provided in an embodiment of the present invention.
Fig. 2 is the functional module framework schematic diagram of information indexing device provided in an embodiment of the present invention.
Fig. 3 is the application exemplary plot of information retrieval method provided in an embodiment of the present invention and device.
Fig. 4-Fig. 5 is the flow chart of information retrieval method provided in an embodiment of the present invention.
Icon:100- electronic equipments;110- information indexing devices;111- acquisition modules;112- composite modules;113- is received Module;114- enquiry modules;115- display modules;116- screens out module;117- match group generation modules;118- backup modules; 119- update modules;120- order modules;121- word-dividing modes;122- calling modules;130- memories;150- processors.
Specific embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is A part of embodiment of the present invention, rather than whole embodiments.Present invention implementation generally described and illustrated in accompanying drawing herein The component of example can be arranged and designed with a variety of configurations.
Therefore, the detailed description of embodiments of the invention below to providing in the accompanying drawings is not intended to limit claimed The scope of the present invention, but be merely representative of selected embodiment of the invention.Based on the embodiment in the present invention, this area is common The every other embodiment that technical staff is obtained under the premise of creative work is not made, belongs to the model of present invention protection Enclose.
It should be noted that:Similar label and letter represents similar terms in following accompanying drawing, therefore, once a certain Xiang Yi It is defined in individual accompanying drawing, then it need not be further defined and explained in subsequent accompanying drawing.
Information retrieval method provided in an embodiment of the present invention and device are applied to electronic equipment.The electronic equipment can be, But it is not limited to, PC (personal computer, PC), smart mobile phone, panel computer, personal digital assistant (personal digital assistant, PDA) etc..
Fig. 1 is refer to, is the block diagram of the electronic equipment 100.The electronic equipment 100 includes information indexing device 110th, memory 130 and processor 150.
Memory 130, each element of processor 150 are directly or indirectly electrically connected with each other, to realize the biography of data Defeated or interaction.For example, these elements can be realized being electrically connected with by one or more communication bus or holding wire each other.Letter During breath retrieval device 110 can be stored in the memory 130 including at least one in the form of software or firmware (firmware) Or it is solidificated in the software function module in the operating system of electronic equipment 100 (operating system, OS).Processor 150 For performing the executable module stored in the memory 130, such as the software function mould included by information indexing device 110 Block and computer program etc..
Wherein, memory 130 may be, but not limited to, random access memory (Random Access Memory, RAM), read-only storage (Read Only Memory, ROM), programmable read only memory (Programmable Read-Only Memory, PROM), erasable read-only memory (Erasable Programmable Read-Only Memory, EPROM), Electricallyerasable ROM (EEROM) (Electric Erasable Programmable Read-Only Memory, EEPROM) etc.. Wherein, memory 130 is used for storage program, and processor 150 performs the program after execute instruction is received.
Fig. 2 is refer to, is the functional module framework schematic diagram of information indexing device 110.The information indexing device 110 is used for Search terms according to user searches for the information extracted and need from information source.The information indexing device 110 includes acquisition module 111st, composite module 112, receiver module 113, enquiry module 114 and display module 115.
Acquisition module 111 is used to obtain keyword, and the keyword is obtained by from information source extraction or User Defined.
In the present embodiment, information source can be various databases, in database can include as text, video, audio, The common information such as chart.Keyword is extracted from information source, the characteristic element of the key representations information, keyword is generally by marking The Property Name in table name, row name or column database, self-defining data scope, filter in topic, array title, database, The compositions such as list name.For example, Fig. 3 is refer to, the electronic form file comprising one entitled " financial statement ", the electronics in information source " the time is included in form document:2014th, 2015,2016 ", " type:Colour TV, refrigerator, washing machine ", and corresponding sales volume Situation, then the keyword that can be extracted be " time ", " 2016 ", " 2015 ", " 2014 ", " type ", " colour TV ", " refrigerator ", " wash Clothing machine ", " sales volume " etc..For source of video information, by extracting specific frame, specific frame is marked, will mark as Keyword, for sources of audio information, can extract signal characteristic fragment, and signal characteristic fragment is marked, will mark as Keyword.
Above- mentioned information source is not if when the data in non-structured data set, only information source are isolated presence Time could extract keyword, such as the data (metadata) in information source are general all to include time, place, event, personage, warp Cross and the key element such as result, these key elements can be associated by pretreatment.User can be with self defining keywords.Such as, If being applied to medical field, user can be with the Essential Terms of preset some medical fields;Or, the difference according to user is practised Used default some synonyms or near synonym.Such as, some place say " how" with " what's the matter elsewhere" semantic identical, then Such as, Chinese and Japanese or other foreign language, can be by synonym or near synonym preset keyword.
Composite module 112 is used to be combined keyword, obtains multiple queries index, is set up by search index and inquired about Dictionary, inquiry dictionary include multiple search indexes, search index at least include phrase, word, morpheme, sentence in one or Multiple types.
The search index closes the possibility combination contained in the mathematical meaning of all keywords.Such as above-mentioned example In, the search index for obtaining can be combined and included but is not limited to:" 2016 colour TV ", " 2015 colour TV ", " 2014 colour TV ", " 2016 Refrigerator ", " 2015 refrigerator ", " 2014 refrigerator ", " 2016 washing machine ", " 2015 washing machines, " 2014 washing machine ", " 2016 sales volume ", " 2015 sales volume ", " 2014 sales volume ", " colour TV sales volume ", " refrigerator sales volume ", " washing machine sales volume ", " sales volume type " etc..Inquiry rope Draw one or more types that can include in phrase, word, morpheme, sentence, phrase refers to two or more contaminations, with area Other word, such as " new society ", " old society ".Word is the minimum linguistic unit that can independently use, such as " sea-tangle ".Morpheme It is minimum voice, semantic knot body, is minimum significant linguistic unit, such as " runs ", " jump ".Sentence is a grammer On the unit established one's own system, it is made up of one group of word for having connection on a word or syntax.Such as, " 16 years old this year of Xiao Wang ".
As preferred, after search index generation, specification handles generally are carried out to inquiry phrase, get rid of it is simple repeat and Insignificant combination, for example, be to be regarded as simple to repeat for " 2014 colour TV " and " colour TV 2014 ", so as to remove wherein One of;It is again to be regarded as insignificant combination for " sales volume type ", so as to remove.In the present embodiment, information retrieval dress Putting 110 includes screening out module 116, is repeated and insignificant inquiry phrase for removing.Then, set up by search index and inquired about Dictionary, inquiry dictionary includes multiple queries index.
Receiver module 113, the search terms for receiving user input.
In the present embodiment, user can be carried out by input units such as the screen of electronic equipment, button or microphones The input of search terms, the form of the search terms can be the modes such as text, voice or gesture.The search terms of any input all can Corresponding text message input is translated into, these text messages include complete sentence, incomplete word or phrase, phrase And morpheme etc..
Enquiry module 114, for search terms and multiple queries index to be carried out into matching inquiry.
The search terms of user input it is sometimes not completely the same with search index, it is necessary to by the search terms of user input with Search index is matched, and the search index of matching degree satisfaction is found, with by corresponding in the search index Query Information source Information.For example, the search terms of user input is " 2016 colour TV sales volume ", find matching degree is higher than the inquiry phrase of preset value " 2016 colour TV sales volume ", " 2016 colour TV ", " colour TV sales volume ", the preset value are not limited this by predefined, the present embodiment It is fixed.
Display module 115, the corresponding information of search index for showing with the matching degree of search terms is higher than preset value with And the information being associated with the information.
Each search index to that should have the information in information source, when the search index determination of matching, look into by enquiry module 114 After finding corresponding information, display module 115 shows the information.Preferably, when user input search terms, display module 115 It is additionally operable to sequentially show inquiry phrase according to the matching degree height with search terms.For example, user is in input " 2016 colour TV sales volume " During, when user input " 2016 ", display module 115 shows " 2016 colour TV ", " 2016 pins successively according to matching degree Candidate's search index such as amount ", " 2016 colour TV sales volume ", guiding user's selection, when user input " 2016 is color ", display module 115, according to matching degree, show the candidate words such as " 2016 colour TV ", " 2016 colour TV sales volume ", until user input is complete successively " 2016 colour TV sales volume ".More intelligent, user friendly inquiry is used.Additionally, display module 115 also shows and inquiry rope Draw the associated information of corresponding information, the associated information is calculated by special algorithm.For example:User searches for " Zhang San ", display module 115 not only show the information of " Zhang San " that is included in information source, and also " Zhang San is theft suspicion for display The prompt message of people ", the prompt message of this theft suspicioner be in original data source not, but by certain algorithm Calculating is inferred to " Zhang San " this suspicion.
Preferably, information indexing device 110 also includes match group generation module 117 and backup module 118.Match group Generation module 117 is used to set up search terms and information source pair corresponding higher than the search index of preset value with the matching degree of search terms The match group answered.For example, the search terms of user input be " 2016 colour TV sales volume ", Search Results include " 2016 colour TV sales volume ", " 2016 colour TV ", " colour TV sales volume " corresponding information source, then match group generation module 117 is by " 2016 colour TV sales volume " and " 2016 The corresponding information source of colour TV sales volume ", " 2016 colour TV sales volume " and " 2016 colour TV " corresponding information source, " 2016 colour TV sales volume " with " colour TV sales volume " corresponding information source sets up match group.User can be commented match group after Search Results are obtained Valency, such as give a mark.User can produce context during search, such as user is continuously input into three problems such as:" most Nearly income from sales for pressing Area distribution for 3 years ", " sales situation of nearest 3 years Beijing areas ", " nearest 3 years Beijing areas pin Sell the product of volume top10 ".After the match group of so wherein the 3rd input and output formation of problem adds new information source, The Railway Project up and down of the problem should be included.The result and evaluation of the problem of these contexts and corresponding problem, will be equal Judge that system the meaning of the match group that the 3rd problem is formed forms reference.Information indexing device 110 can be according to numerous phases The context and match group of pass, study generate method model one by one, so as to set up a weaker dependency relation for answering The open problem of user.
Backup module 118 is used for according to user to the evaluation backup match group of match group to a fresh information source.User evaluates Afterwards, match group will be backed up in new information source.When user searches again for same or similar search terms, mould is inquired about Block 114 directly inquires about corresponding information in new information source.Backup module 118 is additionally operable to The corresponding information back-up of search index of preset value is to a fresh information source, interim storage.
Preferably, information indexing device 110 also includes update module 119, for the evaluation of user to be evaluated higher than default The match group of value adds inquiry dictionary.In order to further improve the speed and accuracy rate of user search information, work as match group Some of the evaluation of match group be higher than default evaluation of estimate, such as, scoring of the user to match group is higher than 4 points, will be matched Group is added in inquiry dictionary, and when user is input into same or similar search terms again, enquiry module 114 is directly in query word The information source of corresponding match group is called in allusion quotation, the speed of inquiry and the accuracy rate of Query Result is accelerated.
Preferably, information indexing device 110 also includes order module 120, will matching for the evaluation height according to user Group is ranked up.After user input search terms, enquiry module 114 shows according to the evaluation height sequentially Query Information of match group Show that module 115 is also shown according to the scoring sequence of match group.Because the Search Requirement of different users and use are practised Used difference, the preference for the result of retrieval and inquisition is also different, and the embodiment of the present invention, will by evaluation of the user to retrieval result Retrieval result is ranked up, and constantly updates inquiry phrase so that the information in inquiry phrase more has directionality, retrieves information Speed and accuracy rate be largely increased, it is necessary to illustrate, synonymously or the match group of near synonym has identical Weight order.
Preferably, in the present embodiment, order module 120 is additionally operable to according to being matched the frequency of inquiry by query word Group carries out classification and ordination, and the inquiry phrase that some are often matched will be placed in the position for being easier to be retrieved, to increase inspection The speed of rope inquiry.
Preferably, information indexing device 110 also includes word-dividing mode 121 and calling module 122.When user input search terms When, if search terms is enquirement sentence, word-dividing mode 121, for carrying out participle to search terms.For example, put question to sentence for " how The sales volume for allowing this year increases by 30%", it is " this year " " sales volume " " increasing by 30% " by its participle.
Calling module 122 is used to recall core data according to each participle.Each participle is corresponded in search index There is core data, according to the findings data that the core data can obtain being matched with core data, findings data is enquirement sentence Corresponding answer.Display module 115 is additionally operable to the findings data of the matching degree higher than preset value of display and core data.Each Findings data may not be at the beginning the optimum answer of the problem that search terms is included, and update module 119 is used to respond user Selection to findings data, by user select problem core data and search terms add inquiry dictionary, user constantly more Newly, under screening, change and selecting, findings data will be more and more accurate.
Fig. 4 is refer to, is the flow chart of information retrieval method provided in an embodiment of the present invention, the information retrieval method includes Following steps:
Step S101, obtains keyword, and keyword is combined, and obtains multiple queries index, is built by search index Vertical inquiry dictionary.
In the present embodiment, step S101 can jointly be performed by acquisition module 111 and composite module 112.It is crucial Word is obtained by from information source extraction or User Defined, and inquiry dictionary includes that multiple queries are indexed, and search index is at least wrapped Include one or more types in phrase, word, morpheme, sentence.
Step S102, receives the search terms of user input.
In the present embodiment, step S102 can be performed by receiver module 113.
Step S103, matching inquiry is carried out by search terms and multiple queries index.
In the present embodiment, step S103 can be performed by enquiry module 114.
Step S104, display information corresponding with the search index that the matching degree of search terms is higher than preset value and with the letter The information of manner of breathing association.
In the present embodiment, step S104 can be performed by display module 115.
Step S105, sets up search terms and information source corresponding higher than the search index of preset value with the matching degree of search terms Corresponding match group.
In the present embodiment, step S105 can be performed by match group generation module 117.
Step S106, according to user to the evaluation backup match group of match group to a fresh information source.
In the present embodiment, step S106 can be performed by backup module 118.
Step S107, inquiry dictionary is added by the evaluation of user higher than the match group of preset value.
In the present embodiment, step S107 can be performed by update module 119.
, be ranked up for match group according to the evaluation height of user by step S108.
In the present embodiment, step S108 can be performed by order module 120.
Step S109, removal is repeated and insignificant search index, and according to being matched the frequency of inquiry by search index Carry out classification and ordination.
In the present embodiment, step S109 can jointly be performed by screening out module 116 and order module 120.
Step S110, search index is sequentially shown according to the matching degree height with search terms.
In the present embodiment, step S110 can be performed by display module 115.
Step S111, backup information corresponding higher than the search index of preset value with the matching degree of search terms a to fresh information Source.
In the present embodiment, step S111 can be performed by backup module 118.
When user input search terms, if search terms refer to Fig. 5 to put question to sentence, the information retrieval method is also wrapped Include following steps:
Step S112, participle is carried out to search terms.
In the present embodiment, step S112 can be performed by word-dividing mode 121.
Step S113, core data is recalled according to each participle.
In the present embodiment, step S113 can be performed by calling module 122.
Step S114, display and the findings data that the matching degree of core data is higher than preset value.
In the present embodiment, step S114 can be performed by display module 115.
Step S115, selection of the response user to findings data, the problem data that user is selected and search terms are added and looked into Ask dictionary.
In the present embodiment, step S115 can be performed by update module 119.
Because each step in the information retrieval method can be by each functional module in information indexing device 110 Perform, its principle is illustrated in the aforementioned embodiment, and here is omitted.
In sum, a kind of information retrieval method, device and electronic equipment be the embodiment of the invention provides.Closed by obtaining Key word, the keyword is combined and obtains multiple queries index, and inquiry dictionary is set up by the search index, described to look into Asking dictionary includes multiple search indexes, after the search terms for receiving user input, by the search terms and the inquiry Search index in dictionary carries out matching inquiry, and display is corresponding higher than the search index of preset value with the matching degree of the search terms Information and the information that is associated with described information.The present invention builds search terms and Query Result by setting up inquiry dictionary Between mapping relations, being capable of the more efficient answer for accurately providing search.
In embodiment provided herein, it should be understood that disclosed apparatus and method, it is also possible to by other Mode realize.Device embodiment described above is only schematical, for example, the flow chart and block diagram in accompanying drawing show Device, the architectural framework in the cards of method and computer program product, the function of multiple embodiments of the invention And operation.At this point, each square frame in flow chart or block diagram can represent one the one of module, program segment or code Point, a part for the module, program segment or code is used for the executable of the logic function that realization specifies comprising one or more Instruction.It should also be noted that in some are as the implementation replaced, the function of being marked in square frame can also be with different from attached The order marked in figure occurs.For example, two continuous square frames can essentially be performed substantially in parallel, they also may be used sometimes To perform in the opposite order, this is depending on involved function.It is also noted that each in block diagram and/or flow chart The combination of the square frame in square frame and block diagram and/or flow chart, can with perform the function of regulation or the special of action based on The system of hardware is realized, or can be realized with the combination of computer instruction with specialized hardware.
In addition, each functional module in each embodiment of the invention can integrate to form an independent portion Divide, or modules individualism, it is also possible to which two or more modules are integrated to form an independent part.
If the function is to realize in the form of software function module and as independent production marketing or when using, can be with Storage is in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, including some instructions are used to so that a computer equipment (can be individual People's computer, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the invention. And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.Need Illustrate, herein, such as first and second or the like relational terms be used merely to by an entity or operation with Another entity or operation make a distinction, and not necessarily require or imply these entities or there is any this reality between operating The relation or order on border.And, term " including ", "comprising" or its any other variant be intended to the bag of nonexcludability Contain, so that process, method, article or equipment including a series of key elements are not only including those key elements, but also including Other key elements being not expressly set out, or it is this process, method, article or the intrinsic key element of equipment also to include. In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including the key element Process, method, article or equipment in also there is other identical element.
The preferred embodiments of the present invention are the foregoing is only, is not intended to limit the invention, for the skill of this area For art personnel, the present invention can have various modifications and variations.It is all within the spirit and principles in the present invention, made any repair Change, equivalent, improvement etc., should be included within the scope of the present invention.It should be noted that:Similar label and letter exists Similar terms is represented in following accompanying drawing, therefore, once being defined in a certain Xiang Yi accompanying drawing, then it is not required in subsequent accompanying drawing It is further defined and is explained.

Claims (17)

1. a kind of information retrieval method, it is characterised in that methods described includes:
Keyword is obtained, the keyword is obtained by from information source extraction or User Defined;
The keyword is combined, multiple queries index is obtained, inquiry dictionary is set up by the search index, it is described to look into Asking dictionary includes multiple search indexes, and the search index at least includes one or many in phrase, word, morpheme, sentence Individual type;
Receive the search terms of user input;
The search terms is carried out into matching inquiry with the multiple search index;
Show to the matching degree of the search terms higher than the corresponding information of search index of preset value and related with described information The information of connection.
2. information retrieval method as claimed in claim 1, it is characterised in that methods described also includes:
Set up the search terms and corresponding higher than the corresponding information source of search index of preset value with the matching degree of the search terms Match group;
The match group to a fresh information source is backed up in evaluation according to user to the match group.
3. information retrieval method as claimed in claim 2, it is characterised in that methods described also includes:
The evaluation of user is added into the inquiry dictionary higher than the match group of default evaluation of estimate.
4. information retrieval method as claimed in claim 3, it is characterised in that methods described also includes:
Match group is ranked up according to the evaluation height of user.
5. information retrieval method as claimed in claim 1, it is characterised in that methods described also includes:
Removal is repeated and insignificant search index, and search index is carried out into classification and ordination according to the frequency for being matched inquiry.
6. information retrieval method as claimed in claim 1, it is characterised in that when user input search terms, methods described is also Including:
The search index is sequentially shown according to the matching degree height with the search terms.
7. information retrieval method as claimed in claim 1, it is characterised in that methods described also includes:
Back up information corresponding higher than the search index of preset value with the matching degree of the search terms to a fresh information source.
8. information retrieval method as claimed in claim 1, it is characterised in that methods described also includes:
Participle is carried out to the search terms;
Core data is recalled according to each participle;
Show findings data of the matching degree higher than preset value with the core data;
Selection of the response user to the findings data, the problem data that user is selected and the search terms add the inquiry Dictionary.
9. a kind of information indexing device, it is characterised in that described device includes:
Acquisition module, for obtaining keyword, the keyword is obtained by from information source extraction or User Defined;
Composite module, for being combined to the keyword, obtains multiple queries index, is set up by the search index and looked into Dictionary is ask, the inquiry dictionary includes multiple search indexes, and the search index at least includes phrase, word, morpheme, sentence In one or more types;
Receiver module, the search terms for receiving user input;
Enquiry module, for the search terms to be carried out into matching inquiry with the multiple search index;
Display module, for show information corresponding higher than the search index of preset value with the matching degree of the search terms and with The associated information of described information.
10. information indexing device as claimed in claim 9, it is characterised in that described device also includes:
Match group generation module, for setting up the search terms and inquiry rope with the matching degree of the search terms higher than preset value Draw the corresponding match group of corresponding information source;
Backup module, the match group to a fresh information source is backed up for the evaluation according to user to the match group.
11. information indexing devices according to claim 10, it is characterised in that described device also includes:
Update module, for the evaluation of user to be added into the inquiry dictionary higher than the match group of default evaluation of estimate.
12. information indexing devices according to claim 11, it is characterised in that described device also includes:
, be ranked up for match group for the evaluation height according to user by order module.
13. information indexing devices according to claim 9, it is characterised in that described device also includes:
Module is screened out, is repeated and insignificant search index for removing;
Order module, for search index to be carried out into classification and ordination according to the frequency for being matched inquiry.
14. information indexing devices according to claim 9, it is characterised in that when user input search terms, the display Module is additionally operable to sequentially show the search index according to the matching degree height with the search terms.
15. information indexing devices according to claim 9, it is characterised in that described device also includes:
Backup module, for backing up information corresponding higher than the search index of preset value with the matching degree of the search terms to one new Information source.
16. information indexing devices according to claim 9, it is characterised in that described device also includes:
Word-dividing mode, for carrying out participle to the search terms;
Calling module, for recalling core data according to each participle;
The display module is additionally operable to the findings data of the matching degree higher than preset value of display and the core data;
Update module, for responding selection of the user to the findings data, the problem core data and described that user is selected Search terms adds the inquiry dictionary.
17. a kind of electronic equipment, it is characterised in that including:
Processor;
Memory;And
Information indexing device, described information retrieval device is installed in the memory and including one or more by the treatment The software function module that device is performed, described information retrieval device includes:
Acquisition module, for obtaining keyword, the keyword is obtained by from information source extraction or User Defined;
Composite module, for being combined to the keyword, obtains multiple queries index, is set up by the search index and looked into Dictionary is ask, the inquiry dictionary includes multiple search indexes, and the search index at least includes phrase, word, morpheme, sentence In one or more types;
Receiver module, the search terms for receiving user input;
Enquiry module, for the search terms to be carried out into matching inquiry with the multiple search index;
Display module, for show information corresponding higher than the search index of preset value with the matching degree of the search terms and with The associated information of described information.
CN201710045053.9A 2017-01-19 2017-01-19 Information retrieval method and device and electronic equipment Active CN106844638B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710045053.9A CN106844638B (en) 2017-01-19 2017-01-19 Information retrieval method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710045053.9A CN106844638B (en) 2017-01-19 2017-01-19 Information retrieval method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN106844638A true CN106844638A (en) 2017-06-13
CN106844638B CN106844638B (en) 2020-11-03

Family

ID=59120801

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710045053.9A Active CN106844638B (en) 2017-01-19 2017-01-19 Information retrieval method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN106844638B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109446417A (en) * 2018-10-12 2019-03-08 武汉朴琢知识产权咨询服务有限公司 A kind of intellectualized retrieval method and apparatus
CN110019678A (en) * 2017-12-12 2019-07-16 北京百度网讯科技有限公司 Information presentation, search method and device
CN110162537A (en) * 2019-04-19 2019-08-23 平安普惠企业管理有限公司 Data query method and device, storage medium and electronic equipment
CN111294275A (en) * 2020-02-26 2020-06-16 上海云鱼智能科技有限公司 User information indexing method, device, server and storage medium of IM tool
CN111400253A (en) * 2020-03-17 2020-07-10 北京华通人商用信息有限公司 Statistical data query method and device, electronic equipment and storage medium
CN111611489A (en) * 2020-05-22 2020-09-01 北京字节跳动网络技术有限公司 Search processing method and device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1716244A (en) * 2003-12-29 2006-01-04 西安迪戈科技有限责任公司 Intelligent search, intelligent files system and automatic intelligent assistant
CN1894689A (en) * 2003-08-29 2007-01-10 伏泰劳普蒂克斯有限公司 Method, device and software for querying and presenting search results
CN101196898A (en) * 2007-08-21 2008-06-11 新百丽鞋业(深圳)有限公司 Method for applying phrase index technology into internet search engine
CN101201838A (en) * 2007-08-21 2008-06-18 新百丽鞋业(深圳)有限公司 Method for improving searching engine based on keyword index using phrase index technique
US20110022596A1 (en) * 2009-07-23 2011-01-27 Alibaba Group Holding Limited Method and system for document indexing and data querying
CN102200984A (en) * 2010-03-24 2011-09-28 深圳市腾讯计算机系统有限公司 Search method based on compound words and search engine server

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1894689A (en) * 2003-08-29 2007-01-10 伏泰劳普蒂克斯有限公司 Method, device and software for querying and presenting search results
CN1716244A (en) * 2003-12-29 2006-01-04 西安迪戈科技有限责任公司 Intelligent search, intelligent files system and automatic intelligent assistant
CN101196898A (en) * 2007-08-21 2008-06-11 新百丽鞋业(深圳)有限公司 Method for applying phrase index technology into internet search engine
CN101201838A (en) * 2007-08-21 2008-06-18 新百丽鞋业(深圳)有限公司 Method for improving searching engine based on keyword index using phrase index technique
US20110022596A1 (en) * 2009-07-23 2011-01-27 Alibaba Group Holding Limited Method and system for document indexing and data querying
CN102200984A (en) * 2010-03-24 2011-09-28 深圳市腾讯计算机系统有限公司 Search method based on compound words and search engine server

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110019678A (en) * 2017-12-12 2019-07-16 北京百度网讯科技有限公司 Information presentation, search method and device
CN110019678B (en) * 2017-12-12 2023-08-29 北京百度网讯科技有限公司 Information presentation and retrieval method and device
CN109446417A (en) * 2018-10-12 2019-03-08 武汉朴琢知识产权咨询服务有限公司 A kind of intellectualized retrieval method and apparatus
CN110162537A (en) * 2019-04-19 2019-08-23 平安普惠企业管理有限公司 Data query method and device, storage medium and electronic equipment
CN111294275A (en) * 2020-02-26 2020-06-16 上海云鱼智能科技有限公司 User information indexing method, device, server and storage medium of IM tool
CN111400253A (en) * 2020-03-17 2020-07-10 北京华通人商用信息有限公司 Statistical data query method and device, electronic equipment and storage medium
CN111400253B (en) * 2020-03-17 2023-04-21 北京华通人商用信息有限公司 Statistical data query method and device, electronic equipment and storage medium
CN111611489A (en) * 2020-05-22 2020-09-01 北京字节跳动网络技术有限公司 Search processing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN106844638B (en) 2020-11-03

Similar Documents

Publication Publication Date Title
CN110968699B (en) Logic map construction and early warning method and device based on fact recommendation
CN106844638A (en) Information retrieval method, device and electronic equipment
CN109345399B (en) Method, device, computer equipment and storage medium for evaluating risk of claim settlement
CN109189901B (en) Method for automatically discovering new classification and corresponding corpus in intelligent customer service system
CN111767716B (en) Method and device for determining enterprise multi-level industry information and computer equipment
CN108776671A (en) A kind of network public sentiment monitoring system and method
CN104392006B (en) A kind of event query processing method and processing device
CN110134792B (en) Text recognition method and device, electronic equipment and storage medium
CN104036004B (en) Search for error correction method and search error correction device
US10387805B2 (en) System and method for ranking news feeds
CN105760524B (en) A multi-level and multi-classification method for scientific news headlines
US20150205862A1 (en) Method and device for recognizing and labeling peaks, increases, or abnormal or exceptional variations in the throughput of a stream of digital documents
CN107291895B (en) A Fast Hierarchical Document Query Method
CN117971606B (en) Log management system and method based on elastic search
CN108021605A (en) A kind of keyword classification method and apparatus
US11295078B2 (en) Portfolio-based text analytics tool
CN106708940A (en) Method and device used for processing pictures
CN104391852B (en) A kind of method and apparatus for establishing keyword dictionary
CN111028952B (en) Method and device for constructing Chinese medical implication knowledge graph
CN104809253B (en) Internet data analysis system
KR20130037975A (en) Method and apparatus for providing web trend analysis based on issue template extraction
CN109992665A (en) A kind of classification method based on the extension of problem target signature
Gollapalli Literature review of attribute level and structure level data linkage techniques
US20160292258A1 (en) Method and apparatus for filtering out low-frequency click, computer program, and computer readable medium
CN113886535A (en) Knowledge graph-based question and answer method and device, storage medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20201019

Address after: 310000 FN96, Building 5, No. 567 Jiangling Road, Xixing Street, Binjiang District, Hangzhou City, Zhejiang Province

Applicant after: HANGZHOU HUISHU ZHITONG TECHNOLOGY Co.,Ltd.

Address before: 310003 No. 335, Stadium Road, Xiacheng District, Zhejiang, Hangzhou

Applicant before: Wang Bibo

GR01 Patent grant
GR01 Patent grant