Summary of the invention
Embodiments provide a kind of information search system and method, in order to realize providing the information of search with the form of question-based teaching.
Technical scheme provided by the invention includes:
A kind of information search system, including:
Data generating unit, for generating and store the question-based teaching data that particular problem is corresponding;
Data query unit, is used for providing search key to data retrieval unit, and with sorted question-based teaching data that the form video data retrieval unit of question-based teaching provides;
Data retrieval unit, the question-based teaching data relevant for retrieving described search key in the question-based teaching data that described data generating unit stores, the question-based teaching data retrieved are classified and is supplied to data query unit.
A kind of information search method, including:
Generate and store the question-based teaching data that particular problem is corresponding;
When receiving search key, the question-based teaching data stored are retrieved the question-based teaching data that this search key is relevant, the question-based teaching data retrieved is classified, and shows with the form of question-based teaching.
As can be seen from the above technical solutions, in the present invention, first generate and store the question-based teaching data that particular problem is corresponding;When user needs to search for a certain information, directly improve the search key of this information, so that backstage is retrieved in the question-based teaching data stored according to this search key, when the corresponding question-based teaching data retrieved, these question-based teaching data retrieved are classified and shown with the form of question-based teaching, and this achieves the information providing search with the form of question-based teaching.
Further, the present invention provides the information of search with the form of question-based teaching, and not prior art like that generally shows webpage, and this can directly, accurately, quickly navigate to the information of search.
Detailed description of the invention
Before technical scheme provided by the invention is analyzed, first question-based teaching is described.
So-called question-based teaching, its set formed of substantially in the form of a tree each information association being got up.Such as, when user's A out on tours, it is likely to need to do some preparations, and owing to user A infrequently travels, it may be unaware that needs to prepare which work, and question-based teaching is exactly some working sets formed with tree-shaped form needing to prepare, it specifically can comprise: the information such as insurance, visa, circuit, luggage, expense, dormitory, tourist group.
Following for making the object, technical solutions and advantages of the present invention clearly, describe the present invention below in conjunction with the drawings and specific embodiments.
Basic block diagram referring to the system that Fig. 1, Fig. 1 provide for the embodiment of the present invention.As it is shown in figure 1, this system comprises the steps that
Data generating unit 101, it is the nucleus module of information search system in the present embodiment, for generating and store the question-based teaching data of correspondence for particular problem;
User's query unit 102, is used for providing search key to data retrieval unit 103, and with sorted question-based teaching data that the form video data retrieval unit 103 of question-based teaching provides;
The question-based teaching data retrieved, for retrieving the question-based teaching data that described search key is relevant in the question-based teaching data of data generating unit 101 storage, are classified and are supplied to user's query unit 102 by data retrieval unit 103.
Above the basic structure of the system that the embodiment of the present invention provides is described, below the system provided by inventive embodiments is described in detail.
Detailed structure view referring to the system that Fig. 2, Fig. 2 provide for the embodiment of the present invention.As in figure 2 it is shown, this system comprises the steps that data generating unit 201, user's query unit 202 and data retrieval unit 203.
Wherein, data generating unit 201, user's query unit 202 are similar with the function that above-mentioned data generating unit 101, user's query unit 102 and data retrieval unit 103 have respectively with the function that data retrieval unit 203 has, and no longer describe in detail.
Preferably, as it is shown on figure 3, data generating unit 201 specifically comprises the steps that data processing module 2011 and data generation module 2012.
Wherein, data processing module 2011, in the related data of the described particular problem crawled from network, extract setting data, and determine that the question-based teaching data that this setting data is corresponding set up operation and question-based teaching data storage rule;
And data generation module 2012, the question-based teaching data for determining according to data processing module 2011 are set up operation and are generated the question-based teaching data that described particular problem is corresponding, and according to the question-based teaching data that the described question-based teaching data storage rule storage determined generates.
In the above description, question-based teaching data are set up operation and are mainly comprised the steps that feature lexicon sets up operation, sentiment dictionary sets up operation etc..Wherein, feature lexicon is mainly the feature of particular problem, and sentiment dictionary can be user's evaluation to this particular problem.Such as, if particular problem is Nokia 5800 mobile phone, then feature lexicon is mainly the relevant feature data of this Nokia 5800 mobile phone, the data such as such as software, display, speed, quality, sound, and sentiment dictionary is mainly user to data such as the evaluation such as performance of this Nokia 5800 mobile phone quality.
It is mainly the storage mode of question-based teaching data as question-based teaching data storage rule, does not specifically limit here.
In the present embodiment, it is contemplated that save resource, for same class particular problem such as mobile phone or notebook computer etc., can set up same data acquisition system.Based on this, operation and question-based teaching storage rule can be set up from the question-based teaching data that select correspondence in same data acquisition system respectively according to the setting data extracted from particular problem, this data acquisition system contain the question-based teaching data being likely to use that this particular problem relates to and sets up operation and question-based teaching storage rule.
In the present embodiment, user's query unit 202 can (it be that the world uses the web server software ranked the first based on Apache, may operate on nearly all widely used computer platform, owing to it is cross-platform and safety is widely used, it being one of most popular Web server end software) the Website development technology of+supertext pretreatment language PHP realizes, it mainly provides a query interface, it is easy to user and inputs search key at this query interface, and the list item form of tree that sorted for data retrieval unit 203 question-based teaching data parsing is a problem, and it is shown to user.
In the present embodiment, data retrieval unit 203 can realize based on the searching system Lucene that increases income, and it is capable of Chinese word segmentation, multithreading Socket inquires about the operations such as service end.In the present embodiment, data retrieval unit 203 is with Socket mode search problem tree data.It addition, the question-based teaching data retrieved are carried out classification by data retrieval unit 203 is mainly accessed for what temperature performed according to question-based teaching data.
To search website, if it is 5800 that user inputs search key at query interface, the related data retrieved is the question-based teaching data that Nokia mobile phone 5800i is corresponding, the data of its respectively software, display, speed, quality and sound, if these question-based teaching data are accessed for temperature: software, display, speed, quality and sound, then based on this, the data of this Nokia mobile phone 5800i shown with question-based teaching form are searching online sectional drawing as shown in Figure 3.Wherein, in figure 3, question-based teaching overstriking in most left side string (i.e. the row at web results place) blackening, it represents that current page is with question-based teaching video data, middle string (i.e. the row at Nokia 5800i place) is show question-based teaching data corresponding to Nokia 5800i with question-based teaching form, and the webpage that most right side string (i.e. [Nokia's 5800XM mobile phone] parameter of offering column) is corresponding when being choose certain question-based teaching data in question-based teaching, webpage corresponding time at present for choosing in question-based teaching the software as question-based teaching data.
The system above embodiment of the present invention provided has been described in detail, and the method below embodiment of the present invention provided is described in detail.
Referring to the basic flow sheet that Fig. 4, Fig. 4 provide for the embodiment of the present invention.As shown in Figure 4, this flow process can comprise the following steps that
Step 401, generates and stores the question-based teaching data that particular problem is corresponding.
Step 402, when receiving search key, retrieves the question-based teaching data that this search key is relevant in the question-based teaching data stored, the question-based teaching data retrieved is classified, and shows with the form of question-based teaching.
In above-mentioned steps 401, generate and store question-based teaching data corresponding to particular problem specifically to comprise the steps that the related data of the described particular problem crawled from network extracts setting data, and determine that the question-based teaching data that this setting data is corresponding set up operation and question-based teaching data storage rule;The question-based teaching data that the operation described particular problem of generation is corresponding are set up according to the question-based teaching data that described data processing module is determined, and according to the question-based teaching data that the described question-based teaching data storage rule storage determined generates.
In above-mentioned steps 402, the question-based teaching data retrieved are carried out classification and specifically includes: each question-based teaching data that statistics retrieves are accessed for temperature;According to the size of temperature, each question-based teaching data are classified.
It should be noted that the system shown in flow process corresponding diagram 2 shown in Fig. 4, wherein, search and classification in step 401 and step 402 are all by service end, specifically by the data generating unit in service end and what data search unit performed.Wherein, data retrieval unit is based on searching system Lucene realization of increasing income.
In above-mentioned steps 402, the operation shown with question-based teaching form by client executing, specifically includes: sorted for service end question-based teaching data parsing is a problem the list item form of tree by client, and is shown to user.Wherein, this display specifically can be performed by the user's query unit arranged in client, it is preferable that in the present embodiment, this user's query unit can realize based on the Website development technology of Apache+PHP.
So far, it is capable of the client form video data with question-based teaching by above-mentioned steps 401 to step 402.
As can be seen from the above technical solutions, in the present invention, first generate and store the question-based teaching data that particular problem is corresponding;When user needs to search for a certain information, directly improve the search key of this information, so that backstage is retrieved in the question-based teaching data stored according to this search key, when the corresponding question-based teaching data retrieved, these question-based teaching data retrieved are classified and shown with the form of question-based teaching, and this achieves the information providing search with the form of question-based teaching.
Further, the present invention provides the information of search with the form of question-based teaching, and not prior art like that generally shows webpage, and this can directly, accurately, quickly navigate to the information of search.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all within the spirit and principles in the present invention, any amendment of making, equivalent replacement, improvement etc., should be included within the scope of protection of the invention.