CN110020082A - A kind of searching method and device - Google Patents

A kind of searching method and device Download PDF

Info

Publication number
CN110020082A
CN110020082A CN201711308330.7A CN201711308330A CN110020082A CN 110020082 A CN110020082 A CN 110020082A CN 201711308330 A CN201711308330 A CN 201711308330A CN 110020082 A CN110020082 A CN 110020082A
Authority
CN
China
Prior art keywords
search
local
web
search results
results
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
CN201711308330.7A
Other languages
Chinese (zh)
Other versions
CN110020082B (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.)
Beijing Sogou Technology Development Co Ltd
Original Assignee
Beijing Sogou Technology Development 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 Beijing Sogou Technology Development Co Ltd filed Critical Beijing Sogou Technology Development Co Ltd
Priority to CN201711308330.7A priority Critical patent/CN110020082B/en
Publication of CN110020082A publication Critical patent/CN110020082A/en
Application granted granted Critical
Publication of CN110020082B publication Critical patent/CN110020082B/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/10File systems; File servers
    • G06F16/14Details of searching files based on file metadata
    • G06F16/148File search processing
    • 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/951Indexing; Web crawling techniques

Abstract

The invention discloses a kind of searching methods, comprising: obtains the search key of user's input;Based on described search keyword, local search is locally carried out in terminal device, and web search is carried out on network;According to the local search and the web search, final search result is exported.The present invention solves or part solves searching method in the prior art, it is difficult to which the technical issues of meeting the search need of user realizes the technical effect for meeting user demand to a greater extent.Meanwhile the invention also discloses a kind of searchers.

Description

A kind of searching method and device
Technical field
The present invention relates to Internet technical field more particularly to a kind of searching methods and device.
Background technique
With the continuous development of Internet technology, user searches various information by search engine with can be convenient.Example Such as, user can input any search key in search box, close to easily pass search engine and obtain with the search The relevant information of keyword.
Currently, the information content on network is huge, and can all increase a large amount of information newly daily, user is being scanned for When, a large amount of relevant information usually can be all searched, it is still, really seldom to the possibility that user is useful in these information, it is difficult to It meets the needs of users.
Summary of the invention
The embodiment of the present invention by providing a kind of searching method and device, solve or part solve it is in the prior art Searching method, it is difficult to which the technical issues of meeting the search need of user realizes the technology for meeting user demand to a greater extent Effect.
In a first aspect, the embodiment of the present invention through the invention provides the following technical solutions:
A kind of searching method, comprising:
Obtain the search key of user's input;
Based on described search keyword, local search is locally carried out in terminal device, and carry out network on network and search Rope;
According to the local search and the web search, final search result is exported.
Preferably, described according to the local search and the web search, export final search result, comprising:
According to the local search, local search results are obtained;
Key message is extracted from the local search results;
By the key message and described search keyword together as new search key, the network is carried out Search obtains web search results;
Using the web search results as the final search result output.
Preferably, described according to the local search and the web search, export final search result, comprising:
Local search results are obtained according to the local search, and obtain web search knot according to the web search Fruit;
The local search results and the web search results are integrated, using the search result after integration as institute State final search result output.
It is preferably, described to integrate the local search results and the web search results, comprising:
The local search results and the web search results are combined in a manner of hybrid-sorting, obtain institute Search result after stating integration;Or
In the search result that the local search results are inserted into the web search results, obtain described whole Search result after conjunction.
Preferably, described according to the local search and the web search, export final search result, comprising:
Local search results are obtained according to the local search, and obtain web search knot according to the web search Fruit;
Based on the local search results, the web search results are screened, by the web search knot after screening Fruit is as the final search result output.
It is preferably, described to obtain local search results according to the local search, comprising:
Based on described search keyword, the communication information or address list or picture number that are locally stored in the terminal device According to scanning in library or public platform information or instant communicating system, the local to match with described search keyword is obtained Search result.
Preferably, the final search result of the output, comprising:
The final search result is exported by pop-up mode.
Preferably, after the search result using after integration is as the final search result output, further includes:
When the user carries out web search, in the corresponding first display area output first of the local search results Identification information, the first identifier information is for indicating that the local search results are local from the terminal device;Or
When the user carries out local search, in the corresponding second display area output second of the web search results Identification information, the second identifier information is for indicating the web search results from network.
Second aspect, the embodiment of the present invention through the invention, provides the following technical solutions:
A kind of searcher, comprising:
Keyword acquiring unit, for obtaining the search key of user's input;
Syndicating search unit locally carries out local search, Yi Ji in terminal device for being based on described search keyword Web search is carried out on network;
Output unit, for exporting final search result according to the local search and the web search.
Preferably, the output unit, is specifically used for:
According to the local search, local search results are obtained;Key message is extracted from the local search results;It will The key message and described search keyword carry out the web search, obtain net together as new search key Network search result;
Using the web search results as the final search result output.
Preferably, the output unit, is specifically used for:
Local search results are obtained according to the local search, and obtain web search knot according to the web search Fruit;The local search results and the web search results are integrated, as described in most using the search result after integration Whole search result output.
Preferably, the output unit, is specifically used for:
The local search results and the web search results are combined in a manner of hybrid-sorting, obtain institute Search result after stating integration;Or the local search results are inserted into a search result in the web search results In, the search result after obtaining the integration.
Preferably, the output unit, is specifically used for:
Local search results are obtained according to the local search, and obtain web search knot according to the web search Fruit;Based on the local search results, the web search results are screened, using the web search results after screening as The final search result output.
Preferably, the output unit, is specifically used for:
Based on described search keyword, the communication information or address list or picture number that are locally stored in the terminal device According to scanning in library or public platform information or instant communicating system, the local to match with described search keyword is obtained Search result.
Preferably, the output unit, is specifically used for:
The final search result is exported by pop-up mode.
Preferably, the output unit, is specifically used for:
When the user carries out web search, in the search result using after integration as the final search knot After fruit output, first identifier information, the first identifier are exported in corresponding first display area of the local search results Information is for indicating that the local search results are local from the terminal device;Or local search is carried out in the user When, after the search result using after integration is as the final search result output, in the web search results Corresponding second display area exports second identifier information, and the second identifier information is for indicating that the web search results are come From in network.
The third aspect, the embodiment of the present invention through the invention, provides the following technical solutions:
A kind of searcher including memory, processor and stores the meter that can be run on a memory and on a processor Calculation machine program, the processor perform the steps of when executing described program
Obtain the search key of user's input;Based on described search keyword, local search locally is carried out in terminal device Rope, and web search is carried out on network;According to the local search and the web search, final search knot is exported Fruit.
Fourth aspect, the embodiment of the present invention through the invention, provides the following technical solutions:
A kind of computer readable storage medium, is stored thereon with computer program, realization when which is executed by processor Following steps:
Obtain the search key of user's input;Based on described search keyword, local search locally is carried out in terminal device Rope, and web search is carried out on network;According to the local search and the web search, final search knot is exported Fruit.
The one or more technical solutions provided in the embodiment of the present invention, have at least the following technical effects or advantages:
In embodiments of the present invention, a kind of searching method is disclosed, comprising: obtain the search key of user's input;Base In described search keyword, local search is locally carried out in terminal device, and web search is carried out on network;According to described Ground search and the web search, export final search result.Due to when user scans for, combine web search and Two kinds of ways of search of local search, and final search result is exported to user, it improves final search result and meets user The probability of demand, so, it efficiently solves or part solves searching method in the prior art, it is difficult to meet the search of user The technical issues of demand, and then realize the technical effect for meeting user demand to a greater extent.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, for this For the those of ordinary skill of field, without creative efforts, it can also be obtained according to these attached drawings others Attached drawing.
Fig. 1 is a kind of flow chart of searching method in the embodiment of the present invention;
Fig. 2 is a kind of structural block diagram of searcher 200 in the embodiment of the present invention;
Fig. 3 is a kind of structural block diagram of searcher 800 in the embodiment of the present invention;
Fig. 4 be a kind of device for search shown according to an exemplary embodiment as server when structural frames Figure.
Specific embodiment
The embodiment of the present invention by providing a kind of searching method and device, solve or part solve it is in the prior art Searching method, it is difficult to which the technical issues of meeting the search need of user realizes the technology for meeting user demand to a greater extent Effect.
The technical solution of the embodiment of the present invention is in order to solve the above technical problems, general thought is as follows:
A kind of searching method, comprising: obtain the search key of user's input;Based on described search keyword, in terminal Equipment locally carries out local search, and web search is carried out on network;According to the local search and the web search, Export final search result.
In order to better understand the above technical scheme, in conjunction with appended figures and specific embodiments to upper Technical solution is stated to be described in detail.
Illustrate first, herein presented term "and/or", only a kind of incidence relation for describing affiliated partner, table Show there may be three kinds of relationships, for example, A and/or B, can indicate: individualism A exists simultaneously A and B, individualism B this three Kind situation.In addition, character "/" herein, typicallys represent the relationship that forward-backward correlation object is a kind of "or".
Embodiment one
A kind of searching method is present embodiments provided, is applied in terminal device, the terminal device can be intelligent hand Machine or tablet computer or vehicle-mounted computer or desktop computer/laptop or game machine or digital camera, etc., for institute State which kind of equipment terminal device is specifically, the present embodiment is not specifically limited.
Specifically, as shown in Figure 1, described search method, comprising:
Step S101: the search key of user's input is obtained.
As an alternative embodiment, step S101, comprising:
When user carries out web search, the search key that user inputs at web search interface is obtained;Or
When user carries out local search, the search key that user inputs at local search interface is obtained.
In the specific implementation process, it provides there are two types of way of search, one kind is " web search ", and another kind is " locally to search Rope ", user can be scanned for the one such way of search of unrestricted choice.
In the specific implementation process, so-called " web search " just refer to using search engine (such as: " search dog " search draws Hold up or " Baidu " search engine or " Google " search engine, etc.) scan on the internet, to obtain and search The search result that keyword matches.
For example, the page of user's current accessed can be detected, if finding, the URL of the page is searched page URL (such as:https://www.sogou.com/Orhttps://www.baidu.com/Orhttps:// www.google.com/, etc.) or find to be provided with search box on the page, then the behavior of user is monitored, if monitoring Search key is had input in the search box of searched page to user, then extracts the search key.Alternatively, in terminal device In be equipped with the corresponding search App of search engine (Application, using) (such as: " search dog search " App or " mobile phone hundred Degree " App or " Google search " App, etc.) when, it, then can be to the behavior of user when detecting that user starts search App It is monitored, if monitoring, user has input search key in the search box on search App, extracts search key Word.
In the specific implementation process, so-called " local search " just refers to be scanned in the data of terminal device local, Specifically, can be communication information (such as: short message, Email, etc., which further includes instant messaging system Information in system, e.g., the information in wechat or QQ) or address list or picture or public platform information (such as: the wechat public Number) in scan for.Accordingly, corresponding local search interface is provided on terminal device, user can be in local search circle Any search key is inputted in search box on face, the search that terminal device can obtain user's input from the search box is closed Keyword.
For example, if user wants to scan in short message, the short message application interface of terminal device can be entered, and Search key is inputted in search box wherein, to search for the information of oneself needs in the short message that terminal device saves; If user wants to scan in wechat, the wechat application interface of installing terminal equipment can be entered, and in search wherein Search key is inputted in frame, to search for the information of oneself needs in wechat;If user wants to scan in QQ, can To enter the QQ application interface of installing terminal equipment, and search key is inputted in search box wherein, thus in QQ information The information that middle search needs oneself;If user thinks to scan in the e-mail, E-mail address application interface can be entered (or webpage of access E-mail address), and search key is inputted in search box wherein, to search in the e-mail The information that oneself is needed.
For example, if user want to scan in terminal device address list (such as: the phone number of some contact person Code, address, work unit, E-mail address, etc.), then application interface can be recorded with entry communication, and it is defeated in search box wherein Enter search key, to search for the information of oneself needs in address list.
For example, if user wants to scan in the picture library of terminal device, picture library application interface can be entered, And search key is inputted in search box wherein, to search for the picture of oneself needs in local picture.Wherein, right When local picture scans for, the attribute information of available every picture (such as: name information or author information, etc.), The attribute information of picture is matched with the search key that user inputs (alternatively, carrying out image knowledge to the content in picture Not, then the information that will identify that is matched with the search key that user inputs), to obtain and the search key phase The picture matched.
For example, if user wants to scan in public platform information (such as: wechat public platform), can enter In public platform interface, and search key is inputted in search box wherein, to search for oneself in public platform information The public platform information needed.
In the specific implementation process, when user carries out local search, unified local search entrance (example can be provided Such as: search box), and below the search entrance multiple options are set, these options include " short message ", " wechat ", " QQ ", " postal Part ", " address list ", " picture ", any combination in " public platform information ", user can be in the unified local search entrance Middle input search key, and some option of lower section is selected, the search key that terminal device can then be inputted based on user It is scanned in the corresponding local information of option that user chooses.
For example, if user has input " Zhang San " in unified local search entrance, and " short message " option has been selected, Then show that user wants search and " Zhang San " related information in short message;If user inputs in unified local search entrance " XXX company ", and selected " picture " option, then show that user wants search and " XXX company " related figure in picture Piece.
After executing the step S101, it can be based on search key acquired in step s101, execute step S102.
Step S102: being based on search key, locally carries out local search in terminal device, and net is carried out on network Network search.
In the specific implementation process, when carrying out local search, can terminal device local total data (such as: Short message, wechat, QQ, Email, address list, picture, public platform information, etc.) in scan for, obtain crucial with search The local search results that word matches.
In the specific implementation process, when carrying out web search, multiple search engines can be provided, and user is allowed to select it In a search engine as default search engine, in later network search procedure, then directly drawn using the default search It holds up and scans for, and obtain corresponding web search results.
In the specific implementation process, no matter user select in step s101 be which kind of search (such as: " network is searched Rope " or " local search "), two kinds of search (that is: carrying out local and network Syndicating search) can be all carried out in step s 102.
Herein, terminal device is based on search key and has carried out Syndicating search (that is: locally carrying out local search in terminal device Rope, and web search is carried out on network), it is therefore intended that the demand to user carries out depth excavation, and providing can be bigger Meet the final search result of user demand in degree.
Step S103: according to local search and web search, final search result is exported.
As an alternative embodiment, step S103, including following two embodiment (that is: mode A and mode B):
Mode A: local search results are obtained according to local search, and obtain web search results according to web search; Local search results and web search results are integrated, the search result after integration is defeated as final search result Out;Or;Local search results are obtained according to local search, and obtain web search results according to web search;Based on this Ground search result, screens web search results, and the web search results after screening are defeated as final search result Out.
Mode B: according to local search, local search results are obtained;Key message is extracted from local search results;It will close Key information and search key carry out web search, obtain web search results together as new search key;It will The web search results are exported as final search result.
For aforesaid way A, it is exemplified below:
[example 1] user carry out web search when, if user has input search key " Zhang San ", terminal in search box Equipment is then based on the search key " Zhang San ", is scanned on network using search engine, obtains one or more network Search result.Meanwhile terminal device starts local search, and is based on the search key " Zhang San ", terminal device it is local into Row local search, for example, searching contact person " Zhang San " and cell-phone number, address, the job note of the contact person in address list Position, E-mail address, etc. local search results.
Further, it is possible to by local search results (that is: the cell-phone number of " Zhang San ", address, work unit, E-mail address, etc. Information) and web search results integrated, the search result after being integrated.In this way, the search result after output integration When, user can see web search results and local search results simultaneously, to meet the needs of users to a greater extent.
Web search results are screened alternatively, being also based on local search results, for example, by " Zhang San " Cell-phone number (or address) is analyzed, and determines that the city where " Zhang San " is " Beijing ", at this point, then can be to web search results It is screened, is filtered out and " Zhang San " and " Beijing " while matched web search results.It is sieved in this manner it is possible to be exported to user Web search results after choosing, to meet the needs of users to a greater extent.
[example 2] user carry out web search carry out search pictures when, if user has input " mansion XXX " in search box, Terminal device is then based on the search key " mansion XXX ", is scanned on network using search engine, obtain with " XXX is big One or more picture that tall building " matches (these pictures are web search results);Meanwhile terminal device starting is locally searched Rope, and it is based on the search key " mansion XXX ", local search is locally carried out in terminal device, for example, searching in local picture Rope is to one or more picture to match with " mansion XXX " (these pictures are local search results).
Further, it is possible to by the picture and web search results to match with " mansion XXX " in local search results The picture to match with " mansion XXX " is integrated, the search result after being integrated.In this way, the search after output integration When as a result, user can see the picture that the picture that web search obtains and local search obtain simultaneously, thus to a greater extent It meets the needs of users.
[example 3] user carry out web search when, if user has input " hotel XXX ", terminal device in search box It based on the search key " hotel XXX ", is scanned on network using search engine, acquisition matches with " hotel XXX " Web search results;Meanwhile terminal device starts local search, and is based on the search key " hotel XXX ", sets in terminal Standby local progress local search, for example, having been searched and pass in short message (or wechat or Email or wechat public platform) Relevant one or more local search results of keyword " hotel XXX ".
It further, then can be right after obtaining the local search results to match with " hotel XXX " and web search results Local search results and web search results are integrated, the search result after being integrated.In this way, searching after output integration When hitch fruit, user can see the picture that the picture that web search obtains and local search obtain simultaneously, thus more On meet the needs of users.
[example 4] user carry out local search when, if user has input search key in the search box of local search " Li Si ", terminal device are then based on the search key " Li Si ", local data (such as: short message, wechat, QQ, electronics postal Part, address list, picture, public platform information, etc.) in search, obtain one or more web search results;Meanwhile terminal Equipment start web search, and will " Li Si " be used as search key, scanned on network using search engine, obtain and " Li Si " relevant web search results.
It further, then can be to this after obtaining the local search results to match with " Li Si " and web search results Ground search result and web search results are integrated, the search result after being integrated.In this way, the search after output integration When as a result, user can see web search results and local search results simultaneously, to meet the need of user to a greater extent It asks.
Web search results are screened alternatively, being also based on local search results, to meet to a greater extent The demand of user.
For aforesaid way B, it is exemplified below:
[example 5] user carry out web search when, if user has input search key " Zhang San ", terminal in search box Equipment first starts local search, and is based on the search key " Zhang San ", locally carries out local search in terminal device, for example, The address that contact person " Zhang San " is searched in address list is " Beijing ", or the cell-phone number of " Zhang San " belongs to " Beijing ", wherein, " Beijing " is the key message in local search.
Further, terminal device is by the key message (that is: " Beijing ") and search key in local search results (that is: " Zhang San ") restarts web search together as new search key (that is: " Beijing "+" Zhang San "), obtains on network The web search results to match with new search key.In this way, can meet the needs of users to a greater extent.This Place, is extracted key message from local search results, has filtered out useless information, then the key message and user are inputted Search key together as new search key, rather than directly by local search results and search key together as New search key, this way it is possible to avoid cause new search key excessively trifling since local search results are excessive, The problem of being unfavorable for web search.
Further, as an alternative embodiment, it is described that local search results and web search results progress are whole It closes, comprising:
Local search results and web search results are combined in a manner of hybrid-sorting, searching after being integrated Hitch fruit;Or
Search knot in the search result that local search results are inserted into web search results, after being integrated Fruit.
In the specific implementation process, so-called " hybrid-sorting " refers to: by local search results and web search results into When row is integrated, using local search results as an individual search result, mixes and be arranged in other web search results It is shown together, wherein local search results only have the difference of display order with web search results, do not show level Difference.For example, the search result one after integration shares 10 search results, wherein the 1st article is local search results, remaining 2nd to the 10th article be web search results, alternatively, the 4th article be local search results, remaining the 1st to the 3rd article and the 5th to 10th article is web search results.
It in the specific implementation process, can also be by this when being integrated local search results and web search results Ground search result is inserted into a search result in web search results.For example, searching 9 web search knots altogether Fruit, then by 9 search results in a local search results web search results inserted therein, after being integrated.
Further, as an alternative embodiment, described export final search result, comprising: by pop-up side Formula exports final search result.
In the specific implementation process, export final search result (such as: the search result after integration in mode A Or the web search results in the search result or mode B after screening) when, a pop-up can be created, and export in pop-up Final search result.
Alternatively, the case where for local search results and web search results are integrated in mode A, carry out in user When local search, local search results can also be exported at local search interface, web search results are exported in pop-up;With When family carries out web search, web search results can be exported at web search interface, local search results are exported in pop-up.
Further, as an alternative embodiment, being directed to local search results and web search results in mode A The case where being integrated, after step s 103, further includes:
When user carries out web search, in the corresponding first display area output first identifier letter of local search results Breath, first identifier information is for indicating local search results from terminal device local;Or
When user carries out local search, in the corresponding second display area output second identifier letter of web search results Breath, second identifier information is for indicating web search results from network.
Wherein, the first label can be icon or symbol or text, the second label or icon or symbol or text, And first label it is different from the second label.In this way, which user can easily learn in the search result after output arranges A little search results are from network, which search result is from local.
For example, first " local search " printed words are labeled as, second is labeled as " web search " printed words;Alternatively, second Labeled as " from local " printed words, second is labeled as " carrying out automatic network " printed words.
In addition, when user carries out web search, it can be while exporting web search results, in web search results Some neighbouring display area shows the first label, has the local search knot from terminal device local to remind user herein Fruit;When user triggers first identifier, local search results can be shown to user by the modes such as pop-up or switching interface; If user does not trigger, local search results are not shown, avoid bother unnecessary to user.
It equally, can be while exporting local search results, in local search results when user carries out local search Some neighbouring display area shows the second label, has the web search results from network to remind user herein;When with When second identifier is triggered at family, web search results can be shown to user by the modes such as pop-up or switching interface;If user It does not trigger, does not then show web search results, avoid bother unnecessary to user.
Technical solution in the embodiments of the present invention, at least have the following technical effects or advantages:
In embodiments of the present invention, a kind of searching method is disclosed, comprising: obtain the search key of user's input;Base In described search keyword, local search is locally carried out in terminal device, and web search is carried out on network;According to described in Local search and the web search, export final search result.Due to combining web search when user scans for With two kinds of ways of search of local search, and final search result is exported to user, improves final search result and meet and use The probability of family demand, so, it efficiently solves or part solves searching method in the prior art, it is difficult to meet searching for user The technical issues of rope demand, and then realize the technical effect for meeting user demand to a greater extent.
Embodiment two
Based on the same inventive concept, a kind of searcher 200 is present embodiments provided, comprising:
Keyword acquiring unit 201, for obtaining the search key of user's input;
Syndicating search unit 202 locally carries out local search in terminal device for being based on described search keyword, with And web search is carried out on network;
Output unit 203, for exporting final search result according to the local search and the web search.
As an alternative embodiment, output unit 203, is specifically used for:
According to the local search, local search results are obtained;Key message is extracted from the local search results;It will The key message and described search keyword carry out the web search, obtain net together as new search key Network search result;Using the web search results as the final search result output.
As an alternative embodiment, output unit 203, is specifically used for:
Local search results are obtained according to the local search, and obtain web search knot according to the web search Fruit;The local search results and the web search results are integrated, as described in most using the search result after integration Whole search result output.
As an alternative embodiment, output unit 203, is specifically used for:
The local search results and the web search results are combined in a manner of hybrid-sorting, obtain institute Search result after stating integration;Or the local search results are inserted into a search result in the web search results In, the search result after obtaining the integration.
As an alternative embodiment, output unit 203, is specifically used for:
Local search results are obtained according to the local search, and obtain web search knot according to the web search Fruit;Based on the local search results, the web search results are screened, using the web search results after screening as The final search result output.
As an alternative embodiment, output unit 203, is specifically used for:
Based on described search keyword, the communication information or address list or picture number that are locally stored in the terminal device According to scanning in library or public platform information or instant communicating system, the local to match with described search keyword is obtained Search result.
As an alternative embodiment, output unit 203, is specifically used for:
The final search result is exported by pop-up mode.
As an alternative embodiment, output unit 203, is specifically used for:
When the user carries out web search, in the corresponding first display area output first of the local search results Identification information, the first identifier information is for indicating that the local search results are local from the terminal device;Or
When the user carries out local search, in the corresponding second display area output second of the web search results Identification information, the second identifier information is for indicating the web search results from network.
Since the searcher that the present embodiment is introduced is device used by searching method in the implementation embodiment of the present invention, So those skilled in the art can understand searching for the present embodiment based on searching method described in the embodiment of the present invention The specific embodiment of rope device and its various change form, so how to be realized for the searcher herein of the invention real The method applied in example is no longer discussed in detail.It is adopted as long as those skilled in the art implement searching method in the embodiment of the present invention Searcher belongs to the range of the invention to be protected.
Technical solution in the embodiments of the present invention, at least have the following technical effects or advantages:
In embodiments of the present invention, a kind of searcher is disclosed, comprising: keyword acquiring unit, for obtaining user The search key of input;Syndicating search unit locally carries out local search in terminal device for being based on described search keyword Rope, and web search is carried out on network;Output unit, for according to the local search and the web search, output Final search result.Due to when user scans for, combining two kinds of ways of search of web search and local search, and will Final search result, which is exported, to be improved final search result to user and can satisfy the probability of user demand, so, effectively solve It has determined or part solves searching method in the prior art, it is difficult to the technical issues of meeting the search need of user, Jin Ershi The technical effect for meeting user demand to a greater extent is showed.
Fig. 3 is a kind of block diagram of searcher 800 shown according to an exemplary embodiment.For example, device 800 can be Mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, Medical Devices, body-building are set It is standby, personal digital assistant etc..
Referring to Fig. 3, device 800 may include following one or more components: processing component 802, memory 804, power supply Component 806, multimedia component 808, audio component 810, the interface 812 of input/output (I/O), sensor module 814, and Communication component 816.
The integrated operation of the usual control device 800 of processing component 802, such as with display, telephone call, data communication, phase Machine operation and record operate associated operation.Processing element 802 may include that one or more processors 820 refer to execute It enables, to perform all or part of the steps of the methods described above.In addition, processing component 802 may include one or more modules, just Interaction between processing component 802 and other assemblies.For example, processing component 802 may include multi-media module, it is more to facilitate Interaction between media component 808 and processing component 802.
Memory 804 is configured as storing various types of data to support the operation in equipment 800.These data are shown Example includes the instruction of any application or method for operating on device 800, contact data, and telephone book data disappears Breath, picture, video etc..Memory 804 can be by any kind of volatibility or non-volatile memory device or their group It closes and realizes, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash Device, disk or CD.
Electric power assembly 806 provides electric power for the various assemblies of device 800.Electric power assembly 806 may include power management system System, one or more power supplys and other with for device 800 generate, manage, and distribute the associated component of electric power.
Multimedia component 808 includes the screen of one output interface of offer between described device 800 and user.One In a little embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensings Device is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding action Boundary, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more matchmakers Body component 808 includes a front camera and/or rear camera.When equipment 800 is in operation mode, such as screening-mode or When video mode, front camera and/or rear camera can receive external multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 810 is configured as output and/or input audio signal.For example, audio component 810 includes a Mike Wind (MIC), when device 800 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone is matched It is set to reception external audio signal.The received audio signal can be further stored in memory 804 or via communication set Part 816 is sent.In some embodiments, audio component 810 further includes a loudspeaker, is used for output audio signal.
I/O interface 812 provides interface between processing component 802 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lock Determine button.
Sensor module 814 includes one or more sensors, and the state for providing various aspects for device 800 is commented Estimate.For example, sensor module 814 can detecte the state that opens/closes of equipment 800, and the relative positioning of component, for example, it is described Component is the display and keypad of device 800, and sensor module 814 can be with 800 1 components of detection device 800 or device Position change, the existence or non-existence that user contacts with device 800,800 orientation of device or acceleration/deceleration and device 800 Temperature change.Sensor module 814 may include proximity sensor, be configured to detect without any physical contact Presence of nearby objects.Sensor module 814 can also include optical sensor, such as CMOS or ccd image sensor, at As being used in application.In some embodiments, which can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between device 800 and other equipment.Device 800 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their combination.In an exemplary implementation In example, communication component 816 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 816 further includes near-field communication (NFC) module, to promote short range communication.Example Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 800 can be believed by one or more application specific integrated circuit (ASIC), number Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, carry out pipe for executing a kind of pair of collection The method of reason, which comprises the access operation based on user, access are stored in the network profile of server;Show institute M Information on Collection in network profile is stated, M is positive integer;First choice operation based on the user, is received from the M item It hides and determines the first Information on Collection in information, wherein the quantity of first Information on Collection is one or more;Based on the user Down operation, first Information on Collection is downloaded in the local collection of browser.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 804 of instruction, above-metioned instruction can be executed by the processor 820 of device 800 to complete the above method.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
Fig. 4 be a kind of device for search shown according to an exemplary embodiment as server when block diagram.It should Server 1900 can generate bigger difference because configuration or performance are different, may include one or more central processings Device (central processing units, CPU) 1922 (for example, one or more processors) and memory 1932, (such as one or more magnanimity of storage medium 1930 of one or more storage application programs 1942 or data 1944 Store equipment).Wherein, memory 1932 and storage medium 1930 can be of short duration storage or persistent storage.Storage is stored in be situated between The program of matter 1930 may include one or more modules (diagram does not mark), and each module may include in server Series of instructions operation.Further, central processing unit 1922 can be set to communicate with storage medium 1930, service The series of instructions operation in storage medium 1930 is executed on device 1900.
Server 1900 can also include one or more power supplys 1926, one or more wired or wireless nets Network interface 1950, one or more input/output interfaces 1958, one or more keyboards 1956, and/or, one or More than one operating system 1941, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM Etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of terminal device When device executes, so that terminal device is able to carry out a kind of searching method, which comprises the search for obtaining user's input is crucial Word;Based on described search keyword, local search is locally carried out in terminal device, and web search is carried out on network;According to According to the local search and the web search, final search result is exported.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to of the invention its Its embodiment.The present invention is directed to cover any variations, uses, or adaptations of the invention, these modifications, purposes or Person's adaptive change follows general principle of the invention and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and true scope and spirit of the invention are by following Claim is pointed out.
It should be understood that the present invention is not limited to the precise structure already described above and shown in the accompanying drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is limited only by the attached claims with The upper only presently preferred embodiments of the present invention, is not intended to limit the invention, all within the spirits and principles of the present invention, institute Any modification, equivalent substitution, improvement and etc. of work, should all be included in the protection scope of the present invention.

