A kind of generation method of the key element structure of knowledge, searching method, apparatus and system
Technical field
The invention relates to information search technique field, more particularly to a kind of generation method of the key element structure of knowledge,
Searching method, apparatus and system.
Background technology
In recent years, the enterprise of China promotes diversified product, to adapt to the different consumer groups.But, user is in beautiful jade
A most suitable product is selected to require a great deal of time in the product that thinkling sound meets the eye on every side.How according to the demand of user,
Recommend a product for being adapted to the user for user, as a urgent problem to be solved.
In order to solve the above problems, prior art shows a kind of intelligence question answering system, as shown in figure 1, intelligence question answering system
By analyzing the demand of user, the product of a suitable user is searched for, then by the Products Show to user.For example, Fig. 2 is certain
A kind of display interface of intelligence question answering system shown in insurance company of family;Wherein, each row in question and answer interface are referred to as " to want
Every a line in element ", question and answer interface is referred to as " knowledge ".Knowledge question processor shows question and answer interface to user first, uses
The element information of all key elements of each knowledge in the User Interface of family, for example:" object is children loss danger ", " it is by insurer
Children ", " area is Beijing ", " price is 3000 ", " time limit is 1-3 ";The key element that intelligent answer processor is filled in user
Information is analyzed, and searches for the type of insurance of a suitable user, and the type of insurance is recommended into user.
Intelligence question answering system key element shown in prior art takes the mode of a wheel question and answer, shows all key elements, Yong Hutong
Cross self-demand and fill in the corresponding element information of each key element, intelligent answer processor searches for a be adapted to according to element information
The product of user.Because by the way of a wheel question and answer, question and answer processor is analyzed the corresponding element information of all key elements,
Extend the time of information search, reduce the efficiency of information search.
The content of the invention
To overcome problem present in correlation technique, the embodiment of the present application shows a kind of generation side of the key element structure of knowledge
Method, searching method, apparatus and system.
The embodiment of the present application first aspect shows the generation method of the key element structure of knowledge, including:
The preset triggering information collection of S101 generations, the preset triggering information collection includes at least one preset triggering information;
S102 is generated preset triggers the corresponding rhetorical question knowledge of information with described;
The corresponding preset key element collection of the S103 generations rhetorical question knowledge, it is preset that the preset key element collection includes at least one
Key element;
S104 judges whether the preset key element is closure element;
If the S105 preset key elements are closure element, the corresponding product of the preset key element is generated;
Otherwise S106, generates the corresponding rhetorical question knowledge of the preset key element, continues executing with S103.
The generation method of the key element structure of knowledge shown in the embodiment of the present application, is avoided in key element structure of knowledge generating process
The generation of some " insignificant rhetorical question knowledge ", improves the formation efficiency of the structure of knowledge.
The embodiment of the present application second aspect shows the searching method based on the key element structure of knowledge, including:
S201 receives the triggering information of user, travels through preset triggering information collection, filters out and the triggering information similarity
The preset triggering information of highest;
S202 show with the corresponding rhetorical question knowledge of the preset triggering information, each rhetorical question knowledge correspondence one is pre-
Key element collection is put, the preset key element collection includes at least one preset key element;
S203 obtains the answer information of the rhetorical question knowledge, filters out the preset key element of target, the preset key element of target is
The preset key element matched with the answer information;
S204 judges whether the preset key element of the target is closure element;
If the preset key element of the S205 targets is closure element, the corresponding product of the preset key element of the target is shown;
Otherwise S206, transfers and shows the corresponding rhetorical question knowledge of the preset key element of the target, continue executing with step S203.
Searching method shown in the embodiment of the present application.The product of suitable user is searched out by the way of wheel question and answer more.
During search per money product correspondence a series of " question answering process " on the premise of ensureing to search the product of suitable user,
The appearance of " insignificant rhetorical question knowledge " is avoided, the information search efficiency of processor is improved;Meanwhile, the embodiment of the present application
A kind of searching method based on the key element structure of knowledge shown, reduces number of times of the processor to data analysis, and then shorten information
The time of search, improve the efficiency of information search.
The embodiment of the present application third aspect shows a kind of generating means of the key element structure of knowledge, and described device includes:
Information generation device is triggered, for generating preset triggering information collection, the preset triggering information collection includes at least one
The preset triggering information of bar;
Knowledge formation device is asked in reply, preset the corresponding rhetorical question knowledge of information is triggered with described for generating;
Key element generating means, for generating the corresponding preset key element collection of the rhetorical question knowledge;
First judgment means, for judging whether the preset key element is closure element;
First product generating means, for generating the corresponding product of the preset key element;
Key element asks in reply knowledge formation device, for generating the corresponding rhetorical question knowledge of the preset key element.
The generating means of the key element structure of knowledge shown in the embodiment of the present application, are avoided in key element structure of knowledge generating process
The generation of some " insignificant rhetorical question knowledge ", improves the formation efficiency of the structure of knowledge.
The embodiment of the present application fourth aspect shows a kind of searcher based on the key element structure of knowledge, and described device includes;
Information sifting device, the triggering information for receiving user travels through preset triggering information collection, filters out and touched with described
The preset triggering information of photos and sending messages similarity highest;
Display device, preset the corresponding rhetorical question knowledge of information is triggered for showing with described;
Key element screening plant, the answer information for obtaining the rhetorical question knowledge, filters out the preset key element of target;
Second judgment means, for judging whether the preset key element of the target is closure element;
Second product generating means, for showing the corresponding product of the preset key element of the target;
Display device is transferred, for transferring and showing the corresponding rhetorical question knowledge of the preset key element of the target.
Searcher shown in the embodiment of the present application.The product of suitable user is searched out by the way of wheel question and answer more.
During search per money product correspondence a series of " question answering process " on the premise of ensureing to search the product of suitable user,
All knowledge need not be traveled through, so that, improve the information search efficiency of processor;Meanwhile, one kind shown in the embodiment of the present application
Based on the searching method of the key element structure of knowledge, number of times of the processor to data analysis is reduced, and then shortens the time of information search,
Improve the efficiency of information search.
The aspect of the embodiment of the present application the 5th is a kind of search system based on the key element structure of knowledge, the processor bag
Include:
Described information acquisition terminal is used for client's display rhetorical question knowledge, preset key element collection, prompting interface, and product;
The data transmission set is used to realize interacting for information acquisition terminal and knowledge store and Analysis server;
The knowledge store is used for the generation of kind of the key element structure of knowledge with Analysis server, is searched according to the answer information of input
Rope goes out corresponding product.
Brief description of the drawings
, below will be to institute in embodiment in order to illustrate more clearly of the embodiment of the present application or technical scheme of the prior art
The accompanying drawing needed to use is briefly described, it should be apparent that, drawings in the following description are only some implementations of the application
Example, for those of ordinary skill in the art, on the premise of not paying creative work, can also be obtained according to these accompanying drawings
Obtain other accompanying drawings.
Fig. 1 is a kind of application scenario diagram of intelligent answer processor;
Fig. 2 is the question and answer interface of the intelligence question answering system shown in certain insurance company;
Fig. 3 is the flow chart for the generation method that the application one is preferable to carry out a kind of key element structure of knowledge exemplified;
Fig. 4 is the generation interface for the generation method that the application one is preferable to carry out a kind of key element structure of knowledge exemplified;
A kind of flow chart for searching method based on the key element structure of knowledge that Fig. 5 is preferable to carry out exemplifying for the application one;
The detail flowchart for the step S203 that Fig. 6 is preferable to carry out exemplifying for the application one;
Fig. 7 is the detail flowchart of the step S203 shown in the application another preferred embodiment;
Fig. 8 is the detail flowchart of the step S203 shown in the application further embodiment;
Fig. 9 is that the application one is preferable to carry out exemplifying a kind of structured flowchart of the generating means of the key element structure of knowledge;
Figure 10 is that the application one is preferable to carry out exemplifying a kind of structured flowchart of the searcher based on the key element structure of knowledge;
Figure 11 is that the application one is preferable to carry out exemplifying a kind of structured flowchart of the search system based on the key element structure of knowledge.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present application, the technical scheme in the embodiment of the present application is carried out clear, complete
Whole description, it is clear that described embodiment is only some embodiments of the present application, rather than whole embodiments.It is based on
Embodiment in the application, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made
Embodiment, belongs to the scope of the application protection.
Table one is the tables of data of the insurance products of certain insurance company:
Object oriented |
Warrantee |
Area |
Price |
Time limit |
Product |
Children loss danger |
Children |
Beijing |
1000 yuan -2000 yuan |
1 year |
Insurance kind 1 |
Children loss danger |
Children |
Beijing |
1000 yuan -2000 yuan |
2 years |
Insurance kind 2 |
Children loss danger |
Children |
Beijing |
5000 yuan -8000 yuan |
3 years |
Insurance kind 3 |
Children loss danger |
Children |
Beijing |
8000 yuan -10000 yuan |
5 years |
Insurance kind 4 |
Children loss danger |
Children |
Shenyang |
1000 yuan -2000 yuan |
1 year |
Insurance kind 5 |
Education danger |
Pupil |
Beijing |
1000 yuan -2000 yuan |
1 year |
Insurance kind 6 |
Education danger |
Pupil |
Beijing |
1000 yuan -2000 yuan |
2 years |
Insurance kind 7 |
Education danger |
Pupil |
Beijing |
3000 yuan -4000 yuan |
5 years |
Insurance kind 8 |
Education danger |
Middle school student |
Beijing |
4000 yuan -5000 yuan |
6 years |
Insurance kind 9 |
Education danger |
Middle school student |
Beijing |
4000 yuan -5000 yuan |
8 years |
Insurance kind 10 |
Education danger |
Middle school student |
Beijing |
5000 yuan -6000 yuan |
2 years |
Insurance kind 11 |
Education danger |
Middle school student |
Beijing |
6000 yuan -8000 yuan |
5 years |
Insurance kind 12 |
Education danger |
Pupil |
Shenyang |
1000 yuan -2000 yuan |
1 year |
Insurance kind 13 |
Education danger |
Middle school student |
Shenyang |
1000 yuan -2000 yuan |
1 year |
Insurance kind 14 |
Traditional question and answer processor carries out typing using the list of Form knowledge to the data of insurance products.
During the generation of Form knowledge list, input " object oriented children loss danger " is " by insurer first
Children ", " area is Beijing ", " price is 1000 yuan -2000 yuan ", " time limit is 1 year " then input target product be insurance kind
1, the like, until completing all data inputtings in table one.
Embodiment 1:
Refer to Fig. 3 the embodiment of the present application and a kind of generation method of the key element structure of knowledge is shown, methods described includes:
The preset triggering information collection of S101 generations;
The preset triggering information collection includes at least one preset triggering information;Each key element structure of knowledge under normal circumstances
Including multiple triggering scenes, for example:Insurance is done, buying car is bought house, and buys clothes etc..One standard of each scene correspondence ask and/or
At least one extension is asked.By do insure this triggering scene exemplified by, wherein, standard ask for:I will do insurance;Corresponding extension is asked
Can be:1. which kind of insurance be adapted to I, 2. I want to insure, 3. help I recommend it is a insurance, etc..By all triggering scenes pair
The standard answered is asked and extension is asked and is stored into preset triggering information collection.Wherein each the corresponding standard of triggering scene is asked and structure is asked in extension
Into the preset triggering information of a triggering scene.
S102 is generated preset triggers the corresponding rhetorical question knowledge of information with described;
For example do insurance scene preset triggering information it is corresponding rhetorical question knowledge " you want any insurance of insuring”
The corresponding preset key element collection of the S103 generations rhetorical question knowledge, it is preset that the preset key element collection includes at least one
Key element;
For example, " you want any insurance of insuring" this corresponding preset key element of rhetorical question knowledge is concentrated includes:Children
Wander away nearly and educate the preset key elements such as danger.
S104 judges whether the preset key element is closure element;
If the S105 preset key elements are closure element, the corresponding product of the preset key element is generated;
Otherwise S106, generates the corresponding rhetorical question knowledge of the preset key element, continues executing with S103.
The generating process of generation method shown in the embodiment of the present application, during knowledge edition personnel's typing knowledge, without defeated again
Enter cumbersome knowledge, it is only necessary to which typing triggering information, addition key element, addition rhetorical question knowledge just complete knowledge Input Process.
With the data instance shown in table one, the generating process for illustrating generation method shown in the embodiment of the present application is specific
For " triggering information " is exactly the knowledge for triggering this scene.
When knowledge typing personnel's input data, processor obtains knowledge typing personnel's input data, and data are entered
Row storage, the corresponding preset triggering information collection of generation, the corresponding rhetorical question knowledge of preset triggering information, preset key element collection;
With the data instance shown in the question and answer processor of the insurance of table one.
Fig. 4 is referred to, wherein, 1 is editor's triggering information, knowledge typing personnel input or importing:I will do insurance, which kind of
Insurance is adapted to me, and I wants to insure, and helps me to recommend a insurance, waits a series of preset triggering information, and processor obtains this and is
Preset triggering information is arranged, and a series of this preset triggering information is contacted with doing insurance this knowledge scenario foundation, is generated preset
Trigger information collection.
Processor obtains the corresponding rhetorical question knowledge of preset triggering information edit of knowledge typing personnel, and will rhetorical question knowledge and
Preset triggering information sets up contact, then generates the preset key element collection of every rhetorical question knowledge;
The process of the preset key element collection of every rhetorical question knowledge of generation is as follows:
Processor obtains the corresponding rhetorical question knowledge of preset triggering information as " you want any insurance of insuring", processor
Generate the preset key element of preset key element concentration such as:The preset key elements such as the species " children loss danger " " education danger " of insurance;
Judge whether every preset key element is closure element;
If the preset key element is closure element, the corresponding product of the preset key element is generated;
Otherwise S106, generates the corresponding rhetorical question knowledge of the preset key element, continues executing with S103
Wherein " children loss danger " correspondence rhetorical question knowledge is " where the area that you insure is”.
Significantly, since the warrantee of " children loss danger " only has children, therefore, processor is in " children loss
The rhetorical question knowledge that danger " is generated afterwards is " where the area that you insure is”.Rather than as traditional Form list generation method is given birth to
Into " whom your insurer is”
Processor regeneration " children loss danger ";
" where the area that you insure is to generation rhetorical question knowledge”;
Asking in reply knowledge, " where the area that you insure is" the preset key element concentrated of corresponding preset key element includes:" Beijing "
" Shenyang ";
Wherein, " Shenyang " is closure element, and processor generates product " insurance kind 5 " corresponding with " Shenyang ".
For preset key element " Beijing ", processor continues to generate " Beijing " correspondence rhetorical question knowledge for " you wish the valency insured
Lattice interval is how many”;
" you wish the price range insured is how many for processor generation" corresponding preset key element collection preset key element bag
Include:" 1000 yuan -2000 yuan ", " 5000 yuan -10000 yuan ", " 8000 yuan -10000 yuan ";
For preset key element, " 5000 yuan -8000 yuan " are closure element, and processor generation " 5000 yuan -8000 yuan " is corresponding
Product " insurance kind 3 ";
For preset key element, " 8000 yuan -10000 yuan " are closure element, and processor generates " 8000 yuan -10000 yuan " correspondences
Product " insurance kind 4 ";
For " 1000 yuan -2000 yuan " correspondence rhetorical question knowledge of preset key element for " time limit insured that you need is several years”;
" time limit insured that you need is several years to processor generation rhetorical question knowledge" corresponding preset key element concentrate it is preset
Key element, " 1 year " and " 2 years ";
Wherein, it is within " 1 year " closure element, the corresponding product " insurance kind 1 " of processor generation " 1 year ";
It is within " 2 years " closure element, the corresponding product " insurance kind 2 " of processor generation " 1 year ".
The generation of the corresponding key element structure of knowledge of table 1 is completed by that analogy, the generation until completing all products..This Shen
The generation method that please implement to exemplify is directed to per a series of " question answering processes " for belonging to the product of a product design.It is described " to ask
Answer process " by adding rhetorical question knowledge, the corresponding preset key element collection of rhetorical question knowledge is filled in, then concentrates each according to preset key element
If preset problem fills in the preset key element corresponding " rhetorical question knowledge " up to preset key element is closure element, fill in described pre-
Put the corresponding product of key element.
The generation method of the key element structure of knowledge shown in the embodiment of the present application, is avoided in key element structure of knowledge generating process
The generation of some " insignificant rhetorical question knowledge ", improves the formation efficiency of the structure of knowledge." the meaningless rhetorical question knowledge " such as
Object oriented is children loss danger in embodiment 1, and area of insuring only has insurance kind 5 for the product in Shenyang.So for object oriented
For children loss danger, area of insuring is under conditions of Shenyang, " whom your insurer is" " you wish that the price range insured is
How much" " time limit insured that you need is several years" it is insignificant rhetorical question knowledge.
The application second aspect shows a kind of searching method based on the key element structure of knowledge, methods described bag as shown in Figure 5
Include:
S201 receives the triggering information of user, travels through preset triggering information collection, filters out and the triggering information similarity
The preset triggering information of highest;
The triggering information of user is received, is filtered out first and the triggering information similarity highest pre- feedback information.
Because the custom of different user is different, different users can also provide different triggering information for same problem,
In the application, each triggering message one standard of correspondence is asked asks with a plurality of extension, to meet the search shown in the embodiment of the present application
Method is applied to the triggering information that different users provides.
In actual applications, system can directly give some scene, can also provide several scenes and be selected for user
Select, so as to trigger corresponding rhetorical question knowledge.Alternatively, it is also possible to the system that to be key element knowledge coexist with other knowledge types, now
Need first to judge whether the user received triggering information is key element knowledge, and the key element knowledge is usually to a kind of need of product
Ask.Such as:I wants to do insurance, a kind of insurance as product.I will be done into insurance and be divided into key element knowledge.If the user received
It is key element knowledge to trigger information, and display preset triggers the corresponding rhetorical question knowledge of information with described.If the user's triggering received
Information is not meant to plain knowledge, then enters other kinds of search interface or provide prompt message.
S202 show with the corresponding rhetorical question knowledge of the preset triggering information, each rhetorical question knowledge correspondence one is pre-
Key element collection is put, the preset key element collection includes at least one preset key element;
S203 obtains the answer information of the rhetorical question knowledge, filters out the preset key element of target, the preset key element of target is
The preset key element matched with the answer information;
When the triggering information similarity highest pre- feedback information inputted with user is key element knowledge, the display of user
Interface display goes out the rhetorical question knowledge corresponding with the pre- feedback information.
It is worth noting that:The rhetorical question knowledge of the application carries out question and answer in the form of confirmative question, and for example " you wish to throw
The price range of guarantor is how many ", ask in reply appearance " price " two word in knowledge and suggesting effect is played to user, remind user in the wheel
What is filled in during question and answer is price.User fills in corresponding answer information according to prompting with reference to the demand of oneself.By anti-
Prompting meaning guiding user in asking carries out the target information that many wheel question and answer finally give user.
S204 judges whether the preset key element of the target is closure element;
If the preset key element of the S205 targets is closure element, the corresponding product of the preset key element of the target is shown;
Otherwise S206, transfers and shows the corresponding rhetorical question knowledge of the preset key element of the target, continue executing with step S203.
Until the corresponding preset key element of answer information that user inputs is closure element.
Searching method shown in the embodiment of the present application.The product of suitable user is searched out by the way of wheel question and answer more.
During search, without traveling through all knowledge, so as to improve the information search efficiency of question and answer processor.
Embodiment 2:
Please continue to refer to the data shown in table one, user's input feedback information " insurance ";
Processor is filtered out and the preset triggering information " I wants to do insurance " of " insurance " the similarity highest;
Processor judges preset triggering information " I wants to do insurance " for key element knowledge;
Processor recalls the rhetorical question knowledge corresponding with the preset triggering information " I wants to do insurance ", and " you want which is insured
One kind insurance”;
User's input answer information " education danger ";
Processor filters out the preset key element of target " education danger " matched with the answer information " education danger ".
Processor judges whether the preset key element of the target " education is dangerous " is closure element, and " education danger " is not to terminate to want
Element;Processor is transferred and shows that " whom your insurer is to " education danger " corresponding rhetorical question knowledge”.
User's input answer information " 7 years old children ".
Processor filters out the preset key element of target " pupil " matched with the answer information " 7 years old children ".
Processor judges whether the preset key element of target " pupil " is closure element, and the preset key element of target " pupil " is not
Closure element;Now, processor is transferred and the corresponding rhetorical question knowledge " area that you insure of the preset key element of display target " pupil "
Where it is”.
User's input answer information " Shenyang ";
Processor filters out the preset key element of target " Shenyang " matched with the answer information " Shenyang ".
Processor judges the preset key element of target " Shenyang " for closure element, the corresponding production of the preset key element of display target " Shenyang "
" insurance kind 13 " gives user to product.
It can be seen that user fill in 3 answer informations altogether in this search procedure, processor enters to 3 answer informations respectively
Row analysis finally searches the product of suitable user.
Traditional answering method user is needed to fill in 5 answer informations, and processor is analyzed 5 answer informations respectively
The product of suitable user can be searched.
In summary, a kind of searching method based on the key element structure of knowledge shown in the embodiment of the present application, reduces processor
To the number of times of data analysis, and then shorten the time of information search, improve the efficiency of information search.
Embodiment 3:
Please continue to refer to the data shown in table one;
Processor is filtered out and the preset triggering information " I wants to do insurance " of " I will do insurance " the similarity highest;
Processor judges " I wants to do insurance " as key element knowledge;
Processor recalls the rhetorical question knowledge corresponding with " I wants to do insurance ", and " you want any insurance of insuring”;
User's input answer information " education danger ";
Whether " education danger " is closure element described in processor judgement, and education danger is not closure element;
Processor filters out the preset key element of target " education danger " matched with the answer information " education danger ";
Processor judges whether the preset key element of the target " education is dangerous " is closure element, and " education danger " is not to terminate to want
Element;
Processor is transferred and shows that " whom your insurer is to the corresponding rhetorical question knowledge of institute " education danger "”.
" whom your insurer is”;
User's input answer information " pupil ".
Processor filters out the preset key element of target " pupil " matched with the answer information " pupil ".
Processor judges whether the preset key element of target " pupil " is closure element, and the preset key element of target " pupil " is not
Closure element;Now, processor is transferred and the corresponding rhetorical question knowledge " area that you insure of the preset key element of display target " pupil "
Where it is”;
User's input answer information " Beijing ";
Processor filters out the preset key element of target " Beijing " matched with the answer information " Beijing ".
Processor judges that the preset key element of target " Beijing " is not closure element;Now, processor is transferred and display target is pre-
Putting the corresponding rhetorical question knowledge of key element " Beijing ", " you wish the price range insured is how many”;
User's input answer information " 2000 ";
Processor filters out the preset key element of target " 1000 yuan -2000 yuan " matched with the answer information " 1000 ".
Processor judges that the preset key element of target " 1000 yuan -2000 yuan " is not closure element;Now, processor is transferred and shown
Show that " time limit insured of your needs is several years to the corresponding rhetorical question knowledge of the preset key element of target " 1000 yuan -2000 yuan "”;
User's input answer information " 1 ";
Processor filters out the preset key element of target " 1 year " matched with the answer information " 1 ".
Processor judges that the preset key element of target " 1 year " is closure element, the preset key element of display target " 1 year " corresponding product
" insurance kind 6 " gives user.
Although the searching method user shown in the embodiment of the present application 3 fills in 5 answer informations, processor is respectively to 5 rows
Analysis can search the product of suitable user.
But the searching method shown in the embodiment of the present application 3, the preset problem answers matched in search and answer information
During the amount of calculation of processor significantly reduce.
For example in embodiment 3 processor recalls and shows that " time limit insured that you need is several years”
When user provides 1 answer information, the searching method " phase insured that you need is shown using the embodiment of the present application 3
Limit is several years" corresponding preset key element is concentrated includes:" 1 year " and " 2 years ", two preset key elements.Processor two it is preset will
A preset key element matched with the answer information of " 1 " is sifted out in element.
And traditional answering method processor is for the data " time limit insured that you need is several years " shown in table one, place
Reason device need filtered out from " 1 year, 2 years, 3 years, 8 years, 10 years " even more preset key elements with " 1 " match it is pre-
Put the amounts of calculation of problem answers much larger than the method shown in the embodiment of the present application 3 the problem of handling identical when processor calculating
Amount.
The method shown in the embodiment of the present application reduces the operand of processor in summary, improves the search effect of information
Rate.
Searching method Consumer's Experience sense shown in the embodiment of the present application is very good, and the processor shown in the embodiment of the present application is
An Intelligent dialogue processor is escalated into, traditional question and answer processor is all user's enquirement, and processor is answered, and our processing
Device has reached the effect of processor and user session.
Embodiment 4:
In order to further reduce the operand of processor, the another embodiment target of search efficiency the application for improving information is pre-
Put key element method:
Referring to step 203 described in Fig. 6 includes:
S20311 is transferred and is shown the corresponding preset key element collection of the rhetorical question knowledge;
S20312 receives the preset key element of target obtained from the prompting interface.
In the present embodiment when the triggering information similarity highest pre- feedback information inputted with user is key element knowledge,
While showing the rhetorical question knowledge corresponding with the pre- feedback information, transfer and show that the rhetorical question knowledge is corresponding preset
Key element collection, user selects to be adapted to the preset problem key element of oneself according to self-demand, and now, processor judges the preset key element
Whether it is closure element, if the preset key element is closure element, the corresponding product of the preset key element is shown, if institute
It is not closure element to state preset key element, then directly transfers and show the corresponding next rhetorical question knowledge of the preset key element.
User directly concentrates the preset key element needed for choosing in preset key element in the embodiment of the present application, and processor is without search
The operand of the preset answer information that the answer information inputted with user matches, further reduction processor, shortens information and searches
The rope time, improve the efficiency of information search.
The preset key element execution flow of target is filtered out in order to be described in detail in above-described embodiment, in the another embodiment of the application
A kind of screening technique of the preset key element of target is shown, as shown in Figure 7:
The 20321 traversal preset key element collection;
20322, which calculate the preset key element, concentrates each preset key element and the similarity of the element information, chooses maximum
Similarity;
20323 judge whether the maximum similarity is more than or equal to preset similarity threshold;
If 20324 maximum similarities are more than or equal to preset similarity threshold, it is determined that produce the maximum similarity
Preset key element be the preset key element of target;
If 20325 maximum similarities are less than preset similarity threshold, show for pointing out whether to be re-entered
The prompting interface of element information;
Prompting interface includes, and points out user's " whether re-entering element information ", and client is according to the demand of itself selection
It is no to re-enter element information;
Prompting interface can also include " continuing to eject a upper confirmative question ";For example when rhetorical question knowledge is " you want to insure
Any insurance", the answer information that user provides is " 3 years ", it is clear that answer information and the preset key element of user's input are not
Match somebody with somebody, now prompting interface shows that " element information of input is wrong, and you want any insurance of insuring”.
Prompting interface can also include the content that prompting user needs to input, such as when rhetorical question knowledge is " you want to insure
Any insurance", the answer information that user provides is " 3 years ", it is clear that answer information and the preset key element of user's input are not
Match somebody with somebody, now prompting interface shows suggestive contents such as " selecting to be adapted to your insurance in children loss danger or education danger ".
20326 receive the feedback information obtained from the prompting interface;
20327, when the feedback information is to re-enter element information, receives answer information, continue executing with step again
Rapid S20321.
In embodiment, cos methods can be used by calculating the method for the similarity.The answer information inputted as user for text or
During picture, the embodiment of the present application calculates the matching degree between answer information and preset key element using cos methods.
The preset key element is calculated first and concentrates each preset key element and the similarity of the element information, chooses maximum phase
Like degree;
When maximum similarity value is preset less than preset similarity, it was demonstrated that preset key element, which is concentrated, to be not present and answer letter
The preset answer information of matching is ceased, now user can select to abandon searching for or re-entering answer information.
In order to further reduce the amount of calculation of processor, the embodiment of the present application shows the mistake of a preset key element of screening target
Journey, as shown in Figure 8;
S20331 travels through the preset answer set when the answer information is digital information;
S20332 judges to whether there is digit preset problem answers in the preset answer set;
The digit preset problem answers are the preset of the number range that number range is more than or equal to the answer information
Problem answers;
If there is the digit preset problem answers, then it is that target is pre- to perform S20333 and choose digit preset problem answers
Put key element;
If there is no the digit preset problem answers, then perform S20334 and show again defeated for pointing out whether to carry out
Enter the prompting interface of answer information;
S20335 receives the feedback information obtained from the prompting interface;
S20336 receives answer information, continues executing with step again when the feedback information is to re-enter element information
Rapid S20331.
The screening technique of the preset key element of target shown in the embodiment of the present application, when user's input when the answer information is
During digital information, each preset key element and the similarity of the element information, Jin Jintong are concentrated without calculating the preset key element
Digit preset problem answers are judged whether, the preset key element of target just can be found.The amount of calculation of processor is reduced, information is improved
The efficiency of search.
The application third aspect shows a kind of generating means of the key element structure of knowledge, and described device as shown in Figure 9 includes:
Information generation device is triggered, for generating preset triggering information collection, the preset triggering information collection includes at least one
The preset triggering information of bar;
Knowledge formation device is asked in reply, preset the corresponding rhetorical question knowledge of information is triggered with described for generating;
Key element generating means, for generating the corresponding preset key element collection of the rhetorical question knowledge;
First judgment means, for judging whether the preset key element is closure element;
First product generating means, for generating the corresponding product of the preset key element;
Key element asks in reply knowledge formation device, for generating the corresponding rhetorical question knowledge of the preset key element.
The generating means of the key element structure of knowledge shown in the embodiment of the present application, are avoided in key element structure of knowledge generating process
The generation of some " insignificant rhetorical question knowledge ", improves the formation efficiency of the structure of knowledge.
The application fourth aspect shows a kind of searcher based on the key element structure of knowledge, described device bag as shown in Figure 10
Include:
Information sifting device, the triggering information for receiving user travels through preset triggering information collection, filters out and touched with described
The preset triggering information of photos and sending messages similarity highest;
Display device, preset the corresponding rhetorical question knowledge of information is triggered for showing with described;
Key element screening plant, the answer information for obtaining the rhetorical question knowledge, filters out the preset key element of target;
Second judgment means, for judging whether the preset key element of the target is closure element;
Second product generating means, for showing the corresponding product of the preset key element of the target;
Display device is transferred, for transferring and showing the corresponding rhetorical question knowledge of the preset key element of the target.
Searcher shown in the embodiment of the present application.The product of suitable user is searched out by the way of wheel question and answer more.
During search per money product correspondence a series of " question answering process " on the premise of ensureing to search the product of suitable user,
The appearance of " insignificant rhetorical question knowledge " is avoided, the information search efficiency of processor is improved;Meanwhile, the embodiment of the present application
A kind of searching method based on the key element structure of knowledge shown, reduces number of times of the processor to data analysis, and then shorten information
The time of search, improve the efficiency of information search.
The aspect of the application the 5th shows a kind of search system based on the key element structure of knowledge, the system bag as shown in figure 11
Include:
Described information acquisition terminal is used for client's display rhetorical question knowledge, preset key element collection, prompting interface, and product;
The data transmission set is used to realize interacting for information acquisition terminal and knowledge store and Analysis server;
The knowledge store is used for the generation of kind of the key element structure of knowledge with Analysis server, is searched according to the answer information of input
Rope goes out corresponding product.
From above technical scheme, the embodiment of the present application shows the generation method of the key element structure of knowledge, searching method, dress
Put and system, wherein the generation method of the key element structure of knowledge, avoided in key element structure of knowledge generating process " insignificant
The generation of rhetorical question knowledge ", improves the formation efficiency of the structure of knowledge;A kind of searching method based on the key element structure of knowledge, is used
The mode of many wheel question and answer searches out the product of suitable user.Per a series of " the question and answer mistake of money product correspondence during search
Journey " is on the premise of ensureing to search the product of suitable user, it is to avoid the appearance of some " insignificant rhetorical question knowledge ", improves
The information search efficiency of processor;Meanwhile, a kind of searching method based on the key element structure of knowledge shown in the embodiment of the present application, drop
Low processor shortens the time of information search to the number of times of data analysis, improves the efficiency of information search.
It is understood that the application can be used in numerous general or special purpose computation processor environment or configuration.For example:
Personal computer, server computer, handheld device or portable set, laptop device, multiprocessor processor, based on micro-
The processor of processor, set top box, programmable consumer-elcetronics devices, network PC, minicom, mainframe computer including
Any of the above processor or the DCE of equipment etc..
The application can be described in the general context of computer executable instructions, such as program
Module.Usually, program module includes performing particular task or realizes routine, program, object, the group of particular abstract data type
Part, data structure etc..The application can also be put into practice in a distributed computing environment, in these DCEs, by
Remote processing devices connected by communication network perform task.In a distributed computing environment, program module can be with
Positioned at including in the local and remote computer-readable storage medium including storage device.
It should be noted that in this application, the relational terms of such as " first " and " second " or the like be used merely to by
One entity or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or operation
Between there is any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant meaning
Covering including for nonexcludability, so that process, method, article or equipment including a series of key elements not only include that
A little key elements, but also other key elements including being not expressly set out, or also include be this process, method, article or
The intrinsic key element of equipment.In the absence of more restrictions, the key element limited by sentence "including a ...", is not arranged
Except also there is other identical element in the process including the key element, method, article or equipment.
Those skilled in the art will readily occur to its of the application after considering specification and putting into practice application disclosed herein
Its embodiment.The application is intended to any modification, purposes or the adaptations of the application, these modifications, purposes or
Person's adaptations follow the general principle of the application and including the undocumented common knowledge in the art of the application
Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the application and spirit are by following
Claim is pointed out.
It should be appreciated that the precision architecture that the application is not limited to be described above and is shown in the drawings, and
And various modifications and changes can be being carried out without departing from the scope.Scope of the present application is only limited by appended claim.