A kind of generation method of the 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 element structure of knowledge,
Searching method, apparatus and system.
Background technology
In recent years, the enterprise in 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 suitble to the user for user, becomes a urgent problem to be solved.
To solve the above-mentioned problems, the 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
Element ", every a line in question and answer interface are referred to as " knowledge ".Knowledge question processor shows question and answer interface to user first, uses
The element information of all elements of each knowledge in the User Interface of family, such as:" object is children loss danger " " is by insurer
Children ", " area is Beijing ", " price is 3000 ", " time limit is 1-3 ";The element that intelligent answer processor fills in user
Information is analyzed, and the type of insurance of a suitable user is searched for, and the type of insurance is recommended user.
Intelligence question answering system element shown in the prior art takes the mode of a wheel question and answer, shows all elements, Yong Hutong
It crosses self-demand and fills in the corresponding element information of each element, intelligent answer processor searches for a be suitble to according to element information
The product of user.Since by the way of a wheel question and answer, question and answer processor analyzes the corresponding element information of all elements,
The time for extending information search, reduce the efficiency of information search.
Invention content
To overcome the problems in correlation technique, the embodiment of the present application shows a kind of generation side of the element structure of knowledge
Method, searching method, apparatus and system.
The embodiment of the present application first aspect shows the generation method of the element structure of knowledge, including:
S101 generates preset triggering information collection, and the preset triggering information collection includes at least one preset triggering information;
S102 generates rhetorical question knowledge corresponding with the preset triggering information;
S103 generates the corresponding preset element collection of the rhetorical question knowledge, and the preset element collection includes at least one preset
Element;
S104 judges whether the preset element is closure element;
If the S105 preset elements are closure element, the corresponding product of the preset element is generated;
Otherwise S106, generates the corresponding rhetorical question knowledge of the preset element, continues to execute S103.
The generation method of the element structure of knowledge shown in the embodiment of the present application is avoided in element structure of knowledge generating process
The generation of some " meaningless 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 element structure of knowledge, including:
S201 receives the triggering information of user, traverses preset triggering information collection, filters out and the triggering information similarity
Highest preset triggering information;
S202 shows that rhetorical question knowledge corresponding with the preset triggering information, each rhetorical question knowledge correspond to one in advance
Element collection is set, the preset element collection includes at least one preset element;
S203 obtains the answer information of the rhetorical question knowledge, filters out the preset element of target, the preset element of target is
The preset element to match with the answer information;
S204 judges whether the preset element of the target is closure element;
If the preset element of the S205 targets is closure element, the corresponding product of the preset element of the target is shown;
Otherwise S206, transfers and shows the corresponding rhetorical question knowledge of the preset element of the target, continue to execute step S203.
Searching method shown in the embodiment of the present application.The product of suitable user is searched out by the way of mostly wheel question and answer.
A series of " question answering process " is corresponded under the premise of ensureing to search the product of suitable user per money product during search,
The appearance for avoiding " meaningless rhetorical question knowledge ", improves the information search efficiency of processor;Meanwhile the embodiment of the present application
A kind of searching method based on the element structure of knowledge shown reduces number of the processor to data analysis, and then shortens information
The time of search improves the efficiency of information search.
The embodiment of the present application third aspect shows that a kind of generating means of the element structure of knowledge, described device include:
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 item;
Knowledge formation device is asked in reply, for generating rhetorical question knowledge corresponding with the preset triggering information;
Element generating means, for generating the corresponding preset element collection of the rhetorical question knowledge;
First judgment means, for judging whether the preset element is closure element;
First product generating means, for generating the corresponding product of the preset element;
Element asks in reply knowledge formation device, for generating the corresponding rhetorical question knowledge of the preset element.
The generating means of the element structure of knowledge shown in the embodiment of the present application are avoided in element structure of knowledge generating process
The generation of some " meaningless rhetorical question knowledge ", improves the formation efficiency of the structure of knowledge.
The embodiment of the present application fourth aspect shows that a kind of searcher based on the element structure of knowledge, described device include;
Information sifting device, the triggering information for receiving user traverse preset triggering information collection, filter out and are touched with described
The highest preset triggering information of photos and sending messages similarity;
Display device, for showing rhetorical question knowledge corresponding with the preset triggering information;
Element screening plant, the answer information for obtaining the rhetorical question knowledge, filters out the preset element of target;
Second judgment means, for judging whether the preset element of the target is closure element;
Second product generating means, for showing the corresponding product of the preset element of the target;
Display device is transferred, for transferring and showing the corresponding rhetorical question knowledge of the preset 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 mostly wheel question and answer.
A series of " question answering process " is corresponded under the premise of ensureing to search the product of suitable user per money product during search,
Without traversing all knowledge, to 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 element structure of knowledge, number of the processor to data analysis is reduced, and then shorten the time of information search,
Improve the efficiency of information search.
The 5th aspect of the embodiment of the present application is a kind of search system based on the element structure of knowledge, the processor packet
It includes:
Described information acquisition terminal is used to show rhetorical question knowledge, preset element collection, prompting interface and product to client;
The data transmission set for realizing information acquisition terminal and knowledge store and Analysis server interaction;
Generation of the knowledge store with Analysis server for kind of the element structure of knowledge, is searched according to the answer information of input
Rope goes out corresponding product.
Description of the drawings
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, below will be to institute in embodiment
Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the application
Example, for those of ordinary skill in the art, without creative efforts, can also obtain according to these attached drawings
Obtain other attached 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 a kind of element structure of knowledge exemplified is preferably implemented in the application one;
Fig. 4 is the generation interface for the generation method that a kind of element structure of knowledge exemplified is preferably implemented in the application one;
Fig. 5 is the flow chart that a kind of searching method based on the element structure of knowledge exemplified is preferably implemented in the application one;
Fig. 6 is the detail flowchart that the step S203 exemplified is preferably implemented in 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 preferred implementation of the application one exemplifies a kind of structure diagram of the generating means of the element structure of knowledge;
Figure 10 is that the preferred implementation of the application one exemplifies a kind of structure diagram of the searcher based on the element structure of knowledge;
Figure 11 is that the preferred implementation of the application one exemplifies a kind of structure diagram of the search system based on the element structure of knowledge.
Specific implementation mode
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete
Whole description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on
Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall in the protection scope of this application.
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, and so on, until completing all data inputtings in table one.
Embodiment 1:
It please refers to Fig. 3 the embodiment of the present application and a kind of generation method of the element structure of knowledge is shown, the method includes:
S101 generates preset triggering information collection;
The preset triggering information collection includes at least one preset triggering information;Each element structure of knowledge under normal conditions
Including multiple triggering scenes, such as:Insurance is done, buying car is bought house, and clothes etc. is bought.Each scene correspond to a standard ask and/or
At least one extension is asked.By do insure this triggering scene for, wherein standard ask for:I will do insurance;Corresponding extension is asked
Can be:1. which kind of insurance be suitble 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 asks and is stored into preset triggering information collection.Wherein each the corresponding standard of triggering scene is asked and structure is asked in extension
At the preset triggering information of a triggering scene.
S102 generates rhetorical question knowledge corresponding with the preset triggering information;
Such as do insurance scene the corresponding rhetorical question knowledge of preset triggering information " you want any insurance of insuring”
S103 generates the corresponding preset element collection of the rhetorical question knowledge, and the preset element collection includes at least one preset
Element;
For example, " you want any insurance of insuring" this is asked in reply the corresponding preset element of knowledge and concentrate and includes:Children
Wander away nearly and educate the preset elements such as danger.
S104 judges whether the preset element is closure element;
If the S105 preset elements are closure element, the corresponding product of the preset element is generated;
Otherwise S106, generates the corresponding rhetorical question knowledge of the preset element, continues to execute S103.
The generating process of generation method shown in the embodiment of the present application when knowledge edition personnel's typing knowledge, does not have to defeated again
Enter cumbersome knowledge, it is only necessary to which typing triggering information, addition element, addition rhetorical question knowledge just complete knowledge Input Process.
With the data instance shown in table one, the generating process for illustrating the 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 by data into
Row storage, generates corresponding preset triggering information collection, the corresponding rhetorical question knowledge of preset triggering information, preset element collection;
With the data instance shown in the question and answer processor of the insurance of table one.
Refer to Fig. 4, wherein 1 is editor's triggering information, knowledge typing personnel input or importing:I will do insurance, which kind of
Insurance is suitble to me, I wants to insure, me is helped to recommend a insurance, and a series of preset triggering information, processor is waited to obtain this and be
Preset triggering information is arranged, and a series of this preset triggering information is contacted with insurance this knowledge scenario foundation is done, 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 establishes contact, then generates the preset element collection of every rhetorical question knowledge;
The process for generating the preset element collection of every rhetorical question knowledge 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 element of preset element concentration such as:The preset elements such as the type " children loss danger " " education danger " of insurance;
Judge whether every preset element is closure element;
If the preset element is closure element, the corresponding product of the preset element is generated;
Otherwise S106, generates the corresponding rhetorical question knowledge of the preset element, continues to execute S103
Wherein " children loss danger " corresponding rhetorical question knowledge is that " 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 " generates afterwards is that " where the area that you insure is”.Rather than as traditional Form list generation method is given birth to
At " whom your insurer is”
Processor regeneration " children loss danger ";
Generating rhetorical question knowledge, " where the area that you insure is”;
Asking in reply knowledge, " where the area that you insure is" the preset element concentrated of corresponding preset element includes:" Beijing "
" Shenyang ";
Wherein, " Shenyang " is closure element, and processor generates product " insurance kind 5 " corresponding with " Shenyang ".
For preset element " Beijing ", processor continues to generate " Beijing " corresponding rhetorical question knowledge to be that " you wish the valence insured
Lattice section is how many”;
" you wish the price range insured is how many for processor generation" corresponding preset element collection preset element packet
It includes:" 1000 yuan -2000 yuan ", " 5000 yuan -10000 yuan ", " 8000 yuan -10000 yuan ";
For preset element, " 5000 yuan -8000 yuan " are closure element, and it is corresponding that processor generates " 5000 yuan -8000 yuan "
Product " insurance kind 3 ";
For preset element, " 8000 yuan -10000 yuan " are closure element, and processor generates " 8000 yuan -10000 yuan " correspondences
Product " insurance kind 4 ";
It is that " time limit insured that you need is several years for " 1000 yuan -2000 yuan " corresponding rhetorical question knowledge of preset element”;
Processor generates rhetorical question knowledge, and " time limit insured that you need is several years" corresponding preset element concentrate it is preset
Element, " 1 year " and " 2 years ";
Wherein, " 1 year " is closure element, and processor generates " 1 year " corresponding product " insurance kind 1 ";
" 2 years " are closure element, and processor generates " 1 year " corresponding product " insurance kind 2 ".
And so on complete the generation of the 1 corresponding element structure of knowledge of table, the generation until completing all products..This Shen
It please implement the generation method exemplified to be directed to per a series of " question answering process " for belonging to the product of a product design.It is described " to ask
Answer process " knowledge is asked in reply by addition, the corresponding preset element collection of rhetorical question knowledge is filled in, is then concentrated according to preset element each
If preset problem fills in the preset element corresponding " rhetorical question knowledge " until preset element is closure element, fill in described pre-
Set the corresponding product of element.
The generation method of the element structure of knowledge shown in the embodiment of the present application is avoided in element structure of knowledge generating process
The generation of some " meaningless 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 the product that area is Shenyang of insuring only has insurance kind 5.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 meaningless rhetorical question knowledge.
The application second aspect shows a kind of searching method based on the element structure of knowledge, the method packet as shown in Figure 5
It includes:
S201 receives the triggering information of user, traverses preset triggering information collection, filters out and the triggering information similarity
Highest preset triggering information;
The triggering information for receiving user, filters out and the highest pre- feedback information of triggering information similarity first.
Since 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 suitable for the triggering information that different users provides.
In practical applications, system can directly give some scene, can also provide several scenes and be selected for user
It selects, to the corresponding rhetorical question knowledge of triggering.Alternatively, it is also possible to the system that be element knowledge coexist with other knowledge types, at this time
The user for first judging to receive is needed to trigger whether information is element knowledge, the element knowledge is usually to a kind of need of product
It asks.Such as:I wants to do insurance, a kind of insurance as product.I will be done into insurance and be divided into element knowledge.If the user received
It is element knowledge to trigger information, display rhetorical question knowledge corresponding with the preset triggering information.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 shows that rhetorical question knowledge corresponding with the preset triggering information, each rhetorical question knowledge correspond to one in advance
Element collection is set, the preset element collection includes at least one preset element;
S203 obtains the answer information of the rhetorical question knowledge, filters out the preset element of target, the preset element of target is
The preset element to match with the answer information;
When being element knowledge with the highest pre- feedback information of triggering information similarity input by user, the display of user
Interface display goes out rhetorical question knowledge corresponding with the pre- feedback information.
It is worth noting that:The form that the rhetorical question knowledge of the application is all made of confirmative question carries out question and answer, such as " you wish to throw
The price range of guarantor is how many ", it asks 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 prompt in conjunction with the demand of oneself.By anti-
Prompt meaning guiding user in asking carries out the target information that more wheel question and answer finally obtain user.
S204 judges whether the preset element of the target is closure element;
If the preset element of the S205 targets is closure element, the corresponding product of the preset element of the target is shown;
Otherwise S206, transfers and shows the corresponding rhetorical question knowledge of the preset element of the target, continue to execute step S203.
Until the corresponding preset element of answer information input by user 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 mostly wheel question and answer.
During search, without traversing all knowledge, 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 filters out and the highest preset triggering information " I wants to do insurance " of " insurance " similarity;
Processor judges preset triggering information " I wants to do insurance " for element knowledge;
Processor recalls rhetorical question knowledge corresponding with preset triggering information " I wants to do insurance ", and " you want which is insured
A kind of insurance”;
User inputs answer information " education danger ";
Processor filters out the preset element of target " education danger " to match with the answer information " education danger ".
Processor judges whether the preset element of the target " education danger " 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 inputs answer information " 7 years old children ".
Processor filters out the preset element of target " pupil " to match with the answer information " 7 years old children ".
Processor judges whether the preset element of target " pupil " is closure element, and the preset element of target " pupil " is not
Closure element;At this point, processor is transferred and the corresponding rhetorical question knowledge " area that you insure of the preset element of display target " pupil "
Where it is”.
User inputs answer information " Shenyang ";
Processor filters out the preset element of target " Shenyang " to match with the answer information " Shenyang ".
Processor judges the preset element of target " Shenyang " for closure element, the corresponding production of the preset element of display target " Shenyang "
Product " insurance kind 13 " give user.
It can be seen that user fills in 3 answer informations altogether in this search process, processor respectively to 3 answer informations into
Row analysis finally searches the product of suitable user.
Traditional answering method user needs to fill in 5 answer informations, and processor respectively analyzes 5 answer informations
The product of suitable user can be searched.
In conclusion a kind of searching method based on the element structure of knowledge shown in the embodiment of the present application, reduces processor
To the number of data analysis, and then shorten the time of information search, improves the efficiency of information search.
Embodiment 3:
Please continue to refer to the data shown in table one;
Processor filters out and the highest preset triggering information " I wants to do insurance " of " I will the do insurance " similarity;
Processor judges " I wants to do insurance " as element knowledge;
Processor recalls rhetorical question knowledge corresponding with " I wants to do insurance ", and " you want any insurance of insuring”;
User inputs 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 element of target " education danger " to match with the answer information " education danger ";
Processor judges whether the preset element of the target " education danger " 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 inputs answer information " pupil ".
Processor filters out the preset element of target " pupil " to match with the answer information " pupil ".
Processor judges whether the preset element of target " pupil " is closure element, and the preset element of target " pupil " is not
Closure element;At this point, processor is transferred and the corresponding rhetorical question knowledge " area that you insure of the preset element of display target " pupil "
Where it is”;
User inputs answer information " Beijing ";
Processor filters out the preset element of target " Beijing " to match with the answer information " Beijing ".
Processor judges that the preset element of target " Beijing " is not closure element;At this point, processor is transferred and display target is pre-
Setting the corresponding rhetorical question knowledge of element " Beijing ", " you wish the price range insured is how many”;
User inputs answer information " 2000 ";
Processor filters out the preset element of target " 1000 yuan -2000 yuan " to match with the answer information " 1000 ".
Processor judges that the preset element of target " 1000 yuan -2000 yuan " is not closure element;At this point, processor is transferred and is shown
Show that " time limit insured that you need is several years to the corresponding rhetorical question knowledge of the preset element of target " 1000 yuan -2000 yuan "”;
User inputs answer information " 1 ";
Processor filters out the preset element of target " 1 year " to match with the answer information " 1 ".
Processor judges that the preset element of target " 1 year " is closure element, the corresponding product of the preset element of display target " 1 year "
" 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, in the preset problem answers that search matches with answer information
During the calculation amount of processor significantly reduce.
Such as processor recalls and shows that " time limit insured that you need is several years in embodiment 3”
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 element concentration includes:" 1 year " and " 2 years ", two preset elements.Processor preset is wanted at two
A preset element to match 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 needs filtered out from " 1 year, 2 years, 3 years, 8 years, 10 years " even more preset elements match with " 1 " it is pre-
Set calculating of the calculation amount much larger than the processor when handling identical problem of the method shown in the embodiment of the present application 3 of problem answers
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 user experience shown in the embodiment of the present application is very good, and the processor shown in the embodiment of the present application is
Upgrade into an Intelligent dialogue processor, traditional question and answer processor is all user's enquirement, and processor is answered, and our processing
Device has achieved the effect that processor and user session.
Embodiment 4:
In order to further decrease the operand of processor, the another embodiment target of the search efficiency the application for improving information is pre-
Set element method:
Please referring to step 203 described in Fig. 6 includes:
S20311 is transferred and is shown the corresponding preset element collection of the rhetorical question knowledge;
S20312 receives the preset element of target obtained from the prompting interface.
In the present embodiment when being element knowledge with the highest pre- feedback information of triggering information similarity input by user,
While showing rhetorical question knowledge corresponding with the pre- feedback information, transfers and show that the rhetorical question knowledge is corresponding preset
Element collection, user selects to be suitble to the preset problem element of oneself according to self-demand, at this point, processor judges the preset element
Whether it is closure element, if the preset element is closure element, the corresponding product of the preset element is shown, if institute
It is closure element to state preset element not, then directly transfers and show the corresponding next rhetorical question knowledge of the preset element.
User directly concentrates the preset element needed for choosing in preset element in the embodiment of the present application, and processor is without search
The preset answer information to match with answer information input by user further decreases the operand of processor, shortens information and searches
The rope time improves the efficiency of information search.
The preset 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 element of target is shown, as shown in Figure 7:
The 20321 traversal preset element collection;
20322 calculate the similarity that the preset element concentrates each preset element and the element information, choose maximum
Similarity;
20323 judge whether the maximum similarity is greater than or equal to preset similarity threshold;
If 20324 maximum similarities are greater than or equal to preset similarity threshold, it is determined that generate the maximum similarity
Preset element be the preset element of target;
If 20325 maximum similarities are less than preset similarity threshold, whether display is re-entered for prompting
The prompting interface of element information;
Prompting interface includes prompting 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 pop up a confirmative question ";Such as when rhetorical question knowledge is that " you want to insure
Any insurance", the answer information that user provides is " 3 years ", it is clear that answer information input by user and preset element are not
Match, prompting interface shows that " element information of input is wrong, you want any insurance of insuring at this time”.
Prompting interface can also include the content that prompt user's needs input, such as when rhetorical question knowledge is that " you want to insure
Any insurance", the answer information that user provides is " 3 years ", it is clear that answer information input by user and preset element are not
Match, prompting interface shows suggestive contents such as " selecting to be suitble to your insurance in children loss danger or education danger " at this time.
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 to execute step again
Rapid S20321.
In embodiment, cos methods can be used in the method for calculating the similarity.When answer information input by user be text or
When picture, the embodiment of the present application calculates the matching degree between answer information and preset element using cos methods.
The similarity that the preset element concentrates each preset element and the element information is calculated first, chooses maximum phase
Like degree;
When maximum similarity value is preset less than preset similarity, it was demonstrated that preset element concentration is not present and the answer is believed
Matched preset answer information is ceased, user can select to abandon searching for or re-enter answer information at this time.
In order to further decrease the calculation amount of processor, the embodiment of the present application shows the mistake of a preset element of screening target
Journey, as shown in Figure 8;
S20331 traverses 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 numberical range that numberical range is greater 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 execute S20333 and choose digit preset problem answers
Set element;
If there is no the digit preset problem answers, then execute S20334 show it is again defeated for prompting 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 to execute step again when the feedback information is to re-enter element information
Rapid S20331.
The screening technique of the preset element of target shown in the embodiment of the present application, when input by user when the answer information is
When digital information, the similarity of each preset element and the element information, Jin Jintong are concentrated without calculating the preset element
It judges whether digit preset problem answers, the preset element of target can be found.The calculation amount of processor is reduced, information is improved
The efficiency of search.
The application third aspect shows that a kind of generating means of the element structure of knowledge, described device as shown in Figure 9 include:
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 item;
Knowledge formation device is asked in reply, for generating rhetorical question knowledge corresponding with the preset triggering information;
Element generating means, for generating the corresponding preset element collection of the rhetorical question knowledge;
First judgment means, for judging whether the preset element is closure element;
First product generating means, for generating the corresponding product of the preset element;
Element asks in reply knowledge formation device, for generating the corresponding rhetorical question knowledge of the preset element.
The generating means of the element structure of knowledge shown in the embodiment of the present application are avoided in element structure of knowledge generating process
The generation of some " meaningless rhetorical question knowledge ", improves the formation efficiency of the structure of knowledge.
The application fourth aspect shows a kind of searcher based on the element structure of knowledge, described device packet as shown in Figure 10
It includes:
Information sifting device, the triggering information for receiving user traverse preset triggering information collection, filter out and are touched with described
The highest preset triggering information of photos and sending messages similarity;
Display device, for showing rhetorical question knowledge corresponding with the preset triggering information;
Element screening plant, the answer information for obtaining the rhetorical question knowledge, filters out the preset element of target;
Second judgment means, for judging whether the preset element of the target is closure element;
Second product generating means, for showing the corresponding product of the preset element of the target;
Display device is transferred, for transferring and showing the corresponding rhetorical question knowledge of the preset 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 mostly wheel question and answer.
A series of " question answering process " is corresponded under the premise of ensureing to search the product of suitable user per money product during search,
The appearance for avoiding " meaningless rhetorical question knowledge ", improves the information search efficiency of processor;Meanwhile the embodiment of the present application
A kind of searching method based on the element structure of knowledge shown reduces number of the processor to data analysis, and then shortens information
The time of search improves the efficiency of information search.
The 5th aspect of the application shows a kind of search system based on the element structure of knowledge, the system packet as shown in figure 11
It includes:
Described information acquisition terminal is used to show rhetorical question knowledge, preset element collection, prompting interface and product to client;
The data transmission set for realizing information acquisition terminal and knowledge store and Analysis server interaction;
Generation of the knowledge store with Analysis server for kind of the element structure of knowledge, is searched according to the answer information of input
Rope goes out corresponding product.
By above technical scheme it is found that the embodiment of the present application shows the generation method of the element structure of knowledge, searching method, dress
It sets and system, wherein the generation method of the element structure of knowledge, is avoided in element structure of knowledge generating process " meaningless
The generation of rhetorical question knowledge ", improves the formation efficiency of the structure of knowledge;A kind of searching method based on the element structure of knowledge uses
The mode of more wheel question and answer searches out the product of suitable user.During search a series of " question and answer mistake is corresponded to per money product
Journey " avoids the appearance of " meaningless rhetorical question knowledge ", improves under the premise of ensureing to search the product of suitable user
The information search efficiency of processor;Meanwhile a kind of searching method based on the 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 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.Such as:
Personal computer, server computer, handheld device or portable device, laptop device, multiprocessor processor, based on micro-
The processor of processor, set top box, programmable consumer-elcetronics devices, network PC, minicomputer, mainframe computer including
The distributed computing environment etc. of any of the above processor or equipment.
The application can describe in the general context of computer-executable instructions executed by a computer, such as program
Module.Usually, program module includes routines performing specific tasks or implementing specific abstract data types, program, object, group
Part, data structure etc..The application can also be put into practice in a distributed computing environment, in these distributed computing environments, by
Task is executed by the connected remote processing devices of communication network.In a distributed computing environment, program module can be with
In the local and remote computer storage media 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 are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning
Covering non-exclusive inclusion, so that the process, method, article or equipment including a series of elements includes not only that
A little elements, but also include other elements that are not explicitly listed, or further include for this process, method, article or
The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged
Except there is also other identical elements in the process, method, article or apparatus that includes the element.
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.This application is intended to cover any variations, uses, or adaptations of the application, these modifications, purposes or
Person's adaptive change follows the general principle of the application and includes the undocumented common knowledge in the art of the application
Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the application are by following
Claim is pointed out.
It should be understood that the application is not limited to the precision architecture for being described above and being shown in the accompanying drawings, and
And various modifications and changes may be made without departing from the scope thereof.Scope of the present application is only limited by the accompanying claims.