Claims (10)

1. a kind of searching method characterized by comprising
Obtain the search key of user's input;
Based on described search keyword, local search is locally carried out in terminal device, and web search is carried out on network;
According to the local search and the web search, final search result is exported.
2. searching method as described in claim 1, which is characterized in that described to be searched according to the local search and the network Rope exports final search result, comprising:
According to the local search, local search results are obtained;
Key message is extracted from the local search results;
By the key message and described search keyword together as new search key, the web search is carried out, Obtain web search results;
Using the web search results as the final search result output.
3. searching method as described in claim 1, which is characterized in that described to be searched according to the local search and the network Rope exports final search result, comprising:
Local search results are obtained according to the local search, and obtain web search results according to the web search;
The local search results and the web search results are integrated, as described in most using the search result after integration Whole search result output.
4. searching method as claimed in claim 3, which is characterized in that described to search the local search results and the network Hitch fruit is integrated, comprising:
The local search results and the web search results are combined in a manner of hybrid-sorting, are obtained described whole Search result after conjunction;Or
In the search result that the local search results are inserted into the web search results, after obtaining the integration Search result.
5. searching method as described in claim 1, which is characterized in that described to be searched according to the local search and the network Rope exports final search result, comprising:
Local search results are obtained according to the local search, and obtain web search results according to the web search;
Based on the local search results, the web search results are screened, the web search results after screening are made For the final search result output.
6. such as the described in any item searching methods of claim 2-5, which is characterized in that described to obtain this according to the local search Ground search result, comprising:
Based on described search keyword, the communication information or address list or image data that are locally stored in the terminal device It is scanned in library or public platform information or instant communicating system, obtains the local to match with described search keyword and search Hitch fruit.
7. searching method as described in claim 1, which is characterized in that the final search result of the output, comprising:
The final search result is exported by pop-up mode.
8. a kind of searcher characterized by comprising
Keyword acquiring unit, for obtaining the search key of user's input;
Syndicating search unit locally carries out local search in terminal device, and in network for being based on described search keyword Upper carry out web search;
Output unit, for exporting final search result according to the local search and the web search.
9. a kind of searcher including memory, processor and stores the calculating that can be run on a memory and on a processor Machine program, which is characterized in that the processor performs the steps of when executing described program
Obtain the search key of user's input;Based on described search keyword, local search is locally carried out in terminal device, with And web search is carried out on network;According to the local search and the web search, final search result is exported.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor It is performed the steps of when execution
Obtain the search key of user's input;Based on described search keyword, local search is locally carried out in terminal device, with And web search is carried out on network;According to the local search and the web search, final search result is exported.
CN201711308330.7A 2017-12-11 2017-12-11 Searching method and device Active CN110020082B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711308330.7A CN110020082B (en) 2017-12-11 2017-12-11 Searching method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711308330.7A CN110020082B (en) 2017-12-11 2017-12-11 Searching method and device

Publications (2)

Publication Number Publication Date
CN110020082A true CN110020082A (en) 2019-07-16
CN110020082B CN110020082B (en) 2022-02-11

Family

ID=67186838

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711308330.7A Active CN110020082B (en) 2017-12-11 2017-12-11 Searching method and device

Country Status (1)

Country Link
CN (1) CN110020082B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111597439A (en) * 2020-04-30 2020-08-28 北京字节跳动网络技术有限公司 Information processing method and device and electronic equipment
CN113704606A (en) * 2021-08-26 2021-11-26 山东库睿科技有限公司 Searching method, searching device, electronic equipment and storage medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1750678A (en) * 2004-09-15 2006-03-22 北京中星微电子有限公司 Method and its system for searching network data by mobile communication terminal
CN101276361A (en) * 2007-03-28 2008-10-01 阿里巴巴集团控股有限公司 Method and system for displaying related key words
US20100306249A1 (en) * 2009-05-27 2010-12-02 James Hill Social network systems and methods
CN101916265A (en) * 2010-07-30 2010-12-15 百度在线网络技术(北京)有限公司 Inquiry based method and device for showing local resource of user equipment
CN102004765A (en) * 2010-11-09 2011-04-06 突触计算机系统(上海)有限公司 Method and equipment for searching media files based on internet television
JP2011175453A (en) * 2010-02-24 2011-09-08 Kansai Electric Power Co Inc:The Keyword retrieval system
CN103745013A (en) * 2014-01-28 2014-04-23 中科创达软件股份有限公司 Searching method and device
CN104572960A (en) * 2014-12-29 2015-04-29 北京奇虎科技有限公司 Searching method and searching device
CN105808740A (en) * 2016-03-11 2016-07-27 程书京 Information search method and information search device
CN106897289A (en) * 2015-12-18 2017-06-27 北京奇虎科技有限公司 The optimization method and device of information search
CN107092621A (en) * 2016-11-24 2017-08-25 北京小度信息科技有限公司 Information search method and device

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1750678A (en) * 2004-09-15 2006-03-22 北京中星微电子有限公司 Method and its system for searching network data by mobile communication terminal
CN101276361A (en) * 2007-03-28 2008-10-01 阿里巴巴集团控股有限公司 Method and system for displaying related key words
US20100306249A1 (en) * 2009-05-27 2010-12-02 James Hill Social network systems and methods
JP2011175453A (en) * 2010-02-24 2011-09-08 Kansai Electric Power Co Inc:The Keyword retrieval system
CN101916265A (en) * 2010-07-30 2010-12-15 百度在线网络技术(北京)有限公司 Inquiry based method and device for showing local resource of user equipment
CN102004765A (en) * 2010-11-09 2011-04-06 突触计算机系统(上海)有限公司 Method and equipment for searching media files based on internet television
CN103745013A (en) * 2014-01-28 2014-04-23 中科创达软件股份有限公司 Searching method and device
CN104572960A (en) * 2014-12-29 2015-04-29 北京奇虎科技有限公司 Searching method and searching device
CN106897289A (en) * 2015-12-18 2017-06-27 北京奇虎科技有限公司 The optimization method and device of information search
CN105808740A (en) * 2016-03-11 2016-07-27 程书京 Information search method and information search device
CN107092621A (en) * 2016-11-24 2017-08-25 北京小度信息科技有限公司 Information search method and device

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
YIH-JIUN LEE 等: "A smart internet searching service for internet and weblog users - based on Taiwanese searching preferences", 《4TH INTERNATIONAL CONFERENCE ON NEW TRENDS IN INFORMATION SCIENCE AND SERVICE SCIENCE》 *
洪茹燕: "国外组织创新搜索研究述评", 《重庆大学学报(社会科学版)》 *
王忠民等: "一种移动智能搜索个性化客户端", 《西安邮电大学学报》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111597439A (en) * 2020-04-30 2020-08-28 北京字节跳动网络技术有限公司 Information processing method and device and electronic equipment
CN113704606A (en) * 2021-08-26 2021-11-26 山东库睿科技有限公司 Searching method, searching device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN110020082B (en) 2022-02-11

