CN102930058B - A kind of method and apparatus realizing searching in the address field of browser - Google Patents

A kind of method and apparatus realizing searching in the address field of browser Download PDF

Info

Publication number
CN102930058B
CN102930058B CN201210477719.5A CN201210477719A CN102930058B CN 102930058 B CN102930058 B CN 102930058B CN 201210477719 A CN201210477719 A CN 201210477719A CN 102930058 B CN102930058 B CN 102930058B
Authority
CN
China
Prior art keywords
key word
search
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
CN201210477719.5A
Other languages
Chinese (zh)
Other versions
CN102930058A (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 CN201210477719.5A priority Critical patent/CN102930058B/en
Publication of CN102930058A publication Critical patent/CN102930058A/en
Application granted granted Critical
Publication of CN102930058B publication Critical patent/CN102930058B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of method and apparatus realizing searching in the address field of browser, relate to Internet technical field.Described method comprises: obtain the input key word of user in browser address bar, whether the classification judging this input key word is search key word, it is the request then initiating to obtain search suggestion key word according to this input key word to browser side preset search engine, the search suggestion key word that described preset search engine returns is shown in the prompting frame of browser address bar, then receive the selection information of user to search suggestion key word, in the web page tag of browser side, open the result that preset search engine carries out according to described search suggestion key word retrieving.Technical scheme of the present invention, can realize function of search in the address field of browser, no longer needs thus to arrange independent search column in browser, achieves the beneficial effect merging address field and search column.

Description

A kind of method and apparatus realizing searching in the address field of browser
Technical field
The present invention relates to Internet technical field, be specifically related to a kind of method and apparatus realizing searching in the address field of browser.
Background technology
Browser refers to can the html file content of display web page server or file system, and allows a kind of client software of user and these file interactions.Web browser mainly through http protocol and web page server alternately and obtain webpage, specified by URL, and file layout is generally HTML, and indicated in http protocol by MIME by these webpages.Can comprise multiple document in a webpage, each document obtains from server respectively.Form widely in addition to html supported by most browser itself, the picture formats such as such as JPEG, PNG, GIF, and can expand the numerous plug-in unit (plug-ins) of support.In addition, many browsers also support other URL type and corresponding agreement thereof, the encryption version as FTP, Gopher, HTTPS(HTTP agreement) etc.
In existing browser, address field and search box are all provided separately.Wherein address field is used for input reference network address.Search box is used for inputted search key word.Such as, in the middle of the browser of IE8, Microsoft is built-in containing some search boxes, is built-in with oneself well-known common search engine such as Bing search, Google of Microsoft, under default conditions search box be adsorbed on browser address field on the right of.
But the development trend of the browser in future only has an input frame, therefore need to integrate the multiple input frames on browser.
Summary of the invention
In view of the above problems, the present invention is proposed to provide a kind of a kind of method and apparatus realizing searching in the address field of browser overcoming the problems referred to above or solve the problem at least in part.
According to one aspect of the present invention, provide a kind of method realizing searching in the address field of browser, comprising:
Obtain the input key word of user in browser address bar;
Whether the classification judging described input key word is search key word;
When judging that described input key word is search key word, initiate to browser side preset search engine the request obtaining search suggestion key word according to described input key word;
The search suggestion key word that described preset search engine returns is shown in the prompting frame of browser address bar;
Receive the selection information of user to search suggestion key word, in the web page tag of browser side, open the result that preset search engine carries out according to described search suggestion key word retrieving.
Alternatively, the method comprises further:
When judging that described input key word is search key word, also in specified file, carrying out coupling according to described input key word and obtaining matching result;
Described matching result is shown further in the prompting frame of browser address bar.
Alternatively, described specified file comprise following one or more:
The network recommendation network address record of the collection of browser this locality, the historical record of browser this locality, the network recommendation network address record downloading to browser this locality and network side.
Alternatively, the described step showing described matching result in the prompting frame of browser address bar further comprises:
By described matching result and described search suggestion key word, to search for suggestion key word in front, the posterior sequencing display of matching result in the prompting frame of the address field of browser.
Alternatively, the method comprises further:
Obtain the classification information of user;
According to the classification information of user, described matching result and described search suggestion key word are screened, obtains the selection result;
Described the selection result is shown in the prompting frame of the address field of browser.
Alternatively, the classification information of described acquisition user comprises:
Analyze the classification information of user according to the history access record of user, and the classification information of user and the login ID of user are bound preservation mutually;
The classification information of this user is determined according to the login ID of active user.
Alternatively, the method comprises further:
The icon of described preset search engine is shown at the assigned address of the address field of browser.
Alternatively, described preset search engine is multiple; Then the method comprises further:
When judging that described input key word is search key word, initiate to described multiple preset search engine the request obtaining search suggestion key word respectively concurrently according to described input key word;
And foundation user, to the selection of search engine, shows the search suggestion key word that described multiple preset search engine returns respectively accordingly in the prompting frame of browser address bar.
Alternatively, the method comprises further:
The search suggestion key word returned by described multiple preset search engine is corresponding with user ID to be respectively kept at browser this locality and/or to be synchronized to network side.
Alternatively, whether the described classification judging described input key word is that search key word comprises:
When described input key word is domain name, be judged as it not being search key word;
When described input key word with following arbitrary character string at the first bruss, be judged as it not being search key word: " http: // ", " https: // ", " ftp: // ", " javascript: ", " vbscript: ", " res: // ";
When there being " .. " in described input key word, be judged as YES search key word;
When having space in described input key word, and have “ " or "/" time, be judged as it not being search key word;
When having space in described input key word, but there is no “ " or "/" time, be judged as YES search key word;
When there being ": " in described input key word, be judged as it not being search key word;
When having in described input key word " ", " | " or "/" time, be judged as it not being search key word.
Alternatively, the described method realizing searching in the address field of browser is embodied as a plug-in unit of browser.
According to a further aspect in the invention, provide a kind of device realizing searching in the address field of browser, comprising: keyword categories judge module, search processing module and display translation module;
Described keyword categories judge module, be suitable for obtaining the input key word of user in browser address bar, whether the classification judging described input key word is search key word, when judging to be search key word, initiates search process request to search processing module;
Described search processing module, be suitable for after receiving described search process request, initiate to browser side preset search engine the request obtaining search suggestion key word according to the input key word in described search process request, and the search returned by described preset search engine suggestion key word sends to display translation module;
Described display translation module, is suitable for showing in the prompting frame of the address field of browser the search suggestion key word that described preset search engine returns.
Alternatively, described search processing module, the input key word be further adapted in asking according to described search process carries out coupling and obtains matching result in specified file, and described matching result is sent to display translation module;
Described display translation module, is further adapted for and shows described matching result in the prompting frame of the address field of browser.
Alternatively, described search processing module is suitable for obtaining matching result according to carrying out coupling in one kind of multiple in following file of described input key word: the network recommendation network address record of the collection of browser this locality, the historical record of browser this locality, the network recommendation network address record downloading to browser this locality and network side.
Alternatively, described display translation module, is suitable for described matching result and search suggestion key word, to search for suggestion key word in front, the posterior sequencing display of matching result in the prompting frame of the address field of browser.
Alternatively, described search processing module, is also suitable for the classification information obtaining user, according to the classification information of the user obtained, described matching result and described search suggestion key word are screened, obtains the selection result, the selection result is sent to display translation module;
Described display translation module, is suitable for showing described the selection result in the prompting frame of the address field of browser.
Alternatively, this device comprises further: class of subscriber analysis module;
Described class of subscriber analysis module, is suitable for the classification information analyzing user according to the history access record of user, and the classification information of user and the login ID of user is bound preservation mutually.
Then described search processing module, determines the classification information of this user according to the login ID of active user.
Alternatively, described display translation module, is further adapted for the icon showing described preset search engine at the assigned address of the address field of browser.
Alternatively, described preset search engine is multiple;
Then described search processing module, is suitable for when judging that described input key word is search key word, initiates the request obtaining search suggestion key word respectively concurrently according to described input key word to described multiple preset search engine;
Described display translation module, is suitable for foundation user in the prompting frame of browser address bar and, to the selection of search engine, shows the search suggestion key word that described multiple preset search engine returns respectively accordingly.
Alternatively, described search processing module, be kept at browser corresponding to user ID is local and/or be synchronized to network then to be respectively further adapted for the search suggestion key word that returned by described multiple preset search engine.
Alternatively, by following principle, described keyword categories judge module judges whether the classification inputting key word is search key word:
When described input key word is domain name, be judged as it not being search key word;
When described input key word with following arbitrary character string at the first bruss, be judged as it not being search key word: " http: // ", " https: // ", " ftp: // ", " javascript: ", " vbscript: ", " res: // ";
When there being " .. " in described input key word, be judged as YES search key word;
When having space in described input key word, and have “ " or "/" time, be judged as it not being search key word;
When having space in described input key word, but there is no “ " or "/" time, be judged as YES search key word;
When there being ": " in described input key word, be judged as it not being search key word;
When having in described input key word " ", " | " or "/" time, be judged as it not being search key word.
According to the input key word of this acquisition user of the present invention in browser address bar, whether the classification judging this input key word is search key word, it is the request then initiating to obtain search suggestion key word according to this input key word to browser side preset search engine, the search suggestion key word that described preset search engine returns is shown in the prompting frame of browser address bar, then the selection information of user to search suggestion key word is received, preset search engine carries out the result retrieved technical scheme according to described search suggestion key word is opened in the web page tag of browser side, function of search can be realized in the address field of browser, no longer need in browser thus to arrange independent search column, achieve the beneficial effect merging address field and search column.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to technological means of the present invention can be better understood, and can be implemented according to the content of instructions, and can become apparent, below especially exemplified by the specific embodiment of the present invention to allow above and other objects of the present invention, feature and advantage.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit will become cheer and bright for those of ordinary skill in the art.Accompanying drawing only for illustrating the object of preferred implementation, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts by identical reference symbol.In the accompanying drawings:
Fig. 1 shows the process flow diagram realizing the method for searching for according to an embodiment of the invention in the address field of browser;
Fig. 2 shows the schematic diagram showing the search suggestion key word that search engine returns in the prompting frame of browser address bar according to an embodiment of the invention;
Fig. 3 shows the process flow diagram realizing the method for searching in the address field of browser according to another embodiment of the present invention;
Fig. 4 shows the composition structural drawing realizing the device searched for according to an embodiment of the invention in the address field of browser;
Fig. 5 shows the composition structural drawing realizing the device searched in the address field of browser according to another embodiment of the present invention.
Embodiment
Below with reference to accompanying drawings exemplary embodiment of the present disclosure is described in more detail.Although show exemplary embodiment of the present disclosure in accompanying drawing, however should be appreciated that can realize the disclosure in a variety of manners and not should limit by the embodiment set forth here.On the contrary, provide these embodiments to be in order to more thoroughly the disclosure can be understood, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
Fig. 1 shows the process flow diagram realizing the method for searching for according to an embodiment of the invention in the address field of browser.As shown in Figure 1, the method comprises:
Step S101, obtains the input key word of user in browser address bar.
Step S102, judges whether the classification of described input key word is search key word.
Step S103, when judging that described input key word is search key word, initiates to browser side preset search engine the request obtaining search suggestion key word according to described input key word.
Step S104, shows the search suggestion key word that described preset search engine returns in the prompting frame of browser address bar.
Fig. 2 shows the schematic diagram showing the search suggestion key word that search engine returns in the prompting frame of browser address bar according to an embodiment of the invention.As shown in Figure 2, the preset search engine of acquiescence is " A ", the icon of search engine " A " is presented at the left side of browser address bar, input key word in the present embodiment is " Divine Land ", what show in the drop-down prompting frame of now address field is exactly the search suggestion key word that current search engine " A " provides, and comprising: walk in the Divine Land, Divine Land are hired a car, Divine Land computer etc.Visible, in an embodiment of the present invention, at the icon of the assigned address display preset search engine of the address field of browser, this assigned address can be position as shown in Figure 2, also can be other position.
Step S105, receives the selection information of user to search suggestion key word, opens the result that preset search engine carries out according to described search suggestion key word retrieving in the web page tag of browser side.
Method shown in Fig. 1 can realize function of search in the address field of browser, no longer needs thus to arrange independent search column in browser, achieves the beneficial effect merging address field and search column.
In the method shown in Fig. 1, if judge that the classification inputting key word is not search key word in step s 102, but during access key word, perform the web page access function of normal address field.
In one embodiment of the invention, multiple search engine can be preset, then when judging that the input key word in address field is search key word, initiate to the plurality of preset search engine the request obtaining search suggestion key word respectively concurrently according to this input key word, then in the prompting frame of browser address bar, foundation user, to the selection of search engine, shows the search suggestion key word that described multiple preset search engine returns respectively accordingly.
Such as, in one embodiment of the invention, user can click the icon on the left of browser address bar shown in Fig. 2, thus selects other search engine, the icon of what the left side of address field finally showed the is exactly search engine that user selects.When user clicks different search engine icons, show the search suggestion key word that this search engine provides accordingly, such user has individual comparison, and can obtain different results according to different search engines for identical key word, user-friendly.
In one embodiment of the invention, the search suggestion key word that multiple preset search engine can also be returned is corresponding with user ID to be respectively kept at browser this locality or to be synchronized to network side, is synchronized to network side while also can being saved in browser this locality.Like this can conventional some search keys of recording user.
In one embodiment of the invention, the key word inputted in the address field of browser for user carries out classification when judging, can judge according to following rule:
(1) when input key word is domain name, be judged as it not being search key word, but access key word;
(2) when inputting key word with following arbitrary character string at the first bruss, be judged as it not being search key word, but access key word: " http: // ", " https: // ", " ftp: // ", " javascript: ", " vbscript: ", " res: // ";
(3) when there being " .. " in input key word, search key word is judged as YES;
(4) when having space in input key word, and have “ " or "/" time, be judged as it not being search key word, but search key word;
(5) when input key word in have space, but there is no “ " or "/" time, be judged as YES search key word;
(6) when there being ": " in input key word, be judged as it not being search key word, but search key word;
(7) have when inputting in key word " ", " | " or "/" time, be judged as it not being search key word, but search key word.
It should be noted that, above is only list some specific rules judged keyword categories, and actual conditions are that judgment rule is not limited to above-mentioned 7 kinds of enumerating, and can add other judgment rule according to the applicable cases of reality.
In one embodiment of the invention, when judging that the input key word in address field is search key word, except initiating to browser side preset search engine to obtain except the request of search suggestion key word, coupling can also be carried out according to this input key word in the file of specifying and obtain matching result, and this matching result is shown further in the prompting frame of browser address bar, detailed process is as shown in Figure 3.
Fig. 3 shows the process flow diagram realizing the method for searching in the address field of browser according to another embodiment of the present invention.As shown in Figure 3, the method comprises:
Step S301, obtains the input key word of user in browser address bar.
Step S302, judging whether the classification of this input key word is search key word, is perform step S304, otherwise performs step S303.
Step S303, when judging that this input key word is not search key word, this input key word is access key word, performs conventional network address accessing operation.Process ends.
In this step, perform the conventional func of browser address bar, namely network address access function, no longer describes in detail here.
Step S304, when judging that this input key word is search key word, initiate to browser side preset search engine the request obtaining search suggestion key word according to this input key word, in specified file, carrying out coupling according to this input key word obtains matching result simultaneously.
In one embodiment of the invention, the specified file described in step S304 comprise following one or more: the network recommendation network address record of the collection of browser this locality, the historical record of browser this locality, the network recommendation network address record downloading to browser this locality and network side.
Step S305, shows search suggestion key word that preset search engine returns and in specified file, mates the matching result obtained in the prompting frame of browser address bar.
In one embodiment of the invention, the search suggestion key word and mate the matching result obtained in specified file returned by preset search engine, to search for suggestion key word in front, the posterior sequencing display of matching result in the prompting frame of the address field of browser.
Step S306, receives user to the selection information showing information in the prompting frame of browser address bar, opens the result that preset search engine carries out according to the selection information of user retrieving in the web page tag of browser side.Process ends.
In this step, user can select the search suggestion key word in the prompting frame of browser address bar, also can select the described matching result in the prompting frame of browser address bar.No matter how user selects, in the web page tag of browser side, all open the result that preset search engine carries out according to the selection information of user retrieving.
In one embodiment of the invention, in the method shown in Fig. 1 or Fig. 3, initiate when the network address corresponding to key word of this locality is mated (for the collection of browser this locality, the historical record of browser this locality, the network address corresponding to key word that the network recommendation network address record of the network recommendation network address record and network side that download to browser this locality carries out in this locality is mated), simultaneously by beginthreadex (0, 0, DownloadMemoryPro, pKey, 0, & m_dwThreadId) function open a thread to preset search engine initiate obtain search suggestion key word request.There is in DownloadMemoryPro in above-mentioned function concrete carrying out initiates to obtain request logic from search suggestion key word to preset search engine.This specifically asks a concrete instance of logic as follows: the suggestion key word of the Usual Search Engines preserved by using browser side obtains the URL of service, such as: the suggestion key word of the search engine of Baidu obtains the URL of service, then adding that key word that user inputs in address field is synthesized together the URL of formation one access, browser uses the access URL of this synthesis to the search engine of specifying, and is such as the search engine of Baidu here.Get returning results of the just search suggestion key word that search engine returns finally by have accessed this URL, and advise returning results of key word by using the api function InternetReadFile of windows to read this search returned by search engine.Realize in address field, inputting the just user of browser side the suggestion key word that key word gets search search engine returns by this above-mentioned logic.
In one embodiment of the invention, in method shown in Fig. 1 or Fig. 3, the classification information of user can also be obtained further, classification information first according to user is screened the search suggestion key word that the matching result of specified file and search engine return, obtain the selection result, then in the prompting frame of the address field of browser, show described the selection result.This is because the option position that can provide in the prompting frame of browser address bar is few, by whole matching results and search suggestion key word not being shown, therefore interested for user content can be presented in prompting frame by this scheme.
In one embodiment of the invention, the classification information of user can be analyzed according to the history access record of user, and the classification information of user and the login ID of user are bound preservation mutually.The classification information of this user then can be found out according to the login ID of active user.Such as, the website records (historical record) that browser can be clicked at ordinary times according to user, the website information in collection etc. analyze the classification of user, the ID phase of the classification of analysis with browser client are bound, and can know the classification of this user after this user login.The classification of user can be " game user ", " military fan user " etc., then filter out the content relating to game or military affairs the search suggestion key word that can return from matching result and search engine and be preferentially presented in the prompting frame of browser address bar.
The method realizing searching in the address field of browser described in above embodiment of the present invention can be implemented as a plug-in unit of browser, just can realize function of search in the address field of this browser like this by installing this plug-in unit for browser.
Fig. 4 shows the composition structural drawing realizing the device searched for according to an embodiment of the invention in the address field of browser.As shown in Figure 4, the device 400 that should realize searching in the address field of browser comprises: keyword categories judge module 401, search processing module 402 and display translation module 403.
Keyword categories judge module 401, be suitable for obtaining the input key word of user in browser address bar, whether the classification judging this input key word is search key word, when judging to be search key word, initiates search process request to search processing module 402;
Search processing module 402, be suitable for after receiving described search process request, initiate to browser side preset search engine the request obtaining search suggestion key word according to the input key word in described search process request, and the search returned by described preset search engine suggestion key word sends to display translation module 403;
Display translation module 403, is suitable for showing in the prompting frame of the address field of browser the search suggestion key word that described preset search engine returns.
Device shown in Fig. 4 can realize function of search in the address field of browser, no longer needs thus to arrange independent search column in browser, achieves the beneficial effect merging address field and search column.
Fig. 5 shows the composition structural drawing realizing the device searched in the address field of browser according to another embodiment of the present invention.As shown in Figure 5, the device 500 that should realize searching in the address field of browser comprises: keyword categories judge module 501, search processing module 502 and display translation module 503.
Keyword categories judge module 501, be suitable for obtaining the input key word of user in browser address bar, whether the classification judging this input key word is search key word, when judging to be search key word, initiates search process request to search processing module 502.
Search processing module 502, be suitable for after receiving described search process request, initiate to browser side preset search engine the request obtaining search suggestion key word according to the input key word in described search process request, in specified file, carry out coupling according to the input key word in described search process request simultaneously and obtain matching result, the search suggestion key word this matching result and preset search engine returned sends to display translation module 503;
In one embodiment of the invention, search for processing module 503 to be suitable for obtaining matching result according to carrying out coupling in one kind of multiple in following file of this input key word: the network recommendation network address record of the collection of browser this locality, the historical record of browser this locality, the network recommendation network address record downloading to browser this locality and network side.
Display translation module 503, is suitable for showing in the prompting frame of the address field of browser the search suggestion key word that this matching result and preset search engine return.
In one embodiment of the invention, the search suggestion key word that display translation module 503 is suitable for this matching result and preset search engine to return, to search for suggestion key word in front, the posterior sequencing display of matching result in the prompting frame of the address field of browser.
In one embodiment of the invention, search processing module 502, is also suitable for the classification information obtaining user, according to the classification information of the user obtained, this matching result and search suggestion key word are screened, obtains the selection result, the selection result is sent to display translation module 503.Then display translation module 503 shows this selection result in the prompting frame of the address field of browser.This is because the option position that can provide in the prompting frame of browser address bar is few, by whole matching results and search suggestion key word not being shown, therefore interested for user content can be presented in prompting frame by this scheme.
Device shown in Fig. 5 also comprises further: class of subscriber analysis module 504, is suitable for the classification information analyzing user according to the history access record of user, and the classification information of user and the login ID of user are bound preservation mutually.Then search for processing module 502, determine the classification information of this user according to the login ID of active user.
In one embodiment of the invention, display translation module 503, is further adapted for the icon of the assigned address display preset search engine at the address field of browser.Such as, can at the icon of the left side of the address field of browser display preset search engine.
In one embodiment of the invention, preset search engine is multiple.Then searching for processing module 502, being suitable for when judging that input key word is search key word, initiate to the plurality of preset search engine the request obtaining search suggestion key word respectively concurrently according to this input key word; Display translation module 503, is suitable for foundation user in the prompting frame of browser address bar and, to the selection of search engine, shows the search suggestion key word that described multiple preset search engine returns respectively accordingly.
In one embodiment of the invention, search processing module 502, be kept at browser corresponding to user ID is local and/or be synchronized to network then to be respectively further adapted for the search suggestion key word that returned by the plurality of preset search engine.
In one embodiment of the invention, by following principle, keyword categories judge module 501 judges whether the classification inputting key word is search key word:
When described input key word is domain name, be judged as it not being search key word;
When described input key word with following arbitrary character string at the first bruss, be judged as it not being search key word: " http: // ", " https: // ", " ftp: // ", " javascript: ", " vbscript: ", " res: // ";
When there being " .. " in described input key word, be judged as YES search key word;
When having space in described input key word, and have “ " or "/" time, be judged as it not being search key word;
When having space in described input key word, but there is no “ " or "/" time, be judged as YES search key word;
When there being ": " in described input key word, be judged as it not being search key word;
When having in described input key word " ", " | " or "/" time, be judged as it not being search key word.
In sum, according to the input key word of this acquisition user of the present invention in browser address bar, whether the classification judging this input key word is search key word, it is the request then initiating to obtain search suggestion key word according to this input key word to browser side preset search engine, the search suggestion key word that described preset search engine returns is shown in the prompting frame of browser address bar, then the selection information of user to search suggestion key word is received, preset search engine carries out the result retrieved technical scheme according to described search suggestion key word is opened in the web page tag of browser side, function of search can be realized in the address field of browser, no longer need in browser thus to arrange independent search column, achieve the beneficial effect merging address field and search column.
It should be noted that:
Intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with display at this algorithm provided.Various general-purpose system also can with use based on together with this teaching.According to description above, the structure constructed required by this type systematic is apparent.In addition, the present invention is not also for any certain programmed language.It should be understood that and various programming language can be utilized to realize content of the present invention described here, and the description done language-specific is above to disclose preferred forms of the present invention.
In instructions provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand in each inventive aspect one or more, in the description above to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes.But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires feature more more than the feature clearly recorded in each claim.Or rather, as claims below reflect, all features of disclosed single embodiment before inventive aspect is to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and adaptively can change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit be mutually repel except, any combination can be adopted to combine all processes of all features disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although embodiments more described herein to comprise in other embodiment some included feature instead of further feature, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in the following claims, the one of any of embodiment required for protection can use with arbitrary array mode.
All parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions of some or all parts realized in the address field of browser in the device searched for that microprocessor or digital signal processor (DSP) can be used in practice to realize according to the embodiment of the present invention.The present invention can also be embodied as part or all equipment for performing method as described herein or device program (such as, computer program and computer program).Realizing program of the present invention and can store on a computer-readable medium like this, or the form of one or more signal can be had.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described instead of limit the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment when not departing from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and does not arrange element in the claims or step.Word "a" or "an" before being positioned at element is not got rid of and be there is multiple such element.The present invention can by means of including the hardware of some different elements and realizing by means of the computing machine of suitably programming.In the unit claim listing some devices, several in these devices can be carry out imbody by same hardware branch.Word first, second and third-class use do not represent any order.Can be title by these word explanations.
Disclosed herein is A1, a kind of method realizing searching in the address field of browser, comprising: obtain the input key word of user in browser address bar; Whether the classification judging described input key word is search key word; When judging that described input key word is search key word, initiate to browser side preset search engine the request obtaining search suggestion key word according to described input key word; The search suggestion key word that described preset search engine returns is shown in the prompting frame of browser address bar; Receive the selection information of user to search suggestion key word, in the web page tag of browser side, open the result that preset search engine carries out according to described search suggestion key word retrieving.A2, method as described in A1, it is characterized in that, the method comprises further: when judging that described input key word is search key word, also in specified file, carries out coupling according to described input key word and obtains matching result; Described matching result is shown further in the prompting frame of browser address bar.A3, method as described in A2, it is characterized in that, described specified file comprise following one or more: the network recommendation network address record of the collection of browser this locality, the historical record of browser this locality, the network recommendation network address record downloading to browser this locality and network side.A4, method as described in A2, it is characterized in that, described in the prompting frame of browser address bar further the step of the described matching result of display comprise: by described matching result and described search suggestion key word, to search for suggestion key word in front, the posterior sequencing display of matching result in the prompting frame of the address field of browser.A5, method as described in A2, it is characterized in that, the method comprises further: the classification information obtaining user; According to the classification information of user, described matching result and described search suggestion key word are screened, obtains the selection result; Described the selection result is shown in the prompting frame of the address field of browser.A6, method as described in A5, is characterized in that, the classification information of described acquisition user comprises: the classification information analyzing user according to the history access record of user, and the classification information of user and the login ID of user are bound preservation mutually; The classification information of this user is determined according to the login ID of active user.A7, method as described in A1, it is characterized in that, the method comprises further: the icon showing described preset search engine at the assigned address of the address field of browser.A8, method as described in A1, it is characterized in that, described preset search engine is multiple; Then the method comprises further: when judging that described input key word is search key word, initiates the request obtaining search suggestion key word respectively concurrently according to described input key word to described multiple preset search engine; And foundation user, to the selection of search engine, shows the search suggestion key word that described multiple preset search engine returns respectively accordingly in the prompting frame of browser address bar.A9, method as described in A8, it is characterized in that, the method comprises further: the search suggestion key word returned by described multiple preset search engine is respectively kept at browser corresponding to user ID is local and/or be synchronized to network side.A10, method as described in A1, it is characterized in that, whether the described classification judging described input key word is that search key word comprises: when described input key word is domain name, be judged as it not being search key word; When described input key word with following arbitrary character string at the first bruss, be judged as it not being search key word: " http: // ", " https: // ", " ftp: // ", " javascript: ", " vbscript: ", " res: // "; When there being " .. " in described input key word, be judged as YES search key word; When having space in described input key word, and have “ " or "/" time, be judged as it not being search key word; When having space in described input key word, but there is no “ " or "/" time, be judged as YES search key word; When there being ": " in described input key word, be judged as it not being search key word; When having in described input key word " ", " | " or "/" time, be judged as it not being search key word.A11, method as described in A1, is characterized in that, the described method realizing searching in the address field of browser is embodied as a plug-in unit of browser.
Disclosed herein is B12, a kind of device realizing searching in the address field of browser, comprising: keyword categories judge module, search processing module and display translation module; Described keyword categories judge module, be suitable for obtaining the input key word of user in browser address bar, whether the classification judging described input key word is search key word, when judging to be search key word, initiates search process request to search processing module; Described search processing module, be suitable for after receiving described search process request, initiate to browser side preset search engine the request obtaining search suggestion key word according to the input key word in described search process request, and the search returned by described preset search engine suggestion key word sends to display translation module; Described display translation module, is suitable for showing in the prompting frame of the address field of browser the search suggestion key word that described preset search engine returns.B13, device as described in B12, it is characterized in that, described search processing module, the input key word be further adapted in asking according to described search process carries out coupling and obtains matching result in specified file, and described matching result is sent to display translation module; Described display translation module, is further adapted for and shows described matching result in the prompting frame of the address field of browser.B14, device as described in B13, it is characterized in that, described search processing module is suitable for obtaining matching result according to carrying out coupling in one kind of multiple in following file of described input key word: the network recommendation network address record of the collection of browser this locality, the historical record of browser this locality, the network recommendation network address record downloading to browser this locality and network side.B15, device as described in B13, is characterized in that, described display translation module, is suitable for described matching result and search suggestion key word, to search for suggestion key word in front, the posterior sequencing display of matching result in the prompting frame of the address field of browser.B16, device as described in B13, it is characterized in that, described search processing module, also be suitable for the classification information obtaining user, according to the classification information of the user obtained, described matching result and described search suggestion key word are screened, obtains the selection result, the selection result is sent to display translation module; Described display translation module, is suitable for showing described the selection result in the prompting frame of the address field of browser.B17, device as described in B16, it is characterized in that, this device comprises further: class of subscriber analysis module; Described class of subscriber analysis module, is suitable for the classification information analyzing user according to the history access record of user, and the classification information of user and the login ID of user is bound preservation mutually.Then described search processing module, determines the classification information of this user according to the login ID of active user.B18, device as described in B12, is characterized in that described display translation module is further adapted for the icon showing described preset search engine at the assigned address of the address field of browser.B19, device as described in B12, it is characterized in that, described preset search engine is multiple; Then described search processing module, is suitable for when judging that described input key word is search key word, initiates the request obtaining search suggestion key word respectively concurrently according to described input key word to described multiple preset search engine; Described display translation module, is suitable for foundation user in the prompting frame of browser address bar and, to the selection of search engine, shows the search suggestion key word that described multiple preset search engine returns respectively accordingly.B20, device as described in B19, is characterized in that, described search processing module, and be kept at browser corresponding to user ID is local and/or be synchronized to network then to be respectively further adapted for the search suggestion key word that returned by described multiple preset search engine.B21, device as described in B12, is characterized in that, by following principle, described keyword categories judge module judges whether the classification inputting key word is search key word: when described input key word is domain name, be judged as it not being search key word; When described input key word with following arbitrary character string at the first bruss, be judged as it not being search key word: " http: // ", " https: // ", " ftp: // ", " javascript: ", " vbscript: ", " res: // "; When there being " .. " in described input key word, be judged as YES search key word; When having space in described input key word, and have “ " or "/" time, be judged as it not being search key word; When having space in described input key word, but there is no “ " or "/" time, be judged as YES search key word; When there being ": " in described input key word, be judged as it not being search key word; When having in described input key word " ", " | " or "/" time, be judged as it not being search key word.

Claims (19)

1. in the address field of browser, realize a method of searching for, comprising:
Obtain the input key word of user in browser address bar;
Whether the classification judging described input key word is search key word;
When judging that described input key word is search key word, initiate to browser side preset search engine the request obtaining search suggestion key word according to described input key word;
The search suggestion key word that described preset search engine returns is shown in the prompting frame of browser address bar;
Receive the selection information of user to search suggestion key word, in the web page tag of browser side, open the result that preset search engine carries out according to described search suggestion key word retrieving;
Wherein, whether the described classification judging described input key word is that search key word comprises:
When described input key word is domain name, be judged as it not being search key word;
When described input key word with following arbitrary character string at the first bruss, be judged as it not being search key word: " http: // ", " https: // ", " ftp: // ", " javascript: ", " vbscript: ", " res: // ";
When there being " .. " in described input key word, be judged as YES search key word;
When having space in described input key word, and have “ " or "/" time, be judged as it not being search key word;
When having space in described input key word, but there is no “ " or "/" time, be judged as YES search key word;
When there being ": " in described input key word, be judged as it not being search key word;
When having in described input key word " ", " | " or "/" time, be judged as it not being search key word.
2. the method for claim 1, is characterized in that, the method comprises further:
When judging that described input key word is search key word, also in specified file, carrying out coupling according to described input key word and obtaining matching result;
Described matching result is shown further in the prompting frame of browser address bar.
3. method as claimed in claim 2, is characterized in that, described specified file comprise following one or more:
The network recommendation network address record of the collection of browser this locality, the historical record of browser this locality, the network recommendation network address record downloading to browser this locality and network side.
4. method as claimed in claim 2, is characterized in that, the described step showing described matching result in the prompting frame of browser address bar further comprises:
By described matching result and described search suggestion key word, to search for suggestion key word in front, the posterior sequencing display of matching result in the prompting frame of the address field of browser.
5. method as claimed in claim 2, it is characterized in that, the method comprises further:
Obtain the classification information of user;
According to the classification information of user, described matching result and described search suggestion key word are screened, obtains 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, is characterized in that, the classification information of described acquisition user comprises:
Analyze the classification information of user according to the history access record of user, and the classification information of user and the login ID of user are bound preservation mutually;
The classification information of this user is determined according to the login ID of active user.
7. the method for claim 1, is characterized in that, the method comprises further:
The icon of described preset search engine is shown at the assigned address of the address field of browser.
8. the method for claim 1, is characterized in that, described preset search engine is multiple; Then
The method comprises further:
When judging that described input key word is search key word, initiate to described multiple preset search engine the request obtaining search suggestion key word respectively concurrently according to described input key word;
And foundation user, to the selection of search engine, shows the search suggestion key word that described multiple preset search engine returns respectively accordingly in the prompting frame of browser address bar.
9. method as claimed in claim 8, it is characterized in that, the method comprises further:
The search suggestion key word returned by described multiple preset search engine is corresponding with user ID to be respectively kept at browser this locality and/or to be synchronized to network side.
10. the method for claim 1, is characterized in that, the described method realizing searching in the address field of browser is embodied as a plug-in unit of browser.
11. 1 kinds realize the device searched for, comprising in the address field of browser: keyword categories judge module, search processing module and display translation module;
Described keyword categories judge module, be suitable for obtaining the input key word of user in browser address bar, whether the classification judging described input key word is search key word, when judging to be search key word, initiates search process request to search processing module;
Described search processing module, be suitable for after receiving described search process request, initiate to browser side preset search engine the request obtaining search suggestion key word according to the input key word in described search process request, and the search returned by described preset search engine suggestion key word sends to display translation module;
Described display translation module, is suitable for showing in the prompting frame of the address field of browser the search suggestion key word that described preset search engine returns;
Wherein, by following principle, described keyword categories judge module judges whether the classification inputting key word is search key word:
When described input key word is domain name, be judged as it not being search key word;
When described input key word with following arbitrary character string at the first bruss, be judged as it not being search key word: " http: // ", " https: // ", " ftp: // ", " javascript: ", " vbscript: ", " res: // ";
When there being " .. " in described input key word, be judged as YES search key word;
When having space in described input key word, and have “ " or "/" time, be judged as it not being search key word;
When having space in described input key word, but there is no “ " or "/" time, be judged as YES search key word;
When there being ": " in described input key word, be judged as it not being search key word;
When having in described input key word " ", " | " or "/" time, be judged as it not being search key word.
12. devices as claimed in claim 11, is characterized in that,
Described search processing module, the input key word be further adapted in asking according to described search process carries out coupling and obtains matching result in specified file, and described matching result is sent to display translation module;
Described display translation module, is further adapted for and shows described matching result in the prompting frame of the address field of browser.
13. devices as claimed in claim 12, it is characterized in that, described search processing module is suitable for obtaining matching result according to carrying out coupling in one kind of multiple in following file of described input key word: the network recommendation network address record of the collection of browser this locality, the historical record of browser this locality, the network recommendation network address record downloading to browser this locality and network side.
14. devices as claimed in claim 12, is characterized in that,
Described display translation module, is suitable for described matching result and search suggestion key word, to search for suggestion key word in front, the posterior sequencing display of matching result in the prompting frame of the address field of browser.
15. devices as claimed in claim 12, is characterized in that,
Described search processing module, is also suitable for the classification information obtaining user, according to the classification information of the user obtained, screens, obtain the selection result, the selection result is sent to display translation module described matching result and described search suggestion key word;
Described display translation module, is suitable for showing described the selection result in the prompting frame of the address field of browser.
16. devices as claimed in claim 15, it is characterized in that, this device comprises further: class of subscriber analysis module;
Described class of subscriber analysis module, is suitable for the classification information analyzing user according to the history access record of user, and the classification information of user and the login ID of user is bound preservation mutually.
Then described search processing module, determines the classification information of this user according to the login ID of active user.
17. devices as claimed in claim 11, is characterized in that,
Described display translation module, is further adapted for the icon showing described preset search engine at the assigned address of the address field of browser.
18. devices as claimed in claim 11, it is characterized in that, described preset search engine is multiple;
Then described search processing module, is suitable for when judging that described input key word is search key word, initiates the request obtaining search suggestion key word respectively concurrently according to described input key word to described multiple preset search engine;
Described display translation module, is suitable for foundation user in the prompting frame of browser address bar and, to the selection of search engine, shows the search suggestion key word that described multiple preset search engine returns respectively accordingly.
19. devices as claimed in claim 18, is characterized in that, described search processing module, and be kept at browser corresponding to user ID is local and/or be synchronized to network then to be respectively further adapted for the search suggestion key word that returned by described multiple preset search engine.
CN201210477719.5A 2012-11-21 2012-11-21 A kind of method and apparatus realizing searching in the address field of browser Active CN102930058B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210477719.5A CN102930058B (en) 2012-11-21 2012-11-21 A kind of method and apparatus realizing searching in the address field of browser

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210477719.5A CN102930058B (en) 2012-11-21 2012-11-21 A kind of method and apparatus realizing searching in the address field of browser

Publications (2)

Publication Number Publication Date
CN102930058A CN102930058A (en) 2013-02-13
CN102930058B true CN102930058B (en) 2016-01-06

Family

ID=47644855

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210477719.5A Active CN102930058B (en) 2012-11-21 2012-11-21 A kind of method and apparatus realizing searching in the address field of browser

Country Status (1)

Country Link
CN (1) CN102930058B (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104050183A (en) * 2013-03-13 2014-09-17 腾讯科技(深圳)有限公司 Content matching result prompting method and device for browser input frame
CN103164542A (en) * 2013-04-15 2013-06-19 北京奇虎科技有限公司 Method of data searching and client-side
CN104216601B (en) * 2013-05-31 2018-02-02 腾讯科技(深圳)有限公司 The reminding method and device, browser of browser address bar input
CN103353900B (en) * 2013-07-26 2017-05-03 北京奇虎科技有限公司 Method, device and system for accessing and certificating web address through search bar
CN103366011B (en) * 2013-07-26 2017-12-05 北京奇虎科技有限公司 Pass through the method and device of browser address bar access registrar network address
CN103455567A (en) * 2013-08-18 2013-12-18 苏州量跃信息科技有限公司 Method and system for loading application interfaces based on search index entries
CN104699700A (en) * 2013-12-05 2015-06-10 腾讯科技(深圳)有限公司 Searching 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
CN104484340B (en) * 2014-11-24 2017-10-31 北京奇虎科技有限公司 A kind of method, device and browser client for realizing Shipping Options Page switching
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
CN106980681B (en) * 2017-03-30 2020-08-21 携程计算机技术(上海)有限公司 Method and system for switching page browsing function and searching function of mobile terminal
CN109801138A (en) * 2019-01-21 2019-05-24 口碑(上海)信息技术有限公司 The searching method and device of commodity picture

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6667751B1 (en) * 2000-07-13 2003-12-23 International Business Machines Corporation Linear web browser history viewer
CN101178712A (en) * 2006-12-08 2008-05-14 腾讯科技(深圳)有限公司 Method and system for mobile terminal searching network
CN102930057A (en) * 2012-11-21 2013-02-13 北京奇虎科技有限公司 Search implementation method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6667751B1 (en) * 2000-07-13 2003-12-23 International Business Machines Corporation Linear web browser history viewer
CN101178712A (en) * 2006-12-08 2008-05-14 腾讯科技(深圳)有限公司 Method and system for mobile terminal searching network
CN102930057A (en) * 2012-11-21 2013-02-13 北京奇虎科技有限公司 Search implementation method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
根正苗红:选择IE9浏览器的十大理由;刘志坡;《网络与信息》;20110531;第6~13页 *
王者归来 IE9中文版新功能全体验;博文视点;《电脑知识与技术(经验技巧)》;20110531;第74页 *

Also Published As

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

Similar Documents

Publication Publication Date Title
CN102930058B (en) A kind of method and apparatus realizing searching in the address field of browser
CN102930057B (en) Search implementation method and device
US10567529B2 (en) Unified tracking data management
US20190384798A1 (en) Automatically modifying a custom search engine for a website
KR101444389B1 (en) Message catalogs for remote modules
CN103678487B (en) Method and device for generating web page snapshot
US8959073B2 (en) Automatically modifying a custom search engine for a web site based on user input
US20120016857A1 (en) System and method for providing search engine optimization analysis
WO2007130547A2 (en) Remote module syndication system and method
CN102597994A (en) User-defined profile tags, rules, and recommendations for portal
AU2006326623A1 (en) Remote module incorporation into a container document
CN101146040B (en) Analyzing web site traffic method and device
CN102521257A (en) Method and device for providing corresponding on-line picture according to thumbnail
CN104321743A (en) Method and system for developing applications for consulting content and services on a telecommunications network
US9619528B2 (en) Automatically creating a custom search engine for a web site based on social input
US10542123B2 (en) System and method for generating and monitoring feedback of a published webpage as implemented on a remote client
CN102968476A (en) Method and device for showing webpage content
KR101282975B1 (en) A webpage crop server system of reconstructing a web page from tree structure of document elements
CN105224652A (en) A kind of information recommendation method based on video and electronic equipment
CN102955859B (en) Web page content revealing method and device
KR101248867B1 (en) A webpage crop server system of reconstructing only document elements on the cropped area of a web page
CN102930018B (en) Information on Collection processing system
Linaje et al. Multi-device context-aware RIAs using a model-driven approach
KR20110123027A (en) Searching method using smart toolbar system
CN105138704A (en) Search result control method and electronic equipment

Legal Events

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