CN102945284A - Method and device for obtaining status of search engine and browser - Google Patents

Method and device for obtaining status of search engine and browser Download PDF

Info

Publication number
CN102945284A
CN102945284A CN2012104788221A CN201210478822A CN102945284A CN 102945284 A CN102945284 A CN 102945284A CN 2012104788221 A CN2012104788221 A CN 2012104788221A CN 201210478822 A CN201210478822 A CN 201210478822A CN 102945284 A CN102945284 A CN 102945284A
Authority
CN
China
Prior art keywords
search engine
search
status
column
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2012104788221A
Other languages
Chinese (zh)
Other versions
CN102945284B (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
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 CN201210478822.1A priority Critical patent/CN102945284B/en
Publication of CN102945284A publication Critical patent/CN102945284A/en
Application granted granted Critical
Publication of CN102945284B publication Critical patent/CN102945284B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Computer And Data Communications (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a method and a device for obtaining the status of a search engine and a browser. The method for obtaining the status of the search engine comprises the steps of sending a status inquiry message to a search engine server of the search engine before a user command for starting of the search engine is received and/or before a user command for usage of the search engine to execute data search is received; receiving a status code returned by the search engine server according to the status inquiry message; and when the current status of the search engine is known as not available according to the status code, generating a message which prompts that the search engine is not available and displaying to a user, and when the current status of the search engine is known as available according to the status code, if the message which prompts that the search engine is not available exists, clearing the message.

Description

The state acquiring method of search engine, device and browser
Technical field
The present invention relates to Internet technical field, particularly the state deriving means of a kind of state acquiring method of search engine, search engine and comprise the browser of the state deriving means of search engine.
Background technology
Search engine refers to according to certain strategy, uses specific computer program to gather information from the internet, and after information being organized and processed, for the user provides retrieval service, the information display that user search is relevant is to user's system.Search engine comprises full-text index search engine, directory index search engine, META Search Engine, vertical search engine, aggregation type search engine, door search engine and free lists of links search engine etc.Baidu and Google etc. are the representatives of search engine.
Yet; more existing search engines; the phenomenon of suspension often can appear serving, when the user need to use these search engines to retrieve, in search engine the input retrieving information after; through wait after a while; what sometimes return is normal Search Results, and what return under the more susceptible condition is the webpage that goes wrong of indication search engine, and existing search engine operates the user to have blindness; waste user's time, reduced user's experience.
Summary of the invention
In view of the above problems, the present invention has been proposed in case provide a kind of search engine that overcomes the problems referred to above or address the above problem at least in part state acquiring method, search engine the state deriving means and comprise the browser of the state deriving means of search engine.
According to one aspect of the present invention, a kind of state acquiring method of search engine is provided, comprising:
Before the instruction of the startup search engine that receives the user and/or before receiving user's the instruction that utilizes the search of search engine executing data, to the search engine server transmission status poll information of this search engine; Receive the status code that search engine server returns according to status poll information; When the current state of knowing search engine according to status code when being unavailable, generating the prompting search engine status is disabled information and shows the user, when but the current state of knowing search engine according to status code is the time spent, if having the prompting search engine status is disabled information, then remove this information.
Wherein, when receiving the address key words of at least part of search engine that the user inputs in browser address bar, confirm that the user will start search engine, then the search engine server to this search engine sends status poll information; And/or, when receiving the data of inputting in the search column of user at search engine, confirm that the user will utilize the search of search engine executing data, then the search engine server to this search engine sends status poll information; And/or after the search column of search engine is opened and before receiving the data of inputting in the search column of user at this search engine, regularly the search engine server to this search engine sends status poll information.
Wherein, above-mentionedly know that according to status code the current state of search engine is unavailable comprising:
When status code was indicated following at least a situation, the current state of knowing search engine was unavailable: network connection is reset, network connection is rejected, network connection abandons, network connection failed, domain name mapping is failed, the address is invalid, connect overtime or socket does not connect.
Wherein, the above-mentioned disabled information of generation prompting search engine status and show the user to comprise: in the search column of address field, status bar and/or the search engine of browser, show the disabled information of prompting search engine status.
Wherein, in the above-mentioned disabled information of generation prompting search engine status and when showing the user, said method also comprises: the property element of the input control of the search column by search engine is set, the input of the search column receive data of tabu search engine;
But be the time spent when the current state of knowing search engine according to status code, if there is the disabled information of prompting search engine status, when then removing this information, said method also comprises: the property element of the input control of the search column by search engine is set allows the input of the search column receive data of search engine.
Wherein, be alternative in when the current state of knowing search engine according to status code when being unavailable, generating the prompting search engine status is disabled information and shows the user, when but the current state of knowing search engine according to status code is the time spent, if having the prompting search engine status is disabled information, then remove the step of this information, said method also comprises: the search column of the search engine of showing in browser is the search column of the first search engine, and the current state of this first search engine is when being unavailable, from current state is available search engine, choose a search engine, the search column of the first search engine in the browser is switched to the search column of the search engine of choosing;
The search column of the first search engine switches to after the search column of the search engine of choosing in browser, also comprise: but when the current state of knowing the first search engine according to status code for the time spent, the search column of search engine in the browser is switched back the search column of the first search engine.
According to another aspect of the present invention, a kind of state deriving means of search engine is provided, comprising: receiver, communication unit, determining device and display unit,
Receiver is suitable for receiving user's input;
Communication unit, be suitable for before receiver receives user's the instruction of startup search engine and/or before receiving user's the instruction that utilizes the search of search engine executing data, search engine server to this search engine sends status poll information, also is suitable for receiving the status code that search engine server returns according to status poll information;
Determining device is suitable for when judging according to status code whether the current state of search engine is available;
Display unit, be suitable for when the current state of knowing search engine according to status code when being unavailable, generating the prompting search engine status is disabled information and shows the user, when but the current state of knowing search engine according to status code is the time spent, if having the prompting search engine status is disabled information, then remove this information.
Wherein, communication unit, specifically be suitable for when receiver receives at least part of search engine address key words that the user inputs in browser address bar, confirm that the user will start search engine, then the search engine server to this search engine sends status poll information; And/or, when receiver receives the data of inputting in the search column of user at search engine, confirm that the user will utilize the search of search engine executing data, then the search engine server to this search engine sends status poll information; And/or before receiving the data of inputting in the search column of user at this search engine after the search column unlatching of search engine and at receiver, regularly the search engine server to this search engine sends status poll information.
Wherein, determining device, specifically be suitable for when status code is indicated following at least a situation, confirm that the current state of search engine is unavailable: network connection is reset, network connection is rejected, network connection abandons, network connection failed, domain name mapping is failed, the address is invalid, connect overtime or socket does not connect.
Wherein, display unit specifically is suitable for showing in the search column of address field, status bar and/or search engine at browser the disabled information of prompting search engine status.
Wherein, receiver, also be suitable for when display unit generates the disabled information of prompting search engine status and shows the user the property element of the input control of the search column by search engine is set, the input of the search column receive data of tabu search engine; And receiver also is suitable for when display unit is removed the prompting search engine status generated and is disabled information, and the property element of the input control of the search column by search engine is set allows the input of the search column receive data of search engine.
Wherein, be alternative in above-mentioned display unit, said apparatus comprises that also the search column that switch unit is suitable for the search engine showed in the browser is the search column of the first search engine, and determining device is when confirming that the current state of this first search engine is unavailable, from current state is available search engine, choose a search engine, the search column of the first search engine in the browser is switched to the search column of the search engine of choosing; And,
Switch unit, the search column that also is suitable for the first search engine in browser switches to after the search column of the search engine of choosing, but the current state of confirming the first search engine when determining device according to status code is the time spent, the search column of search engine in the browser is switched back the search column of the first search engine.
According to another aspect of the present invention, provide a kind of browser that comprises the state deriving means of above-mentioned search engine.
From the above mentioned, the embodiment of the invention is by utilizing the user before the search engine executing data search, state to the search engine server query search engine, by the state of the search engine that inquires generate the indication search engine can with or technological means that can no information, can make the user before the executing data search, just know the state of search engine by this information, operation to the user guides, and has saved user's search time.And, utilize the indication search engine can with information can make in network state and initiate searching request in the situation preferably, reduce the failed probability of occurrence of search, utilize the disabled information of indication search engine, avoid when network state is relatively poor, also receiving a large amount of searching request and caused network state to worsen, thereby improved network performance.
Above-mentioned explanation only is the general introduction of technical solution of the present invention, for can clearer understanding technological means of the present invention, and can be implemented according to the content of instructions, and for above and other objects of the present invention, feature and advantage can be become apparent, below especially exemplified by the specific embodiment of the present invention.
Description of drawings
By reading hereinafter detailed description of the preferred embodiment, various other advantage and benefits will become cheer and bright for those of ordinary skills.Accompanying drawing only is used for the purpose of preferred implementation is shown, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts with identical reference symbol.In the accompanying drawings:
Fig. 1 shows the according to an embodiment of the invention state deriving means structural drawing of search engine;
Fig. 2 shows and shows in the address field of browser that according to an embodiment of the invention the prompting search engine status is the synoptic diagram of disabled information; And
Fig. 3 shows and shows in the status bar of browser that according to an embodiment of the invention the prompting search engine status is the synoptic diagram of disabled information;
Fig. 4 shows the synoptic diagram of showing the disabled information of prompting search engine status in the search column of search engine according to an embodiment of the invention;
Fig. 5 shows the workflow synoptic diagram of the browser of the state deriving means that comprises according to an embodiment of the invention search engine;
Fig. 6 shows according to an embodiment of the invention a kind of state acquiring method process flow diagram of search engine;
Fig. 7 shows a kind of according to an embodiment of the invention state deriving means structural drawing of search engine for the navigation page;
Fig. 8 shows according to an embodiment of the invention the workflow diagram for the server of the state deriving means of the search engine of the navigation page.
Embodiment
Exemplary embodiment of the present disclosure is described below with reference to accompanying drawings in more detail.Although shown exemplary embodiment of the present disclosure in the accompanying drawing, yet should be appreciated that and to realize the disclosure and the embodiment that should do not set forth limits here with various forms.On the contrary, it is in order to understand the disclosure more thoroughly that these embodiment are provided, and can with the scope of the present disclosure complete convey to those skilled in the art.
One embodiment of the invention provides a kind of state deriving means 100 of search engine, referring to Fig. 1, comprises receiver 111, communication unit 112, determining device 113 and display unit 114.
Receiver 111 is suitable for receiving user's input.For example, receiver 111 can receive search column or the data of the address field input of browser etc. of user by search engine.
Communication unit 112 is suitable for before receiver 111 receives user's the instruction of startup search engine and/or before receiving user's the instruction that utilizes the search of search engine executing data, search engine server 200 to this search engine sends status poll information, also is suitable for receiving the status code that search engine server 200 returns according to status poll information.
Receive at receiver 111 before user's the instruction of startup search engine, before namely search engine was not activated, communication unit 112 can regularly send the status poll information to search engine server 200.
Started during the search of this search engine executing data at search engine, communication unit 112 can regularly send the status poll information to search engine server 200.Search engine start during in, after the search column of search engine is opened and at receiver, receive the data of inputting in the search column of user at this search engine before, also can be regularly send status poll information to the search engine server of this search engine.
For example, the state deriving means 100 with search engine is arranged in the scene of browser, browser can arrange a timer, triggers communication unit 112 on the backstage every the schedule time by this timer and sends status poll information to search engine server 200.
Except utilizing timer timed sending status poll information, communication unit 112 also can send status poll information to search engine server 200 in following at least arbitrary scene:
1) when receiver 111 receives at least part of search engine address key words that the user inputs in browser address bar, communication unit 112 confirms that the user will start search engine, and then the search engine server 200 to this search engine sends status poll information.
For example, if the address key words of search engine is abcde, then receiver 111 receives abcde in browser address bar, perhaps abcd, perhaps during the data such as ab, can judge that the user will carry out the use of abcde search engine, this search engine is about to start, and then the search engine server to this search engine sends status poll information.
2) when receiver receives the data of inputting in the search column of user at search engine, confirm that the user will utilize the search of search engine executing data, then the search engine server to this search engine sends status poll information.
For example, the information that need to search for as the user is during for " patented claim ", then when receiver 111 when search column, receiving " specially " or " patent ", can judge that the user will utilize this search engine to carry out search, then the search engine server to this search engine sends status poll information.
Pass through aforesaid operations, communication unit 112 can guarantee before the search of user's executing data, receive before the instruction of user by the execution search clicking search key and send such as receiver 111, receive the status code that search engine server 200 returns according to status poll information, thereby know the state of search engine.
Determining device 113 is suitable for judging according to status code whether the current state of search engine is available.Determining device 113 specifically is suitable for when status code is indicated following at least a situation, confirms that the current state of search engine is unavailable:
Network connection is reset (CONNECTION_RESET), network connection and is rejected (CONNECTION_REFUSED), network connection and abandons (CONNECTION_ABORTED), network connection failure (CONNECTION_FAILED), domain name mapping failure (NAME_NOT_RESOLVED), address invalid (ADDRESS_INVALID), connect overtime (CONNECTION_TIMED_OUT) or socket does not connect (SOCKET_NOT_CONNECTED).
Display unit 114 is suitable for generating the prompting search engine status to be disabled information and to show the user.Concrete, referring to Fig. 2, display unit 114 can generate the prompting search engine status in the address field of browser be disabled information, can be " XX is unavailable current " such as the example of this information, and XX represents the search engine title.
Referring to Fig. 3, display unit 114 can be in the status bar of browser is disabled information with the prompting search engine status that generates, can be " XX is current unavailable " such as the example of this information, and XX represents the search engine title.
Referring to Fig. 4, display unit 114 can be showed the disabled information of prompting search engine status in the search column of search engine, can be " XX is current unavailable " such as the example of this information.
It is disabled information that display unit 114 also is suitable for removing already present prompting search engine status.Corresponding to the position of presentation information, the prompting search engine status that display unit 114 can will exist in the search column of address field, status bar and/or the search engine of browser is disabled information deletion.
Further, receiver 111 also is suitable for when display unit 114 generates the disabled information of prompting search engine status and shows the user in the present embodiment, the property element of the input control of the search column by search engine is set, the input of the search column receive data of tabu search engine.For example, the property element type (type) of input (input) control by search column is set is for hiding (hidden), the input of the search column receive data of tabu search engine.And, receiver 111 also is suitable for when the prompting search engine status that display unit 114 removings have generated is disabled information, the property element of the input control of the search column by search engine is set, be set to availablely such as the property element type of the input control of search column, allow the input of the search column receive data of search engine.By this set to receiver, further the operation that utilizes search engine to carry out data search is controlled, only allow to initiate searching request in the situation preferably in network state, reduce the failed probability of occurrence of search, and avoided when network state is relatively poor, also receiving a large amount of searching request and cause network state to worsen, thereby improved network performance.
In another structure of the state deriving means 100 of the search engine that present embodiment provides, replace above-mentioned display unit by switch unit, namely the state deriving means 100 of this search engine is made of receiver, communication unit, determining device and switch unit.This switch unit, the search column of the search engine of showing in browser is the search column of the first search engine, and determining device 113 is when confirming that the current state of these the first search engines is unavailable, from current state is available search engine, choose a search engine, the search column of the first search engine in the browser is switched to the search column of the search engine of choosing; And, the search column that switch unit also is suitable for the first search engine in browser switches to after the search column of the search engine of choosing, but the current state of confirming the first search engine when determining device 113 according to status code is the time spent, the search column of search engine in the browser is switched back the search column of the first search engine.Above-mentioned the first search engine can be the search engine of giving tacit consent in the browser, the search engine that also can choose in browser for the user.This handover mechanism, but the user can in time be informed when the first search engine time spent, when the first search engine is unavailable, as long as just this available search engine is offered the user when in the network available search engine being arranged, made things convenient for the search operation of data.
Another embodiment of the present invention also provides a kind of browser that comprises the state deriving means 100 of search engine.Referring to Fig. 5, show this browser workflow synoptic diagram.
S500: browser sends status poll information by the state deriving means of the search engine of setting on it to search engine server;
S502: browser receives the status code that search engine server returns.
The particular content of step S500 and S502 can be referring to above-mentioned communication unit 112.
S504: browser is known the state that search engine is current, as available or unavailable.
In step S504, the determining device 113 of browser in can the state deriving means of calling search engine judged the state that search engine is current.
S506: browser upgrades the information of prompting engine status, when being unavailable when the current state of search engine, the current state that the display unit 114 of browser in can the state deriving means of calling search engine generates the indication search engines is disabled information and shows the user, when but the current state of search engine is the time spent, it is disabled information that there has been the state of indicating search engine in display unit 114 deletions of browser in can the state deriving means of calling search engine.
The concrete mode of the state deriving means 100 of this browser operation search engine, and the specific works mode of the state deriving means 100 of search engine can be referring to the embodiment of above-mentioned state deriving means about search engine in the browser.
Another embodiment of the present invention also provides a kind of state acquiring method of search engine, referring to Fig. 6, comprising:
S601: the search engine server to search engine sends status poll information.
Before the instruction of the startup search engine that receives the user and/or before receiving user's the instruction that utilizes the search of search engine executing data, to the search engine server transmission status poll information of this search engine.
S602: receive the status code that search engine server returns according to status poll information.
S603: whether the current state of judging search engine according to status code is available, if, execution in step S604, if not, execution in step S605;
S604: but when the current state of knowing search engine according to status code be the time spent, if having the prompting search engine status is disabled information, then remove this information.
S605: when the current state of knowing search engine according to status code when being unavailable, generate the prompting search engine status and be disabled information and show the user.
Wherein, step S601 can comprise following processing at least: when receiving the address key words of at least part of search engine that the user inputs in browser address bar, confirm that the user will start search engine, then the search engine server to this search engine sends status poll information; And/or, when receiving the data of inputting in the search column of user at search engine, confirm that the user will utilize the search of search engine executing data, then the search engine server to this search engine sends status poll information; And/or after the search column of search engine is opened and before receiving the data of inputting in the search column of user at this search engine, regularly the search engine server to this search engine sends status poll information.
Wherein, above-mentionedly know that according to status code the current state of search engine is unavailable comprising:
When status code was indicated following at least a situation, the current state of knowing search engine was unavailable: network connection is reset, network connection is rejected, network connection abandons, network connection failed, domain name mapping is failed, the address is invalid, connect overtime or socket does not connect.
Wherein, generate the disabled information of prompting search engine status and show the user to comprise among the step S605: in the search column of address field, status bar and/or the search engine of browser, show the disabled information of prompting search engine status.
Wherein, among the step S605 in the above-mentioned disabled information of generation prompting search engine status and when showing the user, the property element of the input control of the search column by search engine is set, the input of the search column receive data of tabu search engine; But be the time spent when the current state of knowing search engine according to status code among the step S604, if there is the disabled information of prompting search engine status, when then removing this information, the property element of the input control of the search column by search engine is set allows the input of the search column receive data of search engine.
Wherein, present embodiment also provides a kind of handover mechanism of search engine, be alternative in above-mentioned steps S604 and S605, present embodiment can be carried out following operation: the search column of the search engine of showing in browser is the search column of the first search engine, and the current state of this first search engine is when being unavailable, from current state is available search engine, choose a search engine, the search column of the first search engine in the browser is switched to the search column of the search engine of choosing; And the search column of the first search engine switches to after the search column of the search engine of choosing in browser, when but the current state of knowing the first search engine according to status code is the time spent, the search column of search engine in the browser is switched back the search column of the first search engine.
The concrete executive mode of each step in the embodiment of the invention can be referring to the device embodiment of the invention described above.
From the above mentioned, the embodiment of the invention is by utilizing the user before the search engine executing data search, state to the search engine server query search engine, by the state of the search engine that inquires generate the indication search engine can with or technological means that can no information, can make the user before the executing data search, just know the state of search engine by this information, operation to the user guides, and has saved user's search time.And, utilize the indication search engine can with information can make in network state and initiate searching request in the situation preferably, reduce the failed probability of occurrence of search, utilize the disabled information of indication search engine, avoid when network state is relatively poor, also receiving a large amount of searching request and caused network state to worsen, thereby improved network performance.
Another embodiment of the present invention also provides a kind of state deriving means 700 of search engine for the navigation page, referring to Fig. 7, comprises receiver 702, communication unit 704, determining device 706, display unit 708.
Receiver 702 is suitable for receiving user's input, and for example, receiver can receive search column or the data of the address field input of the navigation page etc. of user by the search engine of navigation on the page.
Communication unit 704 can be carried out following operation at least:
1) communication unit 704 was suitable for before receiver 702 receives user's the instruction of the startup navigation page 900, and (regularly) sends the status poll information to search engine server 800.Operation scenario when this scene does not start for the navigation page, concrete, under this scene when receiver 702 receives the address key words of at least part of navigation page 900 that the user inputs in browser address bar, communication unit can confirm that the user will start the navigation page, then sends status poll information to search engine server 800.
2) in the navigation page 900 a plurality of search engine icons can be set usually; the user is by clicking these icons; send selection instruction; the search engine that indication will be used; then after the navigation page has started; when receiver 702 received the user to the selection instruction of the search engine of navigation in the page 900, communication unit 704 sent the status poll information to search engine server 800.
3) before receiver 702 received the instruction that the user utilizes the search column executing data search of search engine in the navigation page 900, communication unit 704 sent status poll information to search engine server.This scene has started the associative operation of rear communication unit 704 for the navigation page, for example, under this scene, when receiver 702 receives the data that the user inputs in the search column of search engine of the navigation page 900, communication unit 704 confirms that the user will utilize the search column executing data search of search engine in the navigation page 900, and then the search engine server 800 to this search engine sends status poll information; And/or before receiving the data of inputting in the search column of user at search engine after 900 unlatchings of the navigation page and at receiver 702, communication unit 704 sends status poll information to search engine server.And/or before receiver 702 received the selection instruction of user to the search engine in the navigation page, communication unit 704 regularly sent status poll information to search engine server.
4) communication unit 704 also is suitable for receiving the status code that search engine server 800 returns according to status poll information.
Determining device 706 is suitable for judging according to status code whether the current state of search engine is available
Display unit 708 is suitable for when the current state of knowing search engine according to status code when being unavailable, generating the prompting search engine status is disabled information and shows the user, when but the current state of knowing search engine according to status code is the time spent, if having the prompting search engine status is disabled information, then remove this information
Receiver 702 also is suitable for when generation prompting search engine status is disabled information, by the property element of the input control of the search column of search engine in the navigation page is set, the input of the search column receive data of tabu search engine, for example, the attribute type of the input control of the search column in the receiver 702 Lookup protocols navigation page is hidden, perhaps, forbidding (disabled) setup of attribute that receiver 702 will navigate in the source code of the navigation page of server end of the page the input control of the search box of corresponding search engine is unavailable, forbids navigation page input data.
But receiver 702 also is suitable for being the time spent when the current state of knowing search engine according to status code, if having the prompting search engine status in the navigation page is disabled information, when then removing this information, by the property element of the input control of the search column of search engine in the navigation page is set, allow the input of the search column receive data of search engine.For example, the navigate attribute type of input control of the search column in the page 900 of receiver 702 is set to available, perhaps, receiver 702 will navigate, and the disabled setup of attribute of the input control of the search box of corresponding search engine is available in the source code of the navigation page 900 of server end of the page 900, allow the navigation page 900 input data, as deleting the disabled value by the JavaScript instruction, switch to the value of input control available.
Preferably, be alternative in above-mentioned display unit by switch unit in another structure of state deriving means 700 for the search engine of the navigation page of present embodiment, namely the state deriving means 700 for the search engine of the navigation page comprises receiver, communication unit, determining device and switch unit.The search column of the search engine that this switch unit is showed in the navigation page is the search column of the first search engine, and determining device is when confirming that the current state of this first search engine is unavailable, from current state is available search engine, choose a search engine, the search column of the first search engine in the navigation page is switched to the search column of the search engine of choosing; And, switch unit, after the search column that also is suitable for the first search engine in the page that will navigate switches to the search column of the search engine of choosing, but the current state of confirming the first search engine when determining device according to status code is the time spent, the search column of search engine in the navigation page is switched back the search column of the first search engine.Above-mentioned the first search engine can be the search engine of giving tacit consent in the navigation page face, the search engine that also can choose in the page in navigation for the user.This handover mechanism, but the user can in time be informed when the first search engine time spent, when the first search engine is unavailable, as long as just this available search engine is offered the user when in the network available search engine being arranged, made things convenient for the search operation of data.
Another embodiment of the present invention provides a kind of server of state deriving means that comprises above-mentioned search engine for the navigation page, and this server can be a kind of background server.Referring to Fig. 8, show this background server workflow synoptic diagram.
S800: background server by its upper arrange for the state deriving means of the search engine of the navigation page to search engine server transmission status poll information;
S802: background server receives the status code that search engine server returns.
The particular content that background server is carried out among step S800 and the S802 can be referring to above-mentioned communication unit 704.
S804: background server is known the state that search engine is current, as available or unavailable.
In step S804, background server can call for the determining device 706 in the state deriving means of the search engine of the navigation page judges the state that search engine is current.
S806: background server upgrades the information of prompting engine status in the navigation page, but as when the current state of search engine be the time spent, the state that background server can call for the display unit generation indication search engine in the state deriving means of the search engine of the navigation page is disabled information, when but the current state of search engine is the time spent, it is disabled information that background server can call the state of deleting already present indication search engine for the display unit in the state deriving means of the search engine of the navigation page.
Another embodiment of the present invention also provides a kind of state acquiring method of search engine for the navigation page, comprises the steps:
S900: before the instruction of the startup navigation page that receives the user, and/or when receiving the user to the selection instruction of the search engine of navigation in the page, and/or, before receiving the user and utilizing the instruction of the search column executing data search of search engine in the navigation page, send status poll information to search engine server;
S902: receive the status code that search engine server returns according to status poll information;
S904: when the current state of knowing search engine according to status code when being unavailable, generating the prompting search engine status is disabled information;
S906: but when the current state of knowing search engine according to status code be the time spent, be disabled information if there is the prompting search engine status in navigation in the page, then remove this information.
Wherein, step S900 can comprise following concrete operations: when receiving the address key words of at least part of navigation page that the user inputs in browser address bar, confirm that the user will start the navigation page, then send status poll information to search engine server; And/or, when receiving the data that the user inputs in the search column of search engine of the navigation page, confirm that the user will utilize the search column executing data search of search engine in the navigation page, then the search engine server to this search engine sends status poll information; And/or, after the unlatching of the navigation page and before receiving the data of inputting in the search column of user at search engine or before receiving the selection instruction of user to the search engine in the navigation page, regularly send status poll information to search engine server.
Wherein, in step S904, generate the prompting search engine status and be in the disabled information, by the property element of the input control of the search column of search engine in the navigation page, the input of the search column receive data of tabu search engine are set;
In step S906, work as according to status code and know that but the current state of search engine is the time spent, if having the prompting search engine status in the navigation page is disabled information, when then removing this information, by the property element of the input control of the search column of search engine in the navigation page is set, allow the input of the search column receive data of search engine.
Wherein, the embodiment of the invention also provides a kind of blocked operation of search engine, be alternative in above-mentioned steps S904 and S906, present embodiment can also be carried out following operation: the search column of the search engine of showing in the navigation page is the search column of the first search engine, and the current state of this first search engine is when being unavailable, from current state is available search engine, choose a search engine, the search column of the first search engine in the navigation page is switched to the search column of the search engine of choosing; And, after the search column of the first search engine switches to the search column of the search engine of choosing in the page that will navigate, when but the current state of knowing the first search engine according to status code is the time spent, the search column of search engine in the navigation page is switched back the search column of the first search engine.
From the above mentioned, the embodiment of the invention is by utilizing navigation searching before the plain engine executing data search in the page the user, state to the search engine server query search engine, by the state of the search engine that inquires generate the indication search engine can with or technological means that can no information, can make the user before utilizing the search of navigation page executing data, just know the state of search engine by this information, operation to the user guides, and has saved user's search time.And, utilize navigation page indicating search engine can with information can make in network state and initiate searching request in the situation preferably, reduce the failed probability of occurrence of search, utilize the disabled information of navigation page indicating search engine, avoid when network state is relatively poor, also receiving a large amount of searching request and caused network state to worsen, thereby improved network performance.
Intrinsic not relevant with any certain computer, virtual system or miscellaneous equipment with demonstration at this algorithm that provides.Various general-purpose systems also can be with using based on the teaching at this.According to top description, it is apparent constructing the desired structure of this type systematic.In addition, the present invention is not also for any certain programmed language.Should be understood that and to utilize various programming languages to realize content of the present invention described here, and the top description that language-specific is done is in order to disclose preferred forms of the present invention.
In the instructions that provides herein, a large amount of details have been described.Yet, can understand, embodiments of the invention can be put into practice in the situation of these details not having.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 one or more in each inventive aspect, in the description 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 in the above.Yet the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires the more feature of feature clearly put down in writing than institute in each claim.Or rather, as following claims reflected, inventive aspect was to be less than all features of the disclosed single embodiment in front.Therefore, follow claims of embodiment and incorporate clearly thus this embodiment into, wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and can adaptively change and they are arranged in one or more equipment different from this embodiment the module in the equipment among the embodiment.Can be combined into a module or unit or assembly to the module among the embodiment or unit or assembly, and can be divided into a plurality of submodules or subelement or sub-component to them in addition.In such feature and/or process or unit at least some are mutually repelling, and can adopt any combination to disclosed all features in this instructions (comprising claim, summary and the accompanying drawing followed) and so all processes or the unit of disclosed any method or equipment make up.Unless in addition clearly statement, disclosed each feature can be by providing identical, being equal to or the alternative features of similar purpose replaces in this instructions (comprising claim, summary and the accompanying drawing followed).
In addition, those skilled in the art can understand, although embodiment more described herein comprise some feature rather than further feature included among other embodiment, the combination of the feature of different embodiment means and is within the scope of the present invention and forms different embodiment.For example, in the following claims, the one of any of embodiment required for protection can be used with array mode arbitrarily.
All parts embodiment of the present invention can realize with hardware, perhaps realizes with the software module of moving at one or more processor, and perhaps the combination with them realizes.It will be understood by those of skill in the art that and to use in practice microprocessor or digital signal processor (DSP) to realize according to the state deriving means of the search engine of the embodiment of the invention and comprise some or all some or repertoire of parts in the browser of state deriving means of search engine.The present invention can also be embodied as be used to part or all equipment or the device program (for example, computer program and computer program) of carrying out method as described herein.Such realization program of the present invention can be stored on the computer-readable medium, perhaps can have the form of one or more signal.Such signal can be downloaded from internet website and obtain, and perhaps provides at carrier signal, perhaps provides with any other form.
It should be noted above-described embodiment the present invention will be described rather than limit the invention, and those skilled in the art can design alternative embodiment in the situation of the scope that does not break away from 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 is not listed in element or step in the claim.Being positioned at word " " before the element or " one " does not get rid of and has a plurality of such elements.The present invention can realize by means of the hardware that includes some different elements and by means of the computing machine of suitably programming.In having enumerated the unit claim of some devices, several in these devices can be to come imbody by same hardware branch.The use of word first, second and C grade does not represent any order.Can be title with these word explanations.

