CN102930057B - Search implementation method and device - Google Patents

Search implementation method and device Download PDF

Info

Publication number
CN102930057B
CN102930057B CN201210477718.0A CN201210477718A CN102930057B CN 102930057 B CN102930057 B CN 102930057B CN 201210477718 A CN201210477718 A CN 201210477718A CN 102930057 B CN102930057 B CN 102930057B
Authority
CN
China
Prior art keywords
search
keyword
browser
user
address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210477718.0A
Other languages
Chinese (zh)
Other versions
CN102930057A (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 Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201210477718.0A priority Critical patent/CN102930057B/en
Publication of CN102930057A publication Critical patent/CN102930057A/en
Application granted granted Critical
Publication of CN102930057B publication Critical patent/CN102930057B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of search implementation method and device, relate to Internet technical field.Described device includes: keyword categories judge module, search processing module and display output module;Described keyword categories judge module is suitable to the input keyword obtaining user in browser address bar, initiates search to search processing module and processes request;Described search processing module is suitable to according to the request obtaining search suggestion keyword, and the search suggestion keyword returned by described preset search engine is sent to show output module;Described display output module is suitable to show the search suggestion keyword returned in the prompting frame of the address field of browser and also be suitable at the icon of preset search engine described in the appointment position display of the address field of browser.Technical scheme, can realize function of search in the address field of browser, is thus no longer necessary in browser arrange single search column, achieves merging address field and the beneficial effect of search column.

Description

Search implementation method and device
Technical field
The present invention relates to Internet technical field, be specifically related to a kind of search implementation method and device.
Background technology
Browser refers to show the html file content of web page server or file system, and allows User and a kind of client software of these file interactions.Web browser mainly by http protocol with Web page server alternately and obtains webpage, and these webpages are specified by URL, and file format is usually HTML, And indicated in http protocol by MIME.One webpage can include multiple document, each document It is all to obtain from server respectively.In addition to html extensive supported by most browser itself Form, the picture format such as such as JPEG, PNG, GIF, and can extend and support numerous plug-in units (plug-ins).It addition, many browsers also support other URL type and corresponding agreement thereof, Encryption version such as FTP, Gopher, HTTPS(HTTP agreement) etc..
In existing browser, address field and search box are all provided separately.Wherein address field is for defeated Enter to access network address.Search box is used for inputting search key.Such as, in the middle of the browser of IE 8, micro- Soft built-in containing some search boxes, it is built-in with oneself Bing search of Microsoft, Google etc. well-known common Search engine, under default conditions search box be absorption on the right of the address field of browser.
But the development trend of the browser in future is only one of which input frame, it is therefore desirable to on browser Multiple input frames integrate.
Summary of the invention
In view of the above problems, it is proposed that the present invention is to provide one to overcome the problems referred to above or at least partly Ground solves a kind of search implementation method and the device of the problems referred to above.
According to one aspect of the present invention, it is provided that a kind of search implementation method, including:
Obtain user's input keyword in browser address bar;
Whether the classification judging described input keyword is search keyword;
When judging that described input keyword is search keyword, according to described input keyword to browsing Device side preset search engine initiates to obtain the request of search suggestion keyword;
The search suggestion key that described preset search engine returns is shown in the prompting frame of browser address bar Word;
Receive user's selection information to search suggestion keyword, open in the web page tag of browser side Preset search engine carries out the result retrieved according to described search suggestion keyword;
At the icon of preset search engine described in the appointment position display of the address field of browser.
Alternatively, the method farther includes:
When judging that described input keyword is search keyword, also referring to according to described input keyword Determine that file carries out coupling and obtain matching result;
Described matching result is shown further in the prompting frame of browser address bar.
Alternatively, described specified file includes one or more of:
The local historical record of the local collection of browser, browser, download to the net that browser is local Network recommends network address record and the network recommendation network address record of network side.
Alternatively, the described step showing described matching result in the prompting frame of browser address bar further Suddenly include:
Described matching result and described search are advised keyword, with search suggestion keyword in front, coupling The posterior sequencing display of result is in the prompting frame of the address field of browser.
Alternatively, the method farther includes:
Obtain the classification information of user;
According to the classification information of user, described matching result and described search are advised that keyword screens, Obtain the selection result;
Described the selection result is shown in the prompting frame of the address field of browser.
Alternatively, the described classification information obtaining user includes:
History access record according to user analyzes the classification information of user, and by the classification information of user Preservation is bound mutually with the login ID of user;
Login ID according to active user determines the classification information of this user.
Alternatively, described preset search engine is multiple;Then the method farther includes:
When judging that described input keyword is search keyword, according to described input keyword concurrently Initiate to obtain the request of search suggestion keyword respectively to the plurality of preset search engine;
And according to user's selection to search engine in the prompting frame of browser address bar, respectively correspondingly Show the search suggestion keyword that the plurality of preset search engine returns.
Alternatively, the method farther includes:
The search suggestion keyword guarantor corresponding with ID respectively that the plurality of preset search engine is returned There is browser this locality and/or be synchronized to network side.
Alternatively, whether the described classification judging described input keyword is that search keyword includes:
When described input keyword is domain name, it is judged that for not being search keyword;
When described input keyword starts with following arbitrary character string, it is judged that for not being search keyword: " http: // ", " https: // ", " ftp: // ", " javascript: ", " vbscript: ", " res: // ";
When described input keyword has " .. ", it is judged that for being search keyword;
When described input keyword has space, and have “ " or during "/", it is judged that for not being that search is used Keyword;
When described input keyword has space, but there is no “ " or during "/", it is judged that for being that search is used Keyword;
When described input keyword has ": ", it is judged that for not being search keyword;
When described input keyword has " ", " | " or during "/", it is judged that for not being search keyword.
Alternatively, the described method realizing search in the address field of browser is embodied as of browser Plug-in unit.
According to a further aspect in the invention, it is provided that a kind of search realizes device, including keyword categories Judge module, search processing module and display output module;
Described keyword categories judge module, is suitable to obtain user's input in browser address bar crucial Word, it is judged that whether the classification of described input keyword is search keyword, when judging it is that search is crucial During word, initiate search to search processing module and process request;
Described search processing module, is suitable to after receiving described search process request, according to described search The input keyword processed in request initiates to obtain search suggestion keyword to browser side preset search engine Request, and by described preset search engine return search suggestion keyword be sent to show output module;
Described display output module, is suitable to show that in the prompting frame of the address field of browser described presetting is searched The search suggestion keyword of return held up in index;
Described display output module, is further adapted for described in the appointment position display of the address field of browser The icon of preset search engine.
Alternatively, described search processing module, be further adapted in asking according to described search process is defeated Entry keyword carries out coupling in specified file and obtains matching result, and described matching result is sent to display Output module;
Described display output module, is further adapted in the prompting frame of the address field of browser display described Matching result.
Alternatively, described search processing module be suitable to according to described input keyword in following file one Carry out coupling in kind multiple and obtain matching result: the history that the local collection of browser, browser are local The network recommendation network address note of record, the network recommendation network address record downloading to browser this locality and network side Record.
Alternatively, described display output module, be suitable to described matching result and search suggestion keyword, With search suggestion keyword in front, the posterior sequencing display of matching result in the prompting of the address field of browser In frame.
Alternatively, described search processing module, it is further adapted for obtaining the classification information of user, according to acquired The classification information of user, described matching result and described search are advised that keyword screens, obtain The selection result, is sent to the selection result show output module;
Described display output module, is suitable to show described screening knot in the prompting frame of the address field of browser Really.
Alternatively, this device farther includes: class of subscriber analyzes module;
Described class of subscriber analyzes module, is suitable to the history access record according to user and analyzes the class of user Other information, and the login ID of the classification information of user with user is bound preservation mutually.
The most described search processing module, determines the classification information of this user according to the login ID of active user.
Alternatively, described preset search engine is multiple;
The most described search processing module, is suitable to when judging that described input keyword is search keyword, Initiate respectively to the plurality of preset search engine concurrently according to described input keyword to obtain search suggestion The request of keyword;
Described display output module, is suitable to draw search according to user in the prompting frame of browser address bar The selection held up, respectively correspondingly shows the search suggestion keyword that the plurality of preset search engine returns.
Alternatively, described search processing module, it is further adapted for returning the plurality of preset search engine Search suggestion keyword be saved in browser corresponding with ID respectively local and/or be synchronized to network Then.
Alternatively, by following principle, described keyword categories judge module judges that the classification inputting keyword is No for search keyword:
When described input keyword is domain name, it is judged that for not being search keyword;
When described input keyword starts with following arbitrary character string, it is judged that for not being search keyword: " http: // ", " https: // ", " ftp: // ", " javascript: ", " vbscript: ", " res: // ";
When described input keyword has " .. ", it is judged that for being search keyword;
When described input keyword has space, and have “ " or during "/", it is judged that for not being that search is used Keyword;
When described input keyword has space, but there is no “ " or during "/", it is judged that for being that search is used Keyword;
When described input keyword has ": ", it is judged that for not being search keyword;
When described input keyword has " ", " | " or during "/", it is judged that for not being search keyword.
This acquisition user's input keyword in browser address bar according to the present invention, it is judged that this is defeated Whether the classification of entry keyword is search keyword, is then pre-to browser side according to this input keyword If search engine initiates to obtain the request of search suggestion keyword, aobvious in the prompting frame of browser address bar Show the search suggestion keyword that described preset search engine returns, then receive user to search suggestion key The selection information of word, opens preset search engine in the web page tag of browser side and builds according to described search View keyword carries out the technical scheme of the result retrieved, and can realize searching for merit in the address field of browser Can, thus browser is no longer necessary to arrange single search column, achieves merging address field and search column Beneficial effect.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the skill of the present invention Art means, and can being practiced according to the content of description, and in order to allow, the present invention's is above and other Objects, features and advantages can become apparent, below especially exemplified by the detailed description of the invention of the present invention.
Accompanying drawing explanation
By reading the detailed description of hereafter preferred implementation, various other advantage and benefit for this Field those of ordinary skill will be clear from understanding.Accompanying drawing is only used for illustrating the purpose of preferred implementation, And it is not considered as limitation of the present invention.And in whole accompanying drawing, be denoted by the same reference numerals Identical parts.In the accompanying drawings:
Fig. 1 shows the flow chart searching for implementation method according to an embodiment of the invention;
Fig. 2 shows display in the prompting frame of browser address bar according to an embodiment of the invention The schematic diagram of the search suggestion keyword that search engine returns;
Fig. 3 shows the flow chart of the search implementation method according to another embodiment of the present invention;
Fig. 4 shows that search according to an embodiment of the invention realizes the composition structure chart of device;
Fig. 5 shows that the search according to another embodiment of the present invention realizes the composition structure chart of device.
Detailed description of the invention
It is more fully described the exemplary embodiment of the disclosure below with reference to accompanying drawings.Although accompanying drawing shows The exemplary embodiment of the disclosure, it being understood, however, that may be realized in various forms the disclosure and not Should be limited by embodiments set forth here.On the contrary, it is provided that these embodiments are able to more thoroughly Understand the disclosure, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
Fig. 1 shows the flow chart searching for implementation method according to an embodiment of the invention.Such as Fig. 1 institute Showing, the method includes:
Step S101, obtains user's input keyword in browser address bar.
Step S102, it is judged that whether the classification of described input keyword is search keyword.
Step S103, when judging that described input keyword is search keyword, closes according to described input The request of search suggestion keyword initiated to obtain in key word to browser side preset search engine.
Step S104, shows that in the prompting frame of browser address bar what described preset search engine returned searches Suo Jianyi keyword.
Fig. 2 shows display in the prompting frame of browser address bar according to an embodiment of the invention The schematic diagram of the search suggestion keyword that search engine returns.As in figure 2 it is shown, the preset search of acquiescence draws Holding up as " A ", the icon of search engine " A " shows the left side in browser address bar, in the present embodiment Input keyword be " Divine Land ", now in the drop-down prompting frame of address field display be exactly current searching The search suggestion keyword that " A " provides held up in index, including: walk in the Divine Land, Divine Land are hired a car, Divine Land computer Etc..Visible, in an embodiment of the present invention, the appointment position display at the address field of browser is preset The icon of search engine, this appointment position can be position as shown in Figure 2, it is also possible to be other position Put.
Step S105, receives user's selection information to search suggestion keyword, at the webpage of browser side Label is opened the result that preset search engine carries out according to described search suggestion keyword retrieving.
Method shown in Fig. 1 can realize function of search in the address field of browser, thus in browser It is no longer necessary to arrange single search column, achieves merging address field and the beneficial effect of search column.
In the method shown in Fig. 1, in step s 102 if it is judged that input the classification of keyword not It is search keyword, but during access keyword, performs the web page access function of normal address field.
In one embodiment of the invention, multiple search engine can be preset, then when judging in address field Input keyword when being search keyword, search to the plurality of presetting concurrently according to this input keyword The request initiating to obtain search suggestion keyword respectively held up in index, then at the prompting frame of browser address bar Middle according to user's selection to search engine, respectively correspondingly show that the plurality of preset search engine returns Search suggestion keyword.
Such as, in one embodiment of the invention, user can be left to browser address bar shown in Fig. 2 The icon of side clicks, thus selects other search engine, and the left side of address field just finally shows It it is the icon of the search engine that user selects.When user clicks different search engine icons, accordingly Showing the search suggestion keyword that this search engine provides, such user has individual comparison, and can depend on According to different search engines, different results is obtained for identical keyword, user-friendly.
In one embodiment of the invention, it is also possible to the search suggestion that multiple preset search engines are returned Keyword is corresponding with ID respectively to be saved in browser this locality or is synchronized to network side, it is also possible to preserve It is synchronized to network side while browser this locality.So can record some search keys that user commonly uses Word.
In one embodiment of the invention, keyword user inputted in the address field of browser Carry out classification when judging, can judge according to following rule:
(1) when inputting keyword and being domain name, it is judged that for not being search keyword, but access is closed Key word;
(2) when inputting keyword and starting with following arbitrary character string, it is judged that for not being search keyword, But access keyword: " http: // ", " https: // ", " ftp: // ", " javascript: ", " vbscript: ", “res://”;
(3) when input keyword has " .. ", it is judged that for being search keyword;
(4) when input keyword has space, and have “ " or during "/", it is judged that for not being that search is used Keyword, but search keyword;
(5) when input keyword has space, but there is no “ " or during "/", it is judged that for being that search is used Keyword;
(6) when input keyword has ": ", it is judged that for not being search keyword, but search Use keyword;
(7) have when inputting in keyword " ", " | " or during "/", it is judged that for not being search keyword, But search keyword.
Only list, more than it should be noted that, some that keyword categories is judged specifically to advise Then, practical situation is that judgment rule is not limited to above-mentioned 7 kinds enumerated, can be according to actual applicable cases Add other judgment rule.
In one embodiment of the invention, it is that search is crucial when the input keyword judged in address field During word, in addition to initiating to obtain the request that keyword is advised in search to browser side preset search engine, also Coupling can be carried out in the file specified according to this input keyword and obtain matching result, and at browser Showing this matching result in the prompting frame of address field further, detailed process is as shown in Figure 3.
Fig. 3 shows the flow chart of the search implementation method according to another embodiment of the present invention.Such as Fig. 3 Shown in, the method includes:
Step S301, obtains user's input keyword in browser address bar.
Step S302, it is judged that whether the classification of this input keyword is search keyword, is to perform step Rapid S304, otherwise performs step S303.
Step S303, when judging that this input keyword is not search keyword, this input keyword is Access keyword, performs conventional network address and accesses operation.Terminate flow process.
In this step, the conventional func of execution browser address bar, i.e. network address access function, the most no longer Describe in detail.
Step S304, when judging that this input keyword is search keyword, according to this input keyword Initiate to obtain the request of search suggestion keyword to browser side preset search engine, simultaneously according to this input Keyword carries out coupling in specified file and obtains matching result.
In one embodiment of the invention, the specified file described in step S304 includes following one Or multiple: the local historical record of the local collection of browser, browser, to download to browser local Network recommendation network address record and the network recommendation network address record of network side.
Step S305, shows that in the prompting frame of browser address bar the search that preset search engine returns is built Discuss keyword and in specified file, mate the matching result obtained.
In one embodiment of the invention, by preset search engine return search suggestion keyword and Specified file mates the matching result obtained, with search suggestion keyword front, matching result is posterior Sequencing display is in the prompting frame of the address field of browser.
Step S306, receives user to showing the selection information of information in the prompting frame of browser address bar, In the web page tag of browser side, open what preset search engine carried out retrieving according to the selection information of user Result.Terminate flow process.
In this step, user can select the search suggestion keyword in the prompting frame of browser address bar, The described matching result in the prompting frame of browser address bar can also be selected.No matter how user selects, In the web page tag of browser side, all open preset search engine retrieve according to the selection information of user Result.
In one embodiment of the invention, in the method shown in Fig. 1 or Fig. 3, initiate in this locality When mating corresponding to the network address of keyword (local for the local collection of browser, browser Historical record, the network recommendation network address record downloading to browser this locality and the network recommendation net of network side Location record carries out mating in the local network address corresponding to keyword), simultaneously by beginthreadex (0, 0, DownloadMemoryPro, pKey, 0, &m_dwThreadId) function open a thread to Preset search engine initiates to obtain the request of search suggestion keyword.In above-mentioned function DownloadMemoryPro has concrete carrying out initiate to obtain search suggestion to preset search engine The request logic of keyword.One concrete instance of this concrete request logic is as follows: by using browser The suggestion keyword of the Usual Search Engines that side preserves obtains the URL of service, such as: the search of Baidu is drawn The suggestion keyword held up obtains the URL of service, then at the keyword inputted in address field plus user Being synthesized together and form a URL accessed, browser uses the access URL of this synthesis to specifying Search engine, the most e.g. search engine of Baidu.Get search finally by have accessed this URL The return result of the just search suggestion keyword of return held up in index, and by using the API letter of windows Number InternetReadFile reads the return result of this search suggestion keyword returned by search engine.Logical Cross this above-mentioned logic thus realize the just user in browser side in address field, input keyword acquisition The suggestion keyword that the search search engine arrived returns.
In one embodiment of the invention, in the method shown in Fig. 1 or Fig. 3, it is also possible to obtain further Take the classification information at family, first according to the classification information of user, matching result and the search of specified file are drawn The search suggestion keyword holding up return screens, and obtains the selection result, then in the address at browser The prompting frame on hurdle shows described the selection result.This is because the prompting frame of browser address bar can carry The option position of confession is few, by can not whole matching results and search suggestion keyword be demonstrated Come, therefore content interested for user can be shown in prompting frame by this scheme.
In one embodiment of the invention, can analyze user's according to the history access record of user Classification information, and the login ID of the classification information of user with user is bound preservation mutually.Then can basis The login ID of active user finds out the classification information of this user.Such as, browser can be according to user Website information in the website records (historical record) clicked at ordinary times, collection etc. analyze the classification of user, The ID phase of the classification of analysis with browser client being bound, this user i.e. would know that this user's after logging in Classification.The classification of user can be " game user ", " military fan user " etc., then can from Join the search suggestion keyword of result and search engine return filters out and relate to the content of game or military affairs also It is preferably displaying in the prompting frame of browser address bar.
The method realizing search in the address field of browser described in the above example of the present invention is permissible Be embodied as a plug-in unit of browser, so by for browser, this plug-in unit is installed just can be at this browser Address field in realize function of search.
Fig. 4 shows that search according to an embodiment of the invention realizes the composition structure chart of device.Such as figure Shown in 4, this search realizes device 400 and includes: keyword categories judge module 401, search processing module 402 and display output module 403.
Keyword categories judge module 401, is suitable to obtain user's input in browser address bar crucial Word, it is judged that whether the classification of this input keyword is search keyword, is search keyword when judging Time, initiate search to search processing module 402 and process request;
Search processing module 402, is suitable to after receiving described search process request, according to described search The input keyword processed in request initiates to obtain search suggestion keyword to browser side preset search engine Request, and by described preset search engine return search suggestion keyword be sent to show output module 403;
Display output module 403, is suitable to show that in the prompting frame of the address field of browser described presetting is searched The search suggestion keyword of return held up in index.
Device shown in Fig. 4 can realize function of search in the address field of browser, thus in browser It is no longer necessary to arrange single search column, achieves merging address field and the beneficial effect of search column.
Fig. 5 shows that the search according to another embodiment of the present invention realizes the composition structure chart of device.As Shown in Fig. 5, this search realizes device 500 and includes: keyword categories judge module 501, search process Module 502 and display output module 503.
Keyword categories judge module 501, is suitable to obtain user's input in browser address bar crucial Word, it is judged that whether the classification of this input keyword is search keyword, is search keyword when judging Time, initiate search to search processing module 502 and process request.
Search processing module 502, is suitable to after receiving described search process request, according to described search The input keyword processed in request initiates to obtain search suggestion keyword to browser side preset search engine Request, the input keyword simultaneously processed in request according to described search mates in specified file Obtaining matching result, the search suggestion keyword this matching result and preset search engine returned is sent to Display output module 503;
In one embodiment of the invention, search processing module 503 is suitable to exist according to this input keyword One kind of multiple in following file carry out coupling and obtains matching result: be the local collection of browser, clear Historical record, the network recommendation network address record downloading to browser this locality and the network side that device of looking at is local Network recommendation network address record.
Display output module 503, is suitable to show this matching result in the prompting frame of the address field of browser The search suggestion keyword returned with preset search engine.
In one embodiment of the invention, display output module 503 is suitable to this matching result and presets Search engine return search suggestion keyword, with search suggestion keyword front, matching result is posterior Sequencing display is in the prompting frame of the address field of browser.
In one embodiment of the invention, search for processing module 502, be further adapted for obtaining the classification of user Information, according to the classification information of acquired user, is carried out this matching result and search suggestion keyword Screening, obtains the selection result, is sent to the selection result show output module 503.Then show output mould Block 503 shows this selection result in the prompting frame of the address field of browser.This is because browser address The option position that can provide in the prompting frame on hurdle is few, by can not be by whole matching results with search Suo Jianyi keyword shows, therefore content interested for user can be shown by this scheme and carry Show in frame.
Device shown in Fig. 5 may further comprise: that class of subscriber analyzes module 504, is suitable to according to user History access record analyze the classification information of user, and by the login of the classification information of user Yu user ID phase binds preservation.Then search processing module 502, determines this user according to the login ID of active user Classification information.
In one embodiment of the invention, show output module 503, be further adapted at browser The icon of the appointment position display preset search engine of address field.For example, it is possible at the address field of browser Left side display preset search engine icon.
In one embodiment of the invention, preset search engine is multiple.Then search processing module 502, Be suitable to when judging that input keyword is search keyword, many to this concurrently according to this input keyword Individual preset search engine initiates to obtain the request of search suggestion keyword respectively;Display output module 503, Be suitable in the prompting frame of browser address bar according to user's selection to search engine, respectively correspondingly show Show the search suggestion keyword that the plurality of preset search engine returns.
In one embodiment of the invention, search for processing module 502, be further adapted for the plurality of pre- If the search suggestion keyword that search engine returns respectively corresponding with ID be saved in browser local and/ Or it is synchronized to network then.
In one embodiment of the invention, keyword categories judge module 501 judges defeated by following principle Whether the classification of entry keyword is search keyword:
When described input keyword is domain name, it is judged that for not being search keyword;
When described input keyword starts with following arbitrary character string, it is judged that for not being search keyword: " http: // ", " https: // ", " ftp: // ", " javascript: ", " vbscript: ", " res: // ";
When described input keyword has " .. ", it is judged that for being search keyword;
When described input keyword has space, and have “ " or during "/", it is judged that for not being that search is used Keyword;
When described input keyword has space, but there is no “ " or during "/", it is judged that for being that search is used Keyword;
When described input keyword has ": ", it is judged that for not being search keyword;
When described input keyword has " ", " | " or during "/", it is judged that for not being search keyword.
In sum, according to this acquisition user's input keyword in browser address bar of the present invention, Whether the classification judging this input keyword is search keyword, be then according to this input keyword to clear Device side preset search engine of looking at initiates to obtain the request of search suggestion keyword, carrying in browser address bar Show the search suggestion keyword showing in frame that described preset search engine returns, then receive user to search The selection information of suggestion keyword, opens preset search engine according to institute in the web page tag of browser side State search suggestion keyword and carry out the technical scheme of the result retrieved, can be real in the address field of browser Existing function of search, is thus no longer necessary in browser arrange single search column, achieves merging address field Beneficial effect with search column.
It should be understood that
Algorithm and display be not solid with any certain computer, virtual system or miscellaneous equipment provided herein Have relevant.Various general-purpose systems can also be used together with based on teaching in this.As described above, Construct the structure required by this kind of system to be apparent from.Additionally, the present invention is also not for any specific Programming language.It is understood that, it is possible to use various programming languages realize the content of invention described herein, And the description done language-specific above is the preferred forms in order to disclose the present invention.
In description mentioned herein, illustrate a large amount of detail.It is to be appreciated, however, that this Inventive embodiment can be put into practice in the case of not having these details.In some instances, not It is shown specifically known method, structure and technology, in order to do not obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and help understand in each inventive aspect one Or multiple, above in the description of the exemplary embodiment of the present invention, each feature of the present invention is sometimes It is grouped together in single embodiment, figure or descriptions thereof.But, should be by the disclosure Method be construed to reflect an intention that i.e. the present invention for required protection require ratio in each claim The middle more feature of feature be expressly recited.More precisely, as the following claims reflect As, inventive aspect is all features less than single embodiment disclosed above.Therefore, it then follows Claims of detailed description of the invention are thus expressly incorporated in this detailed description of the invention, the most each right Requirement itself is all as the independent embodiment of the present invention.
Those skilled in the art are appreciated that and can carry out the module in the equipment in embodiment certainly Change adaptively and they are arranged in one or more equipment different from this embodiment.Permissible Module in embodiment or unit or assembly are combined into a module or unit or assembly, and in addition may be used To put them into multiple submodule or subelement or sub-component.Except such feature and/or process or Outside at least some in unit excludes each other, can use any combination that (this specification is included companion With claim, summary and accompanying drawing) disclosed in all features and so disclosed any method or All processes of person's equipment or unit are combined.Unless expressly stated otherwise, this specification (includes companion With claim, summary and accompanying drawing) disclosed in each feature can by provide identical, equivalent or phase Replace like the alternative features of purpose.
Although additionally, it will be appreciated by those of skill in the art that embodiments more described herein include it Some feature included in its embodiment rather than further feature, but the group of the feature of different embodiment Close and mean to be within the scope of the present invention and formed different embodiments.Such as, in following power In profit claim, one of arbitrarily can mode making in any combination of embodiment required for protection With.
The all parts embodiment of the present invention can realize with hardware, or to process at one or more The software module run on device realizes, or realizes with combinations thereof.Those skilled in the art should Understand, microprocessor or digital signal processor (DSP) can be used in practice to realize basis The search of the embodiment of the present invention realizes the some or all functions of the some or all parts in device. The present invention is also implemented as part or all the equipment for performing method as described herein Or device program (such as, computer program and computer program).Such realize the present invention Program can store on a computer-readable medium, or can have the shape of one or more signal Formula.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or Person provides with any other form.
The present invention will be described rather than limits the invention to it should be noted above-described embodiment, And those skilled in the art can design replacement in fact without departing from the scope of the appended claims Execute example.In the claims, should not will be located in any reference marks between bracket to be configured to right is wanted The restriction asked.Word " comprises " and does not excludes the presence of the element or step not arranged in the claims.It is positioned at Word "a" or "an" before element does not excludes the presence of multiple such element.The present invention is permissible By means of including the hardware of some different elements and realizing by means of properly programmed computer.? If listing in the unit claim of equipment for drying, several in these devices can be by same Hardware branch specifically embodies.Word first, second and third use do not indicate that any order. Can be title by these word explanations.

Claims (17)

1. a search implementation method, including:
Obtain user's input keyword in browser address bar;
Whether the classification judging described input keyword is search keyword;
When judging that described input keyword is not search keyword, perform conventional network address and access operation; When judging that described input keyword is search keyword, according to described input keyword to browser side Preset search engine initiates to obtain the request of search suggestion keyword;
The search suggestion key that described preset search engine returns is shown in the prompting frame of browser address bar Word;
Receive user's selection information to search suggestion keyword, open in the web page tag of browser side Preset search engine carries out the result retrieved according to described search suggestion keyword;
In the left side of address field of browser or/and right side shows the icon of described preset search engine;
Wherein, whether the described classification judging described input keyword is that search keyword includes:
When described input keyword is domain name, it is judged that for not being search keyword;
When described input keyword starts with following arbitrary character string, it is judged that for not being search keyword: " http: // ", " https: // ", " ftp: // ", " javascript: ", " vbscript: ", " res: // ";
When described input keyword has " .. ", it is judged that for being search keyword;
When described input keyword has space, and have “ " or during "/", it is judged that for not being that search is used Keyword;
When described input keyword has space, but there is no “ " or during "/", it is judged that for being that search is used Keyword;
When described input keyword has ": ", it is judged that for not being search keyword;
When described input keyword has " ", " | " or during "/", it is judged that for not being search keyword.
2. the method for claim 1, it is characterised in that the method farther includes:
When judging that described input keyword is search keyword, also referring to according to described input keyword Determine that file carries out coupling and obtain matching result;
Described matching result is shown further in the prompting frame of browser address bar.
3. method as claimed in claim 2, it is characterised in that described specified file includes following one Or multiple:
The local historical record of the local collection of browser, browser, download to the net that browser is local Network recommends network address record and the network recommendation network address record of network side.
4. method as claimed in claim 2, it is characterised in that the described prompting in browser address bar Frame showing, the step of described matching result includes further:
Described matching result and described search are advised keyword, with search suggestion keyword in front, coupling The posterior sequencing display of result is in the prompting frame of the address field of browser.
5. method as claimed in claim 2, it is characterised in that the method farther includes:
Obtain the classification information of user;
According to the classification information of user, described matching result and described search are advised that keyword screens, Obtain the selection result;
Described the selection result is shown in the prompting frame of the address field of browser.
6. method as claimed in claim 5, it is characterised in that the classification information bag of described acquisition user Include:
History access record according to user analyzes the classification information of user, and by the classification information of user Preservation is bound mutually with the login ID of user;
Login ID according to active user determines the classification information of this user.
7. the method for claim 1, it is characterised in that described preset search engine is multiple; Then
The method farther includes:
When judging that described input keyword is search keyword, according to described input keyword concurrently Initiate to obtain the request of search suggestion keyword respectively to the plurality of preset search engine;
And according to user's selection to search engine in the prompting frame of browser address bar, respectively correspondingly Show the search suggestion keyword that the plurality of preset search engine returns.
8. method as claimed in claim 7, it is characterised in that the method farther includes:
The search suggestion keyword guarantor corresponding with ID respectively that the plurality of preset search engine is returned There is browser this locality and/or be synchronized to network side.
9. the method for claim 1, it is characterised in that described search implementation method is embodied as clear Look at a plug-in unit of device.
10. search realizes a device, including: keyword categories judge module, search processing module and Display output module;
Described keyword categories judge module, is suitable to obtain user's input in browser address bar crucial Word, it is judged that whether the classification of described input keyword is search keyword, when judging it is not that search is closed During key word, perform conventional network address and access operation;When judgement is search keyword, process to search Module is initiated search and is processed request;
Described search processing module, is suitable to after receiving described search process request, according to described search The input keyword processed in request initiates to obtain search suggestion keyword to browser side preset search engine Request, and by described preset search engine return search suggestion keyword be sent to show output module;
Described display output module, is suitable to show that in the prompting frame of the address field of browser described presetting is searched The search suggestion keyword of return held up in index;
Described display output module, is further adapted in the left side of address field of browser or/and right side shows The icon of described preset search engine;
Wherein, whether described keyword categories judge module judges the classification of input keyword by following principle For search keyword:
When described input keyword is domain name, it is judged that for not being search keyword;
When described input keyword starts with following arbitrary character string, it is judged that for not being search keyword: " http: // ", " https: // ", " ftp: // ", " javascript: ", " vbscript: ", " res: // ";
When described input keyword has " .. ", it is judged that for being search keyword;
When described input keyword has space, and have “ " or during "/", it is judged that for not being that search is used Keyword;
When described input keyword has space, but there is no “ " or during "/", it is judged that for being that search is used Keyword;
When described input keyword has ": ", it is judged that for not being search keyword;
When described input keyword has " ", " | " or during "/", it is judged that for not being search keyword.
11. devices as claimed in claim 10, it is characterised in that
Described search processing module, is further adapted for processing the input keyword in request according to described search In specified file, carry out coupling obtain matching result, be sent to described matching result show output module;
Described display output module, is further adapted in the prompting frame of the address field of browser display described Matching result.
12. devices as claimed in claim 11, it is characterised in that described search processing module is suitable to depend on Matching result is obtained: browse according to one kind of multiple in following file of described input keyword carry out coupling The local historical record of the local collection of device, browser, download to the network recommendation net that browser is local Location record and the network recommendation network address record of network side.
13. devices as claimed in claim 11, it is characterised in that
Described display output module, is suitable to, by described matching result and search suggestion keyword, build with search View keyword in front, the posterior sequencing display of matching result in the prompting frame of the address field of browser.
14. devices as claimed in claim 11, it is characterised in that
Described search processing module, is further adapted for obtaining the classification information of user, according to acquired user's To described matching result and described search, classification information, advises that keyword screens, obtains the selection result, It is sent to the selection result show output module;
Described display output module, is suitable to show described screening knot in the prompting frame of the address field of browser Really.
15. devices as claimed in claim 14, it is characterised in that this device farther includes: user Category analysis module;
Described class of subscriber analyzes module, is suitable to the history access record according to user and analyzes the class of user Other information, and the login ID of the classification information of user with user is bound preservation mutually;
The most described search processing module, determines the classification information of this user according to the login ID of active user.
16. devices as claimed in claim 10, it is characterised in that described preset search engine is multiple;
The most described search processing module, is suitable to when judging that described input keyword is search keyword, Initiate respectively to the plurality of preset search engine concurrently according to described input keyword to obtain search suggestion The request of keyword;
Described display output module, is suitable to draw search according to user in the prompting frame of browser address bar The selection held up, respectively correspondingly shows the search suggestion keyword that the plurality of preset search engine returns.
17. devices as claimed in claim 16, it is characterised in that described search processing module, enter one The search suggestion keyword that step is suitable to return the plurality of preset search engine is corresponding with ID respectively It is saved in browser this locality and/or is synchronized to network then.
CN201210477718.0A 2012-11-21 2012-11-21 Search implementation method and device Active CN102930057B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210477718.0A CN102930057B (en) 2012-11-21 2012-11-21 Search implementation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210477718.0A CN102930057B (en) 2012-11-21 2012-11-21 Search implementation method and device

Publications (2)

Publication Number Publication Date
CN102930057A CN102930057A (en) 2013-02-13
CN102930057B true CN102930057B (en) 2016-08-24

Family

ID=47644854

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210477718.0A Active CN102930057B (en) 2012-11-21 2012-11-21 Search implementation method and device

Country Status (1)

Country Link
CN (1) CN102930057B (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102930058B (en) * 2012-11-21 2016-01-06 北京奇虎科技有限公司 A kind of method and apparatus realizing searching in the address field of browser
CN104050183A (en) * 2013-03-13 2014-09-17 腾讯科技(深圳)有限公司 Content matching result prompting method and device for browser input frame
US20140359519A1 (en) * 2013-05-31 2014-12-04 Microsoft Corporation Determination of Intended Navigation Destination Based on User-Generated and Analysis-Based Information
CN103678502B (en) * 2013-11-19 2017-02-08 小米科技有限责任公司 Information collection method and device
WO2015149642A1 (en) * 2014-03-31 2015-10-08 北京奇虎科技有限公司 Search method and apparatus
CN103955473A (en) * 2014-03-31 2014-07-30 北京奇虎科技有限公司 Method and device for searching
CN103984740B (en) * 2014-05-23 2016-01-06 合一网络技术(北京)有限公司 Based on the method and system that the retrieved page of combination tag shows
CN104484384A (en) * 2014-12-10 2015-04-01 北京奇虎科技有限公司 Method for searching in browser and browser device
CN104765811A (en) * 2015-04-02 2015-07-08 北京奇虎科技有限公司 Device, system and method for providing associated searching keywords for users
CN106156193A (en) * 2015-04-22 2016-11-23 阿里巴巴集团控股有限公司 Search and the collection method of network address, browser, server and system
CN105095404A (en) * 2015-07-09 2015-11-25 安一恒通(北京)科技有限公司 Method and apparatus for processing and recommending webpage information
CN106909586A (en) * 2015-12-23 2017-06-30 北京奇虎科技有限公司 The method and device of browser searches
CN106909579B (en) * 2015-12-23 2021-02-02 北京奇虎科技有限公司 Browser display method and device
CN108280106A (en) * 2017-03-08 2018-07-13 广州市动景计算机科技有限公司 Processing method, device and the mobile terminal of search key
CN106991156B (en) * 2017-03-29 2020-08-07 维沃移动通信有限公司 Communication record retrieval method and mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101075234A (en) * 2006-05-17 2007-11-21 联发博动科技(北京)有限公司 Method and system for inputting WAP browser

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
《搜索引擎-浏览器插件-推荐引擎模式研究》;李鲜花;《广西师范大学学报(自然科学版)》;20100331;2 *
《根正苗红:选择IE9浏览器的十大理由》;刘志坡;《网络与技术》;20110509;1 *

Also Published As

Publication number Publication date
CN102930057A (en) 2013-02-13

Similar Documents

Publication Publication Date Title
CN102930057B (en) Search implementation method and device
CN102930058B (en) A kind of method and apparatus realizing searching in the address field of browser
RU2611965C2 (en) Method and device for page display
US20160142504A1 (en) Unified Tracking Data Management
CN103577597B (en) Keyword search system based on current browse webpage
KR101444389B1 (en) Message catalogs for remote modules
CN103577595B (en) Keyword method for pushing and device based on current browse webpage
CN103577596B (en) Keyword search methodology and device based on current browse webpage
CN102982174B (en) A kind of browser carries out method and the device of Webpage search
CN103577392B (en) Keyword method for pushing and device based on current browse webpage
WO2007130547A2 (en) Remote module syndication system and method
CN103020239B (en) Web search method and device
CN102521257A (en) Method and device for providing corresponding on-line picture according to thumbnail
US20070162524A1 (en) Network document management
WO2014108038A1 (en) Frequently-used website generation client terminal, server, system and method
CN108197244A (en) It is a kind of to search for the method for pushing and device for recommending word
US20080313190A1 (en) Method and system for searchable web services
US8930349B2 (en) Selectively modifying search engine results
US9542075B2 (en) Method and server for managing domain-specific toolbar button automatically
CN104199862B (en) Searching method, server and the system customized based on content providers
US20130132820A1 (en) Web browsing tool delivering relevant content
CN102955859B (en) Web page content revealing method and device
CN102968476A (en) Method and device for showing webpage content
CN106909579B (en) Browser display method and device
CN103353900B (en) Method, device and system for accessing and certificating web address through search bar

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant