CN109800291A - Question response method and device, electronic equipment and storage medium - Google Patents

Question response method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN109800291A
CN109800291A CN201811518823.8A CN201811518823A CN109800291A CN 109800291 A CN109800291 A CN 109800291A CN 201811518823 A CN201811518823 A CN 201811518823A CN 109800291 A CN109800291 A CN 109800291A
Authority
CN
China
Prior art keywords
instance
answer
target
candidate
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811518823.8A
Other languages
Chinese (zh)
Other versions
CN109800291B (en
Inventor
朱威
倪渊
谢国彤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201811518823.8A priority Critical patent/CN109800291B/en
Publication of CN109800291A publication Critical patent/CN109800291A/en
Application granted granted Critical
Publication of CN109800291B publication Critical patent/CN109800291B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The problem of being based on data processing the disclosure is directed to one kind answer method and device, electronic equipment and storage medium, it is related to big data technical field, can be applied to the application scenarios that the interbehavior in the question answering system of knowledge mapping in conjunction with user determines problem answers.The problem of this is based on data processing answer method includes matching condition corresponding with first instance in the first instance and target problem of determining target problem;It is filtered out from knowledge mapping and the matched second instance of first instance;Determine one or more elements corresponding with second instance in knowledge mapping;The target component for meeting matching condition with second instance is filtered out from one or more elements corresponding with second instance;The answer of target problem is determined based on target component.The disclosure can the interbehavior in the question answering system of knowledge based map in conjunction with user determine the answer of target problem.

Description

Question response method and device, electronic equipment and storage medium
Technical field
This disclosure relates to big data technical field, the problem of being based on data processing in particular to one kind answer method, The problem of based on data processing answering device, electronic equipment and storage medium.
Background technique
In the question answering system of knowledge mapping, entity link is primary module, i.e., knows the subject entity in user's question sentence It does not come out, and is linked with knowledge mapping, in order to determine the entity in target problem, need to carry out entity and disappear qi, i.e., specially The technology to produce ambiguity for solving the problems, such as entity of the same name.At present carry out entity disappear qi main method be by character string it is similar Degree, then it is aided with the feature and rule manually extracted, disposably to provide possible multiple entities, and come in conjunction with the semanteme of question sentence Make certain qi that disappears.
But in knowledge mapping, the entity of same names may have it is multiple, will very only by the semantic understanding in problem Which specific entity what difficult clear user thought inquiry actually is, carries out entity therefore, it is necessary to additional information and disappears qi, with true The answer for the problem that sets the goal.
It should be noted that information is only used for reinforcing the reason to the background of the disclosure disclosed in above-mentioned background technology part Solution, therefore may include the information not constituted to the prior art known to persons of ordinary skill in the art.
Summary of the invention
The disclosure is designed to provide the problem of one kind is based on data processing answer method, is based on the problem of data processing Answering device, electronic equipment and computer readable storage medium, and then overcoming the problems, such as at least to a certain extent can not be clear In targeted specific entity and the problem of determine target problem answer.
According to the disclosure in a first aspect, providing a kind of the problem of being based on data processing answer method, comprising: determine target Matching condition corresponding with first instance in the first instance and target problem of problem;It is filtered out from knowledge mapping and first The second instance of Entities Matching;Determine one or more elements corresponding with second instance in knowledge mapping;From with second instance The target component for meeting matching condition with second instance is filtered out in corresponding one or more elements;It is determined based on target component The answer of target problem.
Optionally, filtering out from knowledge mapping with the matched second instance of first instance includes: to obtain first instance Synonym;The entity to match in knowledge mapping with the synonym of first instance or first instance is determined as second instance.
Optionally, determine that the answer of target problem comprises determining that the quantity of target component based on target component;If target Element quantity is one, then target component is the answer of target problem;If target component quantity be it is multiple, wanted according to target The corresponding relationship of element and second instance is grouped target component, and determines mesh based on element quantity in the grouping of each target component The answer of mark problem.
Optionally, determine that the answer of target problem includes: by determination based on target component quantity in the grouping of each target component Answer of the element in the maximum grouping of target component quantity as target problem out;Or user is received in the grouping of each element Quantity is more than the selection operation of the first element of the first preset quantity, and the first element that user is selected is as to target problem Answer.
Optionally, the answer of target problem is determined based on element quantity in the grouping of each target component further include: by each element Quantity is more than that the element in the grouping of the second preset quantity is determined as candidate element in grouping;Obtain each candidate element and second The candidate matches condition of entity;The first matching condition is determined in candidate matches condition;User is received to the first candidate element Selection operation, and the first candidate element selected based on user determines the answer of problem.
Optionally, if the first candidate element based on user's selection determines that the answer of problem includes: the of user's selection One candidate element only one, then the first of user's selection the candidate element is determined as to the answer of problem.
Optionally, the answer of problem is determined based on the first candidate element of user's selection further include: if user's selection First candidate to be known as it is multiple, then in candidate matches condition determine the second matching condition;User is received to the second candidate element Selection operation, and determine based on the second candidate element of user's selection the answer of problem.
According to the second aspect of the disclosure, a kind of the problem of being based on data processing answering device is provided, comprising: target problem Determining module, matching condition corresponding with first instance in the first instance and target problem for determining target problem;It is real Body screening module, for being filtered out from knowledge mapping and the matched second instance of first instance;Element determining module, for true Determine one or more elements corresponding with second instance in knowledge mapping;Target component screening module, for from second instance The target component for meeting matching condition with second instance is filtered out in corresponding one or more elements;Answer determining module is used In the answer for determining target problem based on target component.
Optionally, entity screening module includes entity screening unit, for obtaining the synonym of first instance;By knowledge graph The entity to match in spectrum with the synonym of first instance or first instance is determined as second instance.
Optionally, answer determining module includes that answer determines submodule, for determining the quantity of target component;If target Element quantity is one, then target component is the answer of target problem;If target component quantity be it is multiple, wanted according to target The corresponding relationship of element and second instance is grouped target component, and determines mesh based on element quantity in the grouping of each target component The answer of mark problem.
Optionally, answer determines that submodule includes the first answer determination unit, the target component quantity for will determine Answer of the element as target problem in maximum grouping;Or receiving user is more than first default to quantity in the grouping of each element The selection operation of the first element of quantity, the first element that user is selected is as the answer to target problem.
Optionally, answer determines that submodule further includes the second answer determination unit, for surpassing quantity in the grouping of each element The element crossed in the grouping of the second preset quantity is determined as candidate element;Obtain candidate of each candidate element and second instance With condition;The first matching condition is determined in candidate matches condition;User is received to the selection operation of the first candidate element, and base The answer of problem is determined in the first candidate element of user's selection.
Optionally, the second answer determination unit includes that answer determines subelement, if first for user's selection is candidate Element only one, then the first candidate element of user's selection is determined as to the answer of problem.
Optionally, the second answer determination unit further includes that interaction determines answer subelement, if for user's selection One candidate to be known as it is multiple, then in candidate matches condition determine the second matching condition;User is received to the second candidate element Selection operation, and the second candidate element selected based on user determines the answer of problem.
According to the third aspect of the disclosure, a kind of electronic equipment is provided, comprising: processor;And memory, the storage It is stored with computer-readable instruction on device, is realized when the computer-readable instruction is executed by the processor according to above-mentioned any The problem of described in one based on data processing answer method.
According to the fourth aspect of the disclosure, a kind of computer readable storage medium is provided, computer program is stored thereon with, Response based on data processing the problem of is realized according to above-mentioned any one when the computer program is executed by processor Method.
In the exemplary embodiment of the disclosure based on data processing the problem of answer method, firstly, determine target problem First instance and target problem in matching condition corresponding with first instance, and filter out from knowledge mapping and first is real The matched second instance of body;Secondly, determining one or more elements corresponding with second instance in knowledge mapping;Again, from The target component for meeting matching condition with second instance is filtered out in the corresponding one or more elements of second instance, and is based on mesh Mark element determines the answer of target problem.The problem of being based on data processing by this answer method, can be sieved with knowledge based map All entities identical with the entity name in target problem in knowledge mapping are selected, target component is determined based on above-mentioned entity The answer of target problem is determined afterwards.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure Example, and together with specification for explaining the principles of this disclosure.It should be evident that the accompanying drawings in the following description is only the disclosure Some embodiments for those of ordinary skill in the art without creative efforts, can also basis These attached drawings obtain other attached drawings.In the accompanying drawings:
Fig. 1 diagrammatically illustrate according to an exemplary embodiment of the present disclosure based on data processing the problem of answer method Flow chart;
Fig. 2 diagrammatically illustrates according to some exemplary embodiments of the disclosure answer party of the problem of based on data processing The knowledge mapping exemplary diagram of method;
Fig. 3 diagrammatically illustrates according to the another exemplary embodiment of the disclosure answer party of the problem of based on data processing The knowledge mapping exemplary diagram of method;
Fig. 4 diagrammatically illustrates according to some illustrative embodiments of the disclosure response of the problem of based on data processing The block diagram of device;
Fig. 5 diagrammatically illustrates the block diagram of the entity screening module of some illustrative embodiments according to the disclosure;
Fig. 6 diagrammatically illustrates the block diagram of the answer determining module of some illustrative embodiments according to the disclosure;
Fig. 7 diagrammatically illustrates the block diagram that answer according to the first exemplary embodiment of the disclosure determines submodule;
Fig. 8 diagrammatically illustrates the block diagram that submodule is determined according to the answer of the second exemplary embodiment of the disclosure;
Fig. 9 diagrammatically illustrates the box of the second answer determination unit according to the first exemplary embodiment of the disclosure Figure;
Figure 10 diagrammatically illustrates the box of the second answer determination unit of the second exemplary embodiment according to the disclosure Figure;
Figure 11 diagrammatically illustrates the block diagram of the electronic equipment according to one exemplary embodiment of the disclosure;And
Figure 12 diagrammatically illustrates the schematic diagram of the computer readable storage medium according to one exemplary embodiment of the disclosure.
Specific embodiment
Example embodiment is described more fully with reference to the drawings.However, example embodiment can be real in a variety of forms It applies, and is not understood as limited to embodiment set forth herein;On the contrary, thesing embodiments are provided so that the disclosure will be comprehensively and complete It is whole, and the design of example embodiment is comprehensively communicated to those skilled in the art.Identical appended drawing reference indicates in figure Same or similar part, thus repetition thereof will be omitted.
In addition, described feature, structure or characteristic can be incorporated in one or more implementations in any suitable manner In example.In the following description, many details are provided to provide and fully understand to embodiment of the disclosure.However, It will be appreciated by persons skilled in the art that can be with technical solution of the disclosure without one in the specific detail or more It is more, or can be using other methods, constituent element, device, step etc..In other cases, known in being not shown in detail or describing Structure, method, apparatus, realization, material or operation are to avoid fuzzy all aspects of this disclosure.
Block diagram shown in the drawings is only functional entity, not necessarily must be corresponding with physically separate entity. I.e., it is possible to realize these functional entitys using software form, or these are realized in the module of one or more softwares hardening A part of functional entity or functional entity, or realized in heterogeneous networks and/or processor device and/or microcontroller device These functional entitys.
A certain entity is generally comprised in the problem of user proposes, but in knowledge mapping, had with the entity in customer problem There is the entity of same names that may have multiple, therefore, in the question answering system of knowledge mapping, is managed only by the semanteme in problem Which specific entity what solution would become hard to that clear user thinks inquiry actually is, is disappeared at this time, it may be necessary to which additional information carries out entity Qi, to determine the answer of target problem.
Based on this, in this exemplary embodiment, provide firstly it is a kind of based on data processing the problem of answer method, can be with It uses a server to realize the problem of use of the disclosure is based on data processing answer method, can use terminal device also to realize Method described in the disclosure, wherein the terminal device can be for example the various electronic equipments such as mobile phone, computer, PDA.With reference to Fig. 1, being somebody's turn to do the problem of being based on data processing answer method may comprise steps of:
S110. matching condition corresponding with first instance in the first instance and target problem of target problem is determined.
In some illustrative embodiments of the disclosure, target problem can be problem input by user, and target is asked The first instance of topic can be the entity that includes in target problem, and matching condition corresponding with first instance can be in target problem It is the corresponding relationship of first instance and other entities or a certain attribute of first instance.For example, target problem can be " vertical What general appropriate indication is? ", then the first instance of target problem is " Lipitor ", matching condition corresponding with first instance Can be " indication ".
S120. it is filtered out from knowledge mapping and the matched second instance of first instance.
In some illustrative embodiments of the disclosure, knowledge mapping is recorded wherein included by way of triple Relationship between entity and entity, knowledge mapping can using (entity 1, relationship, entity 2) mode record two entities it Between relationship, a certain attribute of the entity can also be recorded using the mode of (entity, attribute, attribute value).With first instance The second instance matched can be entity identical with first instance title, and these entities may have different meanings.Citing For, as target problem can for " what the occupation of Li Na is? ", then the first instance of target problem is " Li Na ", in knowledge There may be multiple " Li Na " in map, but the meaning of each " Li Na " may be not identical, if entity " Li Na " can be net Ball sportsman Li Na, or student Li Na, or office worker Li Na.
According to some exemplary embodiments of the disclosure, the synonym of first instance is obtained;By in knowledge mapping with first The entity that the synonym of entity or first instance matches is determined as second instance.Target problem is that " indication of Lipitor is What? ", first instance is " Lipitor ", and after determining first instance, the second instance in knowledge mapping can be and first instance Title is identical with similar entity.For example, first instance be " Lipitor ", then second instance can for " Lipitor ", " atorvastatin " etc., with reference to Fig. 2, second instance can be entity 210, entity 220, entity 230.In knowledge mapping The second instance to match with first instance is filtered out, next step operation can be carried out based on these second instances, convenient for subsequent The determination of target problem answer.
S130. one or more elements corresponding with second instance in knowledge mapping are determined.
In some illustrative embodiments of the disclosure, one or more elements corresponding with second instance can for There are all elements of connection relationship with second instance, these elements can be with second instance with certain pass in knowledge mapping Other entities of system or some attribute values for belonging to second instance.With reference to Fig. 2, determine that second instance is entity 210, entity 220, after entity 230, one or more elements corresponding with second instance can be 240~element of element 290.
S140. it is filtered out from one or more elements corresponding with second instance and meets matching condition with second instance Target component.
In some illustrative embodiments of the disclosure, the condition for including in matching condition, that is, target problem, with second The element that entity meets matching condition is target component, and target component equally can be entity or a certain entity attributes value.It lifts For example, with reference to Fig. 2, the condition in target problem is " indication ", then target component can be element 240;If target is asked Entitled " specification of Lipitor? ", then target component can be element 250, the element 260, element 270 in Fig. 2.
S150. the answer of target problem is determined based on target component.
In some illustrative embodiments of the disclosure, result that the answer of target problem finally obtains.Due to true The target component made may have one or more, and therefore, it is necessary to determine target problem according to the particular number of target component Answer.
According to some exemplary embodiments of the disclosure, the quantity of target component can be first determined, if target component number Amount is one, then target component is the answer of target problem.With reference to Fig. 2, for example, if target problem is " Lipitor What indication is? ", it is determined that the target component gone out is element 240, at this point, the quantity of target component is one, then by the mesh Mark element is determined as the answer of target problem, i.e. the answer of target problem is " hypercholesterolemia, coronary heart disease ".
If target component quantity be it is multiple, according to the corresponding relationship of target component and second instance to target component into Row is grouped, and the answer of target problem is determined based on element quantity in the grouping of each target component.For example, user inputs target Problem is " which price has in 300 yuan~400 yuan of women's shoes? ", with reference to Fig. 3, first instance is women's shoes, in knowledge mapping Two entities can indicate a variety of different women's shoes, the quantity of target component be it is multiple, target component and second instance can be based on Corresponding relationship target component is classified.For example, each " women's shoes " entity may include price, style, type, fit and wear season Therefore a variety of different attributes such as section can be grouped it according to the attribute of each second instance, and based on every after grouping The quantity of group target component determines the answer of target problem.
According to the another exemplary embodiment of the disclosure, by the element in the maximum grouping of target component quantity determined Answer as target problem.With reference to Fig. 3, there are multiple second instances in knowledge mapping, i.e. " women's shoes " entity, can be based on this The brand of " women's shoes " entity classifies to these entities a bit, according to brand by " women's shoes " entity be divided into the 1st grouping, the 2nd grouping, 3rd grouping ..., n-th grouping after, count the quantity of element in each grouping, as the 2nd be grouped included in element quantity most Greatly, then the answer by the 2nd grouping as target problem, and shown to user.
It should be noted that term " first " used in the disclosure, " second " or " the 1st ", " the 2nd " etc., only It is not cope with the disclosure in order to distinguish the different entities or different element groupings in knowledge mapping and cause any restrictions.
Furthermore it is possible to receive the selection behaviour that user is more than the first element of the first preset quantity to quantity in the grouping of each element Make, the first element that user is selected is as the answer to target problem.First preset quantity can be one of preset configuration Specific value, the foundation as screening target component.It is more than the element of the first preset quantity by element quantity in the grouping of each element It screens and is shown as first element rear line, for example, it is 100 that the first preset quantity, which can be set, determines and produces Board 1 into brand n price be 300 yuan~400 yuan between target component after, by this n be grouped in target component quantity be more than 100 element is screened as the first element, and is shown to user;If user has selected " shoes in the women's shoes shown 121 ", then by the answer of " shoes 121 " target problem.
It is more than the grouping of the second preset quantity by quantity in the grouping of each element according to the another exemplary embodiment of the disclosure In element be determined as candidate element.Second preset quantity can be a preconfigured specific value, can also serve as The foundation for screening target component, for the entity in same problem, the specific value of the second preset quantity and the first preset quantity Specific value it is different.If preset second level quantity is " 50 ", the element that preset quantity in knowledge mapping is more than 50 is filtered out, And using these elements as candidate element.
Obtain the candidate matches condition of each candidate element and second instance;The first matching is determined in candidate matches condition Condition;User is received to the selection operation of the first candidate element, and problem is determined based on the first candidate element of user's selection Answer.Each candidate's element and the candidate matches condition of second instance can be the relationship of candidate element and second instance or the Some attribute of two entities, with reference to Fig. 3, matching condition can be entity attributes, can include but is not limited to " price ", " wind Lattice ", " type ", " season " etc.;First matching condition keeps the first candidate element of the associated second instance of each candidate element endless It is exactly the same, i.e., women's shoes style can include but is not limited to " to move ", " leisure ", " sweet " etc., by " style " as the first matching When condition, since the type of each " women's shoes " entity is not fully identical, the first candidate element is not exactly the same.It determines Some options that can choose can be provided a user after first candidate element and shown to user, such as user based on displaying the One candidate element selection has the women's shoes of " high side " attribute, then is 300 yuan~400 yuan using price and is the women's shoes of high side as really The option of the answer for the problem that sets the goal.
In some illustrative embodiments of the disclosure, if the first candidate element of user's selection only one, The first of user's selection candidate element is determined as to the answer of problem.For example, if user selects " high side " this attribute When, under the attribute corresponding " women's shoes " entity only one, then this entity selected user is as the answer of target problem.
In the another exemplary embodiment of the disclosure, if user selection the first candidate to be known as it is multiple, The second matching condition is determined in candidate matches condition;User is received to the selection operation of the second candidate element, and is selected based on user The candidate element of second selected determines the answer of problem.Second matching condition can with entity attributes or entity and another entity it Between relationship, the second matching condition should be different from the first matching condition.For example, if user selects " high side " this category Property when, corresponding " women's shoes " entity has multiple under the attribute, can continue to determine the second matching condition, as screening element according to According to such as can choose " season " as the second matching condition, the second matching condition keeps each first candidate element associated second real The candidate element of the second of body is not exactly the same.Since the price of each " women's shoes " entity is not exactly the same, it is thereby possible to select " season " is used as the second matching condition, and determines the second candidate element with this.
If it is determined that the second candidate element quantity be one, then using candidate's element as the answer of target problem, If the quantity of the second candidate element be it is multiple, receive user to the selection operation of the second candidate element, by user's selection Answer of the second candidate element as target problem.After determining the second candidate element using " season " as the second matching condition, If the second candidate element only one, using the element as the answer of target problem.If the second candidate to be known as it is multiple, It can then show that multiple candidate elements are selected for user to user, the element that user is selected is as the answer of target problem.
In conclusion should be based on data processing the problem of answer method, firstly, determine target problem first instance and Matching condition corresponding with first instance in target problem;Secondly, being filtered out from knowledge mapping and first instance matched Two entities, and determine one or more elements corresponding with second instance in knowledge mapping;Again, from corresponding with second instance The target component for meeting matching condition with second instance is filtered out in one or more elements, and target is determined based on target component The answer of problem.On the one hand, by this be based on data processing the problem of answer method, can filter out in knowledge mapping with target The entity that entity in problem matches, and target problem is determined in the interactive operation of selection for combining user or other means Answer;On the other hand, the problem of being based on data processing by this answer method can be made from all entities for meeting matching condition For the candidate of target problem answer, to ensure the comprehensive of answer.
In addition, additionally providing a kind of the problem of being based on data processing response dress in the illustrative embodiments of the disclosure It sets.With reference to Fig. 4, being somebody's turn to do the problem of being based on data processing answering device 400 may include target problem determining module 410, entity sieve Modeling block 420, element determining module 430, target component screening module 440, answer determining module 450.
Specifically, target problem determining module 410 is determined for the first instance and target problem of target problem In matching condition corresponding with first instance;Entity screening module 420 can be used for filtering out from knowledge mapping with first in fact The matched second instance of body;Element determining module 430 be determined in knowledge mapping one corresponding with second instance or Multiple elements;Target component screening module 440 can be used for from one or more elements corresponding with second instance filtering out Meet the target component of matching condition with second instance;Answer determining module 450 can be used for determining target based on target component The answer of problem.
The problem of this is based on data processing answering device 400 can satisfy the friendship based on entity and user in target problem Interoperability realizes that entity disappears qi, the element for being best suitable for target problem semanteme is filtered out from knowledge mapping as target problem Answer is a kind of effective the problem of being based on data processing answering device.
According to some exemplary embodiments of the disclosure, with reference to Fig. 5, entity screening module 420 may include entity screening Unit 510.
Specifically, entity screening unit 510 can be used for obtaining the synonym of first instance;By in knowledge mapping with first The entity that the synonym of entity or first instance matches is determined as second instance.
Entity screening unit 510 can be filtered out and the same or similar reality of entity in target problem with knowledge based map Body.
According to the another exemplary embodiment of the disclosure, with reference to Fig. 6, answer determining module 450 includes that answer determines submodule Block 610.
Specifically, answer determines that submodule 610 is determined for the quantity of target component;If target component quantity is One, then target component is the answer of target problem;If target component quantity be it is multiple, it is real according to target component and second The corresponding relationship of body is grouped target component, and determines answering for target problem based on element quantity in the grouping of each target component Case.
Answer determines that submodule 610 can determine how answering for screening target problem according to the different number of target component Case.
According to some exemplary embodiments of the disclosure, with reference to Fig. 7, answer determines that submodule 610 may include first answering Case determination unit 710.
Specifically, in the maximum grouping of target component quantity that the first answer determination unit 710 can be used for determine Answer of the element as target problem;Or receiving user is more than the first of the first preset quantity to want to quantity in the grouping of each element The selection operation of element, the first element that user is selected is as the answer to target problem.
First answer determination unit 710 can want prime number in selection grouping in the case where target component quantity is multiple Answer of the maximum element as target problem is measured, or filters out the element for meeting preset quantity, is determined in conjunction with user's operation The answer of target problem.
According to the another exemplary embodiment of the disclosure, with reference to Fig. 8, answer determines that submodule 810 is determined compared to answer Submodule 610 can also include the second answer determination unit 820 in addition to including the first answer determination unit 710.
Specifically, the second answer determination unit 820 can be used for quantity in the grouping of each element being more than the second preset quantity Grouping in element be determined as candidate element;Obtain the candidate matches condition of each candidate element and second instance;In candidate The first matching condition is determined in matching condition;User is received to the selection operation of the first candidate element, and based on user's selection First candidate element determines the answer of problem.
Second answer determination unit 820 can determine target problem based on user's operation after filtering out candidate element Answer.
According to some exemplary embodiments of the disclosure, with reference to Fig. 9, the second answer determination unit 820 may include answer Determine subelement 910.
If specifically, answer determine subelement 910 can be used for user's selection the first candidate element only one, The first of user's selection candidate element is determined as to the answer of problem.
According to some exemplary embodiments of the disclosure, with reference to Figure 10, the second answer determination unit 1010 is compared to second Answer determination unit 820 can also include that interaction determines answer subelement 1020 except including in addition to answer determines subelement 910.
If specifically, interaction determine answer subelement 1020 can be used for user selection the first candidate to be known as it is more It is a, then the second matching condition is determined in candidate matches condition;User is received to the selection operation of the second candidate element, and is based on The candidate element of the second of user's selection determines the answer of problem.
Interaction determines that answer subelement 1020 can determine target problem in conjunction with the selection operation of user based on candidate element Answer.
Among the above it is each virtually based on data processing the problem of answering device module detail be based on corresponding It is described in detail in the problem of data processing answer method, therefore details are not described herein again.
It should be noted that although being referred to several moulds of answering device the problem of based on data processing in the above detailed description Block or unit, but this division is not enforceable.In fact, according to embodiment of the present disclosure, above-described two A or more module or the feature and function of unit can embody in a module or unit.Conversely, above description A module or unit feature and function can with further division be embodied by multiple modules or unit.
In addition, in an exemplary embodiment of the disclosure, additionally providing a kind of electronic equipment that can be realized the above method.
Person of ordinary skill in the field it is understood that various aspects of the invention can be implemented as system, method or Program product.Therefore, various aspects of the invention can be embodied in the following forms, it may be assumed that complete hardware embodiment, completely Software implementation (including firmware, microcode etc.) or hardware and software in terms of combine embodiment, may be collectively referred to as here Circuit, " module " or " system ".
The electronic equipment 1100 of this embodiment according to the present invention is described referring to Figure 11.The electronics that Figure 11 is shown Equipment 1100 is only an example, should not function to the embodiment of the present invention and use scope bring any restrictions.
As shown in figure 11, electronic equipment 1100 is showed in the form of universal computing device.The component of electronic equipment 1100 can To include but is not limited to: at least one above-mentioned processing unit 1110, connects not homologous ray at least one above-mentioned storage unit 1120 The bus 1130 of component (including storage unit 1120 and processing unit 1110), display unit 1140.
Wherein, the storage unit is stored with program code, and said program code can be held by the processing unit 1110 Row, so that various according to the present invention described in the execution of the processing unit 1110 above-mentioned " illustrative methods " part of this specification The step of exemplary embodiment.
Storage unit 1120 may include the readable medium of volatile memory cell form, such as Random Access Storage Unit (RAM) 1121 and/or cache memory unit 1122, it can further include read-only memory unit (ROM) 1123.
Storage unit 1120 can also include program/utility with one group of (at least one) program module 1125 1124, such program module 1125 includes but is not limited to: operating system, one or more application program, other program moulds It may include the realization of network environment in block and program data, each of these examples or certain combination.
Bus 1130 can be to indicate one of a few class bus structures or a variety of, including storage unit bus or storage Cell controller, peripheral bus, graphics acceleration port, processing unit use any bus structures in a variety of bus structures Local bus.
Electronic equipment 1100 can also be with one or more external equipments 1170 (such as keyboard, sensing equipment, bluetooth equipment Deng) communication, can also be enabled a user to one or more equipment interact with the electronic equipment 1100 communicate, and/or with make The electronic equipment 1100 can with it is one or more of the other calculating equipment be communicated any equipment (such as router, modulation Demodulator etc.) communication.This communication can be carried out by input/output (I/O) interface 1150.Also, electronic equipment 1100 Network adapter 1160 and one or more network (such as local area network (LAN), wide area network (WAN) and/or public affairs can also be passed through Common network network, such as internet) communication.As shown, network adapter 1160 passes through its of bus 1130 and electronic equipment 1100 The communication of its module.It should be understood that although not shown in the drawings, other hardware and/or software can be used in conjunction with electronic equipment 1100 Module, including but not limited to: microcode, device driver, redundant processing unit, external disk drive array, RAID system, magnetic Tape drive and data backup storage system etc..
By the description of above embodiment, those skilled in the art is it can be readily appreciated that example embodiment described herein It can also be realized in such a way that software is in conjunction with necessary hardware by software realization.Therefore, implemented according to the disclosure The technical solution of example can be embodied in the form of software products, which can store in a non-volatile memories In medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) or on network, including some instructions are so that a calculating equipment (can To be personal computer, server, terminal installation or network equipment etc.) it executes according to the method for the embodiment of the present disclosure.
In an exemplary embodiment of the disclosure, a kind of computer readable storage medium is additionally provided, energy is stored thereon with Enough realize the program product of this specification above method.In some possible embodiments, various aspects of the invention can be with It is embodied as a kind of form of program product comprising program code, it is described when described program product is run on the terminal device Program code is for executing the terminal device described in above-mentioned " illustrative methods " part of this specification according to the present invention The step of various exemplary embodiments.
With reference to shown in Figure 12, the program product for realizing the above method of embodiment according to the present invention is described 1200, can using portable compact disc read only memory (CD-ROM) and including program code, and can in terminal device, Such as it is run on PC.However, program product of the invention is without being limited thereto, in this document, readable storage medium storing program for executing can be with To be any include or the tangible medium of storage program, the program can be commanded execution system, device or device use or It is in connection.
Described program product can be using any combination of one or more readable mediums.Readable medium can be readable letter Number medium or readable storage medium storing program for executing.Readable storage medium storing program for executing for example can be but be not limited to electricity, magnetic, optical, electromagnetic, infrared ray or System, device or the device of semiconductor, or any above combination.The more specific example of readable storage medium storing program for executing is (non exhaustive List) include: electrical connection with one or more conducting wires, portable disc, hard disk, random access memory (RAM), read-only Memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read only memory (CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, In carry readable program code.The data-signal of this propagation can take various forms, including but not limited to electromagnetic signal, Optical signal or above-mentioned any appropriate combination.Readable signal medium can also be any readable Jie other than readable storage medium storing program for executing Matter, the readable medium can send, propagate or transmit for by instruction execution system, device or device use or and its The program of combined use.
The program code for including on readable medium can transmit with any suitable medium, including but not limited to wirelessly, have Line, optical cable, RF etc. or above-mentioned any appropriate combination.
The program for executing operation of the present invention can be write with any combination of one or more programming languages Code, described program design language include object oriented program language-Java, C++ etc., further include conventional Procedural programming language-such as " C " language or similar programming language.Program code can be fully in user It calculates and executes in equipment, partly executes on a user device, being executed as an independent software package, partially in user's calculating Upper side point is executed on a remote computing or is executed in remote computing device or server completely.It is being related to far Journey calculates in the situation of equipment, and remote computing device can pass through the network of any kind, including local area network (LAN) or wide area network (WAN), it is connected to user calculating equipment, or, it may be connected to external computing device (such as utilize ISP To be connected by internet).
In addition, above-mentioned attached drawing is only the schematic theory of processing included by method according to an exemplary embodiment of the present invention It is bright, rather than limit purpose.It can be readily appreciated that the time that above-mentioned processing shown in the drawings did not indicated or limited these processing is suitable Sequence.In addition, be also easy to understand, these processing, which can be, for example either synchronously or asynchronously to be executed in multiple modules.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure His embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Adaptive change follow the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure or Conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by claim It points out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the attached claims.

Claims (10)

1. one kind is based on the problem of data processing answer method characterized by comprising
Determine matching condition corresponding with the first instance in the first instance and target problem of target problem;
It is filtered out from knowledge mapping and the matched second instance of the first instance;
Determine one or more elements corresponding with the second instance in the knowledge mapping;
It is filtered out from one or more elements corresponding with the second instance and meets the matching condition with second instance Target component;
The answer of the target problem is determined based on the target component.
2. the problem of being based on data processing answer method according to claim 1, which is characterized in that sieved from knowledge mapping It selects and includes: with the matched second instance of the first instance
Obtain the synonym of the first instance;
It is real that the entity to match in the knowledge mapping with the synonym of the first instance or first instance is determined as second Body.
3. the problem of being based on data processing answer method according to claim 1, which is characterized in that wanted based on the target Element determines that the answer of the target problem includes:
Determine the quantity of the target component;
If target component quantity is one, the target component is the answer of the target problem;
If target component quantity be it is multiple, according to the corresponding relationship of the target component and the second instance to the mesh Mark element is grouped, and the answer of the target problem is determined based on element quantity in the grouping of each target component.
4. the problem of being based on data processing answer method according to claim 3, which is characterized in that be based on each target component Target component quantity determines that the answer of the target problem includes: in grouping
Using the element in the maximum grouping of target component quantity determined as the answer of the target problem;Or
The selection operation that user is more than the first element of the first preset quantity to quantity in the grouping of each element is received, user is selected The first element as the answer to the target problem.
5. the problem of being based on data processing answer method according to claim 3, which is characterized in that be based on each target component Element quantity determines the answer of the target problem in grouping further include:
It is more than that the element in the grouping of the second preset quantity is determined as candidate element by quantity in the grouping of each element;
Obtain the candidate matches condition of each candidate element and the second instance;
The first matching condition is determined in the candidate matches condition;Wherein, first matching condition wants each candidate The candidate element of the first of the associated second instance of element is not exactly the same;
User is received to the selection operation of the described first candidate element, and described in determining based on the first candidate element of user's selection The answer of problem.
6. the problem of being based on data processing answer method according to claim 5, which is characterized in that based on user's selection First candidate element determines that the answer of described problem includes:
If the first candidate element of user's selection only one, the first of user's selection the candidate element is determined as described ask The answer of topic.
7. the problem of being based on data processing answer method according to claim 5, which is characterized in that based on user's selection First candidate element determines the answer of described problem further include:
If the first candidate of user's selection will be known as multiple, determining second matching condition in the candidate matches condition; Wherein, second matching condition makes the second incomplete phase of candidate element of the associated second instance of each described first candidate element Together;
User is received to the selection operation of the described second candidate element, and described in determining based on the second candidate element of user's selection The answer of problem.
8. one kind is based on the problem of data processing answering device characterized by comprising
Target problem determining module, in the first instance and target problem for determining target problem with the first instance pair The matching condition answered;
Entity screening module, for being filtered out from knowledge mapping and the matched second instance of the first instance;
Element determining module, for determining one or more elements corresponding with the second instance in the knowledge mapping;
Target component screening module, for being filtered out from one or more elements corresponding with the second instance with second in fact Body meets the target component of the matching condition;
Answer determining module, for determining the answer of the target problem based on the target component.
9. a kind of electronic equipment characterized by comprising
Processor;And
Memory is stored with computer-readable instruction on the memory, and the computer-readable instruction is held by the processor The problem of being based on data processing answer method according to any one of claim 1 to 7 is realized when row.
10. a kind of computer readable storage medium, is stored thereon with computer program, the computer program is executed by processor Shi Shixian the problem of being based on data processing answer method according to any one of claim 1 to 7.
CN201811518823.8A 2018-12-12 2018-12-12 Question answering method and device, electronic equipment and storage medium Active CN109800291B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811518823.8A CN109800291B (en) 2018-12-12 2018-12-12 Question answering method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811518823.8A CN109800291B (en) 2018-12-12 2018-12-12 Question answering method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109800291A true CN109800291A (en) 2019-05-24
CN109800291B CN109800291B (en) 2024-03-15

Family

ID=66556686

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811518823.8A Active CN109800291B (en) 2018-12-12 2018-12-12 Question answering method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109800291B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110909159A (en) * 2019-09-29 2020-03-24 珠海格力电器股份有限公司 User intention identification method, device, terminal and storage medium
CN110991183A (en) * 2019-12-06 2020-04-10 北京百度网讯科技有限公司 Method, device, equipment and storage medium for determining predicate of problem
CN111147375A (en) * 2019-12-31 2020-05-12 秒针信息技术有限公司 Network operation method, device, computer equipment and medium
CN111552880A (en) * 2020-04-30 2020-08-18 杭州网易再顾科技有限公司 Data processing method, device and medium based on knowledge graph and electronic equipment
CN111930916A (en) * 2020-09-18 2020-11-13 北京百度网讯科技有限公司 Dialog generation method and device, electronic equipment and storage medium
CN111930913A (en) * 2020-08-14 2020-11-13 上海茂声智能科技有限公司 Knowledge graph-based question and answer method, system, device, equipment and medium
CN114327731A (en) * 2021-12-31 2022-04-12 北京字跳网络技术有限公司 Information display method, device, equipment and medium
US20220322284A1 (en) * 2021-03-31 2022-10-06 Qualcomm Incorporated Ue grouping scheme for enhanced paging reception

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104598556A (en) * 2015-01-04 2015-05-06 百度在线网络技术(北京)有限公司 Search method and search device
US20160170989A1 (en) * 2014-12-10 2016-06-16 International Business Machines Corporation Identification and Evaluation of Lexical Answer Type Conditions in a Question to Generate Correct Answers
US20160378851A1 (en) * 2015-06-25 2016-12-29 International Business Machines Corporation Knowledge Canvassing Using a Knowledge Graph and a Question and Answer System
CN106919655A (en) * 2017-01-24 2017-07-04 网易(杭州)网络有限公司 A kind of answer provides method and apparatus
CN108804521A (en) * 2018-04-27 2018-11-13 南京柯基数据科技有限公司 A kind of answering method and agricultural encyclopaedia question answering system of knowledge based collection of illustrative plates
CN108932323A (en) * 2018-06-29 2018-12-04 北京百度网讯科技有限公司 Determination method, apparatus, server and the storage medium of entity answer

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160170989A1 (en) * 2014-12-10 2016-06-16 International Business Machines Corporation Identification and Evaluation of Lexical Answer Type Conditions in a Question to Generate Correct Answers
CN104598556A (en) * 2015-01-04 2015-05-06 百度在线网络技术(北京)有限公司 Search method and search device
US20160378851A1 (en) * 2015-06-25 2016-12-29 International Business Machines Corporation Knowledge Canvassing Using a Knowledge Graph and a Question and Answer System
CN106919655A (en) * 2017-01-24 2017-07-04 网易(杭州)网络有限公司 A kind of answer provides method and apparatus
CN108804521A (en) * 2018-04-27 2018-11-13 南京柯基数据科技有限公司 A kind of answering method and agricultural encyclopaedia question answering system of knowledge based collection of illustrative plates
CN108932323A (en) * 2018-06-29 2018-12-04 北京百度网讯科技有限公司 Determination method, apparatus, server and the storage medium of entity answer

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110909159A (en) * 2019-09-29 2020-03-24 珠海格力电器股份有限公司 User intention identification method, device, terminal and storage medium
CN110909159B (en) * 2019-09-29 2022-09-16 珠海格力电器股份有限公司 User intention identification method, device, terminal and storage medium
CN110991183A (en) * 2019-12-06 2020-04-10 北京百度网讯科技有限公司 Method, device, equipment and storage medium for determining predicate of problem
CN110991183B (en) * 2019-12-06 2023-07-04 北京百度网讯科技有限公司 Predicate determination method, predicate determination device, predicate determination equipment and predicate determination storage medium
CN111147375A (en) * 2019-12-31 2020-05-12 秒针信息技术有限公司 Network operation method, device, computer equipment and medium
CN111552880A (en) * 2020-04-30 2020-08-18 杭州网易再顾科技有限公司 Data processing method, device and medium based on knowledge graph and electronic equipment
CN111552880B (en) * 2020-04-30 2023-06-30 杭州网易再顾科技有限公司 Knowledge graph-based data processing method and device, medium and electronic equipment
CN111930913A (en) * 2020-08-14 2020-11-13 上海茂声智能科技有限公司 Knowledge graph-based question and answer method, system, device, equipment and medium
CN111930916A (en) * 2020-09-18 2020-11-13 北京百度网讯科技有限公司 Dialog generation method and device, electronic equipment and storage medium
US20220322284A1 (en) * 2021-03-31 2022-10-06 Qualcomm Incorporated Ue grouping scheme for enhanced paging reception
CN114327731A (en) * 2021-12-31 2022-04-12 北京字跳网络技术有限公司 Information display method, device, equipment and medium
CN114327731B (en) * 2021-12-31 2023-11-14 北京字跳网络技术有限公司 Information display method, device, equipment and medium

Also Published As

Publication number Publication date
CN109800291B (en) 2024-03-15

Similar Documents

Publication Publication Date Title
CN109800291A (en) Question response method and device, electronic equipment and storage medium
US10991248B2 (en) Parking identification and availability prediction
CN107800888B (en) Information display method and device
CN105518660A (en) Three dimensional conditional formatting
CN109831532A (en) Data sharing method, device, equipment and medium
CN110444133A (en) A kind of method and apparatus of tourist attraction intelligent guide
CN110378410A (en) Multi-tag scene classification method, device and electronic equipment
CN109408583A (en) Data processing method and device, computer readable storage medium, electronic equipment
US20110106636A1 (en) Method and system for managing online presence
CN107908641A (en) A kind of method and system for obtaining picture labeled data
US10289537B2 (en) Smart advisory for distributed and composite testing teams based on production data and analytics
CN110515986A (en) A kind of processing method of social network diagram, device and storage medium
CN110162359A (en) Method for pushing, the apparatus and system of new hand's guidance information
CN109598404A (en) Automatically to the method and apparatus for issuing the progress data processing of sales task list
CN108197203A (en) A kind of shop front head figure selection method, device, server and storage medium
WO2017119006A1 (en) Method and virtual data agent system for providing data insights with artificial intelligence
CN108268936A (en) For storing the method and apparatus of convolutional neural networks
CN110069997A (en) Scene classification method, device and electronic equipment
CN109508450A (en) The operating method of table, device, storage medium and electronic equipment in online document
CN109299250A (en) Methods of exhibiting, device, storage medium and the electronic equipment of answer
KR20210146182A (en) Commercial area analysis automation system based on web-map information algorithm
CN107085599A (en) POI recommends method, device, equipment and computer-readable recording medium
CN115935089A (en) RPA technology-based boarding point recommendation optimization method and system
CN110348581A (en) User characteristics optimization method, device, medium and electronic equipment in user characteristics group
CN109615162A (en) User grouping processing method and processing device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant