It is chatted based on active and builds the method and apparatus of user's portraitTechnical field
The present invention relates to artificial intelligence field more particularly to a kind of method drawn a portrait based on active chat structure user and setIt is standby.
Background technology
With the rise of artificial intelligence technology, the chat robots of oneself much are proposed in the operation commercial city of line service,Customer can only no longer chat with people, can also chat with chat robots and be putd question to by the way that chat robots answer is corresponding.
Currently used Chat mode, mainly by chat robots question-response formula to customer questions, Huo ZhezhenIt furnishes an answer to the enquirement of customer.It is mainly used in the chat scenario initiated by customer, such as customer service question and answer, questionnaireDeng.Among these, operator needs to build user's portrait for the customer for initiating chat, in order to improve the accuracy of question and answer.
But the mode of this structure user portrait, generally requiring to carry out the question and answer of many bouts with customer could obtain moreAccurately user draws a portrait, and deposits the problem of spending the time longer.
Invention content
The embodiment of the present invention provides a kind of method and apparatus for structure user's portrait of chatting based on active, can extenuate and adoptCollect the problem of user's portrait spends the time longer.
Art, the associated intention of information if problem base configuration needs the information collected, collects information use.In userDuring chatting with chat robots, if the intention of chat content is close with needing the intention of collection problem, and this is askedThe answer of topic also has not been obtained, and chat robots return to use according to fixed words art (art if i.e. aforementioned collection information use)Family.If the intention for the problem of intention of chat content is with needing to collect is unrelated, chat robots voluntarily answer user.WithAfter family is replied the problem of needing to collect, the content of chat robots analysis user's answer records answer.If it chats several timesThe problem of whole needs to collect content is not collected yet in the process, chat robots can find out the problem of answer also has not been obtained simultaneouslyGuiding is actively initiated according to art if configuration to user to put question to, chat robots analysis user answers interior after user answersHold, record answer.
In the embodiment of the present invention, by analyzing the intention of user, the problem of related actively is pushed to user, so that withThe gatherer process of family information is controllable, and problem is definitely, and the intention of collected answer and user are more agreed with.It has extenuated eachThe data analysis that passes through that chat robots can only be passively when building user's portrait in kind chat scenario builds user's portrait, processThe problem of uncontrollable and cost overlong time.
Description of the drawings
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to needed in the embodimentAttached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present invention, for abilityFor the those of ordinary skill of domain, without creative efforts, it can also be obtained according to these attached drawings other attachedFigure.
Fig. 1 a, Fig. 1 b are system architecture schematic diagram provided in an embodiment of the present invention;
Fig. 2 a are a kind of method flow schematic diagram provided in an embodiment of the present invention;
Fig. 2 b, Fig. 2 c, the schematic diagram that Fig. 4 is specific example provided in an embodiment of the present invention;
Fig. 3 is another method flow schematic diagram provided in an embodiment of the present invention.
Specific embodiment
For those skilled in the art is made to more fully understand technical scheme of the present invention, below in conjunction with the accompanying drawings and specific embodiment partyFormula is described in further detail the present invention.Embodiments of the present invention are described in more detail below, the embodiment is shownExample is shown in the drawings, wherein same or similar label represents same or similar element or with identical or class from beginning to endLike the element of function.It is exemplary below with reference to the embodiment of attached drawing description, is only used for explaining the present invention, and cannotIt is construed to limitation of the present invention.Those skilled in the art of the present technique are appreciated that unless expressly stated, odd number shape used hereinFormula " one ", "one", " described " and "the" may also comprise plural form.It is to be further understood that the specification of the present inventionThe middle wording " comprising " used refers to there are the feature, integer, step, operation, element and/or component, but it is not excluded thatOther one or more features of presence or addition, integer, step, operation, element, component and/or their group.It should be understood thatWhen we claim element to be " connected " or during " coupled " to another element, it can be directly connected or coupled to other elements orThere may also be intermediary elements.In addition, " connection " used herein or " coupling " can include wireless connection or coupling.Here makeWording "and/or" includes any cell of one or more associated list items and all combines.The artTechnical staff is appreciated that unless otherwise defined all terms used herein have (including technical terms and scientific terms)The meaning identical with the general understanding of the those of ordinary skill in fields of the present invention.It should also be understood that such as generalThose terms defined in dictionary, which should be understood that, to be had a meaning that is consistent with the meaning in the context of the prior art, andUnless being defined as here, will not be explained with the meaning of idealization or too formal.
The embodiment of the present invention can be specifically realized in a kind of system as shown in Figure 1a, wherein:
Analysis Service implement body can be the server apparatus being individually made, such as:Rack, blade, tower or machineCabinet type server apparatus can also use work station, mainframe computer etc. to have stronger computing capability hardware device;It can alsoThe server cluster being made of multiple server apparatus.
User terminal can specifically make an independent system or be integrated in a variety of different media datas broadcasting systems in factIn system, such as smart mobile phone, tablet computer (Tablet Personal Computer), laptop computer (Laptop) or personal digital assistant (personal digital assistant, abbreviation PDA) etc. Computer.It can on user terminalBy the application program or APP of installation, to show chat interface, user terminal specifically shown in chat interface to analysisThe information such as chat messages, short message, the speech message that server is sent, and show the response message that Analysis server returns, fromAnd " user conversation " between user terminal and Analysis server is formed, and show the operation user of user terminal.
Operation problem library in Database Systems, for storing and managing Key for Reference.Database Systems can be specifically singleIt is solely made, the Analysis server of management, storage for data or the server being made of multiple Analysis serversCluster.The database of correspondence analysis server is run on the hardware device of Database Systems, for managing and storing analysis clothesThe data of business device.Common network database (Network Database), relational database specifically may be used(Relational Database), tree shaped data library (Hierarchical Database), object-oriented database(Object-oriented Database) and big data system architecture of new generation.
Optionally, as shown in Figure 1 b, Analysis Service implement body can also be integrated in Database Systems, such as:It will clothesPartial analysis server in business device cluster is divided into front-end server, for user terminal interaction data, this front end clothesBusiness device can be known as Analysis server;And by another part server in server cluster and most storage device(such as disk array, caching machine etc.) can serve as background data base and provide data access service for front-end server, andDescribed problem library is safeguarded on background data base.
The embodiment of the present invention provides a kind of method for structure user's portrait of chatting based on active, can specifically be taken by analyzingBusiness device realization, as shown in Figure 2 a, including:
The intention of S11, identification chat content input by user.
Wherein, the chat content is inputted by user by interactive interface (GUI), can specifically input interactive interface(GUI) in interactive window.Chat content is sent by user terminal and is shown in the interactive interface of user terminal.In chatContainer body can be the data of the forms such as word, symbol, expression packet, photo, voice.These data can pass through existing numberIt is shown in interactive interface (GUI) according to transmission mode.Such as:Chat content can be specifically one section of text message, out of chatThe concrete mode of keyword is extracted in appearance, currently used character recognition technology may be used;Chat content can also be specificallyVoice messaging is converted to text message, then extract keyword by voice messaging using currently used speech recognition technology.If it chatsIts content is specifically picture, then by image recognition technology or can search diagram technology, obtain the key associated by the pictureWord.
In practical applications, graphic user interface (GUI) is so that its is easy to operate, intuitive, is conveniently used widely, and embeddingEnter formula software to compare, Graphic User Interface software includes many windows, and many controls, these windows are included again in each windowMouthful with the various combination of the control function that constitute software different, user is by the control in operation interface, work(as defined in realizationEnergy.
" intention " described in the present embodiment, specifically can be with;It is interpreted as a kind of set of keyword, the intention of chat contentIt can be understood as:Set of keywords associated with chat content;The intention for the information association collected is needed to can be understood as:WithNeed the associated set of keywords of the information collected.
With needed under financial scenario collect user whether marriage, wedding date these problems citing, Input libraryContent is as shown in table 1:
Table 1
When the content of user and chat robots chat are related to intention associated above, chat robots can trigger thingPart.As user asks chat robots that " you are much the age", chat robots can be triggered to " age " this intention (specific meetingIt is triggered to what, which is intended that, belongs to the intention assessment ability of chat robots, is not belonging to the content of present patent application), machine of chattingPeople can search in problem base the problem of whether having " age " associated and answer has not been obtained.
Wherein, since answer has not been obtained in two problems, chat robots can put question in sequence, i.e. chat robotsIn addition to can answer user the problem of other than " my 23 years old this year ", it can also put question to that " you have got married to user”.User is followingChat robots of speaking can be analyzed when the answer of " you have got married " of opposing, update into problem base.
If answer has been got to problem " you have got married " in and user has got married, machine of next chattingPeople can put question to " when you get married " according to question order;If problem " you have got married " has been got answer butThat user does not get married, then this problem of library in without need again collect the problem of, jump out obtain user draw a portrait logic.It needs to illustrate, this part is associated with by force the analysis of problem answers and subsequent processing with business, is intended merely to illustrate in this example, to answer pointProcess flow after analysis is subject to practical application scene.
If the chat content of user does not trigger the intention of configuration in first time chat process, one after chatIn the section time (such as:It is set as 24 hours, the specific time can adjust according to business scenario), chat robots are actively initiated activelyFormula draws way to put questions, and active way to put questions of drawing is that the priority orders according to the problem of answer has not been obtained determine, in this example,Active extraction way to put questions is " Zhou Xingchi's《Talk on the journey to west》It is shown in cinema, you should seeLike your warp of 10,000 yearsAllusion quotation bridge section is really very moving ".
Before this programme, every 10 problems only 1 problem can get answer by data analysis, use this sideAfter case, every 10 problems have 4 problems that can get answer.One can be obtained using every 36 wheel dialogue average before this programmeProblem answers can obtain a problem answers using every 20 wheel session average after this programme.
S12, when the intention for inquiring the chat content belongs to the intention for the information association that needs are collected, to user endEnd sends words art content.
Wherein, the problem of words art content can be understood as being configured in problem base.Such as:If user terminal is shown in artHold the problems in correspondence problem library.The chat content of user terminal is specifically inputted by user, by user terminal to Analysis ServiceDevice is sent, and is analyzed according to chat content by Analysis server to obtain the intention of chat content.
Before S11 is performed, the configuration information of the corresponding user can also be first obtained, wherein, the configuration information packetIt includes:The information for needing to collect, the intention of the information association for needing to collect and words art message, the words art message includeArt content and when actively initiating to chat to the user terminal in art when the user is actively entered chat contentHold.
Can in advance the Analysis server the problem of in library, configuration needs the information collected, collect information use if art,The associated intention of information.
During user is chatted by user terminal and chat robots, if the intention of chat content is received with needingThe intention of collection problem is close, and the answer of this problem also has not been obtained, and chat robots are according to words art content (i.e. aforementioned receiptsArt if collection information use) return to user.If the intention for the problem of intention of chat content is with needing to collect is unrelated, chatUser voluntarily answers in its robot.
After the problem of user's reply needs to collect, the content of chat robots analysis user's answer records answer.
If not collected the problem of whole needs to collect content yet in chat process several times, chat robots are found out alsoThe problem of answer has not been obtained simultaneously actively is initiated guiding to user according to art if configuration and is putd question to, chatting machine after user answersDevice people analyzes the content that user answers, and records answer.
The chat robots technology in intelligent response system is applied, is a kind of typical case of human-computer interaction technology.Usually, have a set of problem base in intelligent response system, the inside have the problem of a large amount of and with the corresponding answer of each problem.Chatting machineThe problem of device people proposes firstly the need of identification user, i.e., find the problem of corresponding with the customer problem, then from problem baseFind out the answer being mutually matched with the problem.Wherein, problem base is used to store Key for Reference, such as:It is recorded in problem base differentThe mapping ruler of Key for Reference and keyword, and when receiving inquiry request, searched to obtain Key for Reference according to keyword;AgainSuch as:The mapping ruler of different Key for References and key combination is recorded in problem base, and when receiving inquiry request, according toMultiple keywords are searched to obtain Key for Reference.
S13, answer is obtained using answer content input by user, and according to acquired answer update user's portrait.
Wherein, answer content and above-mentioned chat content can be same type of data, and answer content is passed through by userInteractive interface (GUI) input, it can specifically input in the interactive window of interactive interface (GUI).Answer content is by user terminalSend and be shown in the interactive interface of user terminal.Answer content can also be word, symbol, expression packet, photo, voiceWait the data of forms.Analysis server can extract the keyword as answer, Huo Zhegen from answer content input by userAccording to answer content input by user, the inquiry keyword related with answer content is as answer.
The user of information portrait acquisition mode of the prior art, that passive analysis user divulges out when chatting, it is difficultTo be collected into the user information that businessman wants completely, the uncontrollable and cost time is longer.In the present invention, by analyzing user'sIt is intended to, actively pushes the problem of related to user, so that the gatherer process of user information is controllable, and problem is definitely,Collected answer and the intention of user are more agreed with.Chat robots in various chat scenarios have been extenuated to draw a portrait in structure userWhen can only be passively by data analysis build user draw a portrait, process it is uncontrollable and spend overlong time the problem of.
Specifically, when the intention for inquiring the chat content belongs to the intention for the information association that needs are collected, detectionThe problem of information for needing to collect corresponds in problem base, if existing answer.If it is not, then pass through user's terminal displayTalk about art content.
Further, it further includes:The problem of not obtaining answer is extracted from described problem library, and passes through the user terminalArt content if the problem of not obtaining answer described in displaying corresponds to.
Wherein it is possible to will the Key for Reference be sent to problem base, and triggers Analysis server and perform use by treatedThe renewal process of family portrait.Such as:As shown in Figure 2 b, when user actively initiates chat, Analysis server is received according to problem baseThe flow of collection information includes:
1-1) the intention that identification user speaks belonging to content.
1-2) whether the intention that inquiry user speaks belongs in the intention for needing to collect information.
1-3) if the intention that user speaks is not belonging to any intention for needing to collect information, by default answer voluntarilyIt answers.
If 1-4) intention that user speaks belongs to the intention that some needs to collect information, judge associated by this intentionThe information collected of needs whether obtained answer.
If the information collected 1-5) is needed to obtain answer in 1-4, voluntarily answered by default answer.
If the information collected 1-6) is needed not obtain answer in 1-4, according to the user set in data problem library activelyArt content under chat scenario, is answered.
User answers and then the answer of analysis user, and answer is updated into problem base.So as to more accurate and highEffect ground replacement problem library, and then improve user's portrait.
Further, it actively can initiate to chat to the user terminal from Analysis server, wherein, it is described to be asked from describedThe problem of not obtaining answer is extracted in exam pool, including:
If the time of last time message is more than that (duration thresholding can be every to duration thresholding in interactive interface (GUI)One maximum duration value manually set), then the problem of not obtaining answer is randomly selected from described problem library, and actively to instituteIt states user terminal and initiates chat.Such as:As shown in Figure 2 c,
2-1) timed task is judged apart from last user last time message interval duration, if more than 24 hours and correspondenceThere is the information not being collected into then to initiate actively to chat in the problem of user library.
Specifically, problem base can be divided into public storage area and personal storage region, wherein, it is main in public storage areaIt is used to store the mapping relations between different keywords and Key for Reference, and according to different merchandise classification and type of service etc.Mapping relations can be recorded as to different tables of data, the customer service account for being responsible for corresponding merchandise classification and type of service is accessingDuring problem base, the Key for Reference of corresponding keyword can be inquired from corresponding tables of data.Different user terminals corresponds to differentPersonal storage region, such as:Personal storage region in one user account correspondence problem library.In personal storage regionCustomized information mainly is stored, customized information can specifically include:Specific merchandise classification and industry corresponding to user accountThe tables of data of service type, these tables of data can be copied to personal storage region by public storage area.
The information for not being collected into answer 2-2) is chosen at random, art is pushed to user if the active of configuration is putd question to.
After 2-3) user answers, the answer of user is analyzed, answer is updated into problem base.
Chat is actively initiated by being spaced after specified time, reduces the probability that chat topic is passed into silence or discarded, andAnd can relevant answer information further be acquired not obtain the problem of answer, thus more accurately replacement problem library, intoAnd improve user's portrait.
The embodiment of the present invention also provides a kind of method for structure user's portrait of chatting based on active, as shown in figure 3, specifically may be usedTo be realized by user terminal, including:
S21, chat content input by user is included at interactive interface (GUI).
S22, it receives words art content and is shown in interactive interface (GUI).
Wherein, the intention of the chat content belongs to the intention for the information association that needs are collected, user terminal institute exhibitionThe problems in art content correspondence problem library if showing.
S23, answer content input by user is included at interactive interface (GUI), the chat robots are used for:According to instituteIt states answer content and obtains answer, and according to acquired answer update user's portrait.
Further, it further includes:Receive chat request.And receive newly art content.Wherein, apart from interactive interfaceIn when the time of last time message is more than duration thresholding in (GUI) after, the chat request is sent.Wherein, it is described newWords art content corresponds to the problem of not obtaining answer in described problem library.
The user of information portrait acquisition mode of the prior art, that passive analysis user divulges out when chatting, it is difficultTo be collected into the user information that businessman wants completely, the uncontrollable and cost time is longer.In the present invention, by analyzing user'sIt is intended to, actively pushes the problem of related to user, so that the gatherer process of user information is controllable, and problem is definitely,Collected answer and the intention of user are more agreed with.Chat robots in various chat scenarios have been extenuated to draw a portrait in structure userWhen can only be passively by data analysis build user draw a portrait, process it is uncontrollable and spend overlong time the problem of.
Chat robots described in the present embodiment specifically can be understood as operating in the calculating such as server, intelligent terminalCurrent artificial intelligence technology may be used in artificial intelligence on machine equipment, it is made to have basic learning ability, data screeningAbility, from upgrading ability, wherein:Learning ability refers to:It can grow up automatically, have certain data reserve amount, such as can be withThe problem of safeguarding backstage library.Essence is that input data structure is turned to the data of this robot according to the algorithm of designerInstitutional framework.Data screening ability refers to:Screening is filtered to the information received, therefrom extracts the significant figures such as keywordAccording to.Refer to from upgrading ability:Self study is accomplished using the data structure of design, algorithm, and has had and a degree of knowIt, can be automatically from upgrading after knowing screening capacity.
Intelligent response system is a kind of typical case of chat robots.It is common, it is found out by asking seemingly casual questions in intelligent response systemExam pool, the inside have the problem of a large amount of and with the corresponding answer of each problem.Intelligent response system is firstly the need of identification user instituteThe problem of proposition, i.e., the problem of corresponding with the customer problem is found from problem base, then find out what is be mutually matched with the problemAnswer.
The embodiment of the present invention provides a kind of chat robots for being used for user's portrait structure based on active chat, specificEffect is:
Chat robots identify the intention of chat content input by user.When the intention for inquiring the chat content belongs toWhen needing the intention for the information association collected, the chat robots send words art content, the user terminal to user terminalThe problems in art content correspondence problem library if showing.
The chat robots obtain answer using answer content input by user, and are updated and used according to acquired answerIt draws a portrait at family.
Specifically, when the intention for inquiring the chat content belongs to the intention for the information association that needs are collected, detectionThe problem of information for needing to collect corresponds in problem base, if existing answer.If it is not, then pass through user's terminal displayTalk about art content.
The user of information portrait acquisition mode of the prior art, that passive analysis user divulges out when chatting, it is difficultTo be collected into the user information that businessman wants completely, the uncontrollable and cost time is longer.In the present invention, by analyzing user'sIt is intended to, actively pushes the problem of related to user, so that the gatherer process of user information is controllable, and problem is definitely,Collected answer and the intention of user are more agreed with.Chat robots in various chat scenarios have been extenuated to draw a portrait in structure userWhen can only be passively by data analysis build user draw a portrait, process it is uncontrollable and spend overlong time the problem of.
Further, it further includes:
The problem of not obtaining answer is extracted from described problem library, and passes through and is not answered described in the user terminal displayingArt content if the problem of case corresponds to.
Wherein, the problem of not obtaining answer is extracted in the library from described problem, including:
If the time of last time message is more than duration thresholding in interactive interface (GUI), from described problem libraryThe problem of not obtaining answer is randomly selected, and actively initiates to chat to the user terminal.
User answers and then the answer of analysis user, and answer is updated into problem base.So as to more accurate and highEffect ground replacement problem library, and then improve user's portrait.
Optionally, it further includes:
The configuration information of the corresponding user is obtained, the configuration information includes:
The information for needing to collect, the intention of the information association for needing to collect and words art message, the words art disappearWhen breath includes art content when the user is actively entered chat content and actively initiates to chat to the user terminalTalk about art content.
Chat is actively initiated by being spaced after specified time, reduces the probability that chat topic is passed into silence or discarded, andAnd can relevant answer information further be acquired not obtain the problem of answer, thus more accurately replacement problem library, intoAnd improve user's portrait.
For example:As shown in Figure 4, the chat robots described in the present embodiment mainly include three modules:DataPreparation module, data collection module and data storage module.Wherein:
Data preparation module, for according to business provide the user information for needing to collect, the intention associated by user information,Chat words art when chat words art and robot when user actively chats actively are chatted.These information are stored in MysqlIn the table of database.
Data collection module, for receiving, user actively initiates chat and actively initiation is chatted to user.
Specifically, actively initiating to chat if user, data collection module is specifically used for:
The intention that identification user speaks belonging to content.Whether the intention that inquiry user speaks belongs to the meaning for needing to collect informationIn figure.If the intention that user speaks is not belonging to any intention for needing to collect information, voluntarily answered by default answer.Such asThe intention that fruit user speaks belongs to some intention for needing to collect information, judges that this is intended to the letter that associated needs are collectedWhether breath has obtained answer.
Information if necessary to collection has obtained answer, then is voluntarily answered by default answer.If necessary to the letter of collectionBreath does not obtain answer, according to art content under the user's active chat scenario set in data problem library, is answered.
User answers and then the answer of analysis user, and answer is updated into problem base.
Chat is actively initiated if to user, data collection module is specifically used for:
Timed task judged apart from last user last time message interval duration, if more than duration thresholding (such as:12、24 hours etc.) and customer problem library in there is the information not being collected into then to initiate actively to chat.
The information for not being collected into answer is chosen at random, art is pushed to user if the active of configuration is putd question to.
After user answers, the answer of user is analyzed, and pass through data storage module and update answer into problem base.
Wherein, user actively initiates chat and actively initiation chat may be repeated to user.
The user of information portrait acquisition mode of the prior art, that passive analysis user divulges out when chatting, it is difficultTo be collected into the user information that businessman wants completely, the uncontrollable and cost time is longer.In the present invention, by analyzing user'sIt is intended to, actively pushes the problem of related to user, so that the gatherer process of user information is controllable, and problem is definitely,Collected answer and the intention of user are more agreed with.Chat robots in various chat scenarios have been extenuated to draw a portrait in structure userWhen can only be passively by data analysis build user draw a portrait, process it is uncontrollable and spend overlong time the problem of.
And the answer of user is answered and then analyzed in user, answer is updated into problem base.So as to more accurateAnd efficiently replacement problem library, and then improve user's portrait.Chat is actively initiated by being spaced after specified time, reduces chatThe probability that topic is passed into silence or discarded, and can relevant answer information further be acquired not obtain the problem of answer,So as to more accurately replacement problem library, and then improve user's portrait.
The embodiment of the present invention provides a kind of Analysis server, including:
Processor, network interface, memory, communication bus, the communication bus are used for the connection communication between each component.
The computer program that storage performs for the processor in the memory, the calculating performed by the processorMachine program includes:
Data collection module, for identifying the intention of chat content input by user, when inquiring the chat contentWhen intention belongs to the intention for the information association that needs are collected, words art content is sent to user terminal, the user terminal is shownIf the problems in art content correspondence problem library.
Data storage module, for obtaining answer using answer content input by user, and according to acquired answer moreNew user's portrait.
Data preparation module, for obtaining the configuration information of the corresponding user, the configuration information includes:The needsThe information of collection, the intention of the information association for needing to collect and words art message, the words art message include the userArt content and art content when actively initiating to chat to the user terminal when being actively entered chat content.
Specifically, the data collection module, is additionally operable to need to collect when the intention for inquiring the chat content belongs toInformation association intention when, detect the described the problem of information collected is needed to be corresponded in problem base, if existing answer.If it is not, art content is then talked about by user's terminal display.
The data collection module is additionally operable to extract the problem of not obtaining answer from described problem library, and passes through describedArt content if the problem of not obtaining answer described in user terminal displaying corresponds to.Wherein, it is if last in interactive interface (GUI)The time of message is more than duration thresholding, then randomly selects the problem of not obtaining answer from described problem library, and actively toThe user terminal initiates chat.
The user of information portrait acquisition mode of the prior art, that passive analysis user divulges out when chatting, it is difficultTo be collected into the user information that businessman wants completely, the uncontrollable and cost time is longer.In the present invention, by analyzing user'sIt is intended to, actively pushes the problem of related to user, so that the gatherer process of user information is controllable, and problem is definitely,Collected answer and the intention of user are more agreed with.Chat robots in various chat scenarios have been extenuated to draw a portrait in structure userWhen can only be passively by data analysis build user draw a portrait, process it is uncontrollable and spend overlong time the problem of.
And the answer of user is answered and then analyzed in user, answer is updated into problem base.So as to more accurateAnd efficiently replacement problem library, and then improve user's portrait.Chat is actively initiated by being spaced after specified time, reduces chatThe probability that topic is passed into silence or discarded, and can relevant answer information further be acquired not obtain the problem of answer,So as to more accurately replacement problem library, and then improve user's portrait.
The embodiment of the present invention provides a kind of user terminal, including:
Processor, network interface, memory, communication bus, the communication bus are used for the connection communication between each component.
The computer program that storage performs for the processor in the memory, the calculating performed by the processorMachine program includes:
Data interaction module, for including chat content input by user at interactive interface (GUI).
Data disaply moudle, for receiving words art content and being shown in interactive interface (GUI), the intention of the chat contentBelong to the intention for the information association that needs are collected, the problems in art content correspondence problem library if the user terminal is shown.
The data interaction module is additionally operable to include answer content input by user at interactive interface (GUI), described to chatIts robot is used for:Answer is obtained, and according to acquired answer update user's portrait according to the answer content.
Specifically, data interaction module, is additionally operable to receive chat request, newly art content is received, wherein, it is handed in distanceAfter when the time of last time message is more than duration thresholding in (GUI) in mutual interface, the chat request is sent, described newWords art content corresponds to the problem of not obtaining answer in described problem library.
The user of information portrait acquisition mode of the prior art, that passive analysis user divulges out when chatting, it is difficultTo be collected into the user information that businessman wants completely, the uncontrollable and cost time is longer.In the present invention, by analyzing user'sIt is intended to, actively pushes the problem of related to user, so that the gatherer process of user information is controllable, and problem is definitely,Collected answer and the intention of user are more agreed with.Chat robots in various chat scenarios have been extenuated to draw a portrait in structure userWhen can only be passively by data analysis build user draw a portrait, process it is uncontrollable and spend overlong time the problem of.
Each embodiment in this specification is described by the way of progressive, identical similar portion between each embodimentPoint just to refer each other, and the highlights of each of the examples are difference from other examples.Especially for equipment realityFor applying example, since it is substantially similar to embodiment of the method, so describing fairly simple, related part is referring to embodiment of the methodPart explanation.The above description is merely a specific embodiment, but protection scope of the present invention is not limited toThis, any one skilled in the art in the technical scope disclosed by the present invention, the variation that can readily occur in or replacesIt changes, should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with the protection model of claimSubject to enclosing.