Claims (13)

1. the state acquiring method of a search engine comprises:
Before the instruction of the startup search engine that receives the user and/or before receiving user's the instruction that utilizes the search of search engine executing data, to the search engine server transmission status poll information of this search engine;
Receive the status code that search engine server returns according to described status poll information;
When the current state of knowing search engine according to described status code when being unavailable, generating the prompting search engine status is disabled information and shows the user, when but the current state of knowing search engine according to described status code is the time spent, if having the prompting search engine status is disabled information, then remove this information.
2. method according to claim 1, wherein,
When receiving the address key words of at least part of search engine that the user inputs in browser address bar, confirm that the user will start search engine, then the search engine server to this search engine sends status poll information; And/or
When receiving the data of inputting in the search column of user at search engine, confirm that the user will utilize the search of search engine executing data, then the search engine server to this search engine sends status poll information; And/or
After the search column of search engine is opened and before receiving the data of inputting in the search column of user at this search engine, regularly the search engine server to this search engine sends status poll information.
3. method according to claim 1 and 2, wherein, describedly know that according to described status code the current state of search engine is unavailable comprising:
When described status code was indicated following at least a situation, the current state of knowing search engine was unavailable:
Network connection is reset, network connection is rejected, network connection abandons, network connection failed, domain name mapping is failed, the address is invalid, connect overtime or socket does not connect.
4. method according to claim 3, wherein, the described disabled information of generation prompting search engine status also shows the user to comprise:
In the search column of address field, status bar and/or the search engine of browser, show the disabled information of prompting search engine status.
5. method according to claim 4, wherein,
In the described disabled information of generation prompting search engine status and when showing the user, described method also comprises:
The property element of the input control of the search column by search engine is set, the input of the search column receive data of tabu search engine;
But be the time spent in described current state when know search engine according to described status code, if there is the disabled information of prompting search engine status, when then removing this information, described method also comprises:
The property element of the input control of the search column by search engine is set allows the input of the search column receive data of search engine.
6. method according to claim 1, wherein, be alternative in when the current state of knowing search engine according to described status code when being unavailable, generating the prompting search engine status is disabled information and shows the user, when but the current state of knowing search engine according to described status code is the time spent, if having the prompting search engine status is disabled information, then remove this information, described method also comprises:
The search column of the search engine of showing in browser is the search column of the first search engine, and the current state of this first search engine is when being unavailable, from current state is available search engine, choose a search engine, the search column of the first search engine in the browser is switched to the search column of the search engine of choosing;
, also comprise after the search column of the first search engine switches to the search column of the search engine of choosing in browser described:
When but the current state of knowing described the first search engine according to described status code is the time spent, the search column of search engine in the browser is switched back the search column of described the first search engine.
7. the state deriving means of a search engine comprises: receiver, communication unit, determining device and display unit,
Described receiver is suitable for receiving user's input;
Described communication unit, be suitable for before described receiver receives user's the instruction of startup search engine and/or before receiving user's the instruction that utilizes the search of search engine executing data, search engine server to this search engine sends status poll information, also is suitable for receiving the status code that search engine server returns according to described status poll information;
Described determining device is suitable for judging according to described status code whether the current state of search engine is available;
Described display unit, be suitable for when the current state of knowing search engine according to described status code when being unavailable, generating the prompting search engine status is disabled information and shows the user, when but the current state of knowing search engine according to described status code is the time spent, if having the prompting search engine status is disabled information, then remove this information.
8. device according to claim 7, wherein,
Described communication unit, specifically be suitable for when described receiver receives at least part of search engine address key words that the user inputs in browser address bar, confirm that the user will start search engine, then the search engine server to this search engine sends status poll information; And/or, when described receiver receives the data of inputting in the search column of user at search engine, confirm that the user will utilize the search of search engine executing data, then the search engine server to this search engine sends status poll information; And/or before receiving the data of inputting in the search column of user at this search engine after the search column unlatching of search engine and at described receiver, regularly the search engine server to this search engine sends status poll information.
9. device according to claim 8, wherein, described determining device specifically is suitable for when described status code is indicated following at least a situation, confirms that the current state of search engine is unavailable:
Network connection is reset, network connection is rejected, network connection abandons, network connection failed, domain name mapping is failed, the address is invalid, connect overtime or socket does not connect.
10. device according to claim 8, wherein, described display unit specifically is suitable for showing the disabled information of prompting search engine status in the search column of address field, status bar and/or search engine at browser.
11. device according to claim 10, wherein,
Described receiver, also be suitable for when described display unit generates the disabled information of prompting search engine status and shows the user, the property element of the input control of the search column by search engine is set, the input of the search column receive data of tabu search engine; And,
Described receiver, also be suitable for when the prompting search engine status that described display unit removing has generated is disabled information, the property element of the input control of the search column by search engine is set allows the input of the search column receive data of search engine.
12. device according to claim 7 wherein, is alternative in described display unit, described device also comprises switch unit,
Described switch unit, the search column that is suitable for the search engine showed in the browser is the search column of the first search engine, and described determining device is when confirming that the current state of this first search engine is unavailable, from current state is available search engine, choose a search engine, the search column of the first search engine in the browser is switched to the search column of the search engine of choosing; And,
Described switch unit, the search column that also is suitable for the first search engine in browser switches to after the search column of the search engine of choosing, but the current state of confirming described the first search engine when described determining device according to status code is the time spent, the search column of search engine in the browser is switched back the search column of described the first search engine.
13. the browser of the state deriving means of a search engine that comprises one of claim 7-13.
CN201210478822.1A 2012-11-22 2012-11-22 The state acquiring method of search engine, device and browser Expired - Fee Related CN102945284B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210478822.1A CN102945284B (en) 2012-11-22 2012-11-22 The state acquiring method of search engine, device and browser

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210478822.1A CN102945284B (en) 2012-11-22 2012-11-22 The state acquiring method of search engine, device and browser

