Embodiment
It is specifically real below in conjunction with the application to make the purpose, technical scheme and advantage of the application clearer
Apply example and technical scheme is clearly and completely described corresponding accompanying drawing.Obviously, it is described
Embodiment is only some embodiments of the present application, rather than whole embodiments.Based on the implementation in the application
Example, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made
Example, belongs to the scope of the application protection.
Just it has been observed that existing automatic question answering formula customer service system (in order to be different from artificial customer service system, therefore
Hereinafter referred to as automatic customer service system) generally only with single consultation, so as to cause obtained by user
The consulting result arrived is also more single, so, and the problem of automatic customer service system can only be to some aspects is carried
For corresponding consulting result, its applicability is poor, in some actual scenes, and user even can not be by certainly
Dynamic customer service system obtains accurately seeking advice from result.This is accomplished by a kind of to handle the automatic visitor of diversification problem
Dress system, therefore, in the embodiment of the present application provides a kind of information processing method based on consultation service, in reality
In the application of border, the automatic customer service system based on this method passes through a variety of consulting engine (that is, advisory role lists
Member), provide different initial answers the problem of the diversification proposed to user, and initial answer different
On the basis of case, preferably going out to best suit the answer of customer problem, there is provided to user.
Furthermore, it is necessary to which explanation, for the automatic customer service system in the embodiment of the present application, can run
In the server on on-line system backstage, then, under the scene, user's input will be received by the server
The problem of.Certainly, automatic customer service system also may operate at terminal local used in user, under the scene,
Automatic customer service system will keep network connection with the database on on-line system backstage, so as to provide the user automatic
Catechetical counseling services.Two kinds of above-mentioned scenes do not constitute the restriction to the application.Under the application
State in content, the scene that server is operated in based on automatic customer service system is specifically described.
Specifically, as shown in figure 1, a kind of letter based on consultation service provided by the embodiment of the present application
Processing method is ceased, this method specifically includes following steps:
S101, receives the problem of user inputs.
When user obtains corresponding business service by on-line system to go wrong, or when user is for online
When the business service that system is provided has query, user just can use the automatic visitor that on-line system is provided
Dress system, that is, user is seeked advice from the problem of can inputting corresponding.So, operation has automatic customer service system
Server will just receive user the problem of input.
During practical application, the problem of user can input corresponding by terminal used in itself.Wherein, use
Terminal includes but is not limited to used in family:The mobile terminals such as mobile phone, tablet personal computer or terminal etc..
S102, text formatting processing is carried out to described problem, generates typical problem text.
The problem of user inputs is it is possible that colloquial sentence, the sentence not comprising any punctuation mark
Etc. the sentence of a variety of noncanonical formats.So it is possible to cause to a certain degree follow-up query analysis process
Influence, therefore, in the embodiment of the present application, in order to lifted subsequent query analyze process accuracy, therefore
By the way of text formatting is handled, the problem of user is inputted is converted into the typical problem text of cannonical format.
Here typical problem text, can meet server to carry out sentence required during query analysis, example
Such as:The problem of server can be proposed for user, is converted into the Sentence format of subject+predicate+object.
Certainly, in actual applications, typical problem text will according to defined in different server standard statement format
And it is different, the restriction to the application is not constituted here.
In addition, in the embodiment of the present application, text formatting processing can include:Participle, form error correction and/
Or word meaning conversion process etc., the restriction to the application is not constituted here.
S103, calls all kinds of consulting engines having been turned on to handle the typical problem text, and generation is each
Initial consulting result.
In the automatic customer service system run in the server, a variety of consulting engines are contained, are respectively used to perform
Different advisory roles, for example:Certain consulting engine is used to provide the conversation sentence under chat scenario, then,
When user's input problem is greets sentence " hello ", user " you just can be replied by the consulting engine
Good, what, which be may I ask, can help you" in another example:Certain consulting engine has service inquiry function, when
When including the phrase relevant with certain business in the problem of user inputs, then, the consulting engine just can basis
Corresponding service in phrase inquiry on-line system, and by the information of the corresponding service inquired (introduction to business,
The information such as application method) return to user.
It should be noted that a variety of consulting engines in the application can be started according to actual application scenarios or
(in some actual scenes, seeking advice from the startup or closing of engine can be controlled by operating personnel, here for closing
Not as the restriction to the application), therefore, the typical problem text obtained for aforementioned process, server
All consulting engines having been turned on will be called to be handled.
Exactly use above-mentioned a variety of consulting engines so that the problem of being proposed for user carries out comprehensive
Ground is analyzed and inquired about, and provides a user the consulting result of diversification, rather than official communication single in the prior art
Inquiry pattern.
But due to different types of function of seeking advice from engine and differ, so, provided for same problem
Consulting result be also typically inconsistent, some consulting results for being generated of consulting engines may be not appropriate for
The problem of user proposes, therefore in above-mentioned steps S103, given birth to after each consulting engine is handled
Into consulting result be used as initial consulting result.Further, it is necessary to selected from multiple initial consulting results
The consulting result of most suitable problem is selected out, that is, performing following step S104.
S104, according to default confidence level rule, determines the confidence level of each initial consulting result.
Confidence level rule in the embodiment of the present application can include many algorithms, be used as one in the embodiment of the present application
The mode of kind, confidence level rule can be configured according to different business scenarios, for example:For in on-line system
Added Business, the confidence level of the consulting engine for carrying out service concept inquiry can be heightened because
User would generally seek advice from Added Business some Back ground Informations on the Added Business.
As the another way in the embodiment of the present application, confidence level rule can be retrieved according to each consulting engine
To the frequency of sentence be configured, for example:The a certain problem proposed for user, two kinds of consulting engines
A and B carry out query and search in corresponding database, it is assumed that the official communication that consulting engine A is retrieved
Result a is ask, and seeks advice from the consulting result b that engine B is retrieved, it is further assumed that consulting result a exists
It is 1,000 times as the number of times of the answer of such problem in the historical data of data place record, similarly,
It is 200 times that result b, which is seeked advice from, as the number of times of the answer of such problem.So as to confidence level rule in this example
Can be:Seek advice from engine A confidence level of the confidence level higher than consulting engine B.
Certainly, in practical application scene, the computational methods of other confidence levels can also be used, here not
Constitute the restriction to the application.
By different certainty factor algebra'ss (that is, above-mentioned confidence level rule), just it can determine each first
Begin the consulting respective confidence level of result, on this basis, also just can be according to each initial confidence for seeking advice from result
Degree, to determine the consulting result for the problem of best suiting, that is, performing following step S105.
S105, according to determine it is each it is initial consulting result confidence level, it is determined that with the typical problem text
The initial consulting result matched, and be shown as the consulting result of described problem.
The confidence level of each initial consulting result, can be regarded as the initial consulting result and accords with customer problem
Credibility, it is clear that confidence level highest initially seeks advice from result and also just meets customer problem the most.So,
It is used as a kind of mode in the embodiment of the present application, it is possible to select confidence level most from each initial consulting result
High initial consulting result, the consulting result for the problem of being proposed as user shows user.Such one
Come, user just can obtain the problem of being provided by automatic customer service system and reply, and compared to prior art, face
The problem of above-mentioned consulting result is proposed with user in the problem of diversification that user is proposed, the application is more
Plus matching.
By above-mentioned steps, when the server that operation has automatic customer service system have received the problem of user inputs
Afterwards, text formatting processing will be carried out to the problem, the Sentence format of the problem is converted into server and determined
Sentence format, that is, generation typical problem text, and then, server will call it is a variety of consulting engines pair
The typical problem text is handled, and each consulting engine all has different analyses, query function, this
Sample one, after the processing of a variety of consulting engines, will obtain a variety of initial consulting results, at the beginning of these
In the consulting result of beginning, some initial consulting results are suitable as the answer of the problem of user proposes, and certain
A little initial consulting results are not appropriate for, in this case, and server is it is determined that each initial consulting knot
The confidence level of fruit, and further determined according to the confidence level of each initial consulting result with above mentioned problem the most
The consulting result of matching, user is supplied to as the answer of problem.Unlike the prior art, exactly lead to
Spending the problem of modes of a variety of consulting engines, diversification that can be proposed for user is handled, and obtains many
The consulting result of memberization, and it is not existing single consultation, moreover, at a variety of consulting engines
Manage on the basis of obtained a variety of consulting results, can be selected in these consulting results and more conform to user's institute's phase
The answer of prestige, i.e. improve the accuracy of answer.
For the process of user's input problem in foregoing teachings, the above method of the application supports different
Access way, specifically, under a kind of scene, user can pass through the net when accessing certain website A
Stand A automatic customer service system consulting interface, carry out business consultation;Under another scene, user can be with
From other websites associated with website A, into consulting circle of website A automatic customer service system
Face, carries out business consultation.In addition, user can also use the related application of operation on mobile terminals
(Application, App), into consulting interface, carries out business consultation.
Certainly, in business consultation interface, user except can in addition to input problem by the way of text,
Problem can also be inputted by the way of voice.If user inputs problem, automatic customer service by the way of voice
The voice of user can be converted into text message by system using corresponding speech recognition technology, not constituted here
Restriction to the application.
It is visible in from the discussion above, in the embodiment of the present application, the problem of user inputs is received, is specifically included:
User is received in interface is seeked advice from voice mode or the problem of inputted with text mode.Wherein, it is described to consult
Asking interface includes at least one of webpage, application interface.
Server have received the problem of user inputs, and will carry out text formatting processing, generate typical problem
Text, afterwards, server will call all kinds of consulting engines in comprehensive sonsultancy model, to typical problem text
This progress is handled.
Explanation is needed exist for, in the embodiment of the present application, described consulting engine includes but is not limited to:
Base search engine, question and answer search engine, chat engine, interactive engine.Specifically:
Base search engine
The engine is used to extract the keyword in described problem text, retrieval and the keyword in knowledge base
Corresponding existing business information, according to the existing initial consulting result of business information generation.
Wherein, knowledge base can be that the detailed descriptions of all kinds of business, setting procedure are stored in on-line system, is obtained
Take the database of the information such as flow, points for attention, FAQs.
For example:Assuming that it is " what is monthly payment plan " to handle obtained typical problem text by text formatting,
So, after server calls Base search engine, the Base search engine will be directed to the typical problem text,
Retrieved in knowledge base, and it is initial as one kind to retrieve relevant serial service description information
Seek advice from result.
Question and answer search engine
The engine is used for the history Question Log according to the user, determines that described problem text is asked with the history
The incidence relation of record is answered, according to the history Question Log with the question text with incidence relation, generation is just
Begin consulting result.
During practical application, user can input under problem, some scenes at any time in consulting interface, Yong Husuo
Have between the problem of the problem of input before user with inputting and necessarily associate, for example:User is at consulting interface
In have input problem " today, how is weather ", and obtained corresponding answer, now, it is assumed that user continues
Input " tomorrow ".Obviously, if the Second Problem proposed just for user is inquired about, it is impossible to
To effective answer.It was found from from the example, there is relevance between two problems that user is proposed:The
Two problems on the basis of first problem based on proposing.Therefore in the embodiment of the present application, question and answer search
Engine will determine question text and the incidence relation of history Question Log, that is, question and answer search engine will be analyzed
Context, so that according to this progress problem retrieval.
Chat engine
The engine is used for according to described problem text, searches for related to the question text to language in dictionary
Sentence, according to the conversation sentence, the initial consulting result of generation.
Wherein, the dictionary in the application, can be one or more sentence databases, for storing exchange pair
Talk about various sentences under scene.
During practical application, during user is seeked advice from consulting interface, user may seek advice from this
Process is considered a kind of communication process, then, the situation that user is seeked advice from the way of chatting just occurs,
Such as:User's input greeting, every-day language sentence etc., now, in order to what is matched to user feedback
Reply, the sentence that chat engine will be inputted according to user is inquired about in corresponding dictionary, to search
To the answer matched with the sentence that user inputs.It is believed that being chatted when being included in the sentence that user is inputted
During its conversation sentence, the chat engine in the application carries out the mode of " simulation " artificial customer service with user
Chat conversations.
Interactive engine
The engine is used to recognize the typical problem text, lacks industry when identifying in the typical problem text
During business conditional information, according to the interaction models of training in advance, generation professional qualification confirms sentence, and according to institute
State professional qualification and confirm the initial consulting result of sentence generation;And, when identifying the typical problem text institute
During corresponding business, the application programming interface API related to the business, the initial consulting knot of generation are called
Really.
For example:Tentative standard question text is " I wants to inquire about bill ", more it is apparent that the typical problem
Having lacked the bill time to be inquired about in text, (in this example, the bill time is exactly a kind of professional qualification letter
Breath), such as:The bill in January, 2016, or annual bill in 2015 etc..So, interactive mode is drawn
The typical problem text will be directed to by holding up, according to the interaction models of training in advance, question closely the user, be generated all
Such as " may I ask will specifically inquire about bill what time period " questions closely sentence, specific business bar for confirmation
Part.Certainly, the interaction models of described training in advance, can be by server previously according in artificial customer service system
The alternate statement related to business and scene training form, the restriction to the application is not constituted here.
In addition, when the business corresponding to interactive engine have identified typical problem text, it will call this
The API of business, to access the business, obtains corresponding business information.
For example:Tentative standard question text is " I will inquire about the bill in January, 2016 ", then, should
After the typical problem text is identified interactive engine, the API of bill inquiry business will be called, to visit
Bill inquiry business is asked, the bill information in 2016 that user to be inquired about year January is used as initial consulting
As a result.
It is visible with reference to the above, in the presence of above-mentioned a variety of consulting engines, it can be carried for user
The problem of diversification gone out, is handled, and returns to the answer of user's diversification.
Certainly, the consulting engine mentioned in the above, is the conventional engine in automatic customer service system,
During practical application, it can also not constituted here according to different consulting engines are added the need for practical application
Restriction to the application.
In the embodiment of the present application, each problem proposed for user, server can all be called and had been turned on
All kinds of consulting engines handled, each initial consulting result is generated, in order to from these initial consulting results
The consulting result matched with problem is determined, therefore in the embodiment of the present application, it is each initial according to what is determined
The confidence level of result is seeked advice from, it is determined that the initial consulting result matched with the typical problem text, specific bag
Include:In each initial consulting result, selection confidence level highest initially seeks advice from result, is defined as and the mark
The initial consulting result that quasi- question text matches.
And as a kind of mode in the embodiment of the present application, each initial consulting result can also be directed to, according to each
From confidence level carry out answer integration processing, that is, in this mode, not only picking out confidence level highest
An initial consulting result, but can be carried out for the less multiple initial consulting results of confidence level gap
Integrate, so as to regard the result after integration as the consulting result matched with problem.Here do not constitute to this
The restriction of application.
In addition, except foregoing teachings, following additional ways are also included in the present processes:
First way:
In view of certain user commonly using some of on-line system business, then, when these users use
Automatic customer service system, it is likely that want to be seeked advice from for its business being commonly used, therefore under scene, can
The problem of to recommend related to user.Specifically, it is above-mentioned as schemed before the problem of user inputs is received
Method shown in 1 also includes:The accounts information of user is determined, according to the accounts information, the account is inquired about
The type of service of the corresponding historical operational information of information, according to the type of service, selection belongs to the service class
The problem of type, frequency of occurrences highest, is recommended.
For example:For a certain user, after the accounts information of the user is obtained, it may be determined that the user institute
The type of service of the history service used is:Transferred account service.So, also it can just inquire about in transferred account service,
The one or more problems of frequency of occurrences highest, and the problem is recommended.
It should be noted that the accounts information to determine user, generally requires User logs in on-line system,
So as to be obtained with the historical operational information of user.And user for new registration or the use that is not logged in
For family, the historical operational information of these users can not be obtained, now, if these users have used automatically
Customer service system, then, can recommending hot issue to these users, (hot issue refers to entirely in linear system
In system, the most one or more problems of the frequency of occurrences).Certainly, the limit to the application is not constituted here
It is fixed.
The second way:
In view of in practical application, for on-line system, in fact it could happen that extraordinary maintenance, extensive communication
Interruption etc. emergency case, the business that these emergency cases may result in on-line system is run currently
Failure, now, automatic customer service system can typically each be seeked advice from by accessing the user of the on-line system, with consultation service
Failure or the disabled reason of business, in the case, one are also provided in the above method of the embodiment of the present application
Informing mechanism is planted, specifically, before the problem of user inputs is received, methods described also includes:Monitoring
The fault notification message related to business, after the fault notification message is monitored, by the failure notification
Message is shown.
Exactly employ the mode of above-mentioned fault notification message, it is possible to when user opens consulting interface,
Above-mentioned fault notification message is showed into user, so that when there is emergency case, being easy to user to obtain
Know corresponding notification message.
The third mode:
In actual applications, foregoing part consulting engine may be dependent on the number such as knowledge base, dictionary
According to storehouse, in other words, the data included in these databases will produce certain to the answer of customer problem
Influence, so, in order to ensure the accuracy and matching degree of the answer to customer problem, also it is accomplished by
Data in these databases are updated, i.e. methods described also includes:According to the setting time cycle pair
The knowledge base and dictionary are updated.
Certainly, for above-mentioned additional ways, in some embodiments in this application, server can be with
The accuracy for specifying the consulting result of automatic customer service system in the period is counted (such as:Server is directed to
The accuracy of the consulting result of intraday automatic customer service system is counted), to reflect different business
Under accuracy, or the accuracy under different dialogue scene, so as to help to improve each consulting engine.
In order to obtain the statistical result of the accuracy to seeking advice from result, one kind side in the embodiment of the present application is used as
Formula, can provide option in consulting interface, choose whether to solve relevant issues for user.As shown in Fig. 2
It is visible in fig. 2 for the consulting interface in practical application scene, when automatic customer service system asking for user
After topic is replied, above-mentioned option will be generated in consulting interface, if the answer of automatic customer service system is solved
The problem of user proposes, then, user just can click on the option with " solution " printed words;If with
Think the answer of automatic system and unsolved problem in family, then, user, which can click on, " not to be solved, and goes to
The option of artificial customer service " printed words, now, server will access artificial customer service for user.
By way of user clicks on above-mentioned option, server can be just counted for different problems, difference
The accuracy of consulting result under business scenario.Certainly, disclosure does not constitute the restriction to the application.
With reference to above content, in the embodiment of the present application, based on the automatic customer service system of the application above method,
Various modes in above content can be realized using different functional units (or, different engines).
Moreover, in actual applications, different business can enable different functional units and realize different modes,
Here the restriction to the application is not constituted.
Based on same thinking, the embodiment of the present application also provides a kind of information processor based on consultation service,
As shown in Figure 3.
In figure 3, the information processor based on consultation service includes:
Receiving module 301, for receiving the problem of user inputs.
Text processing module 302, for carrying out text formatting processing, generation typical problem text to described problem
This.
Processing module 303 is called, all kinds of consulting engines being had been turned on for calling are to the typical problem text
Handled, generate each initial consulting result.
Confidence level module 304, for according to default confidence level rule, determining each initial consulting result
Confidence level.
Object module 305 is seeked advice from, for the confidence level according to each initial consulting result determined, it is determined that with
The initial consulting result that the typical problem text matches, and carry out exhibition as the consulting result of described problem
Show.
In the embodiment of the present application, receiving module 301, specifically for receiving user in consulting interface with language
Sound mode or the problem of inputted with text mode.Wherein, the consulting interface includes webpage, application interface
At least one of.
In the embodiment of the present application, text processing module 302, specifically for described problem carry out participle,
Form error correction and/or word meaning conversion process.
It should be noted that for calling the consulting engine that processing module 303 is called, at least including:
Base search engine, question and answer search engine, chat engine, interactive engine.
Wherein, Base search engine, for extracting the keyword in the typical problem text, in knowledge base
The middle retrieval existing business information corresponding with the keyword, according to the existing initial official communication of business information generation
Ask result.
Question and answer search engine, for the history Question Log according to the user, determines described problem text and institute
The incidence relation of history Question Log is stated, according to the history Question Log with the question text with incidence relation,
The initial consulting result of generation.
Chat engine, for according to the typical problem text, searching for related to the question text in dictionary
Conversation sentence, according to the conversation sentence, the initial consulting result of generation.
Interactive engine, for recognizing the typical problem text, when identifying in the typical problem text
When lacking professional qualification information, according to the interaction models of training in advance, generation professional qualification confirms sentence, and
The initial consulting result of sentence generation is confirmed according to the professional qualification;And, when identifying the typical problem
During business corresponding to text, the application programming interface API related to the business is called, generation is initial
Seek advice from result.
Confidence level module 304, specifically in each initial consulting result, selection confidence level highest is initial
Result is seeked advice from, is defined as the initial consulting result matched with the typical problem text.
As a kind of mode in the embodiment of the present application, described device also includes:Recommending module 306, is used for
Before the problem of user inputs is received, the accounts information of user is determined, according to the accounts information, inquiry
The type of service of the corresponding historical operational information of account information, according to the type of service, selection belongs to this
The problem of type of service, frequency of occurrences highest, is recommended.
As a kind of mode in the embodiment of the present application, described device also includes:Notification module 307, is used for
Before the problem of user inputs is received, the fault notification message related to business is monitored, it is described when monitoring
After fault notification message, the fault notification message is shown.
As a kind of mode in the embodiment of the present application, described device also includes:Maintenance management module 308,
For being updated according to the setting time cycle to the knowledge base and dictionary.
In a typical configuration, computing device includes one or more processors (CPU), input/defeated
Outgoing interface, network interface and internal memory.
Internal memory potentially includes the volatile memory in computer-readable medium, random access memory
And/or the form, such as read-only storage (ROM) or flash memory (flash RAM) such as Nonvolatile memory (RAM).
Internal memory is the example of computer-readable medium.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by appointing
What method or technique realizes that information is stored.Information can be computer-readable instruction, data structure, program
Module or other data.The example of the storage medium of computer includes, but are not limited to phase transition internal memory
(PRAM), static RAM (SRAM), dynamic random access memory (DRAM), its
Random access memory (RAM), read-only storage (ROM), the electrically erasable of his type are read-only
Memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read-only storage
(CD-ROM), digital versatile disc (DVD) or other optical storages, magnetic cassette tape, tape magnetic
Disk storage or other magnetic storage apparatus or any other non-transmission medium, can be calculated available for storage
The information that equipment is accessed.Defined according to herein, computer-readable medium does not include temporary computer-readable matchmaker
The data-signal and carrier wave of body (transitory media), such as modulation.
It should also be noted that, term " comprising ", "comprising" or its any other variant are intended to non-row
His property is included, so that process, method, commodity or equipment including a series of key elements not only include
Those key elements, but also other key elements including being not expressly set out, or also include for this process,
Method, commodity or the intrinsic key element of equipment.In the absence of more restrictions, by sentence " including
One ... " key element that limits, it is not excluded that in the process including the key element, method, commodity or set
Also there is other identical element in standby.
It will be understood by those skilled in the art that embodiments herein can be provided as method, system or computer journey
Sequence product.Therefore, the application can using complete hardware embodiment, complete software embodiment or combine software and
The form of the embodiment of hardware aspect.Moreover, the application can be used wherein includes calculating one or more
Machine usable program code computer-usable storage medium (include but is not limited to magnetic disk storage, CD-ROM,
Optical memory etc.) on the form of computer program product implemented.
Embodiments herein is the foregoing is only, the application is not limited to.For this area skill
For art personnel, the application can have various modifications and variations.All institutes within spirit herein and principle
Any modification, equivalent substitution and improvements of work etc., should be included within the scope of claims hereof.