CN107169113A - Method and apparatus for realizing artificial intelligence dialogue based on user's personality - Google Patents

Method and apparatus for realizing artificial intelligence dialogue based on user's personality Download PDF

Info

Publication number
CN107169113A
CN107169113A CN201710359641.XA CN201710359641A CN107169113A CN 107169113 A CN107169113 A CN 107169113A CN 201710359641 A CN201710359641 A CN 201710359641A CN 107169113 A CN107169113 A CN 107169113A
Authority
CN
China
Prior art keywords
personality
information
user
dialogue
entity word
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.)
Pending
Application number
CN201710359641.XA
Other languages
Chinese (zh)
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.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network 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 Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN201710359641.XA priority Critical patent/CN107169113A/en
Publication of CN107169113A publication Critical patent/CN107169113A/en
Pending legal-status Critical Current

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/332Query formulation
    • G06F16/3329Natural language query formulation or dialogue systems

Landscapes

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

Abstract

Embodiments of the present invention provide a kind of method for being used to realize artificial intelligence dialogue based on user's personality.This is used to realize that the method for artificial intelligence dialogue includes based on user's personality:The wish of the input information obtaining session side of the dialogue side received according to intelligent electronic device;Obtain user's personality information;The corresponding feedback information of the wish is obtained from the corresponding default knowledge collection of user's personality information, and the dialogue side is replied according to the feedback information.By adding considering for user's personality information during the corresponding feedback information of wish of dialogue side is obtained, the method of the present invention can cause artificial intelligence to talk with more personalized, so that artificial intelligence dialogue can more meet the hope of user, it is that user brings more preferable experience.In addition, embodiment of the present invention additionally provides a kind of medium, device and computing device for realizing artificial intelligence dialogue based on user's personality.

Description

Method and apparatus for realizing artificial intelligence dialogue based on user's personality
Technical field
Embodiments of the present invention are related to computer realm, more specifically, embodiments of the present invention are related to for being based on User's personality realizes method, device, computing device and the medium of artificial intelligence dialogue.
Background technology
This part is it is intended that the embodiments of the present invention stated in claims provide background or context.Herein Description not because not recognizing it is prior art being included in this part.
AI (Artificial Intelligence, artificial intelligence) can carry out mould to the consciousness and thought process of people Intend.Since AI is born, its theory and technology is gradually ripe, and its application field is also constantly expanding.Artificial intelligence pair Words are an AI application fields.Artificial intelligence dialogue is referred to as chat robots or Chatbot systems etc. sometimes.
At present, some artificial Intelligent dialogue technologies have been occurred in that, a specific example is receiving the defeated of dialogue side Enter after information (for example, speech input information or word input information etc.), by handling the input information received, So as to obtain corresponding result, and dialogue side is replied according to the result, for example, being replied pair in speech/text mode The enquirement of words side, for another example playing corresponding song in response to the requirement of user or playing corresponding video etc., so as to realize Talk with the artificial intelligence of dialogue side.
Artificial Intelligent dialogue technology is supported in intelligent electronic devices such as intelligent sound box, tablet personal computer and intelligent mobile phones In the case of, intelligent electronic device can aid in user to handle certain affairs, for example, for supporting artificial Intelligent dialogue technology Intelligent sound box for, not only corresponding song can be played according to the requirement of user at any time, if moreover, by intelligent sound box with The phone (for example, fixed line phone or mobile phone etc.) of user is connected, then intelligent sound box can be as a side of call Conversed with the opposing party of call, so that intelligent sound box can aid in user to receive calls;If by intelligent sound box and user The doorbell of family or office space is connected, then intelligent sound box can replace visitor of the user with ringing a doorbell to engage in the dialogue, So as to which intelligent sound box can aid in user to receive visitor.
The content of the invention
But, for the reason for not considering user's personality during realizing artificial intelligence dialogue, prior art is usual It is that result is obtained according to the implication of the input information of dialogue side, dialogue side is replied according to the result, that is to say, that right For the different input information with identical meanings, prior art would generally reply dialogue side with identical result.
Therefore in the prior art, for the different user with difference in character, artificial intelligence dialogue can not provide individual character Change service, this is very bothersome technical problem.
Therefore, a kind of improved technical scheme for being used to realize artificial intelligence dialogue based on user's personality is highly desirable to, with Make artificial Intelligent dialogue more personalized, so that artificial intelligence dialogue can more meet the hope of user, it is that user brings Preferably experience.
In the present context, embodiments of the present invention are expected to provide a kind of for realizing artificial intelligence based on user's personality Method, medium, device and the computing device of dialogue.
There is provided one kind for realizing that artificial intelligence is talked with based on user's personality in the first aspect of embodiment of the present invention Method, including:The wish of the input information obtaining session side of the dialogue side received according to intelligent electronic device;Obtain user Personality information;The corresponding feedback information of the wish is obtained from the corresponding default knowledge collection of user's personality information, and The dialogue side is replied according to the feedback information.
In one embodiment of the invention, the input information of the dialogue side received according to intelligent electronic device is obtained The step of wish for taking dialogue side, includes:The input acquisition of information of the dialogue side received according to intelligent electronic device is intended to and anticipated Figure entity word.
In yet another embodiment of the present invention, the input information of the dialogue side received according to intelligent electronic device Obtain and be intended to and include the step of being intended to entity word:The speech input information conversion for the dialogue side that intelligent electronic device is received For text message, and semantic analysis is carried out to the text message, entity word is intended to and is intended to obtain;Or, to intelligent electricity The text entry information for the dialogue side that sub- equipment is received carries out semantic analysis, and entity word is intended to and is intended to obtain.
In yet another embodiment of the present invention, it is described acquisition user's personality information the step of include:It is described determining In the case that dialogue side is not the user of the intelligent electronic device, current session side's personality is obtained according to default feedback strategy User's personality information of information or the intelligent electronic device.
In yet another embodiment of the present invention, it is described acquisition user's personality information the step of include:From the dialogue side Input information in obtain each personality entity word, and according to each personality entity word got each belonging to personality determine User's personality information.
In yet another embodiment of the present invention, it is described acquisition user's personality information the step of include:Obtain the dialogue The identity information of side, and searched according to the identity information of the dialogue side in the corresponding relation of identity and personality;Finding In the case of matching record, the personality information in the matching record is regard as user's personality information;Do not finding In the case of with record, obtain each personality entity word from the input information of the dialogue side, and according to it is described get it is each Personality entity word each belonging to personality determine user's personality information.
In yet another embodiment of the present invention, it is described obtain the dialogue side identity information the step of include:Obtain The telephone number of caller;Or, obtain the instant messaging account of instant message sender;Or, obtain Email The Email Accounts of sender;Or, the name of visitor is obtained by interactive voice or text message interaction.
In yet another embodiment of the present invention, the corresponding relation of the identity and personality is set according to historical information , and the set-up mode of the corresponding relation includes:For a historical information, the corresponding body of the historical information is obtained Part information, and each personality entity word is obtained from the historical information, in the personality entity that there is personality to identify pre-set Each personality entity word is searched in set of words, is identified according to the personality of each personality entity word found by each personality entity word It is accumulated at respectively in the corresponding personality entity word quantity corresponding to the corresponding identity information of the historical information, according to current accumulative As a result the corresponding relation of corresponding identity and personality is safeguarded.
In yet another embodiment of the present invention, the historical information includes:History pair between intelligent electronic device One or more in words, historical review, historical electronic mail and the history instant message delivered in a network.
In yet another embodiment of the present invention, each personality entity word got described in the basis each belonging to property The step of lattice determine user's personality information includes:Searched in the personality entity set of words that there is personality to identify pre-set each Personality entity word;User's personality information is determined according to the personality of each personality entity word found mark;Wherein, it is described to use Family personality information includes:At least one personality information, and in the case where user's personality information includes a variety of personality information, User's personality information also includes:Proportion shared by various personality.
In yet another embodiment of the present invention, obtained in the corresponding default knowledge collection from user's personality information The intention is taken to include with the step of being intended to entity word corresponding feedback information:Include in user's personality information:A variety of property In the case of proportion shared by lattice information and various personality, chosen according to default Selection Strategy from a variety of personality information A kind of personality information, and obtain from the corresponding default knowledge collection of the personality information of the selection intention and be intended to entity The corresponding feedback information of word.
In yet another embodiment of the present invention, methods described also includes:The situation of user's personality information is not being got Under, intention feedback information corresponding with entity word is intended to is obtained from Default knowledge set, and according to the feedback information Reply the dialogue side.
There is provided a kind of medium in the second aspect of embodiment of the present invention, program is stored thereon with, the program is located Reason device realizes step when performing:The wish of the input information obtaining session side of the dialogue side received according to intelligent electronic device; Obtain user's personality information;The corresponding feedback of the wish is obtained from the corresponding default knowledge collection of user's personality information Information, and the dialogue side is replied according to the feedback information.
There is provided a kind of device in the third aspect of embodiment of the present invention, mainly include:First acquisition module, is used for The wish of the input information obtaining session side of the dialogue side received according to intelligent electronic device;Second acquisition module, for obtaining Take family personality information;Feedback replies module, for obtaining institute from the corresponding default knowledge collection of user's personality information The corresponding feedback information of wish is stated, and the dialogue side is replied according to the feedback information.
There is provided a kind of computing device in the fourth aspect of embodiment of the present invention, mainly include:Memory, for depositing Store up computer program;Processor, for performing the computer program stored in the memory, and the computer program is held During row, following instructions are run:Input information obtaining session side for the dialogue side that is received according to intelligent electronic device The instruction of wish;Instruction for obtaining user's personality information;For from the corresponding default Knowledge Set of user's personality information The corresponding feedback information of the wish is obtained in conjunction, and according to the instruction of the feedback information answer dialogue side.
In one embodiment of the invention, it is described for the input letter of the dialogue side received according to intelligent electronic device The instruction that breath obtains the wish of dialogue side includes:For the input acquisition of information of the dialogue side received according to intelligent electronic device It is intended to and is intended to the instruction of entity word.
In yet another embodiment of the present invention, it is described for the input of the dialogue side received according to intelligent electronic device The instruction that acquisition of information is intended to and be intended to entity word includes:For the phonetic entry for the dialogue side for receiving intelligent electronic device Information is converted to text message, and carries out semantic analysis to the text message, to obtain the instruction for being intended to and being intended to entity word; Or, the text entry information of dialogue side for being received to intelligent electronic device carries out semantic analysis, be intended to obtain and It is intended to the instruction of entity word.
In yet another embodiment of the present invention, the instruction for being used to obtain user's personality information includes:For true In the case of making the user that the dialogue side is not the intelligent electronic device, obtain current right according to default feedback strategy The instruction of words side's personality information or user's personality information of the intelligent electronic device.
In yet another embodiment of the present invention, the instruction for being used to obtain user's personality information includes:For from institute The instruction of each personality entity word is obtained in the input information for stating dialogue side;Each personality entity word for being got according to is each The instruction of user's personality information is determined from affiliated personality.
In yet another embodiment of the present invention, the instruction for being used to obtain user's personality information includes:For obtaining The instruction of the identity information of the dialogue side;Looked into for the identity information according to dialogue side in the corresponding relation of identity and personality The instruction looked for;For in the case where finding matching record, regarding the personality information in the matching record as the user The instruction of personality information;For in the case where not finding matching record, obtaining each from the input information of the dialogue side The instruction of personality entity word, for each affiliated personality to determine user's personality letter according to each personality entity word got The instruction of breath.
In yet another embodiment of the present invention, the instruction of the identity information for obtaining the dialogue side includes: For the instruction for the telephone number for obtaining caller;Or, the instant messaging account for obtaining instant message sender Instruction;Or, the instruction of the Email Accounts for obtaining Email sender;Or, for by interactive voice or Text message interaction obtains the instruction of the name of visitor.
In yet another embodiment of the present invention, the equipment also includes:For setting identity and property according to historical information The instruction of the corresponding relation of lattice, and it is described for being included according to the instruction of historical information setting identity and the corresponding relation of personality: For for a historical information, obtaining the corresponding identity information of the historical information, and obtained from the historical information Each personality entity word is taken, each personality entity is searched in the personality entity set of words that there is personality to identify pre-set Word, the historical information correspondence is accumulated at according to the personality of each personality entity word found mark respectively by each personality entity word Identity information corresponding to corresponding personality entity word quantity in, corresponding identity and personality are safeguarded according to current accumulated result The instruction of corresponding relation.
In yet another embodiment of the present invention, the historical information includes:History input information, in a network deliver One or more in historical review, historical electronic mail and history instant message.
In yet another embodiment of the present invention, each personality entity word for being used to get according to is each affiliated Personality determine that the instruction of user's personality information includes:For in the personality entity set of words that there is personality to identify pre-set The middle instruction for searching each personality entity word;Described use is determined for the personality mark according to each personality entity word found The instruction of family personality information;Wherein, user's personality information includes:At least one personality information, and in user's personality In the case that information includes a variety of personality information, user's personality information also includes:Proportion shared by various personality.
It is described to be used for from the corresponding default knowledge collection of user's personality information in yet another embodiment of the present invention The middle instruction for obtaining intention feedback information corresponding with entity word is intended to includes:Include in user's personality information:It is many In the case of proportion shared by kind personality information and various personality, for being believed according to default Selection Strategy from a variety of personality A kind of personality information is chosen in breath, and obtain from the corresponding default knowledge collection of the personality information of the selection intention and It is intended to the instruction of the corresponding feedback information of entity word.
In yet another embodiment of the present invention, the equipment also includes:For not getting user's personality information In the case of, intention feedback information corresponding with entity word is intended to is obtained from Default knowledge set, and according to the feedback Information replies the instruction of dialogue side.
According to the method for realizing artificial intelligence dialogue based on user's personality of embodiment of the present invention, device, calculating Equipment and medium, embodiment of the present invention can obtain anti-by obtaining user's personality information in the wish based on dialogue side Being added during feedforward information can be corresponding from user's personality information to user's personality information factor, i.e. embodiment of the present invention Obtained in default knowledge collection and be intended to feedback information corresponding with entity word is intended to, because different user's personality information is corresponding Default knowledge collection can be different, and the corresponding feedback information of identical wish in different default knowledge collections can be different, because This, for identical wish, embodiment of the present invention can be directed to the different feedback information of different user's personality information acquisitions, from And avoid the technical problem that can not be provided personalized service for the different user with difference in character, artificial intelligence dialogue. It follows that the technical scheme that embodiment of the present invention is provided can cause artificial intelligence to talk with more personalized, so as to make one Work Intelligent dialogue can more meet the hope of user, be that user brings more preferable experience.
Brief description of the drawings
Detailed description below, above-mentioned and other mesh of exemplary embodiment of the invention are read by reference to accompanying drawing , feature and advantage will become prone to understand.In the accompanying drawings, if showing the present invention's by way of example, and not by way of limitation Dry embodiment, wherein:
Fig. 1 schematically shows the application scenarios schematic diagram that can be realized wherein according to embodiment of the present invention;
Fig. 2 schematically shows according to an embodiment of the invention for realizing that artificial intelligence is talked with based on user's personality Method flow diagram;
Fig. 3 schematically shows the structural representation of apparatus according to an embodiment of the present invention;
Fig. 4 schematically shows the structural representation of computing device according to an embodiment of the invention;
Fig. 5 schematically shows the schematic diagram of medium according to an embodiment of the invention.
In the accompanying drawings, identical or corresponding label represents identical or corresponding part.
Embodiment
The principle and spirit of the present invention is described below with reference to some illustrative embodiments.It should be appreciated that providing this A little embodiments are used for the purpose of better understood when those skilled in the art and then realizing the present invention, and not with any Mode limits the scope of the present invention.On the contrary, these embodiments are provided so that the disclosure is more thorough and complete, and energy It is enough that the scope of the present disclosure is intactly conveyed into those skilled in the art.
One skilled in the art will appreciate that embodiments of the present invention can be implemented as a kind of equipment, method or computer journey Sequence product.Therefore, the disclosure can be implemented as following form, i.e.,:Complete hardware or complete software (including it is solid Part, resident software, microcode etc.), or the form that hardware and software is combined.
According to the embodiment of the present invention, it is proposed that a kind of side for being used to realize artificial intelligence dialogue based on user's personality Method, device, computing device and medium.
Herein, it is to be understood that the term intelligent electronic device involved by embodiment of the present invention can be specific Can also be specially desktop computer, mobile computer, tablet personal computer or intelligent sliding for internet of things equipment such as intelligent sound boxes The subscriber terminal equipments such as mobile phone;Involved term dialogue side refers to the side that other side is carried out with intelligent electronic device, and should Dialogue side can be intelligent electronic device user (for example, the owner of intelligent electronic device or it is current have possess/use User of authority etc.), the dialogue side may not be the user of intelligent electronic device (for example, the use of intelligent electronic device The relative or friend or colleague or stranger etc. of side);The wish of involved term dialogue side is typically referred to being capable of table The information of the subjective wishes such as the idea or purpose or view of dialogue side is shown, and dialogue side wish generally it can be thought that being The real meaning of the input information of dialogue side;Involved term feedback information typically refers to the answer letter replied to dialogue side Breath.In addition, any number of elements in accompanying drawing is used to example and unrestricted, and any name is only used for distinguishing, without With any limitation.Below with reference to the principle and essence of some representative embodiments of the present invention, in detail the explaination present invention God.
Summary of the invention
The inventors discovered that, it is existing for the reason for not considering user's personality during realizing artificial intelligence dialogue Technology is typically to obtain result according to the implication of the input information of dialogue side, and replys dialogue according to the result of acquisition Side, it follows that for the different input information with identical meanings, prior art would generally be with identical result Reply dialogue side.
For the different user with difference in character, artificial intelligence is talked with this technology that can not provide personalized service and asked Topic, embodiment of the present invention, which is provided, a kind of to be used to realize that the method for artificial intelligence dialogue, device, calculating are set based on user's personality Standby and medium, by obtaining user's personality information, can add during the wish based on dialogue side obtains feedback information Enter to user's personality information factor, so, embodiment of the present invention can be from the corresponding default knowledge collection of user's personality information Middle obtain is intended to feedback information corresponding with entity word is intended to, due to the different corresponding default knowledge collections of user's personality information Can be different, and the different corresponding feedback informations of identical wish preset in knowledge collection can be different, therefore, for mutually agreeing to It is willing to, embodiment of the present invention can be directed to for the different feedback information of different user's personality information acquisitions so as to avoid Different user with difference in character, the technical problem that artificial intelligence dialogue can not provide personalized service.It follows that this hair The technical scheme that bright embodiment is provided can cause artificial intelligence to talk with more personalized, so that artificial intelligence dialogue can More meet the hope of user, be that user brings more preferable experience.
After the general principle of the present invention is described, lower mask body introduces the various non-limiting embodiment party of the present invention Formula.
Application scenarios overview
With reference first to Fig. 1, it is schematically shown that according to the applied field that can be realized wherein of embodiment of the present invention Scape.
In Fig. 1, intelligent electronic device 100 can aid in user (for example, user of intelligent electronic device 100) to handle one Fixed affairs, for example, in the case where intelligent electronic device 100 is that can support the intelligent sound box of artificial Intelligent dialogue technology, It not only can play corresponding song or recording according to the requirement of user at any time, if moreover, by intelligent sound box and user Phone (for example, fixed line phone or mobile phone etc.) be connected, then the intelligent sound box be also used as call a side and Conversed with the opposing party of call, so that intelligent sound box can aid in user to receive calls;If by intelligent sound box and user The doorbell of family or office space is connected, then intelligent sound box can replace visitor of the user with ringing a doorbell to engage in the dialogue, So as to which intelligent sound box can aid in user to receive visitor.
Seen from the above description, intelligent electronic device 100 can be supported to engage in the dialogue from different dialogue sides (in Fig. 1 to show Meaning property show two dialogue sides), for example, intelligent electronic device 100 can engage in the dialogue with its owner;For another example intelligence Electronic equipment 100 can (telephonic communication be recorded or JICQ address list or E-mail address with the address list of its owner Address list etc.) in contact person engage in the dialogue;For another example intelligent electronic device 100 can be carried out with the stranger such as delivery person Dialogue.
Intelligent electronic device 100 can provide personalized dialogue service during being engaged in the dialogue with dialogue side;Specifically For, intelligent electronic device 100 can engage in the dialogue according to the personality feature of its owner with current session side, intelligent electronic device 100 can also engage in the dialogue according to the personality feature of different dialogue side from different dialogue sides.
However, those skilled in the art are appreciated that the applicable scene of embodiment of the present invention not by the framework completely The limitation of any aspect.
Illustrative methods
With reference to the application scenarios shown in Fig. 1, being used for according to exemplary embodiment of the invention is described with reference to Figure 2 The method that artificial intelligence dialogue is realized based on user's personality.It should be noted that above-mentioned application scenarios are for only for ease of understanding Spirit and principles of the present invention and show, embodiments of the present invention are unrestricted in this regard.On the contrary, the reality of the present invention The mode of applying can apply to applicable any scene.
Referring to Fig. 2, it is schematically shown that according to an embodiment of the invention to be used to realize artificial intelligence based on user's personality Can dialogue method flow chart, and this method can generally perform in a user device, for example, can user intelligent sound In the internet of things equipment such as case, intelligent sound assistant and intelligent television perform, for another example can user desktop computer, Performed in the subscriber terminal equipments such as mobile computer, intelligent mobile phone and tablet personal computer.Certainly, embodiment of the present invention Also it is not excluded for the possibility that this method is realized by server or realized jointly by user equipment and server.
Method in Fig. 2 mainly includes:Step S200, step S210 and step S220, enter respectively to each step below Row explanation:
S200, the wish of the input information obtaining session side of the dialogue side received according to intelligent electronic device.
As an example, the dialogue side (i.e. current session side) in embodiment of the present invention can making for intelligent electronic device With side (for example, intelligent electronic device owner or it is current have possess/the user of access right etc.), and the dialogue side also may be used Not to be the user of intelligent electronic device (for example, the contact in the address list of stranger or the owner of intelligent electronic device People etc.).
As an example, the input information in embodiment of the present invention can be speech input information (i.e. acoustic information), Can for text entry information, i.e. embodiment of the present invention can support and the side of dialogue voice dialogue, can also support with it is right The word dialog of words side.
As an example, the wish in embodiment of the present invention can generally be represented by being intended to and being intended to entity word, i.e., Obtained in the input information for the dialogue side that embodiment of the present invention can be received from intelligent electronic device and be intended to and be intended to entity Word.
Acquisition is intended to and a specific example of intention entity word is:In the applied field that input information is speech input information Jing Zhong, the speech input information for the dialogue side that embodiment of the present invention first can receive intelligent electronic device is converted to text Information, then, carries out semantic analysis, so as to be intended to and be intended to entity word to the text message after conversion;And in input letter Cease in the application scenarios for text entry information, the dialogue that embodiment of the present invention can be received directly to intelligent electronic device The text entry information of side carries out semantic analysis, so as to be intended to and be intended to entity word.
One more specifically example be:The speech input information for the dialogue side that setting intelligent electronic device is currently received For " come A song hear ", embodiment of the present invention by the speech input information after text message is converted to, for this Text message carries out semantic analysis, so that what is obtained is intended to " broadcasting music ", and the intention entity word obtained is " A ".
Embodiment of the present invention can use existing semantic analysis technology to be intended to and be intended to entity word, herein not The process that implements to semantic analysis is described in detail again.
S210, acquisition user's personality information.
As an example, the user in embodiment of the present invention can be the user of intelligent electronic device, that is, the use obtained Family personality information can be user's personality information of intelligent electronic device;User in embodiment of the present invention can also be removed Other users outside the user of intelligent electronic device;
One specific example, in application scenarios of the current session side for the user of intelligent electronic device are determined, User in this step is usually the user of intelligent electronic device, i.e., under the application scenarios, embodiment of the present invention is usual User's personality information of intelligent electronic device can be obtained.Embodiment of the present invention can be according to the user of intelligent electronic device Historical information formation user's personality information, the historical information can include:Going through between user and intelligent electronic device History dialogue, the historical review that user delivers in a network, the historical electronic mail of user and user history it is instant Message etc..Embodiment of the present invention can be crawled mode by network and obtain the historical review that user delivers in a network.Separately Outside, embodiment of the present invention can constantly improve user's personality letter during user uses intelligent electronic device Breath.
Another specific example, is determining that current session side is its in addition to the user of intelligent electronic device His user (for example, stranger, for another example the telephonic communication record of the user of intelligent electronic device or JICQ are logical Contact person in news record or E-mail address address list etc.) application scenarios in, the user in this step can be smart electronicses The user of equipment, or current session side;I.e. under the application scenarios, embodiment of the present invention can obtain intelligent electricity User's personality information of sub- equipment, can also obtain current session side's personality information.And under the application scenarios, the present invention is real The mode of applying can determine it is the user's personality information for obtaining intelligent electronic device according to default feedback strategy, ought or obtain Preceding dialogue side's personality information.Above-mentioned default feedback strategy can be set according to the actual requirements, for example, default feedback strategy can be with Including:It is preferential to obtain user's personality information, preferentially obtain user's personality information for the first certain dialog side or be directed to Second certain dialog side preferentially obtains dialogue side's personality information etc.;Embodiment of the present invention does not limit default feedback strategy and included Particular content.
Believe in addition, embodiment of the present invention can form other users personality according to the historical information of above-mentioned other users Breath, the historical information can include:Dialog history, above-mentioned other users between above-mentioned other users and intelligent electronic device exist The history instant message of historical review, the historical electronic mail of above-mentioned other users and the above-mentioned other users delivered in network Deng.Embodiment of the present invention can be crawled mode by network and obtain the historical review that above-mentioned other users are delivered in a network. Further, embodiment of the present invention constantly can improve other users in intelligent electronic device and the dialog procedure of other users Personality information.
As an example, user's personality information in embodiment of the present invention can correspond to a kind of personality, it can also correspond to many Plant personality;And in the case of a variety of personality of user's personality information correspondence, user's personality information generally also includes:Various personality institutes The proportion accounted for;One specific example, user's personality information that embodiment of the present invention is got includes:Personality 1 is identified, personality 1 corresponding proportion (such as 60%), personality 2 are identified, the corresponding proportion of personality 2 (such as 30%), personality 3 are identified and the correspondence of personality 3 Proportion (such as 10%).In addition, the personality in embodiment of the present invention can be marked off according to existing personality classification Personality, above-mentioned existing personality classification can be 16PF and MBTI (this Briggs index of classification of mayer) etc..Certainly, originally Personality in invention embodiment can also be the personality marked off according to customized personality mode classification.Embodiment party of the present invention Formula does not limit the specific manifestation form of the personality marked off by personality mode classification.
As an example, embodiment of the present invention can directly be believed when receiving the input information of dialogue side from the input Obtain each personality entity word in breath, and according to each personality entity word got each belonging to personality determine that user's personality is believed Breath.More specifically, after visitor rings a doorbell, intelligent electronic device control doorbell open voice dialogue function, doorbell by its The voice signal of the visitor of pickup is transmitted to intelligent electronic device as speech input information, so that in embodiment of the present invention The speech input information that intelligent electronic device is received is converted to after text message, can be obtained directly from text information Personality entity word, and each personality entity word for getting each affiliated personality is determined, so that according to each personality entity word each Affiliated personality obtains user's personality information.
As an example, the personality entity word in embodiment of the present invention refers to that the entity of the character trait of people can be reflected Word, for example, " asking ", " no ", " OK ", " careless " and modal particle (for example, " ", " ", " " etc.) etc., the present invention is implemented Mode does not limit the specific manifestation form of personality entity word.Embodiment of the present invention can be previously provided with personality entity word set Close, and each character entity word in personality entity set of words is respectively provided with personality mark, so that embodiment of the present invention can be with Searched using each personality entity word from input acquisition of information in personality entity set of words, and according to each personality found The personality mark of entity word determines user's personality information.
, can be with as an example, embodiment of the present invention is in the case where that successfully can get the identity information of dialogue side Searched first with the identity information of dialogue side in the corresponding relation of identity and personality, if it is possible to find the note of matching Record (the personality information for being previously stored with current session side), then the personality information in the record of the matching found can be made The user's personality information got for this;If the record of matching can not be found, embodiment of the present invention again from work as Each personality entity word is obtained in the input information of preceding dialogue side, and each personality entity word got using this is in personality entity Searched respectively in set of words, so as to determine that user's personality is believed according to the personality of each personality entity word found mark Breath.
, can be with as an example, embodiment of the present invention is in the case where that successfully can get the identity information of dialogue side Each personality entity word is obtained from the input information of current session side, and each personality entity word got using this is in personality Searched respectively in entity set of words, it is hereby achieved that the personality mark of each personality entity word;At the same time, the present invention is real The mode of applying can also be searched using the identity information of dialogue side in the corresponding relation of identity and personality, if it is possible to be searched To the record (the personality information for being previously stored with current session side) of matching, then each personality entity of above-mentioned acquisition can be utilized Personality information in record of the word to update matching, and it regard the personality information after renewal as the user's personality information got; If the record of matching can not be found, user can be determined according to the personality of each personality entity word of above-mentioned acquisition mark Personality information.
As an example, the identity information in embodiment of the present invention is usually that can uniquely characterize the mark letter of a user Breath, for example, identity information can be the telephone number of caller, the instant messaging account of instant message sender, electronics The Email Accounts of e-mail sending or the name of dialogue side etc..Embodiment of the present invention can be got according to call information come The telephone number of electricity side, can get the instant messaging of instant message sender according to the new instant message received Account, can get the Email Accounts of Email sender according to the new Email received, can be according to reception The voice messaging or text message arrived obtains the name of current session side.In addition, embodiment of the present invention can be according to reception To voice messaging or text message get current session side occupation (such as delivery person or electric appliances service personnel or Property personnel etc.).
The specific example that embodiment of the present invention obtains user's personality information is that caller dials intelligent electronic device User fixed line phone, the fixed line phone is after ring, to intelligent electronic device call transmission information, embodiment party of the present invention Formula can obtain the telephone number of caller from the call information that intelligent electronic device is received, so that embodiment of the present invention The corresponding personality of the telephone number can be searched in corresponding relation of the identity pre-set with personality using the telephone number Information, if finding corresponding personality information, acquires user's personality information, if not finding corresponding personality letter Breath, then embodiment of the present invention can obtain user's personality information of the intelligent electronic device prestored;In smart electronicses After equipment control fixed line phone incoming call answering, the voice signal for the caller that what fixed line phone can be successively picked up is as voice Information transfer is inputted to intelligent electronic device, the speech input information for every time carrying out fixed line phone transmission in embodiment of the present invention Be converted to after text message, can perform the operation that personality entity word is obtained from text message, and utilize what is got Each personality entity word is searched respectively in personality entity set of words, it is hereby achieved that the personality mark of each personality entity word Know, embodiment of the present invention can identify the telephone number and property for constantly safeguarding caller according to the personality of each personality entity word The corresponding relation of lattice information.With increasing with caller's talk times, caller's property that embodiment of the present invention is formed Lattice information can be more perfect.
Another specific example that embodiment of the present invention obtains user's personality information is, instant in intelligent electronic device Means of communication receives the new instant message that instant message sender sends, and embodiment of the present invention can be from smart electronicses The instant messaging account of instant message sender is obtained in the instant message that equipment is received, so that embodiment of the present invention It can be searched using the instant messaging account in the identity and the corresponding relation of personality pre-set, if searched To the corresponding personality information of the instant messaging account, then user's personality information is acquired, if it is instant not find this The corresponding personality information of message communicating account, then embodiment of the present invention can obtain making for the intelligent electronic device that prestores With square personality information;Embodiment of the present invention when receiving the instant message that the technical information communications account is sent every time, The operation that personality entity word is obtained from instant message can be performed, and it is real in personality using each personality entity word got Searched respectively in pronouns, general term for nouns, numerals and measure words set, it is hereby achieved that the personality mark of each personality entity word, embodiment of the present invention can be with The corresponding relation for constantly safeguarding the instant messaging account and personality information is identified according to the personality of each personality entity word.With And increase with the instant messaging account number of communications, the instant messaging account that embodiment of the present invention is formed Personality information can be more perfect.
It should be strongly noted that in the identity and the corresponding relation of personality that embodiment of the present invention is safeguarded, The identity information of one user can include simultaneously:The telephone number of the user, the account of the JICQ of the user, should One or more in the E-mail address account of user and the name of the user etc..
As an example, embodiment of the present invention safeguards that a specific example of the corresponding relation of identity and personality is:For For one historical information, the corresponding identity information of the historical information is obtained, and obtains from the historical information each personality Entity word, searches each personality entity word, according to looking into the personality entity set of words that there is personality to identify pre-set Each personality entity word is accumulated at the corresponding personality entity of the identity information by the personality mark of each personality entity word found respectively In word quantity, it is then possible to the corresponding relation of corresponding identity and personality be safeguarded according to current accumulated result, for example, current tired What product went out there is the personality entity word quantity that personality 1 is identified to be X, and the personality entity word quantity identified with personality 2 is Y, and The personality entity word quantity identified with personality 3 is Z, then can determine the personality information in the corresponding relation of identity and personality For:Personality 1 is identified, the corresponding proportion of personality 1 (X/ (X+Y+Z)) %, personality 2 are identified, the corresponding proportion (Y/ (X+Y+ of personality 2 Z)) %, personality 3 are identified and the corresponding proportion of personality 3 (Z/ (X+Y+Z)) %.Embodiment of the present invention does not limit and safeguards identity With the specific implementation of the corresponding relation of personality.
Step S210 in embodiment of the present invention can realize with usability lattice model, and the input of the personality model can be with The input information of identity information and dialogue side for dialogue side, the output of the personality model can be personality information;The personality It is the user's personality information for exporting intelligent electronic device that model can not only be determined according to default feedback strategy, or output ought Preceding dialogue side (user of non intelligent electronic equipment) personality information, can also constantly improve the personality information of dialogue side.
S220, from the corresponding default knowledge collection of user's personality information obtain dialogue side the corresponding feedback letter of wish Breath, and dialogue side is replied according to the feedback information.
As an example, embodiment of the present invention is previously provided with multiple default Knowledge Sets corresponding with corresponding personality respectively Close, and embodiment of the present invention can also set a Default knowledge set, for example, the default knowledge of the correspondence of above-mentioned personality 1 first Set, the default knowledge collection of the above-mentioned correspondence of personality 2 second, the default knowledge collection of the above-mentioned correspondence of personality 3 the 3rd.
As an example, embodiment of the present invention have successfully been obtained the situation of user's personality information by above-mentioned steps S210 Under, dialogue side can be obtained based on the default knowledge collection corresponding to the personality information (for example, second default knowledge collection) It is intended to and is intended to the feedback information corresponding to entity word, and dialogue side is replied based on the feedback information.And embodiment of the present invention In the case where not getting user's personality information, Default knowledge set can be based on, the intention of dialogue side is obtained and is intended to real Feedback information corresponding to pronouns, general term for nouns, numerals and measure words, and dialogue side is replied based on the feedback information.In addition, if being obtained by above-mentioned steps S210 User's personality information do not have corresponding default knowledge collection, then equally can be based on Default knowledge set, obtain dialogue side Intention and be intended to entity word corresponding to feedback information, and based on the feedback information reply dialogue side.
One specific example:Dialogue side input information for " come A song hear ", and embodiment party of the present invention In the case that formula have successfully been obtained dialogue side's personality information (for example, the information of personality 1), embodiment of the present invention is according to the dialogue Fang Xingge information is probably the song in A more youth to the song of dialogue side broadcasting;
Another specific example:Input information in dialogue side is that " can broadcast the song of an A", and the present invention In the case that embodiment have successfully been obtained dialogue side's personality information (for example, the information of personality 2), embodiment of the present invention to pair The song that words side is played is probably an A song more expressed one's emotion;
Another specific example:Input information in dialogue side is " song for playing A ", and embodiment of the present invention is not In the case of successfully getting dialogue side's personality information, embodiment of the present invention is probably random to the song that dialogue side is played The A chosen song.
As an example, including in the step S210 user's personality information got:A variety of personality information and various personality In the case of proportion shared by information, embodiment of the present invention can be chosen according to default Selection Strategy from a variety of personality information A kind of personality information, afterwards, obtains the intention and meaning of dialogue side in the default knowledge collection corresponding to the personality information from selection Feedback information corresponding to figure entity word, and dialogue side is replied based on the feedback information.Above-mentioned default Selection Strategy can basis Actual demand is configured, for example, default Selection Strategy can include:Choose proportion highest personality information, according to current right Words side's personality information corresponding with the relation selection of the user of intelligent electronic device and randomly select in personality information one It is individual or multiple;Embodiment of the present invention does not limit the specific manifestation form of default Selection Strategy.
One specific example, in user's property that the step S210 user's personality information got is intelligent electronic device In the case of lattice information, user's personality information that setting procedure S210 is got is:Personality 1 is identified, the corresponding proportion of personality 1, Personality 2 is identified, the corresponding proportion of personality 2, personality 3 are identified and the corresponding proportion of personality 3, if embodiment of the present invention is determined When going out the kinsfolk for the user that current session side belongs to intelligent electronic device, then embodiment of the present invention can be according to default Selection Strategy chooses the information of personality 1 from 3 kinds of personality information;If embodiment of the present invention determines that current session side belongs to intelligence Can electronic equipment user colleague when, then embodiment of the present invention can be according to default Selection Strategy from 3 kinds of personality information The middle selection information of personality 2;If embodiment of the present invention determines that current session side belongs to stranger, embodiment party of the present invention Formula can choose the information of personality 3 according to default Selection Strategy from 3 kinds of personality information.Certainly, in the specific example, this hair Bright embodiment can not also make a distinction to the relation of current session side and the user of intelligent electronic device, but according to pre- If Selection Strategy chooses proportion highest personality information from 3 kinds of personality information.
As an example, the mode that embodiment of the present invention replies dialogue side according to feedback information can be Audio Reply side Formula, or text response mode, can also be video response mode etc..
Step S200 and S220 in embodiments of the present invention is realized by dialog model, and step S210 passes through property Lattice model is come in the case of realizing, user's personality information of personality model output is provided to dialog model, dialog model according to User's personality information that its intention extracted and intention entity word and the transmission of personality model come presets Knowledge Set from corresponding Obtained in conjunction and be intended to feedback information corresponding with entity word is intended to, and dialogue side is replied based on the feedback information.In addition, step Basis in S220 presets Selection Strategy and a kind of processing procedure of personality information is chosen from a variety of personality information, can be by personality Model is performed, i.e., in one embodiment, complete user's personality information that personality model can be got is carried completely Dialog model is supplied, it is in another embodiment, partial in user's personality information that personality model can be got Lattice information is supplied to dialog model.Further, in the case where personality model fails and gets user's personality information, mould is talked with Type would generally obtain intention feedback information corresponding with entity word is intended to using Default knowledge set.
Example devices
After the method for exemplary embodiment of the invention is described, next, with reference to Fig. 3 to exemplary reality of the invention The device for being realized artificial intelligence dialogue based on user's personality for applying mode is illustrated.
Referring to Fig. 3, it is schematically shown that according to an embodiment of the invention to be used to realize artificial intelligence based on user's personality Can dialogue device structural representation, and the device can be generally arranged in user equipment, for example, user can be arranged at The internet of things equipment such as intelligent sound box, intelligent sound assistant and intelligent television in, for another example the desk-top of user can be arranged at In the subscriber terminal equipments such as computer, mobile computer, intelligent mobile phone and tablet personal computer.Certainly, the present invention is implemented Mode is not excluded for the possibility being arranged in server of the device, is also not excluded for part and is arranged in user equipment, and part It is arranged at the possibility in server.
Device in Fig. 3 mainly includes:First acquisition module 300, the second acquisition module 310 and feedback reply module 320, each module is illustrated respectively below:
First acquisition module 300 is mainly used in the input acquisition of information pair of the dialogue side received according to intelligent electronic device The wish of words side.
As an example, the input information for the dialogue side that the first acquisition module 300 can be received according to intelligent electronic device Obtain and be intended to and be intended to entity word.Specifically, the dialogue side that the first acquisition module 300 can receive intelligent electronic device Speech input information is converted to text message, and carries out semantic analysis to text information, and entity word is intended to and is intended to obtain; The text entry information for the dialogue side that first acquisition module 300 can also be received to intelligent electronic device carries out semantic analysis, It is intended to and is intended to entity word to obtain.Operation that first acquisition module 300 is specifically performed such as it is directed in above-mentioned method embodiment Step S200 description, is no longer described in detail herein.
Second acquisition module 310 is mainly used in obtaining user's personality information.
As an example, in the case where determining the user that dialogue side is not intelligent electronic device, the second acquisition module 310 can obtain user's personality letter of current session side's personality information or intelligent electronic device according to default feedback strategy Breath.
In application scenarios of the current session side for the user of intelligent electronic device are determined, the second acquisition module 310 User's personality information of intelligent electronic device would generally be obtained.Second acquisition module 310 can be according to intelligent electronic device Historical information formation user's personality information of user.Second acquisition module 310 can be crawled mode and be obtained by network to be made The historical review delivered in a network with side.
Determining that current session side is other users in addition to the user of intelligent electronic device (for example, strange People, for another example the telephonic communication record of the user of intelligent electronic device or JICQ address list or E-mail address Contact person in address list etc.) application scenarios in, the second acquisition module 310 can obtain user's property of intelligent electronic device Lattice information, can also obtain current session side's personality information.And under the application scenarios, the second acquisition module 310 can basis Default feedback strategy come determine be obtain intelligent electronic device user's personality information, or obtain current session side's personality letter Breath.Above-mentioned default feedback strategy can be set according to the actual requirements, and embodiment of the present invention does not limit default feedback strategy institute Comprising particular content.In addition, the second acquisition module 310 can form other users according to the historical information of above-mentioned other users Personality information.What the second acquisition module 310 can crawl that mode obtains that above-mentioned other users deliver in a network by network goes through Commentary on historical events or historical records are discussed.Further, the second acquisition module 310 can be constantly perfect in intelligent electronic device and the dialog procedure of other users Other users personality information.
As an example, the second acquisition module 310 can directly be believed when receiving the input information of dialogue side from the input Obtain each personality entity word in breath, and according to each personality entity word got each belonging to personality determine that user's personality is believed Breath.
As an example, the second acquisition module 310 can utilize each personality entity word from input acquisition of information real in personality Pronouns, general term for nouns, numerals and measure words set is searched, and determines user's personality information according to the personality of each personality entity word found mark.
, can be with as an example, the second acquisition module 310 is in the case where that successfully can get the identity information of dialogue side Searched first with the identity information of dialogue side in the corresponding relation of identity and personality, if it is possible to find the note of matching Record (the personality information for being previously stored with current session side), then the second acquisition module 310 can be by the note of the matching found User's personality information that personality information in record is got as this;If the record of matching, second can not be found Acquisition module 310 obtains each personality entity word, and each property got using this from the input information of current session side again Lattice entity word is searched respectively in personality entity set of words, so as to be identified according to the personality of each personality entity word found To determine user's personality information.
, can be with as an example, the second acquisition module 310 is in the case where that successfully can get the identity information of dialogue side Each personality entity word is obtained from the input information of current session side, and each personality entity word got using this is in personality Searched respectively in entity set of words, so that the second acquisition module 310 can obtain the personality mark of each personality entity word;With This simultaneously, the second acquisition module 310 can also be carried out using the identity information of dialogue side in the corresponding relation of identity and personality Search, if it is possible to find the record (the personality information for being previously stored with current session side) of matching, then second obtain mould Block 310 can be in the record using each personality entity word of above-mentioned acquisition to update matching personality information, and by after renewal Personality information is used as the user's personality information got;If the record of matching can not be found, the second acquisition module 310 User's personality information can be determined according to the personality of each personality entity word of above-mentioned acquisition mark.
As an example, the second acquisition module 310 can get the telephone number of caller according to call information, second obtains Modulus block 310 can get the instant messaging account of instant message sender according to the new instant message received, Second acquisition module 310 can get the Email Accounts of Email sender according to the new Email received, the Two acquisition modules 310 can obtain the name of current session side according to the voice messaging or text message received.In addition, the The occupation that two acquisition modules 310 can get current session side according to the voice messaging or text message received (is such as passed The person of making a gift to someone or electric appliances service personnel or property personnel etc.).
Second acquisition module 310 obtains the specific example of user's personality information and safeguards the corresponding relation of identity and personality The associated description in the step S210 of above method embodiment is may refer to, is no longer described in detail herein.In addition, second obtains Module 310 can show as the form of personality model.
Feedback replies module 320 and is mainly used in from the corresponding default knowledge collection of user's personality information obtaining dialogue side The corresponding feedback information of wish, and dialogue side is replied according to the feedback information.
As an example, embodiment of the present invention is previously provided with multiple default Knowledge Sets corresponding with corresponding personality respectively Close, and embodiment of the present invention can also set a Default knowledge set, for example, the default knowledge of the correspondence of above-mentioned personality 1 first Set, the default knowledge collection of the above-mentioned correspondence of personality 2 second, the default knowledge collection of the above-mentioned correspondence of personality 3 the 3rd.
As an example, in the case where the second acquisition module 310 have successfully been obtained user's personality information, feedback replies module 320 can obtain dialogue side based on the default knowledge collection corresponding to the personality information (for example, second default knowledge collection) It is intended to and is intended to the feedback information corresponding to entity word, and dialogue side is replied based on the feedback information.And in the second acquisition module In the case that 310 do not get user's personality information, feedback, which replies module 320, can be based on Default knowledge set, obtain dialogue Feedback information corresponding to the intention and intention entity word of side, and dialogue side is replied based on the feedback information.In addition, if second User's personality information that acquisition module 310 is obtained does not have corresponding default knowledge collection, then feedback replies module 320 and equally may be used Based on Default knowledge set, to obtain the intention of dialogue side and be intended to the feedback information corresponding to entity word, and based on the feedback Information replies dialogue side.
As an example, including in user's personality information that the second acquisition module 310 is got:A variety of personality information and each In the case of planting the proportion shared by personality information, feedback, which replies module 320, to be believed according to default Selection Strategy from a variety of personality A kind of personality information is chosen in breath, afterwards, dialogue side is obtained in the default knowledge collection corresponding to the personality information from selection It is intended to and is intended to the feedback information corresponding to entity word, and dialogue side is replied based on the feedback information.Above-mentioned default Selection Strategy It can be configured according to the actual requirements, for example, default Selection Strategy can include:Choose proportion highest personality information, root According to current session side's personality information corresponding with the relation selection of the user of intelligent electronic device and randomly select personality letter One or more in breath;Embodiment of the present invention does not limit the specific manifestation form of default Selection Strategy.
As an example, it can be Audio Reply side that feedback, which replies module 320 according to the mode of feedback information answer dialogue side, Formula, or text response mode, can also be video response mode etc..
As an example, the first acquisition module 300 and feedback reply module 320 is properly termed as dialog model together, second In the case that acquisition module 310 is personality model, user's personality information of personality model output is provided to dialog model, talks with Intention that model is extracted according to it and be intended to entity word and personality model transmit user's personality information for coming from it is corresponding in advance It is intended to feedback information corresponding with entity word is intended to if being obtained in knowledge collection, and dialogue side is replied based on the feedback information.Separately Outside, feedback replies module can choose a kind of the treated of personality information according to default Selection Strategy from a variety of personality information Journey, can be performed by personality model, i.e., in one embodiment, complete user's property that personality model can be got Lattice information is supplied to dialog model completely, in another embodiment, user's personality letter that personality model can be got Part personality information in breath is supplied to dialog model.Further, failed in personality model and get user's personality information In the case of, dialog model would generally obtain intention feedback information corresponding with entity word is intended to using Default knowledge set.
Fig. 4 shows the block diagram suitable for being used for the exemplary computer system/server 40 for realizing embodiment of the present invention. The computer system/server 40 that Fig. 4 is shown is only an example, to the function of the embodiment of the present invention and should not use scope Bring any limitation.
As shown in figure 4, computer system/server 40 is showed in the form of universal computing device.Computer system/service The component of device 40 can include but is not limited to:One or more processor or processing unit 401, system storage 402, even Connect the bus 403 of different system component (including system storage 402 and processing unit 401).
System storage 402 can include the computer system readable media of form of volatile memory, for example, deposit at random Access to memory (RAM) 4021 and/or cache memory 4022.System storage 402 may further include other removable Dynamic/immovable, volatile/non-volatile computer system storage medium.Only as an example, system storage 402 includes Immovable, non-volatile magnetic media ROM4023.Although not shown in FIG. 4, it can provide for removable non-volatile Property disk (such as " floppy disk ") read-write disc driver, and to may move anonvolatile optical disk (such as CD-ROM, DVD- ROM or other optical mediums) read-write CD drive.In these cases, each driver can be by one or more Individual data media interfaces are connected with bus 403.At least one program product, program production can be included in system storage 402 Product have one group of (for example, at least one) program module, and these program modules are configured to perform the work(of various embodiments of the present invention Energy.
Program/utility 4025 with one group of (at least one) program module 4024, can be stored in such as system In memory 402, and such program module 4024 includes but is not limited to:Operating system, one or more application program, its The realization of network environment is potentially included in each or certain combination in its program module and routine data, these examples. Program module 4024 generally performs function and/or method in embodiment described in the invention.
Computer system/server 40 can also be with one or more external equipments 404 (such as keyboard, sensing equipment, display Device etc.) communication.This communication can be carried out by input/output (I/O) interface 405.Also, computer system/server 40 Network adapter 406 and one or more network (such as LAN (LAN), wide area network (WAN) and/or public affairs can also be passed through Common network network, for example, internet) communication.As shown in figure 4, network adapter 406 passes through bus 403 and computer system/server 40 other modules (such as processing unit 401) communication.Although it should be understood that not shown in Fig. 4, department of computer science can be combined System/server 40 uses other hardware and/or software module.
Processing unit 401 is stored in the computer program in system storage 402 by operation, so as to perform various functions Using and data processing, specifically, processor 401 can perform the computer program stored in memory 402, and the meter When calculation machine program is performed, following instructions are run:For the input information of the dialogue side received according to intelligent electronic device Obtain the instruction (following to be referred to as the first instruction) of the wish of dialogue side;Instruction for obtaining user's personality information is (following to be referred to as Second instruction);For obtaining the corresponding feedback information of above-mentioned wish from the corresponding default knowledge collection of user's personality information, and The instruction (following to be referred to as the 3rd instruction) of dialogue side is replied according to the feedback information.
Above-mentioned first instruction can include:For the input acquisition of information of the dialogue side received according to intelligent electronic device It is intended to and is intended to the instruction (following to be referred to as the 4th instruction) of entity word.4th instruction can be specifically included:For by smart electronicses The speech input information for the dialogue side that equipment is received is converted to text message, and carries out semantic analysis to text information, with Obtain the instruction for being intended to and being intended to entity word;4th instruction can also be specifically included:For what is received to intelligent electronic device The text entry information of dialogue side carries out semantic analysis, to obtain the instruction for being intended to and being intended to entity word.What the 4th instruction was performed Step S200 description is directed in concrete operations such as above-mentioned method embodiment, is no longer described in detail herein.
In one embodiment, above-mentioned second instruction can be specifically included:For determining that dialogue side is not intelligence In the case of the user of electronic equipment, current session side's personality information is obtained according to default feedback strategy or smart electronicses are set The instruction of standby user's personality information.
In another embodiment, above-mentioned second instruction can be specifically included:For from the input information of dialogue side Obtain the instruction of each personality entity word;For according to each personality entity word for getting, each affiliated personality to determine user's personality The instruction (following to be referred to as the 5th instruction) of information.
In yet another embodiment, above-mentioned second refers to and can specifically include:Identity information for obtaining dialogue side Instruction (following to be referred to as the 6th instruction);Searched for the identity information according to dialogue side in the corresponding relation of identity and personality Instruction;For in the case where finding matching record, finger of the personality information in record as user's personality information will to be matched Order;For in the case where not finding matching record, the instruction of each personality entity word to be obtained from the input information of dialogue side; For according to each personality entity word for getting each belonging to personality determine the instruction of user's personality information (the i.e. the 5th instructs).
In one embodiment, above-mentioned 6th instruction can be specifically included:Telephone number for obtaining caller Instruction;In one embodiment, above-mentioned 6th instruction can be specifically included:For obtaining disappearing immediately for instant message sender The instruction of message communication account;In one embodiment, above-mentioned 6th instruction can be specifically included:For obtaining Email hair The instruction of the Email Accounts for the side of sending;In one embodiment, above-mentioned 6th instruction can be specifically included:For being handed over by voice The interaction of mutual or text message obtains the instruction of the name of visitor.
As an example, the equipment of embodiment of the present invention can also optionally include:For setting body according to historical information Part and the instruction (following to be referred to as seven instructions) of the corresponding relation of personality.In one embodiment, the 7th instruction can include: For for a historical information, the corresponding identity information of historical information is obtained, and obtains from historical information each personality Entity word, searches each personality entity word, according to looking into the personality entity set of words that there is personality to identify pre-set Each personality entity word is accumulated at the corresponding identity of the historical information and believed by the personality mark of each personality entity word found respectively In the corresponding corresponding personality entity word quantity of breath, the corresponding relation of corresponding identity and personality is safeguarded according to current accumulated result Instruction.Above-mentioned historical information can include:History between intelligent electronic device inputs information (i.e. dialog history), in net One or more in historical review, historical electronic mail and the history instant message delivered in network.
In one embodiment, above-mentioned 5th instruction can be specifically included:For to there is personality mark what is pre-set The instruction of each personality entity word is searched in the personality entity set of words of knowledge;For according to each personality entity word found Personality mark determines the instruction of user's personality information;Wherein, user's personality information includes:At least one personality information, and In the case where user's personality information includes a variety of personality information, user's personality information also includes:Proportion shared by various personality.
Operation and specific example that above-mentioned second instruction, the 5th instruction, the 6th instruction and the 7th instruction are specifically performed Son may refer to be directed to the description of step 210 in above method embodiment, no longer describe in detail herein.
In one embodiment, above-mentioned 3rd instruction can be specifically included:Include a variety of personality in user's personality information In the case of proportion shared by information and various personality, for choosing one from a variety of personality information according to default Selection Strategy Kind of personality information, and it is corresponding with entity word is intended to obtain from the corresponding default knowledge collection of the personality information of selection the intention Feedback information instruction.
Embodiment of the present invention can also optionally include:For in the case where not getting user's personality information, from Obtained in Default knowledge set and be intended to feedback information corresponding with entity word is intended to, and dialogue side is replied according to the feedback information Instruction (following to be referred to as the 8th instruction).
The operation and specific example that above-mentioned 3rd instruction and the 8th instruction are specifically performed may refer to the above method The description of step 220 is directed in embodiment, is no longer described in detail herein.
One specific example of computer-readable recording medium of embodiment of the present invention is as shown in Figure 5.
Fig. 5 computer-readable recording medium is CD 500, is stored thereon with computer program (i.e. program product), should When program is executed by processor, each step described in above method embodiment can be realized, for example, being set according to smart electronicses The wish of the input information obtaining session side of the standby dialogue side received;Obtain user's personality information;From user's personality information pair The corresponding feedback information of above-mentioned wish is obtained in the default knowledge collection answered, and dialogue side is replied according to the feedback information;Each step Rapid specific implementation is not repeated.
Although it should be noted that being referred in above-detailed for realizing artificial intelligence dialogue based on user's personality Some modules or submodule of equipment, but it is this divide be merely exemplary it is not enforceable.In fact, according to this hair Bright embodiment, the feature and function of two or more above-described modules can embody in a module.Conversely, The feature and function of an above-described module can be further divided into being embodied by multiple modules.
In addition, although the operation of the inventive method is described with particular order in the accompanying drawings, this do not require that or Hint must be performed according to the particular order these operation, or the operation having to carry out shown in whole could realize it is desired As a result.Additionally or alternatively, it is convenient to omit some steps, multiple steps are merged into a step execution, and/or by one Step is decomposed into execution of multiple steps.
Although describing spirit and principles of the present invention by reference to some embodiments, it should be appreciated that, this Invention is not limited to disclosed embodiment, and the division to each side does not mean that the feature in these aspects can not yet Combination is this to divide merely to the convenience of statement to be benefited.It is contemplated that cover appended claims spirit and In the range of included various modifications and equivalent arrangements.

Claims (15)

1. a kind of method for being used to realize artificial intelligence dialogue based on user's personality, including:
The wish of the input information obtaining session side of the dialogue side received according to intelligent electronic device;
Obtain user's personality information;
The corresponding feedback information of the wish is obtained from the corresponding default knowledge collection of user's personality information, and according to institute State feedback information and reply the dialogue side.
2. the method for claim 1, wherein input information of the dialogue side received according to intelligent electronic device The step of wish for obtaining dialogue side, includes:
The input acquisition of information of the dialogue side received according to intelligent electronic device is intended to and is intended to entity word.
3. method as claimed in claim 2, wherein, the input information of the dialogue side received according to intelligent electronic device Obtain and be intended to and include the step of being intended to entity word:
The speech input information for the dialogue side that intelligent electronic device is received is converted to text message, and to the text message Semantic analysis is carried out, entity word is intended to and is intended to obtain;Or
The text entry information of the dialogue side received to intelligent electronic device carries out semantic analysis, is intended to and is intended in fact to obtain Pronouns, general term for nouns, numerals and measure words.
4. the method for claim 1, wherein the step of acquisition user's personality information includes:
In the case where determining the user that the dialogue side is not the intelligent electronic device, obtained according to default feedback strategy Take current session side's personality information or user's personality information of the intelligent electronic device.
5. the method for claim 1, wherein the step of acquisition user's personality information includes:
Each personality entity word is obtained from the input information of the dialogue side, and it is each according to each personality entity word got User's personality information is determined from affiliated personality.
6. the method for claim 1, wherein the step of acquisition user's personality information includes:
Obtain the identity information of the dialogue side, and according to the identity information of the dialogue side identity and personality corresponding relation It is middle to search;
In the case where finding matching record, the personality information in the matching record is regard as user's personality information;
In the case where not finding matching record, each personality entity word, and root are obtained from the input information of the dialogue side According to each personality entity word got each belonging to personality determine user's personality information.
7. method as claimed in claim 6, wherein, it is described obtain the dialogue side identity information the step of include:
Obtain the telephone number of caller;Or
Obtain the instant messaging account of instant message sender;Or
Obtain the Email Accounts of Email sender;Or
The name of visitor is obtained by interactive voice or text message interaction.
8. method as claimed in claim 6, the corresponding relation of the identity and personality is set according to historical information, and institute Stating the set-up mode of corresponding relation includes:
For a historical information, the corresponding identity information of the historical information is obtained, and obtained from the historical information Each personality entity word is taken, each personality entity is searched in the personality entity set of words that there is personality to identify pre-set Word, the historical information correspondence is accumulated at according to the personality of each personality entity word found mark respectively by each personality entity word Identity information corresponding to corresponding personality entity word quantity in, corresponding identity and personality are safeguarded according to current accumulated result Corresponding relation.
9. method as claimed in claim 8, the historical information includes:History input information, the history delivered in a network One or more in comment, historical electronic mail and history instant message.
10. the method as described in claim 5 or 6 or 7 or 8 or 9, each personality entity word got described in the basis is each The step of affiliated personality determines user's personality information includes:
Each personality entity word is searched in the personality entity set of words that there is personality to identify pre-set;
User's personality information is determined according to the personality of each personality entity word found mark;
Wherein, user's personality information includes:At least one personality information, and include a variety of property in user's personality information In the case of lattice information, user's personality information also includes:Proportion shared by various personality.
11. obtained in method as claimed in claim 10, the corresponding default knowledge collection from user's personality information The intention includes with the step of being intended to entity word corresponding feedback information:
Include in user's personality information:In the case of proportion shared by a variety of personality information and various personality, according to pre- If Selection Strategy chooses a kind of personality information from a variety of personality information, and corresponding pre- from the personality information of the selection If obtaining intention feedback information corresponding with entity word is intended in knowledge collection.
12. the method as described in any claim in claim 1 to 9, methods described also includes:
In the case where not getting user's personality information, the intention is obtained from Default knowledge set and is intended to entity word pair The feedback information answered, and the dialogue side is replied according to the feedback information.
13. a kind of medium, is stored thereon with program, the program is realized any in the claims 1-12 when being executed by processor Method described in.
14. a kind of device, including:
First acquisition module, for the meaning for inputting information obtaining session side of the dialogue side received according to intelligent electronic device It is willing to;
Second acquisition module, for obtaining user's personality information;
Feedback replies module, corresponding for obtaining the wish from the corresponding default knowledge collection of user's personality information Feedback information, and the dialogue side is replied according to the feedback information.
15. a kind of computing device, including:
Memory, for storing computer program;
Processor, for performing the computer program stored in the memory, and the computer program is when being performed, following Instruction is run:
Instruction for the wish of the input information obtaining session side of the dialogue side that is received according to intelligent electronic device;
Instruction for obtaining user's personality information;
For obtaining the corresponding feedback information of the wish, and root from the corresponding default knowledge collection of user's personality information The instruction of the dialogue side is replied according to the feedback information.
CN201710359641.XA 2017-05-19 2017-05-19 Method and apparatus for realizing artificial intelligence dialogue based on user's personality Pending CN107169113A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710359641.XA CN107169113A (en) 2017-05-19 2017-05-19 Method and apparatus for realizing artificial intelligence dialogue based on user's personality

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710359641.XA CN107169113A (en) 2017-05-19 2017-05-19 Method and apparatus for realizing artificial intelligence dialogue based on user's personality

Publications (1)

Publication Number Publication Date
CN107169113A true CN107169113A (en) 2017-09-15

Family

ID=59816349

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710359641.XA Pending CN107169113A (en) 2017-05-19 2017-05-19 Method and apparatus for realizing artificial intelligence dialogue based on user's personality

Country Status (1)

Country Link
CN (1) CN107169113A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107622052A (en) * 2017-09-20 2018-01-23 广东欧珀移动通信有限公司 Natural language processing method, apparatus, storage medium and terminal device
CN107832720A (en) * 2017-11-16 2018-03-23 北京百度网讯科技有限公司 information processing method and device based on artificial intelligence
CN108038421A (en) * 2017-11-21 2018-05-15 付登明 Intelligent hospitalit method and system
CN109194567A (en) * 2018-08-31 2019-01-11 百度在线网络技术(北京)有限公司 Method and apparatus for retransmission of information
CN109660767A (en) * 2018-12-29 2019-04-19 成都国科微电子有限公司 A kind of visitor's response method, intelligent doorbell and the system of intelligent doorbell
CN109977405A (en) * 2019-03-26 2019-07-05 北京博瑞彤芸文化传播股份有限公司 A kind of intelligent semantic matching process
CN110083687A (en) * 2019-04-28 2019-08-02 上海盛付通电子支付服务有限公司 A kind of information conversion method, equipment and storage medium
CN110188177A (en) * 2019-05-28 2019-08-30 北京搜狗科技发展有限公司 Talk with generation method and device
CN110209792A (en) * 2019-06-13 2019-09-06 苏州思必驰信息科技有限公司 Talk with painted eggshell generation method and system
CN111488435A (en) * 2019-01-28 2020-08-04 宝马股份公司 Artificial intelligence dialogue method and device, chat robot and storage medium
CN112541738A (en) * 2020-12-15 2021-03-23 平安科技(深圳)有限公司 Examination and approval method, device, equipment and medium based on intelligent conversation technology
CN115952272A (en) * 2023-03-10 2023-04-11 杭州心识宇宙科技有限公司 Method, device and equipment for generating dialogue information and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103593054A (en) * 2013-11-25 2014-02-19 北京光年无限科技有限公司 Question-answering system combining emotion recognition and output
CN103634472A (en) * 2013-12-06 2014-03-12 惠州Tcl移动通信有限公司 Method, system and mobile phone for judging mood and character of user according to call voice
CN104123938A (en) * 2013-04-29 2014-10-29 富泰华工业(深圳)有限公司 Voice control system, electronic device and voice control method
CN106294774A (en) * 2016-08-11 2017-01-04 北京光年无限科技有限公司 User individual data processing method based on dialogue service and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104123938A (en) * 2013-04-29 2014-10-29 富泰华工业(深圳)有限公司 Voice control system, electronic device and voice control method
CN103593054A (en) * 2013-11-25 2014-02-19 北京光年无限科技有限公司 Question-answering system combining emotion recognition and output
CN103634472A (en) * 2013-12-06 2014-03-12 惠州Tcl移动通信有限公司 Method, system and mobile phone for judging mood and character of user according to call voice
CN106294774A (en) * 2016-08-11 2017-01-04 北京光年无限科技有限公司 User individual data processing method based on dialogue service and device

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107622052A (en) * 2017-09-20 2018-01-23 广东欧珀移动通信有限公司 Natural language processing method, apparatus, storage medium and terminal device
CN107622052B (en) * 2017-09-20 2021-01-22 Oppo广东移动通信有限公司 Natural language processing method and device, storage medium and terminal equipment
CN107832720A (en) * 2017-11-16 2018-03-23 北京百度网讯科技有限公司 information processing method and device based on artificial intelligence
CN108038421A (en) * 2017-11-21 2018-05-15 付登明 Intelligent hospitalit method and system
CN109194567B (en) * 2018-08-31 2020-06-09 百度在线网络技术(北京)有限公司 Method and apparatus for retransmitting information
CN109194567A (en) * 2018-08-31 2019-01-11 百度在线网络技术(北京)有限公司 Method and apparatus for retransmission of information
CN109660767A (en) * 2018-12-29 2019-04-19 成都国科微电子有限公司 A kind of visitor's response method, intelligent doorbell and the system of intelligent doorbell
CN111488435A (en) * 2019-01-28 2020-08-04 宝马股份公司 Artificial intelligence dialogue method and device, chat robot and storage medium
CN111488435B (en) * 2019-01-28 2023-12-12 宝马股份公司 Artificial intelligence dialogue method and device, chat robot and storage medium
CN109977405A (en) * 2019-03-26 2019-07-05 北京博瑞彤芸文化传播股份有限公司 A kind of intelligent semantic matching process
CN110083687A (en) * 2019-04-28 2019-08-02 上海盛付通电子支付服务有限公司 A kind of information conversion method, equipment and storage medium
CN110083687B (en) * 2019-04-28 2022-01-04 上海盛付通电子支付服务有限公司 Information conversion method, equipment and storage medium
CN110188177A (en) * 2019-05-28 2019-08-30 北京搜狗科技发展有限公司 Talk with generation method and device
CN110209792A (en) * 2019-06-13 2019-09-06 苏州思必驰信息科技有限公司 Talk with painted eggshell generation method and system
CN112541738B (en) * 2020-12-15 2022-08-19 平安科技(深圳)有限公司 Examination and approval method, device, equipment and medium based on intelligent conversation technology
CN112541738A (en) * 2020-12-15 2021-03-23 平安科技(深圳)有限公司 Examination and approval method, device, equipment and medium based on intelligent conversation technology
CN115952272A (en) * 2023-03-10 2023-04-11 杭州心识宇宙科技有限公司 Method, device and equipment for generating dialogue information and readable storage medium

Similar Documents

Publication Publication Date Title
CN107169113A (en) Method and apparatus for realizing artificial intelligence dialogue based on user's personality
CN102272789B (en) Enhanced voicemail usage through automatic voicemail preview
CN101689365B (en) Method of controlling a video conference
KR101819767B1 (en) Caller id surfing
US8537980B2 (en) Conversation support
CN102427493B (en) Communication session is expanded with application
CN1307589C (en) Method and apparatus of managing information about a person
US8290132B2 (en) Communications history log system
US8731919B2 (en) Methods and system for capturing voice files and rendering them searchable by keyword or phrase
US20020123331A1 (en) Mobile communication system for a network
US20110142221A1 (en) System and method for automated group calling service based on key words
CN110891124A (en) System for artificial intelligence pick-up call
US20060018446A1 (en) Interactive voice message retrieval
CN109842712B (en) Call record generation method and device, computer equipment and storage medium
CN103078995A (en) Customizable individualized response method and system used in mobile terminal
US8606240B1 (en) Hybrid communications mailbox
US8792863B2 (en) Method for collecting and storing annotations associated to a voice audio data
EP2248335A1 (en) System and method for providing audible spoken name pronunciations
US20090210225A1 (en) Supporting electronic task management systems via telephone
US8929867B2 (en) Automated electronic messaging to a person with whom another form of communication is exchanged
CN102025801A (en) Method and device for converting text information
CN101202795B (en) Method and system for audio frequency content user recording
CN1700714A (en) System and method for implementing telephone voice service automatically
CN101558573B (en) Controlling a telecommunications device
EP1222799A2 (en) Personal instant communication system

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170915

RJ01 Rejection of invention patent application after publication