Publications (2)

Publication Number Publication Date
CN102945284A true CN102945284A (en) 2013-02-27
CN102945284B CN102945284B (en) 2016-06-29

Family

ID=47728228

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210478822.1A Expired - Fee Related CN102945284B (en) 2012-11-22 2012-11-22 The state acquiring method of search engine, device and browser

Country Status (1)

Country Link
CN (1) CN102945284B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104021154A (en) * 2014-05-20 2014-09-03 北京奇虎科技有限公司 Method and device for searching browser
CN104035970A (en) * 2014-05-20 2014-09-10 北京奇虎科技有限公司 Method and device for conducting searching in browser
CN106412296A (en) * 2016-09-29 2017-02-15 中国联合网络通信集团有限公司 Terminal device control method and apparatus
CN107979856A (en) * 2017-11-22 2018-05-01 深圳市沃特沃德股份有限公司 Connect the method and apparatus of engine
CN111914148A (en) * 2019-05-08 2020-11-10 阿里巴巴集团控股有限公司 Switching method and device of search engine and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1489069A (en) * 2002-10-10 2004-04-14 华为技术有限公司 Content-oriented load equalizing method and apparatus
US20050177833A1 (en) * 2004-02-10 2005-08-11 Volker Sauermann Method and apparatus for reassigning objects to processing units
CN1839385A (en) * 2003-04-25 2006-09-27 汤姆森环球资源公司 Distributed search methods, architectures, systems, and software
CN1849773A (en) * 2004-04-15 2006-10-18 微软公司 Displaying a security element with a browser window
CN101196928A (en) * 2007-12-29 2008-06-11 杭州华三通信技术有限公司 Contents searching method, system and engine distributing unit
CN101296177A (en) * 2007-04-29 2008-10-29 华为技术有限公司 Method, system and device for implementing overload control in packet network

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1489069A (en) * 2002-10-10 2004-04-14 华为技术有限公司 Content-oriented load equalizing method and apparatus
CN1839385A (en) * 2003-04-25 2006-09-27 汤姆森环球资源公司 Distributed search methods, architectures, systems, and software
US20050177833A1 (en) * 2004-02-10 2005-08-11 Volker Sauermann Method and apparatus for reassigning objects to processing units
CN1849773A (en) * 2004-04-15 2006-10-18 微软公司 Displaying a security element with a browser window
CN101296177A (en) * 2007-04-29 2008-10-29 华为技术有限公司 Method, system and device for implementing overload control in packet network
CN101196928A (en) * 2007-12-29 2008-06-11 杭州华三通信技术有限公司 Contents searching method, system and engine distributing unit

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104021154A (en) * 2014-05-20 2014-09-03 北京奇虎科技有限公司 Method and device for searching browser
CN104035970A (en) * 2014-05-20 2014-09-10 北京奇虎科技有限公司 Method and device for conducting searching in browser
CN104035970B (en) * 2014-05-20 2018-10-09 北京奇虎科技有限公司 A kind of method and apparatus scanned in a browser
CN106412296A (en) * 2016-09-29 2017-02-15 中国联合网络通信集团有限公司 Terminal device control method and apparatus
CN106412296B (en) * 2016-09-29 2019-07-16 中国联合网络通信集团有限公司 Terminal equipment control method and device
CN107979856A (en) * 2017-11-22 2018-05-01 深圳市沃特沃德股份有限公司 Connect the method and apparatus of engine
CN107979856B (en) * 2017-11-22 2020-10-27 深圳市沃特沃德股份有限公司 Method and device for connecting engines
CN111914148A (en) * 2019-05-08 2020-11-10 阿里巴巴集团控股有限公司 Switching method and device of search engine and electronic equipment

