Summary of the invention
The embodiment of the invention provides a kind of information search system and method, so that realize providing with the form that problem is set the information of search.
Technical scheme provided by the invention comprises:
A kind of information search system comprises:
Data generating unit is used to generate and store the corresponding problem tree data of particular problem;
The data query unit is used to provide search key to the data retrieval unit, and the sorted problem that the form video data retrieval unit of setting with problem provides is set data;
The data retrieval unit is used in the relevant problem tree data of the said search key of problem tree data retrieval of said data generating unit storage, and the problem tree data that retrieve are classified and offered the data query unit.
A kind of information search method comprises:
Generate and store the corresponding problem tree data of particular problem;
When receiving search key, the relevant problem tree data of this search key of retrieval are classified to the problem tree data that retrieve, and are shown with the form of problem tree in the problem tree data of having stored.
Can find out by above technical scheme, among the present invention, generate and store the corresponding problem tree data of particular problem earlier; When the user need search for a certain information; Directly improve the search key of this information; So that the backstage is retrieved in the problem tree data of having stored according to this search key; When the corresponding problem that retrieves tree data, these problem that retrieves tree data to be classified and shown with the form of problem tree, this has realized that form with the problem tree provides the information of search.
Further, the form that the present invention sets with problem provides the information of search, is not the such general display web page of prior art, and this can navigate to the information of search directly, accurately, fast.
Embodiment
Before technical scheme provided by the invention is analyzed, earlier the problem tree is described.
So-called problem tree, it comes down to the form of tree the formed set of getting up of each associating information.Such as; When user A out on tours; It possibly do some preliminary works, and because not often tourism of user A, which work it possibly not know to need to prepare; And the problem tree is exactly some working sets with tree-shaped form composition that need preparation, and it specifically can comprise: information such as insurance, visa, circuit, luggage, expense, dormitory, tourist group.
In order to make the object of the invention, technical scheme and advantage clearer, describe the present invention below below in conjunction with accompanying drawing and specific embodiment.
Referring to Fig. 1, the basic block diagram of the system that Fig. 1 provides for the embodiment of the invention.As shown in Figure 1, this system can comprise:
Data generating unit 101, it is the nucleus module of information search system in the present embodiment, is used for generating and storing corresponding problem tree data to particular problem;
User inquiring unit 102 is used to provide search key to data retrieval unit 103, and the sorted problem that the form video data retrieval unit of setting with problem 103 provides is set data;
Data retrieval unit 103 is used in the relevant problem tree data of the said search key of problem tree data retrieval of data generating unit 101 storage, and the problem tree data that retrieve are classified and offered user inquiring unit 102.
More than the basic structure of system that the embodiment of the invention is provided be described, be described in detail in the face of the system that is provided by inventive embodiments down.
Referring to Fig. 2, the detailed structure view of the system that Fig. 2 provides for the embodiment of the invention.As shown in Figure 2, this system can comprise: data generating unit 201, user inquiring unit 202 and data retrieval unit 203.
Wherein, the function class that the function that data generating unit 201, user inquiring unit 202 and data retrieval unit 203 have has with above-mentioned data generating unit 101, user inquiring unit 102 and data retrieval unit 103 respectively seemingly no longer details.
Preferably, as shown in Figure 3, data generating unit 201 specifically can comprise: data processing module 2011 and data generation module 2012.
Wherein, data processing module 2011 is used for extracting setting data from the swash related data of the said particular problem of getting of network, and it is regular with problem tree data storage to confirm that the corresponding problem tree data of this setting data are set up operation;
And data generation module 2012, the problem tree data that are used for confirming according to data processing module 2011 are set up to operate and are generated the corresponding problem tree data of said particular problem, and set the problem tree data that the data storage rale store generates according to the said problem of confirming.
In describing in the above, problem tree data are set up operation and mainly can be comprised: feature lexicon is set up operation, the emotion dictionary is set up operation etc.Wherein, feature lexicon is mainly the characteristics of particular problem, and the emotion dictionary can be the evaluation of user to this particular problem.Such as; If particular problem is Nokia's 5800 mobile phones; Then feature lexicon is mainly the relevant feature data of these Nokia's 5800 mobile phones; Such as data such as software, demonstration, speed, quality, sound, and the emotion dictionary be mainly the user to the evaluation of these Nokia's 5800 mobile phones such as data such as performance quality.
Be mainly the storage mode that problem is set data as for problem tree data storage rule, specifically do not limit here.
In the present embodiment, consider the saving resource, can set up same data acquisition to same type of particular problem such as mobile phone or notebook computer etc.Based on this; Can select corresponding problem tree data respectively in the same data acquisition according to the setting data that extracts from particular problem and set up operation and problem tree storage rule, comprise in this data acquisition that the problem that possibly use tree data that this particular problem relates to are set up operation and problem is set storage rule.
In the present embodiment; User inquiring unit 202 can (it be that the world uses the web server software that ranks the first based on Apache; May operate on nearly all widely used computer platform, because its cross-platform and security are widely used, is one of most popular Web server end software)+the Website development technology of supertext pre-service language PHP realizes; It mainly provides a query interface; Be convenient to the user at this query interface inputted search key word, and data retrieval unit 203 sorted problems are set the list item form that data parsings are a problem and are set, and be shown to the user.
In the present embodiment, data retrieval unit 203 can realize that it can realize operations such as Chinese word segmentation, multithreading Socket inquiry service end based on the searching system Lucene that increases income.In the present embodiment, data retrieval unit 203 is with Socket mode search problem tree data.In addition, to classify mainly be that temperature according to problem tree data are visited is carried out to the problem tree data that retrieve of 203 pairs of data retrieval unit.
To search the website is example; If the user is 5800 at query interface inputted search key word; The related data that retrieves is the corresponding problem tree data of the mobile phone 5800i of Nokia, and it is respectively the data of software, demonstration, speed, quality and sound, if the temperature that these problem tree data are visited according to the size ordering is: software, demonstration, speed, quality and sound; Then based on this, the data of the mobile phone 5800i of this Nokia that shows with the tree-like formula of problem are in that to search online sectional drawing as shown in Figure 3.Wherein, In Fig. 3; Problem tree overstriking and blackening in the left side one row (being the row at web results place); Its expression current page is with problem tree video data; The problem tree data of middle row (being the row at the 5800i of Nokia place) for showing that with the tree-like formula of problem the 5800i of Nokia is corresponding, and the right side one row (i.e. [5800XM of Nokia mobile phone] quotation parameter place row) pairing webpage when choosing in the problem tree certain problem tree data, pairing webpage when choosing problem to set the software of data as problem in setting at present.
More than system that the embodiment of the invention is provided describe in detail, the method that provides in the face of the embodiment of the invention down is described in detail.
Referring to Fig. 4, the basic flow sheet that Fig. 4 provides for the embodiment of the invention.As shown in Figure 4, this flow process can may further comprise the steps:
Step 401 generates and stores the corresponding problem tree data of particular problem.
Step 402, when receiving search key, the relevant problem tree data of this search key of retrieval are classified to the problem tree data that retrieve, and are shown with the form of problem tree in the problem tree data of having stored.
In above-mentioned steps 401; Generating and storing the corresponding problem tree data of particular problem specifically can comprise: from network swashes the related data of the said particular problem of getting, extract setting data, and it is regular with problem tree data storage to confirm that the corresponding problem tree data of this setting data are set up operation; The corresponding problem tree data of the said particular problem of generation are operated in problem tree data foundation according to said data processing module is confirmed, and set the problem tree data of data storage rale store generation according to definite said problem.
In above-mentioned steps 402, the problem that retrieves tree data are classified specifically to be comprised: the temperature that each problem tree data that statistics retrieves are visited; Size according to temperature is classified to each problem tree data.
Need to prove, the system that flow process shown in Figure 4 is corresponding shown in Figure 2, wherein, search in step 401 and the step 402 and classification all are by service end, are specifically carried out by data generating unit in the service end and data search unit.Wherein, the data retrieval unit is based on the searching system Lucene realization of increasing income.
In above-mentioned steps 402, by client executing, specifically comprise with the tree-like formula operation displayed of problem: the list item form that client is a problem the data parsing of the sorted problem tree of service end to set, and be shown to the user.Wherein, this demonstration specifically can be carried out by the user inquiring unit that is provided with in the client, and preferably, this user inquiring unit can be realized based on the Website development technology of Apache+PHP in the present embodiment.
So far, can realize the form video data of client through above-mentioned steps 401 to step 402 with the problem tree.
Can find out by above technical scheme, among the present invention, generate and store the corresponding problem tree data of particular problem earlier; When the user need search for a certain information; Directly improve the search key of this information; So that the backstage is retrieved in the problem tree data of having stored according to this search key; When the corresponding problem that retrieves tree data, these problem that retrieves tree data to be classified and shown with the form of problem tree, this has realized that form with the problem tree provides the information of search.
Further, the form that the present invention sets with problem provides the information of search, is not the such general display web page of prior art, and this can navigate to the information of search directly, accurately, fast.
The above is merely preferred embodiment of the present invention, and is in order to restriction the present invention, not all within spirit of the present invention and principle, any modification of being made, is equal to replacement, improvement etc., all should be included within the scope that the present invention protects.