CN109635189A - A kind of information search method, device, terminal device and storage medium - Google Patents

A kind of information search method, device, terminal device and storage medium Download PDF

Info

Publication number
CN109635189A
CN109635189A CN201811464099.5A CN201811464099A CN109635189A CN 109635189 A CN109635189 A CN 109635189A CN 201811464099 A CN201811464099 A CN 201811464099A CN 109635189 A CN109635189 A CN 109635189A
Authority
CN
China
Prior art keywords
search
server
engine
index
search engine
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.)
Pending
Application number
CN201811464099.5A
Other languages
Chinese (zh)
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.)
GUANGZHOU CCM INFORMATION SCIENCE AND Tech CO Ltd
Original Assignee
GUANGZHOU CCM INFORMATION SCIENCE AND Tech 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 GUANGZHOU CCM INFORMATION SCIENCE AND Tech CO Ltd filed Critical GUANGZHOU CCM INFORMATION SCIENCE AND Tech CO Ltd
Priority to CN201811464099.5A priority Critical patent/CN109635189A/en
Publication of CN109635189A publication Critical patent/CN109635189A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a kind of information search method, device, terminal device and storage mediums, the described method includes: the searching request for the carrying keyword that customer in response end is sent, is scheduled according to the member index being locally stored and selects and the highest search engine of keyword match degree;According to the mapping relations of search engine and server, the server where described search engine is searched;Described search engine scans in the server and internet respectively according to the keyword, obtains corresponding first search result and the second search result;First search result and the second search result are according to priority provided to the client.The present invention can make member search's engine of each search server management obtain United Dispatching, and can mitigate the computational burden of search server, further, it is possible to eliminate the trouble that user repeatedly inquires, keep user query more convenient.

Description

A kind of information search method, device, terminal device and storage medium
Technical field
The present invention relates to information search technique field more particularly to a kind of information search method, device, terminal device and deposit Storage media.
Background technique
Existing search is divided into centralization search and distributed search.
Centralized search engine be based on the supercentral searching system of single web database, need to store on internet with And a large amount of related object information in the offline database of various regions, this just proposes and chooses to the storage of web database and operation scale War.Meanwhile the centralized retrieval mode at this single center needs a monolithic server group of planes to have superpower calculation processing ability The Search Requirement of people's commodity network information is just able to satisfy with the storage capacity of magnanimity.Therefore, centralized mobile search engine is being just It is faced with data information acquisition and difficult in maintenance, the problems such as server operation processing bottleneck.
Distributed search engine safeguards the web database of oneself, data storage be it is distributed, each search engine Ability is only limitted to the web database of itself.Therefore, member search's engine of each search server management is more dispersed, Bu Nengtong One scheduling.
Therefore, in the research and practice process to the prior art, it was found by the inventors of the present invention that in the prior art at least There are the following problems:
The centralization search that the prior art provides, data information acquisition and difficult in maintenance, there are bottles for server operation processing Neck, and distributed search, member search's engine of each search server management are more dispersed, are unable to United Dispatching.
In addition, using above-mentioned way of search, it is often necessary to which user executes on platform repeatedly to be inquired, low efficiency, and anti- The result of feedback is one-side as a result, difficult get satisfied as a result, operating for unfamiliar user both for searching for It is excessively complicated cumbersome.
Summary of the invention
Technical problem to be solved by the present invention lies in provide a kind of information search method, device, terminal device and storage Medium can make member search's engine of each search server management obtain United Dispatching, and can mitigate the fortune of search server Burden is calculated, further, it is possible to eliminate the trouble that user repeatedly inquires, keeps user query more convenient.
To solve the above problems, one embodiment of the present of invention provides a kind of information search method, it is suitable for calculating equipment Middle execution, comprising:
The searching request for the carrying keyword that customer in response end is sent is scheduled according to the member index being locally stored and selects With the highest search engine of keyword match degree;
According to the mapping relations of search engine and server, the server where described search engine is searched;
Described search engine scans in the server and internet respectively according to the keyword, obtains corresponding The first search result and the second search result;
First search result and the second search result are according to priority provided to the client.
Further, the member index includes the member index of local server and the member index of other servers, and described Local server and other server sync members index;The priority of first search result is greater than second search result Priority.
Further, where the mapping relations according to search engine and server, lookup described search engine After server, further includes:
If the server is not the local server, transmission binary search is requested to be requested to the clothes according to described search Business device.
It is further, described to request transmission binary search to be requested to the server according to described search, comprising:
According to the mapping relations, mark and the address of the server are obtained;
According to mark and address, binary search request is sent to the server.
It is further, described to request transmission binary search to be requested to the server according to described search, further includes:
The server parses the binary search request, obtains the mark and ground of the keyword and described search engine Location;
According to the mark of described search engine and address, the binary search for carrying keyword request is transmitted to Described search engine scans for.
Another embodiment of the invention also provides a kind of information search device, comprising:
Search engine scheduler module is deposited for the searching request for the carrying keyword that customer in response end is sent according to local The member index of storage, which is scheduled, to be selected and the highest search engine of keyword match degree;
Server searching module searches described search engine institute for the mapping relations according to search engine and server Server;
Search module carries out in the server and internet respectively for described search engine according to the keyword Search, obtains corresponding first search result and the second search result;
Input/output module, for first search result and the second search result to be according to priority provided to the visitor Family end.
Further, the member index includes the member index of local server and the member index of other servers, and described Local server and other server sync members index;The priority of first search result is greater than second search result Priority.
Further, the information search device, further includes:
Server searching module is requested if being also used to the server not is the local server according to described search Binary search is sent to request to the server.
Another embodiment of the invention also provides a kind of information search terminal equipment, including processor, memory and The computer program executed by the processor is stored in the memory and is configured as, and described in processor execution Such as above-mentioned information search method is realized when computer program.
Another embodiment of the invention also provides a kind of computer readable storage medium, the computer-readable storage medium Matter includes the computer program of storage, wherein controls the computer readable storage medium in computer program operation Place equipment executes such as above-mentioned information search method.
Implementing the embodiment of the present invention can make member search's engine of each search server management obtain United Dispatching, again The computational burden of search server can be mitigated, further, it is possible to eliminate the trouble that user repeatedly inquires, make user query more just It is prompt.
Detailed description of the invention
Fig. 1 is a kind of flow diagram for information search method that one embodiment of the present of invention provides;
Fig. 2 is a kind of another flow diagram for information search method that one embodiment of the present of invention provides;
Fig. 3 be another embodiment of the present invention provides a kind of information search device structural schematic diagram.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
It should be noted that the server in text can be network server, database server etc., the client in text Can be is PC (personal compu ter, PC), tablet computer, smart phone, personal digital assistant (personaldigital assistant, PDA) etc..
In a first aspect, please referring to Fig. 1-2.One embodiment of the present of invention provides a kind of information search method, suitable for counting It calculates and is executed in equipment, comprising:
The searching request for the carrying keyword that S1, customer in response end are sent is scheduled according to the member index being locally stored It selects and the highest search engine of keyword match degree.
Search engine (Metasearch Engine, also referred to as search server) is that a kind of other independently search of calling are drawn The engine held up, search engine are exactly the integration to multiple independent search engines, calling, control and Optimum utilization.Relative search is drawn It holds up, the independent search engine that can be utilized is known as " source search engine " (source Engine), or " member search's engine " (member Engine)。
Member index (meta index) is index of the META Search Engine to member search's engine, and search engine passes through in local First index information of member search's engine is safeguarded to dispatch and control member search's engine.Member search's engine is infused to search engine When volume, member search's engine provides interface parameters and ability parameter information according to format as defined in search engine, and search engine is raw At the member index of member search's engine.The search engine that search engine registers oneself by the member index of each member search's engine Carry out centralized dispatching.
When client initiates searching request, which can be according to the key in searching request Corresponding member search's engine is rather called to scan for.
Wherein, the member of member index and other servers of the member index including local server indexes, and the local Server and other server sync members index;The priority of first search result is greater than the excellent of second search result First grade.
In specific embodiment, local server sends member index synchronization request to other servers.Specifically, institute State mark and/or address that local server obtains other servers;The local server is according to other described services The mark of device and/or address send the member to other described servers and index synchronization request.
Other servers index synchronization request according to the member, update the member index of the local server of oneself storage. Specifically, other servers parsing member index synchronization request, identifies according to the local server, after change The corresponding position of first index database is arrived in the member index storage of the local server.Further, the local server and described Other servers store member search's engine of the local server and the mapping relations of the local server where it.
S2, the server according to the mapping relations of search engine and server, where lookup described search engine.
In specific embodiment, mapping relations can be sheet where member search's engine identification and member search's engine One-to-one relationship between the mark and/or address of ground server.The mapping relations can using mapping table form into Row storage.This some value sentenced in Singapore dollar index is updated, it is of course also possible to regard the member index of local server as one A entirety is updated, i.e., entire member is indexed while being updated.
It is selecting in excellent embodiment, in the mapping relations according to search engine and server, is searching described search After server where engine, further includes:
If S3`, the server are not the local servers, according to described search request send binary search request to The server.
Specifically, obtaining mark and the address of the server according to the mapping relations;According to mark and address, to this Server sends binary search request.
The server parses the binary search request, obtains the mark and ground of the keyword and described search engine Location;According to the mark of described search engine and address, the binary search for carrying keyword request is transmitted to described Search engine scans for.
It is understood that it is above-mentioned using the transmission for realizing binary search request the step of judgement, in practical application In, local server equally can be without judgement, i.e. service of the local server where inquiring member search's engine After device, binary search request directly is sent to the server where member search's engine.For example, working as local server not When managing any member search's engine, then server where member search's engine that local server inquires must will not It is local server, then local server can send two to the server where member search's engine without being judged Secondary searching request.
S3, described search engine scan in the server and internet respectively according to the keyword, obtain phase The first search result and the second search result answered.
Search engine is removed and can be scanned in local server and other associated servers, can also be had other The place of sharing files service scans for, such as internet.
It is understood that the first search result and user are more closely related, and searched from internet etc. The relevance of two search results and user want lower.Therefore, in one embodiment of the invention, the first search result is excellent First grade is greater than the priority of the second search result, in this way, search engine searches for the first search result that will be searched and second As a result it is supplied to before the client of the first user, the first search result and the second search result can be ranked up, by first Search result comes before the second search result.
In addition, the searching method has the advantages that search precision is high, search speed is fast.
S4, first search result and the second search result are according to priority provided to the client.
The member index of itself is preserved in the present embodiment, in local server and the member of other servers indexes, therefore Local server can be indexed by member and determine member search's engine, and then determine the server where member search's engine, this Ground server can dispatch member search's engine that it is managed by other each servers to scan for, therefore energy Enough so that member search's engine of each server admin obtains United Dispatching, and it can reduce local server computational burden, and Improve the accuracy of mobile search.
Implementing the embodiment of the present invention can make member search's engine of each search server management obtain United Dispatching, The computational burden of search server can be mitigated again, further, it is possible to eliminate the trouble that user repeatedly inquires, make user query more It is convenient.
Second aspect please refers to Fig. 3.Another embodiment of the invention also provides a kind of information search device, comprising:
Search engine scheduler module 21, for the searching request for the carrying keyword that customer in response end is sent, according to local The member index of storage, which is scheduled, to be selected and the highest search engine of keyword match degree.
Wherein, the member of member index and other servers of the member index including local server indexes, and the local Server and other server sync members index;The priority of first search result is greater than the excellent of second search result First grade.
In specific embodiment, local server sends member index synchronization request to other servers.Specifically, institute State mark and/or address that local server obtains other servers;The local server is according to other described services The mark of device and/or address send the member to other described servers and index synchronization request.
Other servers index synchronization request according to the member, update the member index of the local server of oneself storage. Specifically, other servers parsing member index synchronization request, identifies according to the local server, after change The corresponding position of first index database is arrived in the member index storage of the local server.Further, the local server and described Other servers store member search's engine of the local server and the mapping relations of the local server where it.
Server searching module 22 searches described search engine for the mapping relations according to search engine and server The server at place.
In specific embodiment, mapping relations can be sheet where member search's engine identification and member search's engine One-to-one relationship between the mark and/or address of ground server.The mapping relations can using mapping table form into Row storage.This some value sentenced in Singapore dollar index is updated, it is of course also possible to regard the member index of local server as one A entirety is updated, i.e., entire member is indexed while being updated.
It is selecting in excellent embodiment, server searching module 22, if being also used to the server not is the local service Device then requests transmission binary search to be requested to the server according to described search.
Specifically, obtaining mark and the address of the server according to the mapping relations;According to mark and address, to this Server sends binary search request.
The server parses the binary search request, obtains the mark and ground of the keyword and described search engine Location;According to the mark of described search engine and address, the binary search for carrying keyword request is transmitted to described Search engine scans for.
It is understood that it is above-mentioned using the transmission for realizing binary search request the step of judgement, in practical application In, local server equally can be without judgement, i.e. service of the local server where inquiring member search's engine After device, binary search request directly is sent to the server where member search's engine.For example, working as local server not When managing any member search's engine, then server where member search's engine that local server inquires must will not It is local server, then local server can send two to the server where member search's engine without being judged Secondary searching request.
Search module 23, for described search engine according to the keyword, respectively in the server and internet into Row search, obtains corresponding first search result and the second search result.
Search engine is removed and can be scanned in local server and other associated servers, can also be had other The place of sharing files service scans for, such as internet.
It is understood that the first search result and user are more closely related, and searched from internet etc. The relevance of two search results and user want lower.Therefore, in one embodiment of the invention, the first search result is excellent First grade is greater than the priority of the second search result, in this way, search engine searches for the first search result that will be searched and second As a result it is supplied to before the client of the first user, the first search result and the second search result can be ranked up, by first Search result comes before the second search result.
In addition, the searching method has the advantages that search precision is high, search speed is fast.
Input/output module 24, it is described for first search result and the second search result to be according to priority provided to Client.
The member index of itself is preserved in the present embodiment, in local server and the member of other servers indexes, therefore Local server can be indexed by member and determine member search's engine, and then determine the server where member search's engine, this Ground server can dispatch member search's engine that it is managed by other each servers to scan for, therefore energy Enough so that member search's engine of each server admin obtains United Dispatching, and it can reduce local server computational burden, and Improve the accuracy of mobile search.
Implementing the embodiment of the present invention can make member search's engine of each search server management obtain United Dispatching, The computational burden of search server can be mitigated again, further, it is possible to eliminate the trouble that user repeatedly inquires, make user query more It is convenient.
Another embodiment of the invention also provides a kind of information search terminal equipment, including processor, memory and The computer program executed by the processor is stored in the memory and is configured as, and described in processor execution Such as above-mentioned information search method is realized when computer program.
Another embodiment of the invention also provides a kind of computer readable storage medium, the computer-readable storage medium Matter includes the computer program of storage, wherein controls the computer readable storage medium in computer program operation Place equipment executes such as above-mentioned information search method.
The above is a preferred embodiment of the present invention, it is noted that for those skilled in the art For, without departing from the principle of the present invention, several improvement and deformations can also be made, these improvement and deformations are also considered as Protection scope of the present invention.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..

Claims (10)

1. a kind of information search method, suitable for being executed in calculating equipment characterized by comprising
The searching request for the carrying keyword that customer in response end is sent is scheduled according to the member index being locally stored and selects and institute State the highest search engine of keyword match degree;
According to the mapping relations of search engine and server, the server where described search engine is searched;
Described search engine scans in the server and internet respectively according to the keyword, obtains corresponding One search result and the second search result;
First search result and the second search result are according to priority provided to the client.
2. information search method according to claim 1, which is characterized in that the member index includes the member of local server The member index of index and other servers, and the local server and other server sync members index;First search As a result priority is greater than the priority of second search result.
3. information search method according to claim 1, which is characterized in that described according to search engine and server Mapping relations, search described search engine where server after, further includes:
If the server is not the local server, transmission binary search is requested to be requested to the service according to described search Device.
4. information search method according to claim 3, which is characterized in that described secondary according to described search request transmission Searching request is to the server, comprising:
According to the mapping relations, mark and the address of the server are obtained;
According to mark and address, binary search request is sent to the server.
5. information search method according to claim 3, which is characterized in that described secondary according to described search request transmission Searching request is to the server, further includes:
The server parses the binary search request, obtains mark and the address of the keyword and described search engine;
According to the mark of described search engine and address, the binary search for carrying keyword request is transmitted to described Search engine scans for.
6. a kind of information search device characterized by comprising
Search engine scheduler module, for the searching request for the carrying keyword that customer in response end is sent, according to what is be locally stored Member index, which is scheduled, to be selected and the highest search engine of keyword match degree;
Server searching module, for the mapping relations according to search engine and server, where searching described search engine Server;
Search module scans in the server and internet respectively for described search engine according to the keyword, Obtain corresponding first search result and the second search result;
Input/output module, for first search result and the second search result to be according to priority provided to the client End.
7. information search device according to claim 6, which is characterized in that the member index includes the member of local server The member index of index and other servers, and the local server and other server sync members index;First search As a result priority is greater than the priority of second search result.
8. information search device according to claim 1, which is characterized in that further include:
Server searching module requests to send if being also used to the server not is the local server according to described search Binary search is requested to the server.
9. a kind of information search terminal equipment, which is characterized in that in the memory including processor, memory and storage And it is configured as the computer program executed by the processor, and realize such as when the processor execution computer program Information search method described in any one of claim 1 to 5.
10. a kind of computer readable storage medium, which is characterized in that the computer readable storage medium includes the calculating of storage Machine program, wherein equipment where controlling the computer readable storage medium in computer program operation is executed as weighed Benefit requires 1 to 5 described in any item information search methods.
CN201811464099.5A 2018-11-30 2018-11-30 A kind of information search method, device, terminal device and storage medium Pending CN109635189A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811464099.5A CN109635189A (en) 2018-11-30 2018-11-30 A kind of information search method, device, terminal device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811464099.5A CN109635189A (en) 2018-11-30 2018-11-30 A kind of information search method, device, terminal device and storage medium

Publications (1)

Publication Number Publication Date
CN109635189A true CN109635189A (en) 2019-04-16

Family

ID=66070854

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811464099.5A Pending CN109635189A (en) 2018-11-30 2018-11-30 A kind of information search method, device, terminal device and storage medium

Country Status (1)

Country Link
CN (1) CN109635189A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110807141A (en) * 2019-11-04 2020-02-18 北京联想协同科技有限公司 Data searching method and device and readable storage medium
CN111400029A (en) * 2020-02-10 2020-07-10 北京物资学院 Web search service method and device with storage and editing functions
CN112309563A (en) * 2019-07-26 2021-02-02 深圳百诺明医说科技有限公司 Method and system for improving information pushing accuracy of medical robot
CN113590884A (en) * 2020-04-30 2021-11-02 华为技术有限公司 Distributed data searching method and index file sharing method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101620605A (en) * 2008-07-04 2010-01-06 华为技术有限公司 Search method, search server and search system
CN101667179A (en) * 2008-09-03 2010-03-10 华为技术有限公司 Mobile search method and system, and method for synchronizing search capability of search server
CN101676901A (en) * 2008-09-19 2010-03-24 华为技术有限公司 Search dispatching method and search server
CN103310010A (en) * 2013-07-01 2013-09-18 百度在线网络技术(北京)有限公司 Search method, search system and search engine
CN106021248A (en) * 2015-09-16 2016-10-12 展视网(北京)科技有限公司 System and method for downloading video file related to meta-search engine

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101620605A (en) * 2008-07-04 2010-01-06 华为技术有限公司 Search method, search server and search system
CN101667179A (en) * 2008-09-03 2010-03-10 华为技术有限公司 Mobile search method and system, and method for synchronizing search capability of search server
WO2010025652A1 (en) * 2008-09-03 2010-03-11 华为技术有限公司 Mobile searching method and system, and method for synchronizing search ability of searching server
CN101676901A (en) * 2008-09-19 2010-03-24 华为技术有限公司 Search dispatching method and search server
CN103310010A (en) * 2013-07-01 2013-09-18 百度在线网络技术(北京)有限公司 Search method, search system and search engine
CN106021248A (en) * 2015-09-16 2016-10-12 展视网(北京)科技有限公司 System and method for downloading video file related to meta-search engine

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112309563A (en) * 2019-07-26 2021-02-02 深圳百诺明医说科技有限公司 Method and system for improving information pushing accuracy of medical robot
CN112309563B (en) * 2019-07-26 2023-08-15 深圳百诺明医说科技有限公司 Method and system for improving information pushing accuracy of medical robot
CN110807141A (en) * 2019-11-04 2020-02-18 北京联想协同科技有限公司 Data searching method and device and readable storage medium
CN111400029A (en) * 2020-02-10 2020-07-10 北京物资学院 Web search service method and device with storage and editing functions
CN113590884A (en) * 2020-04-30 2021-11-02 华为技术有限公司 Distributed data searching method and index file sharing method

Similar Documents

Publication Publication Date Title
CN109635189A (en) A kind of information search method, device, terminal device and storage medium
JP6880131B2 (en) Methods, devices and systems for data processing
CN102780768B (en) Processing method and processing system for highly-concurrent requests
CN101667179B (en) Mobile search method and system, and method for synchronizing meta-indexing of search server
CN107545338B (en) Service data processing method and service data processing system
US9600501B1 (en) Transmitting and receiving data between databases with different database processing capabilities
US10235384B2 (en) Servicing database operations using a messaging server
CN107451208B (en) Data searching method and device
CN109614402B (en) Multidimensional data query method and device
US20040044718A1 (en) Submitting jobs in a distributed computing environment
KR101467716B1 (en) Method and apparatus for distributing published messages
CN105005611B (en) A kind of file management system and file management method
CN102609421B (en) Data query method and device
US20130346540A1 (en) Storing and Moving Data in a Distributed Storage System
US11860870B2 (en) High efficiency data querying
CN109388654A (en) A kind of method and apparatus for inquiring tables of data
US9047328B2 (en) Searching entity-key associations using in-memory objects
CN102325098B (en) Group information acquisition method and system
JP3183236B2 (en) Search system and computer-readable recording medium storing program for generating search system
CN102761617A (en) Workflow queue server and workflow scheduling system and method
CN103020300B (en) Method and device for information retrieval
CN101382959B (en) Multimedia resource acquisition method, apparatus and system
JP3248530B2 (en) Search system and computer-readable recording medium storing program for generating search system
JPWO2016067370A1 (en) Information processing apparatus, method, and program
CN101840401A (en) Dictionary assistance searching system and method thereof

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190416