Also Published As

Publication number Publication date
CN102945284B (en) 2016-06-29

Similar Documents

Publication Publication Date Title
US10999721B2 (en) Communication identifier binding processing method and terminal
CN102945284A (en) Method and device for obtaining status of search engine and browser
US9549035B2 (en) Automatic updating of redirected location references
EP2761570B1 (en) Extending a conversation across applications
CN103678566A (en) Method, server and system for providing mobile terminal fault problem solution
CN104102643A (en) Method and device for snapshoting page
CN103646122A (en) Picture identification method based on drag picture, picture identification system based on drag picture, picture identification equipment based on drag picture and picture identification device based on drag picture
CN103500211A (en) Method and system for providing search services and client side
CN106326025A (en) Method and device for processing abnormality of browser
CN103678704A (en) Picture recognition method, system, equipment and device based on picture information
CN103823873A (en) Reading/writing method, device and system of browser setting item
CN103269307A (en) Message handling method and system
CN104537051A (en) Terminal and searching method based on touch operation
KR20210042865A (en) Data processing method and apparatus
CN103605676A (en) Search based terminal fault solution, client and system
KR20110022030A (en) Program and method for present page auto log in
CN104699836A (en) Multi-keyword search prompting method and multi-keyword search prompting device
CN104008144A (en) Displaying method and device of address information
CN103678706A (en) Picture recognition method, system, equipment and device based on screenshot information
CN103440453A (en) Method for detecting operation environment of browser, client, server and system
CN103366011A (en) Method and device for visiting authenticated websites by browser address bar
CN104182229A (en) Callback display method and device and callback method and device
CN102968483A (en) Method, device and server for acquiring state of search engine of navigation page
CN102929732A (en) Method and device for calling file by application program and client-side equipment
CN103530155A (en) Method and device for installing application program

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220725

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160629