[summary of the invention]
In view of above-mentioned, be necessary to provide a kind of method of search, it can carry out the multi-angle search and obtain specific objective information.
A kind of searching method is characterized in that, may further comprise the steps: obtain input information; According to the set of input information Query Information, said ensemble of communication comprises target information and related information, and said related information is corresponding with target information, obtains the target information tabulation according to the related information with the input information coupling; The display-object information list.
Preferably, the kind of said related information is at least two kinds.
Preferably, also comprise the form that input information is set and the step of related information corresponding relation, in the said step, comprise according to the form of input information and distinguish querying condition according to the set of input information Query Information.
Preferably, before said step, also comprise the step of inquiring about local cache according to the set of input information Query Information.
Preferably, the target information in the tabulation of said target information according to the time of being inquired about according to beginning to be arranged in order from the up-to-date time of being inquired about, or according to the number of times of being inquired about according to from how to being arranged in order less.
A kind of search system is provided in addition.
A kind of search system comprises: client, have the character input frame, and be used to receive input information, and input information is sent to information server; Information server; Be used to preserve ensemble of communication, said ensemble of communication comprises target information and related information, and said related information is corresponding with target information; Said information server obtains the target information tabulation according to the set of input information Query Information according to the related information with the input information coupling; Said client also has display window, is used for the display-object information list.
Preferably, the kind of said related information is at least two kinds.
Preferably, said information server also is provided with the form and the related information corresponding relation of input information, distinguishes querying condition according to the form of input information.
Preferably, said client was also inquired about local cache before gathering according to the input information Query Information.
Preferably, said client with the target information in the target information tabulation according to the time of being inquired about according to beginning to be sequentially arranged in the display window from the up-to-date time of being inquired about, or according to the number of times of being inquired about according to from how to being sequentially arranged in the display window less.
Said method and system obtain target information according to related information, obtain the Search Results of user's request from the various different input informations search of user's multi-angle, and search is more prone to.
[embodiment]
Further specify below in conjunction with accompanying drawing.
As shown in Figure 1, be the searching method process flow diagram of an embodiment.This method comprises the steps:
S110: obtain input information.Input information is that user or other device are input to the information in the textbox, and in the present embodiment, input information comprises the single character or the character string of user or other device input.This step is obtained input information, and with the basis of this input information as subsequent treatment.
S120:, obtain the target information tabulation according to related information with the input information coupling according to the set of input information Query Information.Ensemble of communication comprises target information and related information, and related information is corresponding with target information.Target information is meant that the user hopes a certain information that obtains.Such as obtaining according to server ip address in the application of server state, need IP address of input obtain its corresponding server state, the IP address is exactly that the user hopes the target information that obtains.The IP address is a succession of numeral, relatively is difficult to memory, imports also more complicated.Therefore can for the user accomplishes automatically, a series of IP addresses that comprise above-mentioned partial character string be provided promptly according to the partial character string of user's input.This part is a known technology according to the content of the target information in the direct Query Information set of input information, repeats no more.
In the present embodiment, input information is not the character string of IP address pattern, but other forms of, such as the English alphabet string.Promptly obtain target information according to input information inquiry related information.Related information is other information corresponding with target information, is different from target information, but relevant with target information, such as server the keeper is arranged all.In general, the IP address in a network segment can not repeated, and a keeper then can manage a plurality of servers, so can be many-to-one relation between target information and the related information.When wanting to obtain the state of a certain particular server, can't accurately import the IP address, and the IP address possibility quantity that provides with known auto-complete function is bigger, does not have help for obtaining the result who wants.Therefore can obtain the IP address indirectly through this server administrators' name of input.Related information coupling in input information and the ensemble of communication.So like the input information that the form with name is occurred, then can mate,, further find corresponding a series of IP address according to the name of coupling with the administrator name in the related information.In other embodiments; Target information and related information also can be to concern one to one; Or the relation of one-to-many; The kind that is related information is two or more, to be example according to server ip address querying server state, can also be server place machine room etc. with the relevant information of server such as still.
S130: display-object information list.After obtaining the target information tabulation, it is shown, supply the user to select.In some cases, number of times that the clauses and subclauses in the target information tabulation are inquired about or the time of being inquired about can be reflected some information of these clauses and subclauses, such as inquiry times more multilist show that attention rate is high more or the like.Therefore in a preferred embodiment, can with the target information in the target information tabulation according to the time of being inquired about according to beginning to be arranged in order forward from the up-to-date time of being inquired about, or according to the number of times of being inquired about according to from how to being arranged in order less.So far auto-complete function finishes.The user can select a certain to be used for search from the target information tabulation.
Said method obtains target information according to related information, obtains the Search Results of user's request from the various different input informations search of user's multi-angle, and search is more prone to.
As shown in Figure 2, be the searching method process flow diagram of another embodiment.
Present embodiment further increases the step of setup string form and target information and related information corresponding relation on the basis of the foregoing description.
S210: obtain input information.Input information is that user or other device are input to the information in the textbox, and in the present embodiment, input information comprises the single character or the character string of user or other device input.This step is obtained input information, and with the basis of this input information as subsequent treatment.
S220: form and related information corresponding relation that input information is set.In the foregoing description, after obtaining input information, need input information be inquired about with every kind of related information contrast one by one, efficient is lower.This step is carried out correspondence setting with the form related information of input information, can only be with the numeral beginning such as the form of the IP address in the foregoing description, and special format is arranged, and administrator name only is set to alphabetic string or Chinese character string etc.When input information during, then can inquire about to administrator name (related information) with beginning of letter.Outside distinguishing with the form of expression of character string itself, can also pass through the direct given query condition of escape character, represent directly with the querying condition of James such as/n James as name (name).
S230:, obtain the target information tabulation according to related information with the input information coupling according to the set of input information Query Information.Ensemble of communication comprises target information and related information, and related information is corresponding with target information.Target information is meant that the user hopes a certain information that obtains.Such as obtaining according to server ip address in the application of server state, need IP address of input obtain its corresponding server state, the IP address is exactly that the user hopes the target information that obtains.The IP address is a succession of numeral, relatively is difficult to memory, imports also more complicated.Therefore can for the user accomplishes automatically, a series of IP addresses that comprise above-mentioned partial character string be provided promptly according to the partial character string of user's input.This part is a known technology according to the content of the target information in the direct Query Information set of input information, repeats no more.
In the present embodiment, input information is not the character string of IP address pattern, but other forms of, such as the English alphabet string.Promptly obtain target information according to input of character string inquiry related information.Related information is other information corresponding with target information, is different from target information, but relevant with target information, such as server the keeper is arranged all.In general, the IP address in a network segment can not repeated, and a keeper then can manage a plurality of servers, so can be many-to-one relation between target information and the related information.When wanting to obtain the state of a certain particular server, can't accurately import the IP address, and the IP address possibility quantity that provides with known auto-complete function is bigger, does not have help for obtaining the result who wants.Therefore can obtain the IP address indirectly through this server administrators' name of input.Related information coupling in input information and the ensemble of communication.So the input information to the form with name occurs then can mate with the administrator name in the related information, according to the name of coupling, further finds corresponding a series of IP address.In other embodiments; Target information and related information also can be to concern one to one; Or the relation of one-to-many; The kind that is related information is two or more, to be example according to server ip address querying server state, can also be server place machine room etc. with the relevant information of server such as still.Inquiry in the present embodiment, input of character string points to specific target information or related information, therefore needn't inquire about all target informations and related information one by one, has improved search efficiency.
S240: display-object information list.In some cases, number of times that the clauses and subclauses in the target information tabulation are inquired about or the time of being inquired about can be reflected some information of these clauses and subclauses, such as inquiry times more multilist show that attention rate is high more or the like.Therefore in a preferred embodiment, can with the target information in the target information tabulation according to the time of being inquired about according to beginning to be arranged in order from the up-to-date time of being inquired about, or according to the number of times of being inquired about according to from how to being arranged in order less.So far auto-complete function finishes.The user can select a certain to be used for search from the target information tabulation.
As shown in Figure 3, be the searching method process flow diagram of another embodiment.Present embodiment further increases the step to local cache query aim information.
S310: obtain input information.Input information is that user or other device are input to the information in the textbox, and in the present embodiment, input information comprises the single character or the character string of user or other device input.This step is obtained input information, and with the basis of this input information as subsequent treatment.
S320: inquiry local cache.Character string when local cache storage has each submission to inquire about during the target information of therefore before inquiring about once more, inquiring about, obtains this target information according to the partial character string of importing from local cache.
S330: judge the target information whether coupling is arranged in the local cache.If have, then obtain the target information tabulation, change step S350 over to, otherwise get into step S340.
S340:, obtain the target information tabulation according to related information with the input information coupling according to the set of input information Query Information.Ensemble of communication comprises target information and related information, and related information is corresponding with target information.Target information is meant that the user hopes a certain information that obtains.Such as obtaining according to server ip address in the application of server state, need IP address of input obtain its corresponding server state, the IP address is exactly that the user hopes the target information that obtains.The IP address is a succession of numeral, relatively is difficult to memory, imports also more complicated.Therefore can for the user accomplishes automatically, a series of IP addresses that comprise above-mentioned partial character string be provided promptly according to the partial character string of user's input.This part is a known technology according to the content of the target information in the direct Query Information set of input information, repeats no more.
In the present embodiment, input information is not the character string of IP address pattern, but other forms of, such as the English alphabet string.Promptly obtain target information according to input of character string inquiry related information.Related information is other information corresponding with target information, is different from target information, but relevant with target information, such as server the keeper is arranged all.In general, the IP address in a network segment can not repeated, and a keeper then can manage a plurality of servers, so can be many-to-one relation between target information and the related information.When wanting to obtain the state of a certain particular server, can't accurately import the IP address, and the IP address possibility quantity that provides with known auto-complete function is bigger, does not have help for obtaining the result who wants.Therefore can obtain the IP address indirectly through this server administrators' name of input.Related information coupling in input information and the ensemble of communication.So the input of character string to the form with name occurs then can mate with the administrator name in the related information, according to the name of coupling, further finds corresponding a series of IP address.In other embodiments; Target information and related information also can be to concern one to one; Or the relation of one-to-many; The kind that is related information is two or more, to be example according to server ip address querying server state, can also be server place machine room etc. with the relevant information of server such as still.
S350: display-object information list.In some cases, number of times that the clauses and subclauses in the target information tabulation are inquired about or the time of being inquired about can be reflected some information of these clauses and subclauses, such as inquiry times more multilist show that attention rate is high more or the like.Therefore in a preferred embodiment, can with the target information in the target information tabulation according to the time of being inquired about according to beginning to be arranged in order from the up-to-date time of being inquired about, or according to the number of times of being inquired about according to from how to being arranged in order less.So far auto-complete function finishes.The user can select a certain to be used for search from the target information tabulation.
Can before step S220, increase among above-mentioned second embodiment, promptly increase the step that corresponding form was inquired about and be provided with to local cache in one embodiment simultaneously like the step S320 among the 3rd embodiment.
As shown in Figure 4, be the search system of an embodiment.This system comprises client 100 and information server 200.Client 100 has character input frame 110, receives user's input information, and input information is sent to information server 200.Information server 200 is preserved ensemble of communication; Said ensemble of communication comprises target information and related information, and is corresponding between said related information and the target information, preferably; The kind of related information is two or more, can obtain target information indirectly through two or more related informations.Information server 200 obtains the target information tabulation according to the set of input information Query Information according to the related information with the input information coupling.After obtaining target information, the display window through client 100 shows.Usually information server 200 all has CGI (common gate interface), is used to receive the Query Information that client 100 is sent, and such as above-mentioned input information, handles accordingly then, such as inquiry.The target information tabulation that obtains after the above-mentioned processing of process is shown by the display window 120 of client 100.Client 100 can with the target information in the target information tabulation according to the time of being inquired about according to beginning to be sequentially arranged in the display window 120 from the up-to-date time of being inquired about, or according to the number of times of being inquired about according to from how to being sequentially arranged in less the display window 120.Be used for to select a certain of display window 120 and be used for search.
Said system is obtained target information according to related information, obtains the Search Results of user's request from the various different input informations search of user's multi-angle, and search is more prone to.
In the search system of another embodiment, information server 200 also is provided with the form and the related information corresponding relation of input information, distinguishes querying condition according to the form of input information.
Further, client 100 is before gathering according to the input information Query Information, also to local cache query aim information.
The above embodiment has only expressed several kinds of embodiments of the present invention, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to claim of the present invention.Should be pointed out that for the person of ordinary skill of the art under the prerequisite that does not break away from the present invention's design, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with accompanying claims.