Similar Documents

Publication Publication Date Title
CN106708282B (en) A kind of recommended method and device, a kind of device for recommendation
CN105320736B (en) For providing the device and method of information
CN104123316B (en) Resource collecting method, device and equipment
CN107329743A (en) Methods of exhibiting, device and the storage medium of five application page
CN104331503B (en) The method and device of information push
CN106528617B (en) A kind of method and device that Web page picture is shown
CN108205408B (en) Message display method and device
CN110020148A (en) A kind of information recommendation method, device and the device for information recommendation
CN109325184A (en) Searching method and device
CN108874939A (en) A kind of information search method and device
CN108073606A (en) A kind of news recommends method and apparatus, a kind of device recommended for news
CN107784045A (en) A kind of quickly revert method and apparatus, a kind of device for quickly revert
CN109358785A (en) Theme method for previewing and device
US8260268B2 (en) Method for transmitting and receiving data in mobile terminal and mobile terminal using the same
CN108874827A (en) A kind of searching method and relevant apparatus
CN109213942A (en) A kind of search result methods of exhibiting and device
CN107229403A (en) A kind of information content system of selection and device
CN106815291A (en) Search result items exhibiting method, device and the device represented for search result items
CN104572848B (en) Searching method based on browser and device
WO2014146442A1 (en) Content sharing method, apparatus and electronic device
CN107045541A (en) data display method and device
CN105302335B (en) Vocabulary recommends method and apparatus and computer readable storage medium
CN108572979A (en) A kind of position service method and device, a kind of device for location-based service
CN110020082A (en) A kind of searching method and device
CN105187597B (en) A kind of management method of voice record, device and its mobile terminal

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