CN105930374B - Based on emotional robot dialogue method, system and the robot fed back recently - Google Patents

Based on emotional robot dialogue method, system and the robot fed back recently Download PDF

Info

Publication number
CN105930374B
CN105930374B CN201610228424.2A CN201610228424A CN105930374B CN 105930374 B CN105930374 B CN 105930374B CN 201610228424 A CN201610228424 A CN 201610228424A CN 105930374 B CN105930374 B CN 105930374B
Authority
CN
China
Prior art keywords
answer
user
feedback
prejudgementing character
character problem
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.)
Active
Application number
CN201610228424.2A
Other languages
Chinese (zh)
Other versions
CN105930374A (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.)
South China Normal University
Original Assignee
South China Normal University
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 South China Normal University filed Critical South China Normal University
Priority to CN201610228424.2A priority Critical patent/CN105930374B/en
Publication of CN105930374A publication Critical patent/CN105930374A/en
Application granted granted Critical
Publication of CN105930374B publication Critical patent/CN105930374B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/335Filtering based on additional data, e.g. user or group profiles
    • G06F16/337Profile generation, learning or modification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • G06F16/9032Query formulation
    • G06F16/90332Natural language query formulation or dialogue systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Artificial Intelligence (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Electrically Operated Instructional Devices (AREA)

Abstract

The present invention relates to a kind of robot dialogue method, system and robots, this method comprises: receiving the prejudgementing character problem of user;The feedback that answer of the user to prejudgementing character problem whether is stored in feedback knowledge base searched;If so, obtaining answer and the output to prejudgementing character problem according to feedback of user's the last time to the answer of prejudgementing character problem.Robot dialogue method of the invention, prejudgementing character problem is answered according to feedback of user's the last time to the answer of prejudgementing character problem, since the last feedback is nearest from present time, it can most reflect user to the hobby of the prejudgementing character problem, therefore, the answer of user preferences is provided by feedback of the user's the last time to the answer of prejudgementing character problem, can come into operation family inclination, so that robot is more reasonable for the judgement question answering, user is improved to the satisfaction of the answer of robot.

Description

Based on emotional robot dialogue method, system and the robot fed back recently
Technical field
The present invention relates to robotic technology fields, more particularly, to a kind of based on the emotional robot dialogue side fed back recently Method, system and robot.
Background technique
Emotional robot is exactly that methods and techniques manually assign computer or robot with the emotion of mankind's formula, is allowed to With the happy sad anger of expression, identification and understanding happiness, the ability of the emotion of imitation, extension and extension people, is the dream of many scientists, Compared with the high development of artificial intelligence technology, progress acquired by artificial emotion technology be it is very little, emotion is always Across a wide gap that can not more more between human brain and computer.In some time, emotional robot can only be in science fiction Important material, be seldom included in the research topic of scientists.
Robot with user when talking in the prior art, usually from offline or online corpus data library or chat Answer relevant to customer problem is searched out in database, for example, referring to Fig. 1, Fig. 1 is robot and user in the prior art The schematic diagram talked.
In the prior art, when party A-subscriber asks " Am I good looking? ", robot, can to this prejudgementing character question sentence To automatically generate two kinds of answers of yes and no, yes answer in interrogative sentence auto-changing subject and predicate position become into declarative sentence, In no answer interrogative sentence is converted into subject first and predicate position becomes declarative sentence, predicative is then become into antonym.Robot It can be from 2 kinds of possible answer " Sure, you are very good looking!Do you like me? ", " No, you are Ugly.Do you like me? " in select one kind at random." Sure, you are the very good if machine person's is looking!Do you like me? ", and the feedback of party A-subscriber is " yes!", then next party A-subscriber inquires again " Am I good Looking? " when, which still can be from 2 kinds of possible answer " Sure, you are very good looking!Do You like me? ", " No, you are ugly.Do you like me? " in select one kind at random.If machine person's is " No, you are ugly.Do you like me? ", and the feedback of party A-subscriber is " no!", then next party A-subscriber inquires again " Am I Good looking? " when, the robot is still from 2 kinds of possible answer " Sure, you are very good looking! Do you like me? ", " No, you are ugly.Do you like me? " in select one kind at random.Obviously, the prior art In robot be the problem of randomly finding from offline or online corpus data library or chat data library to user conjunction The answer of reason, but reasonable answer not necessarily allows user satisfied;Robot in the prior art, even if the same user asks into Hundred thousands of time same problems, robot or it is different surely provide customer satisfaction system answer, user is to the answer of robot Satisfaction has randomness.
Summary of the invention
Based on this, it is necessary to which the emotion of user can be predicted based on the nearest feedback of user to improve user by providing one kind Robot dialogue method, system and the robot of satisfaction.
A kind of robot dialogue method, comprising:
Receive the prejudgementing character problem of user;
The feedback that answer of the user to prejudgementing character problem whether is stored in feedback knowledge base searched;
If so, obtaining the answer to prejudgementing character problem according to feedback of user's the last time to the answer of prejudgementing character problem And it exports.
A kind of robot conversational system, comprising:
Receiving module, for receiving the prejudgementing character problem of user;
Searching module, for searching the feedback for whether being stored with answer of the user to prejudgementing character problem in feedback knowledge base;
Output module is when being, according to user's the last time to prejudgementing character problem for the lookup result in searching module The feedback of answer obtain answer to prejudgementing character problem and output;
Feed back knowledge base, for storing information, the prejudgementing character problem of user, robot to the answer of prejudgementing character problem and Feedback of the user to the answer of prejudgementing character problem
Robot dialogue method of the invention, according to user's the last time to the feedback of the answer of prejudgementing character problem to judgement Property problem answered, since the last feedback is nearest from present time, can most reflect user to the prejudgementing character problem Hobby, therefore, the answer of user preferences is provided by feedback of the user's the last time to the answer of prejudgementing character problem, can be thrown User's inclination so that robot is more reasonable for the judgement question answering, enable robot based on user most The nearly emotion fed back to predict user, improves user to the satisfaction of the answer of robot.
Detailed description of the invention
Fig. 1 is existing robot and the schematic diagram that user is talked;
Fig. 2 is a kind of flow chart of the robot dialogue method of embodiment;
Fig. 3 is the schematic diagram that the robot based on the last time feedback is talked with user;
Fig. 4 is a kind of the functional block diagram of the robot conversational system of embodiment.
Specific embodiment
As shown in Fig. 2, a kind of robot dialogue method, comprising:
S10: the prejudgementing character problem of user is received.
Prejudgementing character problem is only to need the problem of answering positive or negative, for example " I am beautiful? " certainly question and answer include The expression way of the expression way of "Yes" or " certain " or " Yes " or other affirmatives, other affirmatives is for example nodded;The question and answer of negative Expression way including "No" or " No " or other negatives, the expression way of other negatives are for example shaken the head.
S30: the feedback that answer of the user to prejudgementing character problem whether is stored in feedback knowledge base searched.
In a particular embodiment, user information is inputted by user and obtains user information, or pass through Image Acquisition Device acquires user's head portrait, and carries out recognition of face to user's head portrait, obtains user information, or know by modes such as fingerprint recognitions Other user simultaneously obtains user information.Search in feedback knowledge base whether be stored with the user to the prejudgementing character further according to user information The feedback of the answer of problem.The specific mode for obtaining user information can be configured according to the hardware device of robot.
The happiness that the user represents answer of the user to the prejudgementing character problem to the feedback of the answer of the prejudgementing character problem is disliked, The user to the feedback of the answer of the prejudgementing character problem include certainly, negative, do not feed back or other, feedback certainly includes answering It " to ", nods or other expression ways certainly, the feedback of negative includes answering " mistake ", shaking the head or expression side that other negate Formula, other expression ways certainly for example " thanks ", become glad, expression ways of other negatives for example " sheer nonsense ", become It obtains angry etc..
The feedback for being stored with answer of the user to the prejudgementing character problem needs to meet: user once asked the prejudgementing character problem, machine Device people provides answer to the prejudgementing character problem, and user provides the answer of the prejudgementing character problem feedback of positive or negative. If the user did not asked that the prejudgementing character problem or the user asked the prejudgementing character problem, robot to the prejudgementing character problem before Answer is provided, but the user does not provide the feedback of positive or negative to the answer of the prejudgementing character problem, then has this for not stored Feedback of the user to the answer of the prejudgementing character problem.
If so, thening follow the steps S50: being obtained according to feedback of user's the last time to the answer of prejudgementing character problem to judgement The answer and output of property problem.
Since the last feedback is nearest from current time, answer of the usual user's the last time to the prejudgementing character problem Feedback can react the user recently to the hobby of the problem, i.e., the last feedback is usually with the client when time to the problem Desired answer it is closest.
Answer output to user mode include be displayed on the display interface in a manner of text or in the way of video, or with The mode of voice or the mode of expression are shown.
The robot dialogue method, according to user's the last time to the feedback of the answer of prejudgementing character problem to prejudgementing character problem Answered, since the last feedback is nearest from present time, can most reflect user to the hobby of the prejudgementing character problem, because This provides the answer of user preferences by feedback of the user's the last time to the answer of prejudgementing character problem, and can come into operation family institute It is good, so that robot is more reasonable for the judgement question answering, enable robot based on the nearest feedback of user To predict the emotion of user, satisfaction of the raising user to the answer of robot.
In a particular embodiment, step S30 includes:
If the last answer to the prejudgementing character problem is fed back to hobby affirmative acknowledgement (ACK), determine to the prejudgementing character The answer of problem is affirmative acknowledgement (ACK).
If the last answer to the prejudgementing character problem is fed back to hobby negative acknowledge, it is determined that the judgement Property problem answer be negative acknowledge.
If the feedback for being fed back to not judge of the last answer to the prejudgementing character problem, sentences to described at random Qualitative question does positive or negative answer.
For the prejudgementing character problem, the situation of the user preferences affirmative acknowledgement (ACK), comprising: robot is for the prejudgementing character problem Affirmative acknowledgement (ACK) is provided, and the user provides and feeds back certainly;Robot provides negative acknowledge, and the user for the prejudgementing character problem Provide negative feedback.For example, in a question and answer, for user prejudgementing character problem " I am good-looking? ", robot, which is answered, is "Yes", user's is fed back to " thanks ", alternatively, in a problem, for prejudgementing character problem " I is male? ", robot Answering is "no", being fed back to of user " not to ".
For the prejudgementing character problem, the situation of the user preferences negative acknowledge, comprising: robot is for the prejudgementing character problem Affirmative acknowledgement (ACK) is provided, and the user provides negative feedback;Robot provides negative acknowledge, and the user for the prejudgementing character problem It provides and feeds back certainly.For example, in a question and answer, for user prejudgementing character problem " I seems always? ", robot Answering is "Yes", and user's is fed back to become angry;Alternatively, for prejudgementing character problem, " you do not like me in a question and answer ? ", the answer of robot is to shake the head, and user's is fed back to become glad.
Other feedbacks that can not be judged, which refer to, can not judge user's by facial expression, movement and the voice etc. to user Feedback tendency.
After step S50, further includes:
Step S70: user is obtained to the feedback of the answer of prejudgementing character problem and is saved into feedback knowledge base.
User to the feedback of the answer of prejudgementing character problem include certainly feedback, negative feedback, do not feed back and it is other can not The feedback of judgement.Other feedbacks that can not be judged refer to can not judge to use by facial expression, movement and the voice etc. to user The feedback at family is inclined to.The feedback for referring to and not receiving user within the set time is not fed back.
In another embodiment, if the feedback of step S30 the is not stored answer to the prejudgementing character problem that has the user, It thens follow the steps:
S40: positive or negative answer is carried out to prejudgementing character problem at random.
If the user did not asked that the prejudgementing character problem or the user asked the prejudgementing character problem but the user is not right before The answer of the prejudgementing character problem provides the feedback of positive or negative, then by the not stored answer for having the user to the prejudgementing character problem Feedback, then positive or negative answer, and return step S70 are carried out to prejudgementing character problem at random.
In a particular embodiment, obtain user includes: to the mode of the feedback of the answer of prejudgementing character problem
Obtain the feedback of answer to prejudgementing character problem of the user according to prompt input.
Specifically, the robot is provided with input unit, positive or negative is made to the prejudgementing character problem in robot and is returned After answering, robot inputs the feedback to the prejudgementing character problem by text or voice prompting user in input unit.
Facial expression or movement after obtaining the answer of user's acquisition judgement property problem, and sentenced according to facial expression and movement Feedback of the disconnected user to the answer of prejudgementing character problem.
Specifically, the robot is provided with image collecting device, the prejudgementing character problem is made in robot certainly or no After fixed answer, robot obtains the facial expression or dynamic after the positive or negative answer of the prejudgementing character problem by acquiring user Make, judge the feedback of answer of the user to prejudgementing character problem, the prejudgementing character problem is returned in expression for example, user nods or smiles The affirmative feedback answered, shakes the head or angry expression indicates the negative feedback of the answer to the prejudgementing character problem.
It obtains user to obtain to the voice after the answer of judgement property problem, and according to phonetic decision user to prejudgementing character problem Answer feedback.
Specifically, the robot is provided with voice acquisition device, the prejudgementing character problem is made in robot certainly or no After fixed answer, robot carries out knowledge table to voice to judge answer of the user to prejudgementing character problem by the voice of acquisition user Positive or negative feedback.For example, saying " to " or " thanks " table after the positive or negative that user obtains the prejudgementing character problem is answered The affirmative feedback for showing the answer to the prejudgementing character problem says " mistake " or " not to " expression to the feedback of the prejudgementing character problem.
In a particular embodiment, the settable input unit of robot, image collecting device and voice acquisition device lead to It crosses any one mode and obtains the positive or negative feedback of answer of the user to prejudgementing character problem, and save.
In a particular embodiment, the specific steps saved in step S70 include:
By the information of user, prejudgementing character problem, robot to the answer of prejudgementing character problem and user to prejudgementing character problem Answer feedback respectively deposit feedback knowledge base in user field, problem field, answer field, feedback fields, and with Family field and problem field are as critical field.
In the realization of specific technology, by the information of user, prejudgementing character problem, robot to the answer of prejudgementing character problem with And user, in the feedback deposit feedback knowledge base of the answer of prejudgementing character problem, feedback knowledge base includes user field, problem word Section answers field, feedback fields, using user and problem as critical field;Active user, current problem in each question and answer, Current answer, current feedback all deposit into feedback knowledge base;When in current question and answer active user, current problem, it is current answer, Active user, current problem in current feedback be already present on feedback knowledge base in, then by active user, current problem, when Preceding answer, current feedback update the row into feedback knowledge base where active user, current problem;When current in current question and answer User, current problem, current answer, the active user in current feedback, current problem are not present in feedback knowledge base, then will Active user, current problem, current answer, current feedback are inserted into feedback knowledge base as a line.
Correspondingly, step S30 searches whether that the step of being stored with the feedback of answer of the user to prejudgementing character problem includes:
In the feedback knowledge base according to the information of the user and the prejudgementing character trouble-shoots, judge whether to store institute State the information and the prejudgementing character problem corresponding with the information of the user of user;
If so, searching whether to be stored with the user couple corresponding with the information of the user and the prejudgementing character problem The feedback of the answer of the prejudgementing character problem.
Prejudgementing character problem is returned if finding and being stored with the user corresponding with the information of user and prejudgementing character problem The feedback answered then illustrates that the prejudgementing character problem was asked by the user in the past and the user has the answer to this problem to provide instead Feedback, and it is stored with the feedback of answer of the user to the prejudgementing character problem.
If the not stored information for having user and the prejudgementing character problem corresponding with the information of the user, illustrate this It was not asked by the user before prejudgementing character problem.
There is user corresponding with the information of user and prejudgementing character problem to the feedback of the answer of prejudgementing character problem if not stored, It then indicates to be asked before the prejudgementing character problem by the user, but the user does not provide feedback to the answer of this problem.
Specifically, judging whether to feed back to exist in knowledge base and be somebody's turn to do with the user, prejudgementing character problem retrieval feedback knowledge base It is fed back to positive or negative in user, the corresponding a line of prejudgementing character problem and the row, thus, judge whether the prejudgementing character problem It was asked in the past by the user and the user has the feedback for providing positive or negative to the answer of this problem.Or, with the user, being somebody's turn to do Prejudgementing character problem retrieval feedback knowledge base judges whether that there is no this user, the prejudgementing character problem are corresponding in feedback knowledge base A line or there are problems that be fed back to empty in the user, the corresponding a line of the prejudgementing character but the row or be to affirm also be not no It is fixed;It is certainly or no when there are problems that being fed back in this user, the corresponding a line of this prejudgementing character and the row in feedback knowledge base It is fixed, then take out this user, answer and feedback in the corresponding row of this prejudgementing character problem.Wherein, problem, answer, feedback It can be Chinese, be also possible to English or other language.
Now in conjunction with specific embodiment, the present invention is described in detail.
Referring to Fig. 3, Fig. 3 is the schematic diagram that understanding and considerate robot and user are talked in the embodiment of the present invention.
When party A-subscriber asks " Am I good looking? ", robot can automatically generate yes to this prejudgementing character question sentence With two kinds of answers of no, yes answer in interrogative sentence auto-changing subject and predicate position become into declarative sentence, no answer in by query Beginning of the sentence first converts subject and predicate position becomes declarative sentence, and predicative is then become antonym;Robot can from 2 kinds possible time Answer " Sure, you are very good looking!Do you like me? ", " No, you are ugly.Do you Like me? " in select one kind at random;" Sure, you are very the good looking if machine person's is!Do you Like me? ", and the feedback of party A-subscriber is " yes!", then next party A-subscriber inquires again " Am I good looking? " when, the machine Device people can also answer " Sure, you are very good looking!Do you like me?;If machine person's Be " No, you are ugly.Do you like me? ", and the feedback of party A-subscriber is " no!", then next party A-subscriber inquires again " Am I good looking? " when, which will change pervious answer, but answer " Sure, you are very good looking!Do you like me?;The feedback of user feeling is obtained by user answer yes and no in this example, The expression that can also identify user by the eyes (camera) of robot in actual products be it is glad or unhappy, from And to obtain user feeling feedback;Wherein, by " Do you like me? " the feedback of user is obtained, when user is to machine The answer of people is satisfied, will answer " Yes!", when user is dissatisfied to the answer of robot, " No will be answered!".As it can be seen that logical The feedback for crossing answer of the user the last time to prejudgementing character problem provides the answer of user preferences, and can come into operation family inclination, make Robot is more reasonable for the judgement question answering, robot is predicted based on nearest feed back of user The emotion of user improves user to the satisfaction of the answer of robot.
A kind of robot conversational system, as shown in Figure 4: including:
Receiving module 10, for receiving the prejudgementing character problem of user.
Prejudgementing character problem is only to need the problem of answering positive or negative, for example " I am beautiful? " certainly question and answer include The expression way of the expression way of "Yes" or " certain " or " Yes " or other affirmatives, other affirmatives is for example nodded;The question and answer of negative Expression way including "No" or " No " or other negatives, the expression way of other negatives are for example shaken the head.
Searching module 30 returns the prejudgementing character problem for whether being stored with the user in lookup feedback knowledge base The feedback answered.
In a particular embodiment, user information is inputted by user and obtains user information, or pass through Image Acquisition Device acquires user's head portrait, and carries out recognition of face to user's head portrait, obtains user information, or know by modes such as fingerprint recognitions Other user simultaneously obtains user information.Search in feedback knowledge base whether be stored with the user to the prejudgementing character further according to user information The feedback of the answer of problem.The specific mode for obtaining user information can be configured according to the hardware device of robot.
The happiness that the user represents answer of the user to the prejudgementing character problem to the feedback of the answer of the prejudgementing character problem is disliked, The user to the feedback of the answer of the prejudgementing character problem include certainly, negative, do not feed back or other, feedback certainly includes answering It " to ", nods or other expression ways certainly, the feedback of negative includes answering " mistake ", shaking the head or expression side that other negate Formula, other expression ways certainly for example " thanks ", become glad, expression ways of other negatives for example " sheer nonsense ", become It obtains angry etc..
The feedback for being stored with answer of the user to the prejudgementing character problem needs to meet: user once asked the prejudgementing character problem, machine Device people provides answer to the prejudgementing character problem, and user provides the answer of the prejudgementing character problem feedback of positive or negative. If the user did not asked that the prejudgementing character problem or the user asked the prejudgementing character problem, robot to the prejudgementing character problem before Answer is provided, but the user does not provide the feedback of positive or negative to the answer of the prejudgementing character problem, then has this for not stored Feedback of the user to the answer of the prejudgementing character problem.
Output module 50, it is right according to described user's the last time when being for the lookup result in the searching module The feedback of the answer of the prejudgementing character problem obtains answer and output to the prejudgementing character problem.
Since the last feedback is nearest from current time, answer of the usual user's the last time to the prejudgementing character problem Feedback can react the user recently to the hobby of the problem, i.e., the last feedback is usually with the client when time to the problem Desired answer it is closest.
Answer output to user mode include be displayed on the display interface in a manner of text or in the way of video, or with The mode of voice or the mode of expression are shown.
Knowledge base 70 is fed back, for storing information, the prejudgementing character problem of the user, to the prejudgementing character problem It answers and the user is to the feedback of the answer of the prejudgementing character problem.
The robot conversational system, according to user's the last time to the feedback of the answer of prejudgementing character problem to prejudgementing character problem Answered, since the last feedback is nearest from present time, can most reflect user to the hobby of the prejudgementing character problem, because This provides the answer of user preferences by feedback of the user's the last time to the answer of prejudgementing character problem, and can come into operation family institute It is good, so that robot is more reasonable for the judgement question answering, enable robot based on the nearest feedback of user To predict the emotion of user, satisfaction of the raising user to the answer of robot.
Output module 50, is specifically used for:
If the last answer to the prejudgementing character problem is fed back to hobby affirmative acknowledgement (ACK), it is determined that the judgement Property problem answer be affirmative acknowledgement (ACK);
If the last answer to the prejudgementing character problem is fed back to hobby negative acknowledge, it is determined that the judgement Property problem answer be negative acknowledge;
If the feedback for being fed back to not judge of the last answer to the prejudgementing character problem, sentences to described at random Qualitative question does positive or negative answer;
The system also includes: module is obtained, for obtaining the feedback of answer of the user to the prejudgementing character problem And it saves into the feedback knowledge base.
For the prejudgementing character problem, the situation of the user preferences affirmative acknowledgement (ACK), comprising: robot is for the prejudgementing character problem Affirmative acknowledgement (ACK) is provided, and the user provides and feeds back certainly;Robot provides negative acknowledge, and the user for the prejudgementing character problem Provide negative feedback.For example, in a question and answer, for user prejudgementing character problem " I am good-looking? ", robot, which is answered, is "Yes", user's is fed back to " thanks ", alternatively, in a problem, for prejudgementing character problem " I is male? ", robot Answering is "no", being fed back to of user " not to ".
For the prejudgementing character problem, the situation of the user preferences negative acknowledge, comprising: robot is for the prejudgementing character problem Affirmative acknowledgement (ACK) is provided, and the user provides negative feedback;Robot provides negative acknowledge, and the user for the prejudgementing character problem It provides and feeds back certainly.For example, in a question and answer, for user prejudgementing character problem " I seems always? ", robot Answering is "Yes", and user's is fed back to become angry;Alternatively, for prejudgementing character problem, " you do not like me in a question and answer ? ", the answer of robot is to shake the head, and user's is fed back to become glad.
Other feedbacks that can not be judged, which refer to, can not judge user's by facial expression, movement and the voice etc. to user Feedback tendency.
The system also includes:
Module is obtained, for obtaining the feedback of answer of the user to the prejudgementing character problem and saving to feedback knowledge In library.
User to the feedback of the answer of prejudgementing character problem include certainly feedback, negative feedback, do not feed back and it is other can not The feedback of judgement.Other feedbacks that can not be judged refer to can not judge to use by facial expression, movement and the voice etc. to user The feedback at family is inclined to.The feedback for referring to and not receiving user within the set time is not fed back.
In another embodiment,
The output module is also used at random ask the prejudgementing character when the lookup result of the searching module is no Topic carries out agreeing answer.
If the user did not asked that the prejudgementing character problem or the user asked the prejudgementing character problem but the user is not right before The answer of the prejudgementing character problem provides the feedback of positive or negative, then by the not stored answer for having the user to the prejudgementing character problem Feedback, then prejudgementing character problem is answered at random.
In a particular embodiment, module is obtained, is specifically used for:
Obtain the feedback of answer to the prejudgementing character problem of the user according to prompt input.
Specifically, the robot is provided with input unit, positive or negative is made to the prejudgementing character problem in robot and is returned After answering, robot inputs the feedback to the prejudgementing character problem by text or voice prompting user in input unit.
It obtains the user and obtains facial expression or movement and according to the face after the answer of the judgement property problem Expression and movement judge the feedback of answer of the user to the prejudgementing character problem.
Specifically, the robot is provided with image collecting device, the prejudgementing character problem is made in robot certainly or no After fixed answer, robot obtains the facial expression or dynamic after the positive or negative answer of the prejudgementing character problem by acquiring user Make, judge the feedback of answer of the user to prejudgementing character problem, the prejudgementing character problem is returned in expression for example, user nods or smiles The affirmative feedback answered, shakes the head or angry expression indicates the negative feedback of the answer to the prejudgementing character problem.
It obtains the user and obtains the voice after the answer to the judgement property problem and according to the phonetic decision Feedback of the user to the answer of the prejudgementing character problem.
Specifically, the robot is provided with voice acquisition device, the prejudgementing character problem is made in robot certainly or no After fixed answer, robot carries out knowledge table to voice to judge answer of the user to prejudgementing character problem by the voice of acquisition user Feedback.For example, saying that " to " or " thanks " indicates to the judgement after the positive or negative that user obtains the prejudgementing character problem is answered Property problem answer affirmative feedback, says " mistake " or " not to " expression to the negative feedback of the answer of the prejudgementing character problem.
In a particular embodiment, the settable input unit of robot, image collecting device and voice acquisition device lead to It crosses any one mode and obtains the positive or negative feedback of answer of the user to prejudgementing character problem, and save.
In a particular embodiment, the mode saved in module is obtained specifically, the information of user, prejudgementing character are asked Topic, robot are stored in feedback knowledge base to the feedback of the answer of prejudgementing character problem to the answer of prejudgementing character problem and user respectively In user field, problem field, answer field, feedback fields, and using user field and problem field as critical field.
In the realization of specific technology, by the information of user, prejudgementing character problem, robot to the answer of prejudgementing character problem with And user, in the feedback deposit feedback knowledge base of the answer of prejudgementing character problem, feedback knowledge base includes user field, problem word Section answers field, feedback fields, using user and problem as critical field;Active user, current problem in each question and answer, Current answer, current feedback all deposit into feedback knowledge base;When in current question and answer active user, current problem, it is current answer, Active user, current problem in current feedback be already present on feedback knowledge base in, then by active user, current problem, when Preceding answer, current feedback update the row into feedback knowledge base where active user, current problem;When current in current question and answer User, current problem, current answer, the active user in current feedback, current problem are not present in feedback knowledge base, then will Active user, current problem, current answer, current feedback are inserted into feedback knowledge base as a line.
Correspondingly, searching module 30 is specifically used for,
In the feedback knowledge base according to the information of the user and the prejudgementing character trouble-shoots, judge whether to store institute State the information and the prejudgementing character problem corresponding with the information of the user of user;
If so, searching whether to be stored with the user couple corresponding with the information of the user and the prejudgementing character problem The feedback of the answer of the prejudgementing character problem.
Prejudgementing character problem is returned if finding and being stored with the user corresponding with the information of user and prejudgementing character problem The feedback answered then illustrates that the prejudgementing character problem was asked by the user in the past and the user has the answer to this problem to provide instead Feedback, and it is stored with the feedback of answer of the user to the prejudgementing character problem.
If the not stored information for having user and the prejudgementing character problem corresponding with the information of the user, illustrate this It was not asked by the user before prejudgementing character problem.
There is user corresponding with the information of user and prejudgementing character problem to the feedback of the answer of prejudgementing character problem if not stored, It then indicates to be asked before the prejudgementing character problem by the user, but the user does not provide feedback to the answer of this problem.
Specifically, judging whether to feed back to exist in knowledge base and be somebody's turn to do with the user, prejudgementing character problem retrieval feedback knowledge base It is fed back to positive or negative in user, the corresponding a line of prejudgementing character problem and the row, thus, judge whether the prejudgementing character problem It was asked in the past by the user and the user has the feedback for providing positive or negative to the answer of this problem.Or, with the user, being somebody's turn to do Prejudgementing character problem retrieval feedback knowledge base judges whether that there is no this user, the prejudgementing character problem are corresponding in feedback knowledge base A line or there are problems that be fed back to empty in the user, the corresponding a line of the prejudgementing character but the row or be to affirm also be not no It is fixed;It is certainly or no when there are problems that being fed back in this user, the corresponding a line of this prejudgementing character and the row in feedback knowledge base It is fixed, then take out this user, answer and feedback in the corresponding row of this prejudgementing character problem.Wherein, problem, answer, feedback It can be Chinese, be also possible to English or other language.
Now in conjunction with specific embodiment, the present invention is described in detail.
The present invention also provides a kind of robots, including above-mentioned robot conversational system.
The robot can carry out prejudgementing character problem according to feedback of user's the last time to the answer of prejudgementing character problem Answer, since the last feedback is nearest from present time, can most reflect user to the hobby of the prejudgementing character problem, therefore, The answer of user preferences is provided by feedback of the user's the last time to the answer of prejudgementing character problem, can come into operation family inclination, So that robot is more reasonable for the judgement question answering, enable robot based on the nearest feedback of user come pre- The emotion of user is surveyed, improves user to the satisfaction of the answer of robot.
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance Shield all should be considered as described in this specification.
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art It says, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to protection of the invention Range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.

Claims (8)

1. a kind of robot dialogue method, comprising:
Receive the prejudgementing character problem of user;
The feedback that answer of the user to the prejudgementing character problem whether is stored in feedback knowledge base searched;
If so, being asked according to feedback acquisition of the described user's the last time to the answer of the prejudgementing character problem the prejudgementing character The answer and output of topic;
It is described to be obtained according to feedback of the described user's the last time to the answer of the prejudgementing character problem to the prejudgementing character problem Answer and the step of output include:
If the last answer to the prejudgementing character problem is fed back to hobby affirmative acknowledgement (ACK), it is determined that ask the prejudgementing character The answer of topic is affirmative acknowledgement (ACK);
If the last answer to the prejudgementing character problem is fed back to hobby negative acknowledge, it is determined that ask the prejudgementing character The answer of topic is negative acknowledge;
If the feedback for being fed back to not judge of the last answer to the prejudgementing character problem, at random to the prejudgementing character Problem does positive or negative answer;
The prejudgementing character is asked according to feedback acquisition of the described user's the last time to the answer of the prejudgementing character problem described After the step of answer and output of topic, further includes:
It obtains the feedback of answer of the user to the prejudgementing character problem and saves into the feedback knowledge base.
2. robot dialogue method according to claim 1, which is characterized in that if not stored have the user to sentence to described The feedback of the answer of qualitative question, thens follow the steps:
Positive or negative answer is carried out to the prejudgementing character problem at random;
It obtains the feedback of answer of the user to the prejudgementing character problem and saves into the feedback knowledge base.
3. robot dialogue method according to claim 1 or 2, which is characterized in that described to obtain the user to described The feedback of the answer of prejudgementing character problem includes:
Obtain the feedback of answer to the prejudgementing character problem of the user according to prompt input;Or,
It obtains the user and obtains facial expression or movement after the answer of the prejudgementing character problem, and according to the facial expression The feedback of answer of the user to the prejudgementing character problem is judged with movement;Or,
The user is obtained to obtain to the voice after the answer of the prejudgementing character problem, and the user according to the phonetic decision To the feedback of the answer of the prejudgementing character problem.
4. robot dialogue method according to claim 1 or 2, which is characterized in that by the user to the prejudgementing character The answer of problem feedback save to it is described feedback knowledge base in step include:
By the information of the user, the prejudgementing character problem, robot to the answer of the prejudgementing character problem and user to institute It states user field respectively in deposit feedback knowledge base of the feedback of the answer of prejudgementing character problem, problem field, answer field and anti- Field is presented, and using the user field and problem field as critical field;
The step of whether being stored with the feedback of answer of the user to the prejudgementing character problem in the lookup feedback knowledge base Include:
In the feedback knowledge base according to the information of the user and the prejudgementing character trouble-shoots, judge whether to store the use The information at family and the prejudgementing character problem corresponding with the information of the user;
If so, searching whether to be stored with the user corresponding with the information of the user and the prejudgementing character problem to described The feedback of the answer of prejudgementing character problem.
5. a kind of robot conversational system, comprising:
Receiving module, for receiving the prejudgementing character problem of user;
Searching module, for searching in feedback knowledge base whether be stored with the anti-of answer of the user to the prejudgementing character problem Feedback;
Output module is when being, to be sentenced according to described user's the last time to described for the lookup result in the searching module The feedback of the answer of qualitative question obtains answer and output to the prejudgementing character problem;
Knowledge base is fed back, for storing information, the prejudgementing character problem of the user, robot is to the prejudgementing character problem It answers and the user is to the feedback of the answer of the prejudgementing character problem;
The output module is specifically used for:
If the last answer to the prejudgementing character problem is fed back to hobby affirmative acknowledgement (ACK), it is determined that ask the prejudgementing character The answer of topic is affirmative acknowledgement (ACK);
If the last answer to the prejudgementing character problem is fed back to hobby negative acknowledge, it is determined that ask the prejudgementing character The answer of topic is negative acknowledge;
If the feedback for being fed back to not judge of the last answer to the prejudgementing character problem, at random to the prejudgementing character Problem does positive or negative answer;
The system also includes: module is obtained, for obtaining feedback and the guarantor of answer of the user to the prejudgementing character problem It deposits into the feedback knowledge base.
6. robot conversational system according to claim 5, which is characterized in that the output module is also used to described When the lookup result of searching module is no, positive or negative answer is carried out to the prejudgementing character problem at random.
7. robot conversational system according to claim 5 or 6, which is characterized in that obtain module, be specifically used for:
Obtain the feedback of answer to the prejudgementing character problem of the user according to prompt input;Or,
It obtains the user and obtains facial expression or movement after the answer of the prejudgementing character problem, and according to the facial expression The feedback of answer of the user to the prejudgementing character problem is judged with movement;Or,
The user is obtained to obtain to the voice after the answer of the prejudgementing character problem, and the user according to the phonetic decision To the feedback of the answer of the prejudgementing character problem.
8. a kind of robot, which is characterized in that including the described in any item robot conversational systems of claim 5-7.
CN201610228424.2A 2016-04-12 2016-04-12 Based on emotional robot dialogue method, system and the robot fed back recently Active CN105930374B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610228424.2A CN105930374B (en) 2016-04-12 2016-04-12 Based on emotional robot dialogue method, system and the robot fed back recently

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610228424.2A CN105930374B (en) 2016-04-12 2016-04-12 Based on emotional robot dialogue method, system and the robot fed back recently

Publications (2)

Publication Number Publication Date
CN105930374A CN105930374A (en) 2016-09-07
CN105930374B true CN105930374B (en) 2019-07-19

Family

ID=56839003

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610228424.2A Active CN105930374B (en) 2016-04-12 2016-04-12 Based on emotional robot dialogue method, system and the robot fed back recently

Country Status (1)

Country Link
CN (1) CN105930374B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9947319B1 (en) * 2016-09-27 2018-04-17 Google Llc Forming chatbot output based on user state
CN108115678B (en) * 2016-11-28 2020-10-23 深圳光启合众科技有限公司 Robot and motion control method and device thereof
CN106649706A (en) * 2016-12-20 2017-05-10 北京云知声信息技术有限公司 Natural language knowledge learning method and apparatus
CN110674270B (en) * 2017-08-28 2022-01-28 大国创新智能科技(东莞)有限公司 Humorous generation and emotion interaction method based on artificial intelligence and robot system
CN107832720B (en) * 2017-11-16 2022-07-08 北京百度网讯科技有限公司 Information processing method and device based on artificial intelligence
CN108710697B (en) * 2018-05-23 2020-01-03 百度在线网络技术(北京)有限公司 Method and apparatus for generating information
CN111813911A (en) * 2020-06-30 2020-10-23 神思电子技术股份有限公司 Knowledge automatic acquisition and updating system based on user supervision feedback and working method thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103400054A (en) * 2013-08-27 2013-11-20 哈尔滨工业大学 Computer-assisted psychological consulting automatic question-answering robot system
CN103455592A (en) * 2013-08-30 2013-12-18 广州网易计算机系统有限公司 Question answering method, device and system
AU2009213059B2 (en) * 2008-09-11 2015-04-30 Intuit Inc. Method and system for generating a dynamic help document
CN104699708A (en) * 2013-12-09 2015-06-10 中国移动通信集团北京有限公司 Self-learning method and device for customer service robot

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8412514B1 (en) * 2005-10-27 2013-04-02 At&T Intellectual Property Ii, L.P. Method and apparatus for compiling and querying a QA database

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2009213059B2 (en) * 2008-09-11 2015-04-30 Intuit Inc. Method and system for generating a dynamic help document
CN103400054A (en) * 2013-08-27 2013-11-20 哈尔滨工业大学 Computer-assisted psychological consulting automatic question-answering robot system
CN103455592A (en) * 2013-08-30 2013-12-18 广州网易计算机系统有限公司 Question answering method, device and system
CN104699708A (en) * 2013-12-09 2015-06-10 中国移动通信集团北京有限公司 Self-learning method and device for customer service robot

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于自动问答的类社交网络辅助学习平台;钱强等;《江苏科技大学学报》;20141231;第28卷(第6期);第590-595页

Also Published As

Publication number Publication date
CN105930374A (en) 2016-09-07

Similar Documents

Publication Publication Date Title
CN105930374B (en) Based on emotional robot dialogue method, system and the robot fed back recently
CN105930372B (en) Based on emotional robot dialogue method, system and the robot repeatedly fed back
US11221669B2 (en) Non-verbal engagement of a virtual assistant
Celiktutan et al. Multimodal human-human-robot interactions (mhhri) dataset for studying personality and engagement
CN110113646B (en) AI voice-based intelligent interactive processing method, system and storage medium
CN105843381B (en) Data processing method for realizing multi-modal interaction and multi-modal interaction system
US20210397645A1 (en) Image search method and apparatus, computer device, and storage medium
CN109791549A (en) Machine customer interaction towards dialogue
KR20020071917A (en) User interface/entertainment device that simulates personal interaction and charges external database with relevant data
KR20020067590A (en) Environment-responsive user interface/entertainment device that simulates personal interaction
JP2016012342A (en) Action control system and program
CN109086371A (en) A kind of semantic net interactive system and exchange method for legal advice
US11232261B2 (en) Open domain real-time question answering
Lhommet et al. Gesture with meaning
JPWO2016104736A1 (en) Communication providing system and communication providing method
CN112364234A (en) Automatic grouping system for online discussion
KR102117287B1 (en) Method and apparatus of dialog scenario database constructing for dialog system
Buján The function of face gestures and head movements in spontaneous humorous communication
JP6913848B2 (en) Emotional dialogue methods and robot systems based on humor identification
Yalçın et al. Empathic ai painter: A computational creativity system with embodied conversational interaction
CN110674270B (en) Humorous generation and emotion interaction method based on artificial intelligence and robot system
CN113539261A (en) Man-machine voice interaction method and device, computer equipment and storage medium
US20210166685A1 (en) Speech processing apparatus and speech processing method
CN107357444A (en) A kind of input pattern intelligent switch method and device based on usage scenario
KR20210037857A (en) Realistic AI-based voice assistant system using relationship setting

Legal Events

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