WO2018201964A1 - Processing method for session information, server, and computer readable storage medium - Google Patents

Processing method for session information, server, and computer readable storage medium Download PDF

Info

Publication number
WO2018201964A1
WO2018201964A1 PCT/CN2018/084639 CN2018084639W WO2018201964A1 WO 2018201964 A1 WO2018201964 A1 WO 2018201964A1 CN 2018084639 W CN2018084639 W CN 2018084639W WO 2018201964 A1 WO2018201964 A1 WO 2018201964A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
session
feedback
state
feedback information
Prior art date
Application number
PCT/CN2018/084639
Other languages
French (fr)
Chinese (zh)
Inventor
金星明
李鹏
李科
Original Assignee
腾讯科技(深圳)有限公司
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 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Publication of WO2018201964A1 publication Critical patent/WO2018201964A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management

Definitions

  • the present application relates to information processing technologies, and in particular, to a method for processing session information, a server, and a computer readable storage medium.
  • the interactive feedback of information can be implemented in a variety of ways, from face-to-face interaction between people, online interaction or offline offline interaction. For example, if the user asks a question, the answer to the question can be obtained in all three ways. However, the specificity, accuracy, real-time, and interactive effects of the answers given in different ways have their own drawbacks. For example, face-to-face interaction between people, if the customer service staff is just not there, then the interaction can not continue, the interaction effect is worse; for example, online online interaction or offline offline interaction, does not have the diversity of customer service staff to deal with the problem And the questionable and targeted, usually choose the answer from the set fixed options.
  • the embodiment of the present application provides a method for processing session information, a server, and a computer readable storage medium, which solve at least the problems existing in the prior art.
  • a method for processing session information in an embodiment of the present application includes:
  • the current session state of the terminal is tracked according to the state tracking policy, and the next response operation is determined according to the session information collected from the current session state, and the response result is returned to the terminal after the response operation is performed.
  • the server includes:
  • a receiving unit configured to parse the session information from the session request initiated by the terminal
  • a class processing unit configured to perform classification and clustering processing on the session information to obtain at least one category feature parameter
  • a distribution unit configured to distribute the session information to an information feedback platform corresponding to the at least one category feature parameter
  • the response unit is configured to obtain trusted first feedback information according to the feedback information sent by the information feedback platform, and return the trusted first feedback information to the terminal by using a session request response;
  • the status tracking unit is configured to track the current session state of the terminal according to the status tracking policy, determine a next response operation according to the session information collected from the current session state, and return the response result after performing the response operation. To the terminal.
  • a computer readable storage medium of the embodiment of the present application wherein a computer program is stored thereon, wherein the computer program is executed by the processor to implement the step of processing the session information.
  • the server includes:
  • a memory configured to store a computer program capable of running on a processor
  • a processor configured to perform the step of processing the session information described above when the computer program is run.
  • a method for processing session information is performed by a server, the server includes one or more processors and a memory, and one or more programs, wherein the one or more programs
  • the program is stored in a memory, and the program may include one or more units each corresponding to a set of instructions, the one or more processors being configured to execute the instructions; the method comprising:
  • the current session state of the terminal is tracked according to the state tracking policy, and the next response operation is determined according to the session information collected from the current session state, and the response result is returned to the terminal after the response operation is performed.
  • the method for processing session information in the embodiment of the present application includes: parsing session information from a session request initiated by a terminal; classifying and clustering the session information to obtain at least one category feature parameter; and distributing the session information Giving an information feedback platform corresponding to the at least one category feature parameter; obtaining trusted first feedback information according to the feedback information sent by the information feedback platform, and returning the trusted first feedback information to the
  • the terminal tracks the current session state of the terminal according to the state tracking policy, determines a response operation of the next step according to the session information collected from the current session state, and returns the response result to the terminal after performing the response operation. .
  • the session information is classified and clustered to obtain at least one category feature parameter; the session information is distributed to the information feedback platform corresponding to the at least one category feature parameter.
  • the processing (classification and clustering) of the session information obtains the category feature parameters, and gives the corresponding information feedback platform according to the category feature parameters to obtain a targeted accurate answer (the answer is not set, nor fixed) ), is a real-time interactive mechanism, the interactive mode with questions and answers is targeted, and the interaction effect is good.
  • the feedback information sent by the information feedback platform is not immediately fed back to the terminal, but after the trusted first feedback information is obtained according to the feedback information, the trusted first feedback information is returned to the terminal through the session request response. Since the answer is credentially analyzed and then fed back to the terminal, the accuracy of the reply is ensured.
  • 1 is a schematic diagram of hardware entities of each party performing information interaction in an embodiment of the present application
  • FIG. 2 is a schematic diagram of an implementation process of a method according to Embodiment 1 of the present application.
  • FIG. 3 is a schematic diagram of a system architecture according to Embodiment 1 of the present application.
  • FIG. 4 is a schematic diagram of a hardware structure of a server according to Embodiment 1 of the present application.
  • Figure 5-6 is a plurality of schematic diagrams of the state machine
  • FIG. 7 is a flowchart of a session process applied to an application scenario of an embodiment of the present application.
  • first, second, etc. are used herein to describe various elements (or various thresholds or various applications or various instructions or various operations), etc., these elements (or thresholds) Or application or instruction or operation) should not be limited by these terms. These terms are only used to distinguish one element (or threshold or application or instruction or operation) and another element (or threshold or application or instruction or operation).
  • first operation may be referred to as a second operation
  • second operation may also be referred to as a first operation
  • the first operation and the second operation are operations, but the two are not the same The operation is only.
  • the steps in the embodiments of the present application are not necessarily processed in the order of the steps described.
  • the steps may be selectively arranged to be reordered according to requirements, or the steps in the embodiment may be deleted, or the steps in the embodiment may be added.
  • the description of the steps in the application examples is only an optional combination of the steps, and does not represent a combination of the steps in the embodiments of the present application.
  • the order of the steps in the embodiments is not to be construed as limiting the present application.
  • the intelligent terminal (such as a mobile terminal) of the embodiment of the present application can be implemented in various forms.
  • the mobile terminal described in the embodiments of the present application may include, for example, a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a personal digital assistant (PDA, Personal Digital Assistant), a tablet computer (PAD), a portable multimedia player ( Mobile terminals such as PMP (Portable Media Player), navigation devices, and the like, and fixed terminals such as digital TVs, desktop computers, and the like.
  • PDA Personal Digital Assistant
  • PAD tablet computer
  • PMP Portable Multimedia Player
  • navigation devices and the like
  • fixed terminals such as digital TVs, desktop computers, and the like.
  • the terminal is a mobile terminal.
  • those skilled in the art will appreciate that configurations in accordance with embodiments of the present application can be applied to fixed type terminals in addition to components that are specifically for mobile purposes.
  • AI artificial intelligence
  • users can interact with smart chat messages through a background server accessed by a chat bot or chat page.
  • the agent customer service is a real person, that is to say, this traditional information interaction is a real conversation between people, if the agent is busy, It is impossible to respond to user inquiries in a timely manner.
  • the virtual customer service is online at any time, can provide consultation at any time, and provide the default answer to the user for selection.
  • the answer is fixed. Even if there are preset answers (fixed answers) based on historical analysis in the database, on the one hand, the questions asked by the users have breadth and depth, and it is difficult to cope with unpredicted situations.
  • the default answers are not comprehensive; In terms of aspect, the default answer is provided to the user for selection. There is a difference between the chat mode and the answer mode in the real person interaction scene, which is not intelligent enough and needs technical perfection.
  • FIG. 1 is a schematic diagram of hardware entities of each party performing information interaction in the embodiment of the present application.
  • FIG. 1 includes: a terminal 1, a server 2, and a server 31-33.
  • the server 31-33 is a specific implementation of multiple information feedback platforms, and only It only refers to the role, and does not limit the number of servers.
  • the terminal 1 can be composed of a plurality of terminals 11-13, and exchanges information with the server 2 through wireless or wired means. As shown in FIG.
  • the processing logic 10 of the embodiment of the present application is processing logic executed by the server, including: S1, parsing session information in the session request, and classifying and clustering the session information to obtain at least a category feature parameter, the session information is distributed to the at least one information feedback platform according to the at least one category feature parameter; S2, the feedback identified from the information credibility parameter according to the feedback information and the information credibility parameter Selecting the first feedback information with the highest credibility, and comparing the first feedback information with a threshold, and when the first feedback information is trusted, the first feedback information is passed The session request response is returned to the terminal; S3, tracking the current session state of the terminal according to the state tracking policy, determining a next response operation according to the session information collected from the current session state, and performing the response operation The response result is then returned to the terminal.
  • FIG. 1 is only a system architecture example of the embodiment of the present application.
  • the embodiment of the present application is not limited to the system structure described in FIG. 1 , and various embodiments of the method of the present application are proposed based on the system architecture described in FIG. 1 . .
  • multiple information feedback platforms may be multiple servers independent of the server 2; multiple information feedback platforms may also be multiple servers of the server 2, which may be referred to as multiple subsystems, specifically system.
  • the method includes: receiving a session request initiated by a terminal, and parsing session information (101) from a session request initiated by the terminal.
  • a session request is generated according to the proposed question, and the session request is sent to the server, and the server responds to the question raised by the user according to the policy and operation of the processing logic 10 in FIG.
  • the response is fed back to the user via the session request response.
  • the response to the session request and the session request can be understood as a session established between the foreground and the background, real-time monitoring of the session established by the terminal where the user is located and the server, and maintaining and tracking the change of the session state, according to the session state.
  • a state tracking policy can be adopted, specifically, a state machine is used to maintain and track user session state, and a form fill method can be used to collect user requirements.
  • the purpose is: each time Try to extract as much information as possible from the user's question, instead of extracting only the information corresponding to the state each time, so the conversation is more natural.
  • a state machine is a mathematical model that represents a finite number of states and behaviors such as transitions and actions between these states. It reflects the input change from the beginning of the system to the present time, the transition indicates the state change, and describes it with the conditions that must be met to ensure that the transfer occurs; the action is a description of the activity to be performed at a given time. It includes various types of actions: 1) entry action: when entering state; 2) exit action: when exiting state; 3) input action: depending on current state and input condition; 4) transfer action: in specific When transferring.
  • a button command parsing program can be regarded as a state machine. Specifically, it is initially in the A state. When a button is triggered, it switches to the B state, and then triggers another button to switch to the C state, or returns to A state. This is an example of a simple button state machine.
  • the state of the state machine may include: a normal state, at least one information confirmation state, and an abnormal state. Under normal conditions, it is divided into two situations: when the user needs are clear and the user's demand is not clear. 1) When the user needs are clear, distribute it to each question and answer subsystem, and then choose the answer to return to the user; 2) When the user's demand is not clear, use the guiding method to further subdivide and clarify the user's needs.
  • the question and answer mode is adopted to continue to collect the questions raised by the user, the server continues to analyze, and finally, the most accurate answer is directly fed back to the user without requiring the user to make a selection; 3) the embodiment of the present application also provides an exception.
  • the processing strategy when at least one information confirmation status fails to confirm, the session cannot be carried out, indicating that when the user question exceeds the domain range that the system can answer, the normal state is transferred to the abnormal state, and the session information is not required to be distributed to each question and answer subsystem. Instead, it responds according to the preset answer, and can perform the exception processing "smoothly" to avoid session interruption.
  • AI chat scenarios applicable to the embodiments of the present application, such as an intelligent voice search engine, intelligent navigation and parking, intelligent robot service, and intelligent voice comparison.
  • a smart chat scene when the user turns on the navigation mode, during the driving process, since the user is driving, the hands are occupied.
  • the intelligent chat of human-computer interaction the best navigation route to the destination can be known in time. , or avoid congestion and re-select a navigation route and so on.
  • the method for processing the session information in the embodiment of the present application further includes: classifying and clustering the session information, obtaining at least one category feature parameter, and distributing the session information to the at least one category feature parameter.
  • Information feedback platform (102) The information feedback platform is at least one, and respectively corresponds to different category feature parameters of the at least one category feature parameter.
  • the user is classified, and after being clustered, it is distributed to different channels to obtain an initial answer. For example, splitting the information content included in the first information may result in multiple content items.
  • FAQ Frequently Asked Questions
  • the data of different knowledge types is stored in the form of a database, which belongs to a structured knowledge set within the limited domain, and the data is provided for query use, and the data is more comprehensive than the data of the FAQ question and answer feedback platform.
  • the stored data is the user's "frequently asked questions" or "common questions.”
  • the classification and clustering of users include: 1) classifying these content items first, first obtaining a relatively large classification, that is, realizing the first screening of the information content. 2) Because, the classification obtained by the first screening, to some extent, there may be information crossover or high information similarity. At this time, these situations can be analyzed and clustered to achieve The second screening of information content.
  • the multiple information items in the first information can be specifically distributed to one or more of the multiple information feedback platforms, which can improve the accuracy and processing efficiency of the information feedback.
  • the method for processing the session information in the embodiment of the present application further includes: obtaining the trusted first feedback information according to the feedback information sent by the information feedback platform, and returning the trusted first feedback information to the terminal by using the session request response. (103). Specifically, the feedback information and the information credibility parameter sent by the at least one information feedback platform are received, and the information credibility parameter is used to identify the credibility of the feedback information. The first feedback information with the highest credibility is selected from the feedback information identified by the information credibility parameter, and the first feedback information is compared with a threshold to obtain a comparison result.
  • the server can obtain the analysis result of the credibility analysis from at least one information feedback platform, and can also perform the calculation on the server itself, that is, 1) the server only receives the feedback information sent by at least one information feedback platform (eg, The server receives the feedback information sent by at least one information feedback platform, performs credibility analysis on the feedback information, and obtains at least one analysis result (such as information credibility parameter); 2) the server only Receiving feedback information sent by at least one information feedback platform (such as the answer to the question posed by the user) and the analysis result of the credibility analysis made by at least one information feedback platform, and performing a round of credibility analysis on the server , get at least one analysis result (such as information credibility parameters). Then, the server compares the feedback information with the highest credibility (such as the first feedback information) in the feedback information identified by the information credibility parameter with the threshold to determine whether the answer with the highest credibility is credible.
  • the server compares the feedback information with the highest credibility (such as the first feedback information) in the feedback information identified by the information credibility parameter with the threshold to determine whether the answer with
  • the first feedback information is returned to the terminal by using a session request response.
  • the answer is directly fed back to the user through the analysis of the credibility of the answer, so that the accurate and closest to the human interaction has a question and answer mode, and no user selection is required.
  • the method for processing the session information in the embodiment of the present application further includes: tracking a current session state of the terminal according to the state tracking policy, determining a next response operation according to the session information collected from the current session state, and executing the location
  • the response result is returned to the terminal (104) after the response operation.
  • the server tracks the current session state of the terminal according to the state tracking policy, and the state machine can track the current session state, and the difference between “clear for user requirements” and “unclear user requirements” is tracked. , further distinguish different processing strategies.
  • the state tracking policy is implemented by the state machine, it needs to pay attention to: 1) state; 2) response operation (or response action) of the server.
  • the server can track the current session state of the terminal, and can also maintain state maintenance such as session update and session deletion in the current session state of the terminal.
  • state maintenance is: which step the current conversation progresses to and which processing strategy should be used.
  • a state machine includes four states, namely: a normal state, a model confirmation state, an attribute confirmation state, and an abnormal state.
  • the session information is distributed to the subsystem for processing; in the normal state, but when the user requirements are not clear, the user needs are confirmed by guiding and analyzing the details, and the user is clarified. After the demand, the session information is distributed to the subsystem for processing.
  • the confirmation is performed. If the confirmation fails, the session information is out of the range that can be answered. , jumps from the normal state to the abnormal state.
  • the problem is distributed to different reply channels according to the user's problem classification, and the consultation width of the question answer is provided.
  • the answer is collected, the user is not immediately informed to make a selection, but the answer is first credible.
  • the answer with high possibility is directly fed back to the user, and the depth of the answer is provided, so that the answer is in the comprehensive coverage breadth and depth, and the accuracy of the reply is also improved.
  • the answer with the most accurate answer is directly fed back to the user, and the user does not need to make a selection, thereby avoiding the user's choice.
  • there is a chat mode with answers and answers which is to interact with real people.
  • there is a real simulation of the answer and chat mode which makes the AI human-machine chat more intelligent, which is the perfection of AI technology.
  • the feedback information with the highest credibility in the feedback information identified by the information credibility parameter (such as the first feedback information) is compared with a threshold, and the obtained comparison result is: the first If the feedback information exceeds the threshold, it is determined that the first feedback information is trusted, and the first feedback information is returned to the terminal by using a session request response.
  • the answer with the highest credibility is selected to be compared with the entire system preset threshold T, and when the threshold T is exceeded, the answer to the question is returned to the user.
  • the feedback information with the highest credibility in the feedback information identified by the information credibility parameter (such as the first feedback information) is compared with a threshold, and the obtained comparison result is: the first
  • the prompt information is returned to the terminal, and the prompt information is used to indicate that the session information cannot be answered currently.
  • the answer with the highest credibility is compared with the preset threshold T of the entire system.
  • the threshold T is not exceeded, the problem cannot be solved, and the user prompt is given that the question cannot be answered currently.
  • the manual service is transferred, and the second feedback information obtained by the manual service is returned to the terminal through the session request response. For example, from AI customer service to manual customer service to answer, after answering the question, update the answer to the FAQ library, so that you can answer the next time you encounter a similar problem; and return the manual answer to the user.
  • a situation in which the state machine is in a normal state is a response operation that is clear to the user's needs.
  • the current session state of the terminal is tracked according to the state tracking policy.
  • the currently collected session information is distributed to at least one information feedback platform.
  • Receiving feedback information sent by at least one information feedback platform selecting third feedback information from the feedback information, and returning the third feedback information to the terminal.
  • the user needs it is distributed to each question and answer subsystem, and then the preferred answer is returned to the user. It is a scheme that the server selects and directly feeds the answer of the preferred choice to the user, without the user having to choose.
  • the third feedback information may also be selected according to the feedback information and the information credibility parameter sent by the at least one information feedback platform, and select the highest credibility from the feedback information identified by the information credibility parameter.
  • the third feedback information directly feeds back the third feedback information to the user.
  • the third feedback information is compared with the threshold T. When the threshold T is exceeded, it is determined that the third feedback information is authentic, and the third feedback information is returned to the terminal.
  • another case for the normal state of the state machine is a response operation that is unclear to the user's needs.
  • the current session state of the terminal is tracked according to the state tracking policy.
  • the needs of the collected session information are analyzed, and the analysis result is fed back to the terminal.
  • the user needs to like a certain brand, but it is not clear from the beginning of the conversation: it is interested in which specific series of the brand, through the history or other data analysis methods to know that the user may have a sense of "series one" Interest, the relevant information of "Series One" is fed back to the terminal.
  • the collecting terminal continues to perform the demand analysis on the session information in the session response according to the session response reported by the analysis result, until an explicit user requirement is obtained from the session information, the demand requirement analysis is ended, and the currently collected session information is obtained.
  • Distributed to at least one information feedback platform Receiving feedback information sent by at least one information feedback platform, selecting fourth feedback information from the feedback information, and returning the fourth feedback information to the terminal. For example, when the user's demand is not clear, the user's needs are further segmented and clarified in a guided manner, that is, through multiple interactions between the terminal and the server, the server performs demand analysis, and the terminal responds to the demand analysis result until the user needs are specified. .
  • the fourth feedback information may also select the highest credibility from the feedback information identified by the information credibility parameter according to the feedback information and the information credibility parameter sent by the at least one information feedback platform.
  • the fourth feedback information directly feeds the fourth feedback information to the user.
  • the fourth feedback information is compared with the threshold T. When the threshold T is exceeded, the fourth feedback information is determined to be authentic, and the fourth feedback information is returned to the terminal.
  • the response operation is performed for the abnormal state of the state machine.
  • the current session state of the terminal is tracked according to the state tracking policy.
  • the fifth feedback information is selected from the preset feedback information, and the fifth feedback information is returned to the terminal.
  • the preset feedback information is used to respond to the question.
  • the response that can be answered is “good weather today”. ⁇ Feedback, this kind of feedback does not necessarily solve the problem in a targeted way, but it can keep the conversation going and can handle the exception smoothly.
  • the state machine In addition to the normal state and the abnormal state, it is necessary to confirm the vehicle type and attributes that the user focuses on in the context.
  • the state machine also includes two states of vehicle type confirmation and attribute confirmation. Tracking the current session state of the terminal according to the state machine, the state machine having a normal state, at least one confirmation state (such as a vehicle type confirmation state, an attribute confirmation state), and an abnormal state; when the current session state is the normal state, Distributing the currently collected session information to the at least one information feedback platform, receiving the feedback information sent by the at least one information feedback platform, selecting the sixth feedback information from the feedback information, and returning the sixth feedback information to the terminal . Determining whether it is necessary to jump to the at least one acknowledgement state according to the currently collected session information. When the jump to the at least one acknowledgement state is not confirmed, the jump to the current session state is the abnormal state.
  • a dialog manager implemented by a state machine has four states: a normal state, an attribute confirmation state, a model confirmation state, and an abnormal state.
  • the form auto-filling technology may be adopted to collect the session information from the current session state, and the form is automatically filled, and each time as much information as possible is extracted from the user's statement, instead of The information corresponding to the state is extracted only by the state each time, so that the AI dialogue is more natural.
  • the automatic filling function of the form is to obtain data through the background or text file, and automatically fill the data, which reduces the repeated labor of the user and reduces the labor cost.
  • the embodiment of the present application may also reconstruct the problem raised by the user, including referring to the digestion and omitting the recovery (such as the subject omitting completion), and then forwarding the problem to multiple subsystems. If the subsystem returns a trusted answer, then Return the answer to the user, the system is still in a normal state, no jump.
  • the reference digestion refers to the problem of determining which noun phrase the pronoun points to. According to the pointing, it can be divided into anaphora and pre-finger.
  • the anaphora is the pronoun of the pronoun in front of the pronoun.
  • the pre-predicate is the pronoun of the pronoun after the pronoun.
  • the type of reference it can be divided into three categories: personal pronouns, demonstrative pronouns, fixed descriptions, omissions, partial-total representations, common noun phrases, and so on.
  • omission of recovery it means that the omitted subject, object, etc. are completed.
  • subject omission completion is that there is no subject in the question, but from the context analysis, we can know that the question is my own, that is, the subject is "I".
  • the previous question is "How much is the A car?”
  • the question of the connection is: "Is there a sunroof?”, then the server should know the subject or "A car.”
  • the system only recognizes the model at this time and does not recognize the attribute, go to the “Property Confirmation” status to confirm the attribute that the user cares about; 3) If the model is not confirmed, jump to “Model Confirmation” Status to confirm the type of car that the user cares about; 4) If the model and attributes are unrecognizable or the problem is beyond the system area, then go to the "abnormal state".
  • the vehicle type confirmation is used to confirm the vehicle type.
  • the relevant model is given to the user.
  • the problem can be distributed to the subsystem and returned to the "normal state". . If the first confirmation is not successful, the second confirmation can be made. At this time, it is still in the “model confirmation” state, and the processing flow is the same as above. If the secondary model confirmation fails, go to "Exception Status".
  • the abnormal state when the state is mainly used for the user problem is not recognized, the user prompt is given according to the preset. If the "model" cannot be confirmed, the system default model is given and the user is prompted to confirm the selection. Around the model and attributes, when both are confirmed, you can give the correct answer.
  • the system for processing session information in the embodiment of the present application includes a terminal 41, a server 42, and a server 43-44, wherein the server 42 parses session information, classification, and clustering from a session request initiated by the terminal 41.
  • the session information is distributed to at least one server (such as the information feedback platform) 43-44
  • the feedback information processed by the at least one server 43-44 is obtained, and the trusted information is obtained according to the feedback information sent by the at least one server 43-44.
  • a feedback information the trusted first feedback information is returned to the terminal by the session request response, specifically, the first feedback information with the highest credibility is found from the feedback information, and compared with the threshold to confirm the first The feedback is trustworthy.
  • the first feedback information is authentic, the first feedback information is directly fed back to the terminal 41, and the feedback information is selected by the server 42 without requiring the terminal to select itself.
  • the server 42 tracks the current session state of the terminal according to the state tracking policy, determines a response operation of the next step according to the session information collected from the current session state, and returns the response result to the terminal after performing the response operation. .
  • the server 42 includes: a receiving unit 421 configured to parse the session information from the session request initiated by the terminal; the category processing unit 422 is configured to perform classification and clustering processing on the session information to obtain at least one category feature parameter; 423, configured to distribute the session information to an information feedback platform corresponding to the at least one category feature parameter; the response unit 424 is configured to obtain trusted first feedback information according to the feedback information sent by the information feedback platform, Returning the trusted first feedback information to the terminal by using the session request response; the status tracking unit 425 is configured to track the current session state of the terminal according to the status tracking policy, according to the collected from the current session state. The session information determines a response operation of the next step, and the response result is returned to the terminal after performing the response operation.
  • the answer is directly fed back to the user through the analysis of the credibility of the answer, so that the accurate and closest to the real person interaction has a question and answer mode, and no user selection is needed.
  • the response unit further includes: a processing subunit configured to receive an information credibility parameter sent by the information feedback platform, where the information credibility parameter is used to identify the credibility of the feedback information; and according to the information The reliability parameter obtains the first feedback information with the highest credibility in the feedback information.
  • the comparison subunit is configured to compare the first feedback information with a threshold, and when the first feedback information is trusted, obtain the trusted first feedback information.
  • the response unit is further configured to: when the comparison result is that the first feedback information exceeds a threshold, determine that the first feedback information is authentic, and the The first feedback information is returned to the terminal through a session request response.
  • the server further includes: an information prompting unit, configured to: when the comparison result is that the first feedback information does not exceed a threshold, returning prompt information to the terminal, the prompt information The second feedback information obtained by the manual service is returned to the terminal by the session request response.
  • the state tracking unit is further configured to: when the current session state is clear, the current session information is distributed to at least one information feedback platform; and at least one information feedback is received.
  • the feedback information sent by the platform selects third feedback information from the feedback information, and returns the third feedback information to the terminal.
  • the status tracking unit is further configured to: when the current session state is unclear, the demand analysis of the collected session information is performed, and the analysis result is fed back to the terminal; The session response reported by the analysis result continues to perform demand analysis on the session information in the session response until an explicit user requirement is obtained from the session information, the demand requirement analysis is ended, and the currently collected session information is distributed to at least one piece of information.
  • a feedback platform receiving feedback information sent by at least one information feedback platform, selecting fourth feedback information from the feedback information, and returning the fourth feedback information to the terminal.
  • the status tracking unit is further configured to: when the current session state is abnormal, select the fifth feedback information from the preset feedback information, and use the fifth feedback information. Return to the terminal.
  • the state tracking unit is further configured to: track, according to a state machine, a current session state of the terminal, where the state machine has a normal state, at least one acknowledgement state, and an abnormal state;
  • the session state is the normal state
  • the currently collected session information is distributed to the at least one information feedback platform, and the feedback information sent by the at least one information feedback platform is received, and the sixth feedback information is selected from the feedback information, and the And returning to the terminal according to the currently collected session information, determining whether it is necessary to jump to the at least one acknowledgement state, and jumping to the at least one acknowledgement state, failing to confirm, then jumping
  • the current session state is the abnormal state.
  • a computer readable storage medium of the embodiment of the present application wherein a computer program is stored thereon, wherein the computer program is executed by the processor to implement the steps of the session information processing method in the above embodiment.
  • a server of the embodiment of the present application includes: a memory 61 for storing a computer program capable of running on a processor; and a processor 62 for executing when the computer program is executed The steps of the session information processing method as in the above embodiment.
  • the server may further include: an external communication interface 63, configured to perform information interaction with a peripheral device such as a terminal, for example, the server receives the session request sent by the terminal, and obtains session information from the session request. Responding to the session request, selecting the first feedback information with the highest credibility from the plurality of feedback information and returning to the terminal.
  • the server may further include: an internal communication interface 64, which may specifically be a bus interface such as a PCI bus.
  • the embodiment of the present application is as follows:
  • a restricted domain dialog manager is designed.
  • the dialog manager has two tasks: 1) maintaining the state of the system, called the dialog model; 2) being responsible for selecting the appropriate action based on the system state to reply to the user, called action selection.
  • the dialog manager plays a vital role in the chat system, directly determining the quality of the user experience, and even directly determining whether the system can work normally.
  • the dialog manager of the embodiment of the present application takes a query type chat scenario as an example, and can use a state machine to maintain a user session state, and use a form fill method to collect user requirements. When the user needs are clear, distribute it to each question and answer subsystem, and then choose the answer to return to the user.
  • FIG. 5 An example of a dialog manager is shown in Figure 5, which is based on a finite state machine.
  • the situation of each conversation segment can be seen as one state corresponding to s0-3 in the figure.
  • Each interaction of the dialogue process is regarded as a state transition, that is, each state node represents the information state and system action of the dialogue at that time, and each connection arc represents each operation of the user, corresponding to e1-3 respectively.
  • each connection start node S1 and the end node S3 in the state diagram.
  • the state diagram is difficult to guarantee that there is no flaw, it takes a lot of manpower to implement, and the finite state has structural shortcomings, that is, it is difficult to cope with unpredicted situations, if the user responds. If the design is out of state, the dialogue is difficult to proceed normally.
  • the dialog manager of the embodiment of the present application simplifies the state description of the above state machine, and maintains and tracks the current conversation state with as few states as possible. At the same time, considering that the user's response may exceed the known range, so an independent exception handling state is added, and the form filling method is combined, and each time as much information as possible is extracted from the user's statement, instead of each time. Only the information corresponding to the state is extracted by state, so the conversation is more natural. It also supports the integration of multiple Q&A subsystems, with strong scalability and support for context tracking and referencing.
  • FIG. 6 shows an example of a state machine according to an embodiment of the present application.
  • the state diagram of the dialog manager is as shown above, and has only four states: a normal state, an attribute confirmation state, a model confirmation state, and an abnormal state.
  • the problem can be reconstructed, including referencing and omitting recovery, and then forwarding the problem to the subsystem. If the question and answer subsystem returns a trusted answer, the answer is returned to the user. At this time, it is still in a normal state and does not travel. If, at this time, the system only recognizes the model and does not recognize the attribute, it goes to the attribute confirmation status to confirm the attribute that the user cares about. Similarly, if the model is not confirmed, it will jump to the model confirmation status to confirm the user. The car model of interest.
  • the status is turned to abnormal.
  • this status is used to confirm the vehicle type.
  • the relevant vehicle model is given to the user. After the user selects and the vehicle model is successfully confirmed, the problem can be distributed to the question and answer subsystem and returned to the normal state. If, for the first time, there is no successful confirmation, there will be a second confirmation. At this time, it is still in the vehicle confirmation status. If the secondary vehicle fails to confirm, it goes to the abnormal state.
  • the attribute confirmation status the process of confirming the status with the model is not described here.
  • this state is mainly used to give the user prompt according to the preset when the user's problem is not recognized. If the "model" cannot be confirmed, the system default model is given and the user is prompted to confirm the selection. It can be seen that it is built around the model and attributes. When both are confirmed, the server can give back to the user the correct answer.
  • the processing flow of the embodiment of the present application includes a dialog manager, a FAQ-based question and answer subsystem, and a knowledge base-based question and answer subsystem.
  • the processing flow includes:
  • Step 301 The user asks a question
  • Step 302 The dialog manager separately distributes the problem to the FAQ-based question answering subsystem and the knowledge base based question answering subsystem;
  • Step 303 The FAQ-based question answering subsystem and the knowledge base-based question answering subsystem respectively return the credibility of the answer and the answer;
  • Step 304 Determine whether the answer with the highest credibility is trusted by comparing with the preset threshold, if yes, perform step 305; if not, perform step 306;
  • Step 305 directly returning an answer
  • Step 306 manually participating in answering the question
  • Step 307 automatically update the question to the FAQ library, so that the next time you encounter a similar problem, you can answer and return the manual answer to the user.
  • the session information processing system includes the following functions: 1) system state maintenance, such as which step the current conversation progresses; 2) refers to digestion, such as replacing the indicated pronoun in the user question according to the context; 3) Question distribution, distribute the problem to the sub-sub-question system; 4) Return the answer, judge the confidence of the answer, and respond accordingly; 5) Exclude the completion function such as the subject, such as the previous question is "How much is the A car?" Then, ask, "Is there a skylight?" At this time, the system should know whether the subject is still "A car.”
  • the dialog manager can implement automatic replacement or completion.
  • the vehicle and the attributes that are focused by the user in the context are maintained by the dialog manager.
  • the system completes the model according to the vehicle model and attribute records of the maintenance context.
  • the dialog manager judges according to the answer and the credibility, and selects the answer with the highest credibility to compare with the whole system preset threshold T. When the threshold T is exceeded, the result is returned to the user; otherwise, the user prompt is given, and the question cannot be answered currently.
  • the embodiment of the present application is applicable to all the restricted areas of the intelligent chat system (or intelligent customer service system framework), can provide services by using a common browser/server mode (BS) architecture, and can also add voice recognition at the input and output ends. And text-to-sound technology (TTS) to provide services in a communication network such as a telephone. As long as it involves the simulation of the interactive scene of everyone, AI human-computer interaction can be used to simulate the implementation.
  • the embodiment of the present application can effectively reduce the difficulty and complexity of system development; has multiple question and answer subsystems and strong scalability; has strong portability and can quickly migrate from one restricted domain to another Restricted area.
  • the disclosed apparatus and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner such as: multiple units or components may be combined, or Can be integrated into another system, or some features can be ignored or not executed.
  • the coupling, or direct coupling, or communication connection of the components shown or discussed may be indirect coupling or communication connection through some interfaces, devices or units, and may be electrical, mechanical or other forms. of.
  • the units described above as separate components may or may not be physically separated, and the components displayed as the unit may or may not be physical units, that is, may be located in one place or distributed to multiple network units; Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may be separately used as one unit, or two or more units may be integrated into one unit; the above integration
  • the unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
  • the foregoing program may be stored in a computer readable storage medium, and the program is executed when executed.
  • the foregoing storage device includes the following steps: the foregoing storage medium includes: a mobile storage device, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
  • ROM read-only memory
  • RAM random access memory
  • magnetic disk or an optical disk.
  • optical disk A medium that can store program code.
  • the above-described integrated unit of the present application may be stored in a computer readable storage medium if it is implemented in the form of a software functional unit and sold or used as a stand-alone product.
  • the technical solution of the embodiments of the present application may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium, including a plurality of instructions.
  • a computer device (which may be a personal computer, server, or network device, etc.) is caused to perform all or part of the methods described in various embodiments of the present application.
  • the foregoing storage medium includes various media that can store program codes, such as a mobile storage device, a ROM, a RAM, a magnetic disk, or an optical disk.
  • the session information is classified and clustered to obtain at least one category feature parameter; the session information is distributed to the information feedback platform corresponding to the at least one category feature parameter.
  • the processing (classification and clustering) of the session information obtains the category feature parameters, and gives the corresponding information feedback platform according to the category feature parameters to obtain a targeted accurate answer (the answer is not set, nor fixed) ), is a real-time interactive mechanism, the interactive mode with questions and answers is targeted, and the interaction effect is good.
  • the feedback information sent by the information feedback platform is not immediately fed back to the terminal, but after the trusted first feedback information is obtained according to the feedback information, the trusted first feedback information is returned to the terminal through the session request response. Since the answer is credentially analyzed and then fed back to the terminal, the accuracy of the reply is ensured.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

Disclosed are a processing method for session information, a server, and a computer readable storage medium. The method comprises: parsing session information from a session request launched by a terminal; classifying and clustering the session information to produce at least one type of feature parameter; distributing the session information to an information feedback platform corresponding to the at least one type of feature parameter; producing credible first feedback information on the basis of feedback information transmitted by the information feedback platform, returning the credible first feedback information via a session request response to the terminal; tracking a current session state of the terminal on the basis of a state tracking policy, determining a response operation for the next step on the basis of session information collected from the current session state, and executing the response operation then returning a response result to the terminal.

Description

一种会话信息的处理方法、服务器及计算机可读存储介质Method for processing session information, server and computer readable storage medium
相关申请的交叉引用Cross-reference to related applications
本申请基于申请号为201710312874.4、申请日为2017年05月05日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。The present application is filed on the basis of the Chinese Patent Application No. PCT Application No.
技术领域Technical field
本申请涉及信息处理技术,尤其涉及一种会话信息的处理方法、服务器及计算机可读存储介质。The present application relates to information processing technologies, and in particular, to a method for processing session information, a server, and a computer readable storage medium.
背景技术Background technique
信息的交互反馈有多种实现方式,从人与人面对面的互动、联网在线的互动或者离线的线下互动都可以实现信息的交互反馈。比如,用户提出一个问题,以这三种方式都可以得到该问题相应的答案。可是,采用不同的方式所给予答案的针对性、精确性、实时性、互动效果等方面存在各自的弊端。比如,人与人面对面的互动,如果客服人员刚好不在,那么,互动无法继续,互动效果变差;又如,联网在线的互动或者离线的线下互动,不具备客服人员对问题处理的多样化和有问有答的针对性,通常是从设置好的固定备选项中选择答案。The interactive feedback of information can be implemented in a variety of ways, from face-to-face interaction between people, online interaction or offline offline interaction. For example, if the user asks a question, the answer to the question can be obtained in all three ways. However, the specificity, accuracy, real-time, and interactive effects of the answers given in different ways have their own drawbacks. For example, face-to-face interaction between people, if the customer service staff is just not there, then the interaction can not continue, the interaction effect is worse; for example, online online interaction or offline offline interaction, does not have the diversity of customer service staff to deal with the problem And the questionable and targeted, usually choose the answer from the set fixed options.
如何使信息交互反馈的效果达到人工智能化,至少解决上述弊端是要解决的技术问题。然而,相关技术中,对于该问题,尚无有效解决方案。How to make the effect of information interaction feedback artificially intelligent, at least solve the above drawbacks is a technical problem to be solved. However, in the related art, there is no effective solution to this problem.
发明内容Summary of the invention
有鉴于此,本申请实施例提供了一种会话信息的处理方法、服务器及 计算机可读存储介质,至少解决了现有技术存在的问题。In view of this, the embodiment of the present application provides a method for processing session information, a server, and a computer readable storage medium, which solve at least the problems existing in the prior art.
本申请实施例的一种会话信息的处理方法,所述方法包括:A method for processing session information in an embodiment of the present application, the method includes:
从终端发起的会话请求中解析出会话信息;Parsing session information from a session request initiated by the terminal;
对所述会话信息进行分类和聚类处理,得到至少一个类别特征参数;Performing classification and clustering processing on the session information to obtain at least one category feature parameter;
将所述会话信息分发给与所述至少一个类别特征参数对应的信息反馈平台;Distributing the session information to an information feedback platform corresponding to the at least one category feature parameter;
根据所述信息反馈平台发送的反馈信息得到可信的第一反馈信息,将可信的第一反馈信息通过会话请求响应返回给所述终端;Obtaining the trusted first feedback information according to the feedback information sent by the information feedback platform, and returning the trusted first feedback information to the terminal by using the session request response;
根据状态跟踪策略对所述终端的当前会话状态进行跟踪,根据从所述当前会话状态中采集的会话信息确定下一步的响应操作,执行所述响应操作后将响应结果返回给所述终端。The current session state of the terminal is tracked according to the state tracking policy, and the next response operation is determined according to the session information collected from the current session state, and the response result is returned to the terminal after the response operation is performed.
本申请实施例的一种服务器,所述服务器包括:A server in an embodiment of the present application, the server includes:
接收单元,配置为从终端发起的会话请求中解析出会话信息;a receiving unit, configured to parse the session information from the session request initiated by the terminal;
类别处理单元,配置为对所述会话信息进行分类和聚类处理,得到至少一个类别特征参数;a class processing unit configured to perform classification and clustering processing on the session information to obtain at least one category feature parameter;
分发单元,配置为将所述会话信息分发给与所述至少一个类别特征参数对应的信息反馈平台;a distribution unit, configured to distribute the session information to an information feedback platform corresponding to the at least one category feature parameter;
响应单元,配置为根据所述信息反馈平台发送的反馈信息得到可信的第一反馈信息,将可信的第一反馈信息通过会话请求响应返回给所述终端;The response unit is configured to obtain trusted first feedback information according to the feedback information sent by the information feedback platform, and return the trusted first feedback information to the terminal by using a session request response;
状态跟踪单元,配置为根据状态跟踪策略对所述终端的当前会话状态进行跟踪,根据从所述当前会话状态中采集的会话信息确定下一步的响应操作,执行所述响应操作后将响应结果返回给所述终端。The status tracking unit is configured to track the current session state of the terminal according to the status tracking policy, determine a next response operation according to the session information collected from the current session state, and return the response result after performing the response operation. To the terminal.
本申请实施例的一种计算机可读存储介质,其上存储有计算机程序,其中,该计算机程序被处理器执行时实现上述会话信息的处理方法的步骤。A computer readable storage medium of the embodiment of the present application, wherein a computer program is stored thereon, wherein the computer program is executed by the processor to implement the step of processing the session information.
本申请实施例的一种服务器,所述服务器包括:A server in an embodiment of the present application, the server includes:
存储器,配置为存储能够在处理器上运行的计算机程序;a memory configured to store a computer program capable of running on a processor;
处理器,配置为运行所述计算机程序时,执行上述会话信息的处理方法的步骤。And a processor configured to perform the step of processing the session information described above when the computer program is run.
本申请实施例的一种会话信息的处理方法,所述方法由服务器执行,所述服务器包括有一个或多个处理器以及存储器,以及一个或一个以上的程序,其中,所述一个或一个以上的程序存储于存储器中,所述程序可以包括一个或一个以上的每一个对应于一组指令的单元,所述一个或多个处理器被配置为执行指令;所述方法包括:A method for processing session information according to an embodiment of the present application, the method is performed by a server, the server includes one or more processors and a memory, and one or more programs, wherein the one or more programs The program is stored in a memory, and the program may include one or more units each corresponding to a set of instructions, the one or more processors being configured to execute the instructions; the method comprising:
从终端发起的会话请求中解析出会话信息;Parsing session information from a session request initiated by the terminal;
对所述会话信息进行分类和聚类处理,得到至少一个类别特征参数;Performing classification and clustering processing on the session information to obtain at least one category feature parameter;
将所述会话信息分发给与所述至少一个类别特征参数对应的信息反馈平台;Distributing the session information to an information feedback platform corresponding to the at least one category feature parameter;
根据所述信息反馈平台发送的反馈信息得到可信的第一反馈信息,将可信的第一反馈信息通过会话请求响应返回给所述终端;Obtaining the trusted first feedback information according to the feedback information sent by the information feedback platform, and returning the trusted first feedback information to the terminal by using the session request response;
根据状态跟踪策略对所述终端的当前会话状态进行跟踪,根据从所述当前会话状态中采集的会话信息确定下一步的响应操作,执行所述响应操作后将响应结果返回给所述终端。The current session state of the terminal is tracked according to the state tracking policy, and the next response operation is determined according to the session information collected from the current session state, and the response result is returned to the terminal after the response operation is performed.
本申请实施例的会话信息的处理方法,包括:从终端发起的会话请求中解析出会话信息;对所述会话信息进行分类和聚类处理,得到至少一个类别特征参数;将所述会话信息分发给与所述至少一个类别特征参数对应的信息反馈平台;根据所述信息反馈平台发送的反馈信息得到可信的第一反馈信息,将可信的第一反馈信息通过会话请求响应返回给所述终端;根据状态跟踪策略对所述终端的当前会话状态进行跟踪,根据从所述当前会话状态中采集的会话信息确定下一步的响应操作,执行所述响应操作后将响应结果返回给所述终端。The method for processing session information in the embodiment of the present application includes: parsing session information from a session request initiated by a terminal; classifying and clustering the session information to obtain at least one category feature parameter; and distributing the session information Giving an information feedback platform corresponding to the at least one category feature parameter; obtaining trusted first feedback information according to the feedback information sent by the information feedback platform, and returning the trusted first feedback information to the The terminal tracks the current session state of the terminal according to the state tracking policy, determines a response operation of the next step according to the session information collected from the current session state, and returns the response result to the terminal after performing the response operation. .
采用本申请实施例,对会话信息进行分类和聚类处理,得到至少一个类别特征参数;将会话信息分发给与至少一个类别特征参数对应的信息反馈平台。对会话信息(包含问题)的处理(分类和聚类)得到类别特征参数,并根据类别特征参数给到对应的信息反馈平台以得到针对性的准确答案(答案不是设置好的,也不是固定的),是一种实时互动的机制,有问有答的互动模式具备针对性,且互动效果好。而且,根据信息反馈平台发送的反馈信息并不是立即反馈给终端,而是根据反馈信息得到可信的第一反馈信息后,将可信的第一反馈信息通过会话请求响应返回给所述终端,由于是对答案进行可信度分析后再反馈给终端,确保了答复的准确率。In the embodiment of the present application, the session information is classified and clustered to obtain at least one category feature parameter; the session information is distributed to the information feedback platform corresponding to the at least one category feature parameter. The processing (classification and clustering) of the session information (including the problem) obtains the category feature parameters, and gives the corresponding information feedback platform according to the category feature parameters to obtain a targeted accurate answer (the answer is not set, nor fixed) ), is a real-time interactive mechanism, the interactive mode with questions and answers is targeted, and the interaction effect is good. Moreover, the feedback information sent by the information feedback platform is not immediately fed back to the terminal, but after the trusted first feedback information is obtained according to the feedback information, the trusted first feedback information is returned to the terminal through the session request response. Since the answer is credentially analyzed and then fed back to the terminal, the accuracy of the reply is ensured.
附图说明DRAWINGS
图1为本申请实施例中进行信息交互的各方硬件实体的示意图;1 is a schematic diagram of hardware entities of each party performing information interaction in an embodiment of the present application;
图2为本申请实施例一方法的实现流程示意图;2 is a schematic diagram of an implementation process of a method according to Embodiment 1 of the present application;
图3为本申请实施例一系统架构的示意图;3 is a schematic diagram of a system architecture according to Embodiment 1 of the present application;
图4为本申请实施例一服务器硬件结构的示意图;4 is a schematic diagram of a hardware structure of a server according to Embodiment 1 of the present application;
图5-6为状态机的多个示意图;Figure 5-6 is a plurality of schematic diagrams of the state machine;
图7为应用本申请实施例的一应用场景的会话处理流程图。FIG. 7 is a flowchart of a session process applied to an application scenario of an embodiment of the present application.
具体实施方式detailed description
下面结合附图对技术方案的实施作进一步的详细描述。The implementation of the technical solution will be further described in detail below with reference to the accompanying drawings.
现在将参考附图描述实现本申请各个实施例的移动终端。在后续的描述中,使用用于表示元件的诸如“模块”、“部件”或“单元”的后缀仅为了有利于本申请实施例的说明,其本身并没有特定的意义。因此,"模块"与"部件"可以混合地使用。A mobile terminal implementing various embodiments of the present application will now be described with reference to the accompanying drawings. In the following description, the suffixes such as "module", "component" or "unit" used to denote elements are merely illustrative of the embodiments of the present application, and do not have a specific meaning per se. Therefore, "module" and "component" can be used in combination.
在下面的详细说明中,陈述了众多的具体细节,以便彻底理解本申请。不过,对于本领域的普通技术人员来说,显然可在没有这些具体细节的情 况下实践本申请。在其他情况下,没有详细说明公开的公知方法、过程、组件、电路和网络,以避免不必要地使实施例的各个方面模糊不清。In the following detailed description, numerous specific details are set forth in the However, it is apparent to those skilled in the art that the present invention may be practiced without these specific details. In other instances, well-known methods, procedures, components, circuits, and networks are not described in detail to avoid unnecessarily obscuring aspects of the embodiments.
另外,本文中尽管多次采用术语“第一”、“第二”等来描述各种元件(或各种阈值或各种应用或各种指令或各种操作)等,不过这些元件(或阈值或应用或指令或操作)不应受这些术语的限制。这些术语只是用于区分一个元件(或阈值或应用或指令或操作)和另一个元件(或阈值或应用或指令或操作)。例如,第一操作可以被称为第二操作,第二操作也可以被称为第一操作,而不脱离本申请的范围,第一操作和第二操作都是操作,只是二者并不是相同的操作而已。In addition, although the terms "first", "second", etc. are used herein to describe various elements (or various thresholds or various applications or various instructions or various operations), etc., these elements (or thresholds) Or application or instruction or operation) should not be limited by these terms. These terms are only used to distinguish one element (or threshold or application or instruction or operation) and another element (or threshold or application or instruction or operation). For example, the first operation may be referred to as a second operation, and the second operation may also be referred to as a first operation, without departing from the scope of the present application, the first operation and the second operation are operations, but the two are not the same The operation is only.
本申请实施例中的步骤并不一定是按照所描述的步骤顺序进行处理,可以按照需求有选择的将步骤打乱重排,或者删除实施例中的步骤,或者增加实施例中的步骤,本申请实施例中的步骤描述只是可选的顺序组合,并不代表本申请实施例的所有步骤顺序组合,实施例中的步骤顺序不能认为是对本申请的限制。The steps in the embodiments of the present application are not necessarily processed in the order of the steps described. The steps may be selectively arranged to be reordered according to requirements, or the steps in the embodiment may be deleted, or the steps in the embodiment may be added. The description of the steps in the application examples is only an optional combination of the steps, and does not represent a combination of the steps in the embodiments of the present application. The order of the steps in the embodiments is not to be construed as limiting the present application.
本申请实施例中的术语“和/或”指的是包括相关联的列举项目中的一个或多个的任何和全部的可能组合。还要说明的是:当用在本说明书中时,“包括/包含”指定所陈述的特征、整数、步骤、操作、元件和/或组件的存在,但是不排除一个或多个其他特征、整数、步骤、操作、元件和/或组件和/或它们的组群的存在或添加。The term "and/or" in the embodiments of the present application refers to any and all possible combinations including one or more of the associated listed items. It is also to be understood that the phrase "including/comprising", when used in the specification, is intended to mean the presence of the stated features, integers, steps, operations, components and/or components, but does not exclude one or more other features, integers The presence or addition of steps, operations, elements and/or components and/or groups thereof.
本申请实施例的智能终端(如移动终端)可以以各种形式来实施。例如,本申请实施例中描述的移动终端可以包括诸如移动电话、智能电话、笔记本电脑、数字广播接收器、个人数字助理(PDA,Personal Digital Assistant)、平板电脑(PAD)、便携式多媒体播放器(PMP,Portable Media Player)、导航装置等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。下面,假设终端是移动终端。然而,本领域技术人员将理解的是, 除了特别用于移动目的的元件之外,根据本申请的实施方式的构造也能够应用于固定类型的终端。The intelligent terminal (such as a mobile terminal) of the embodiment of the present application can be implemented in various forms. For example, the mobile terminal described in the embodiments of the present application may include, for example, a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a personal digital assistant (PDA, Personal Digital Assistant), a tablet computer (PAD), a portable multimedia player ( Mobile terminals such as PMP (Portable Media Player), navigation devices, and the like, and fixed terminals such as digital TVs, desktop computers, and the like. In the following, it is assumed that the terminal is a mobile terminal. However, those skilled in the art will appreciate that configurations in accordance with embodiments of the present application can be applied to fixed type terminals in addition to components that are specifically for mobile purposes.
随着互联网技术、通信技术、智能终端等领域的发展,用户的生活越来越智能化。新的人工智能(AI,Artificial Intelligence)技术正成为数据、服务、产品接入人类生活的重要入口。采用AI技术,用户可以通过聊天机器人或聊天页面接入的后台服务器进行智能聊天的信息交互处理。比如,用户一个购物的生活场景中,通常是打电话给坐席客服,坐席客服是实实在在的人,也就是说这种传统信息交互是人与人之间的真实会话,如果坐席客服忙,就无法及时对用户咨询进行回复了。智能聊天中就不存在这样的问题,可以用虚拟的客服来代替真实的人,虚拟客服时刻在线,随时可以提供咨询,并将预设答案提供给用户进行选择。With the development of Internet technology, communication technology, intelligent terminals and other fields, users' lives are becoming more and more intelligent. New artificial intelligence (AI) technology is becoming an important entry point for data, services, and products to access human life. With AI technology, users can interact with smart chat messages through a background server accessed by a chat bot or chat page. For example, in a shopping life scene of a user, usually calling the agent customer service, the agent customer service is a real person, that is to say, this traditional information interaction is a real conversation between people, if the agent is busy, It is impossible to respond to user inquiries in a timely manner. There is no such problem in smart chat, you can use virtual customer service to replace the real person. The virtual customer service is online at any time, can provide consultation at any time, and provide the default answer to the user for selection.
采用AI技术也存在一定的问题:答案固定。即便数据库中有根据历史记录分析得到的预设答案(固定的答案),一方面,用户所咨询的问题具备广度和深度,难以应付没有预测到的情况,预设的答案并不全面;另一方面,预设的答案是提供给用户进行选择的,与真实人人交互场景中有问有答的聊天模式存在差异,不够智能化,需要进行技术完善。There are also certain problems with AI technology: the answer is fixed. Even if there are preset answers (fixed answers) based on historical analysis in the database, on the one hand, the questions asked by the users have breadth and depth, and it is difficult to cope with unpredicted situations. The default answers are not comprehensive; In terms of aspect, the default answer is provided to the user for selection. There is a difference between the chat mode and the answer mode in the real person interaction scene, which is not intelligent enough and needs technical perfection.
图1为本申请实施例中进行信息交互的各方硬件实体的示意图,图1中包括:终端1、服务器2、服务器31-33(服务器31-33是多个信息反馈平台的具体实现,仅仅只指代作用,并不限制服务器的个数)、终端1可以由多个终端11-13组成,通过无线或有线方式与服务器2进行信息交互。如图1所示,本申请实施例的处理逻辑10是服务器所执行的处理逻辑,包括:S1、所述会话请求中解析出会话信息,对所述会话信息进行分类和聚类处理,得到至少一个类别特征参数,根据所述至少一个类别特征参数将所述会话信息分发给至少一个信息反馈平台;S2、根据反馈信息及信息可信度参数,从所述信息可信度参数所标识的反馈信息中选择出可信度最高的第 一反馈信息,将所述第一反馈信息与阈值进行比对,当比对出所述第一反馈信息为可信时,将所述第一反馈信息通过会话请求响应返回给所述终端;S3、根据状态跟踪策略对所述终端的当前会话状态进行跟踪,根据从所述当前会话状态中采集的会话信息确定下一步的响应操作,执行所述响应操作后将响应结果返回给所述终端。1 is a schematic diagram of hardware entities of each party performing information interaction in the embodiment of the present application. FIG. 1 includes: a terminal 1, a server 2, and a server 31-33. The server 31-33 is a specific implementation of multiple information feedback platforms, and only It only refers to the role, and does not limit the number of servers. The terminal 1 can be composed of a plurality of terminals 11-13, and exchanges information with the server 2 through wireless or wired means. As shown in FIG. 1 , the processing logic 10 of the embodiment of the present application is processing logic executed by the server, including: S1, parsing session information in the session request, and classifying and clustering the session information to obtain at least a category feature parameter, the session information is distributed to the at least one information feedback platform according to the at least one category feature parameter; S2, the feedback identified from the information credibility parameter according to the feedback information and the information credibility parameter Selecting the first feedback information with the highest credibility, and comparing the first feedback information with a threshold, and when the first feedback information is trusted, the first feedback information is passed The session request response is returned to the terminal; S3, tracking the current session state of the terminal according to the state tracking policy, determining a next response operation according to the session information collected from the current session state, and performing the response operation The response result is then returned to the terminal.
上述图1的例子只是实现本申请实施例的一个系统架构实例,本申请实施例并不限于上述图1所述的系统结构,基于上述图1所述的系统架构,提出本申请方法各个实施例。The example of FIG. 1 is only a system architecture example of the embodiment of the present application. The embodiment of the present application is not limited to the system structure described in FIG. 1 , and various embodiments of the method of the present application are proposed based on the system architecture described in FIG. 1 . .
本文中,多个信息反馈平台,可以是独立于服务器2的多个的服务器;多个信息反馈平台,也可以是服务器2下属的多个服务器,可以称为多个子系统,具体是各问答子系统。In this document, multiple information feedback platforms may be multiple servers independent of the server 2; multiple information feedback platforms may also be multiple servers of the server 2, which may be referred to as multiple subsystems, specifically system.
本申请实施例的会话信息的处理方法,如图2所示,所述方法包括:接收终端发起的会话请求,从终端发起的会话请求中解析出会话信息(101)。进入一个AI聊天场景中,用户提出问题后,根据该提出的问题生成一个会话请求,将会话请求发送给服务器,服务器根据图1中处理逻辑10的策略和操作,对用户提出的问题进行答复,将答复通过会话请求响应反馈给用户。在整个AI聊天场景中,对于会话请求与会话请求响应,可以理解为前台与后台所建立的会话,实时监控用户所在终端与服务器建立的该会话、及维护和跟踪会话状态的变化,根据会话状态的变化,调整服务器的策略并予以响应。比如,一个实例中,可以采用状态跟踪策略,具体是采用状态机来维护和跟踪用户会话状态,可以采用表单填充的方式来采集用户需求,对于表单填充的方式而言,其目的是:每次尽量从用户提出的问题中提取尽可能多的信息,而不是每次按状态仅提取该状态对应的信息,这样对话更自然。As shown in FIG. 2, the method includes: receiving a session request initiated by a terminal, and parsing session information (101) from a session request initiated by the terminal. After entering the AI chat scenario, after the user asks a question, a session request is generated according to the proposed question, and the session request is sent to the server, and the server responds to the question raised by the user according to the policy and operation of the processing logic 10 in FIG. The response is fed back to the user via the session request response. In the entire AI chat scenario, the response to the session request and the session request can be understood as a session established between the foreground and the background, real-time monitoring of the session established by the terminal where the user is located and the server, and maintaining and tracking the change of the session state, according to the session state. Changes, adjust the server's strategy and respond. For example, in an example, a state tracking policy can be adopted, specifically, a state machine is used to maintain and track user session state, and a form fill method can be used to collect user requirements. For the form filling method, the purpose is: each time Try to extract as much information as possible from the user's question, instead of extracting only the information corresponding to the state each time, so the conversation is more natural.
状态机,是表示有限个状态以及在这些状态之间的转移和动作等行为 的数学模型。它反映从系统开始到现在时刻的输入变化,转移指示状态变更,并且用必须满足来确使转移发生的条件来描述它;动作是在给定时刻要进行的活动的描述。包括多种类型的动作:1)进入动作:在进入状态时进行;2)退出动作:在退出状态时进行;3)输入动作:依赖于当前状态和输入条件进行;4)转移动作:在特定转移时进行。比如,一个按键命令解析程序,就可以被看做状态机,具体的,初始是在A状态下,当触发一个按键后切换到了B状态,再触发另一个按键后切换到C状态,或者返回到A状态。这是一个简单的按键状态机的例子。A state machine is a mathematical model that represents a finite number of states and behaviors such as transitions and actions between these states. It reflects the input change from the beginning of the system to the present time, the transition indicates the state change, and describes it with the conditions that must be met to ensure that the transfer occurs; the action is a description of the activity to be performed at a given time. It includes various types of actions: 1) entry action: when entering state; 2) exit action: when exiting state; 3) input action: depending on current state and input condition; 4) transfer action: in specific When transferring. For example, a button command parsing program can be regarded as a state machine. Specifically, it is initially in the A state. When a button is triggered, it switches to the B state, and then triggers another button to switch to the C state, or returns to A state. This is an example of a simple button state machine.
本申请实施例中,就状态机跟踪用户会话而言,状态机的状态可以包括:正常状态、至少一个信息确认状态、异常状态。在正常状态下,分为当用户需求明确和用户需求不明确两种情况。1)在用户需求明确的情况下,向下分发至各问答子系统,然后择优选择答案返回给用户;2)当用户需求不明确的情况下,采用引导的方式进一步细分和明确用户需求,采取有问有答的模式继续收集用户所提出的问题,服务器继续进行分析,最终,将尽可能精确的答案直接反馈给用户,而不需要用户进行选择;3)本申请实施例还提供了异常处理策略,当至少一个信息确认状态都确认失败后,会话无法开展下去,说明用户提问超出系统能够回答的领域范围时,则从正常状态转入异常状态,无需分发会话信息至各问答子系统,而是根据预设的答案予以回答,能够“圆滑”地进行异常处理,避免会话中断。In the embodiment of the present application, in the case that the state machine tracks the user session, the state of the state machine may include: a normal state, at least one information confirmation state, and an abnormal state. Under normal conditions, it is divided into two situations: when the user needs are clear and the user's demand is not clear. 1) When the user needs are clear, distribute it to each question and answer subsystem, and then choose the answer to return to the user; 2) When the user's demand is not clear, use the guiding method to further subdivide and clarify the user's needs. The question and answer mode is adopted to continue to collect the questions raised by the user, the server continues to analyze, and finally, the most accurate answer is directly fed back to the user without requiring the user to make a selection; 3) the embodiment of the present application also provides an exception. The processing strategy, when at least one information confirmation status fails to confirm, the session cannot be carried out, indicating that when the user question exceeds the domain range that the system can answer, the normal state is transferred to the abnormal state, and the session information is not required to be distributed to each question and answer subsystem. Instead, it responds according to the preset answer, and can perform the exception processing "smoothly" to avoid session interruption.
本申请实施例适用的AI聊天场景有很多,比如,智能语音搜索引擎、智能导航及停车、智能机器人客服、智能语音比价等。一个智能聊天场景中,用户开启导航模式在开车的过程中,由于用户在开车,因此,双手被占用,此时,通过人机交互的智能聊天,就可以及时知道去目的地的最佳导航路线,或者避开拥堵重新选择一条导航路线等等。There are many AI chat scenarios applicable to the embodiments of the present application, such as an intelligent voice search engine, intelligent navigation and parking, intelligent robot service, and intelligent voice comparison. In a smart chat scene, when the user turns on the navigation mode, during the driving process, since the user is driving, the hands are occupied. At this time, through the intelligent chat of human-computer interaction, the best navigation route to the destination can be known in time. , or avoid congestion and re-select a navigation route and so on.
本申请实施例的会话信息的处理方法,还包括:对所述会话信息进行 分类和聚类处理,得到至少一个类别特征参数,将所述会话信息分发给与所述至少一个类别特征参数对应的信息反馈平台(102)。其中,信息反馈平台为至少一个,分别对应于至少一个类别特征参数中的不同类别特征参数。这是对用户进行分类,聚类后,将其分发至不同的渠道去获取初始答案,比如,对第一信息中所包含的信息内容进行拆分,会得到多个内容项,本申请实施例中有多个信息反馈平台,比如,基于知识库的问答反馈平台及基于常见问题解答(FAQ,Frequently Asked Questions)的问答反馈平台。The method for processing the session information in the embodiment of the present application further includes: classifying and clustering the session information, obtaining at least one category feature parameter, and distributing the session information to the at least one category feature parameter. Information feedback platform (102). The information feedback platform is at least one, and respectively corresponds to different category feature parameters of the at least one category feature parameter. The user is classified, and after being clustered, it is distributed to different channels to obtain an initial answer. For example, splitting the information content included in the first information may result in multiple content items. There are multiple information feedback platforms, such as a knowledge base based Q&A feedback platform and a Q&A feedback platform based on Frequently Asked Questions (FAQ).
对于知识库的问答反馈平台,是以数据库的形式存储不同知识类型的数据,属于限定领域内的结构化知识集合,将数据提供查询使用,数据较FAQ问答反馈平台数据更加全面。对于FAQ问答反馈平台,存储的数据为用户“经常问到的问题”,或者“常见的问题”。For the Q&A feedback platform of the knowledge base, the data of different knowledge types is stored in the form of a database, which belongs to a structured knowledge set within the limited domain, and the data is provided for query use, and the data is more comprehensive than the data of the FAQ question and answer feedback platform. For the FAQ question and answer feedback platform, the stored data is the user's "frequently asked questions" or "common questions."
对用户进行分类和聚类中,包括:1)先对这些内容项进行分类,先得到比较大的分类,也就是说,实现对信息内容的第一次筛选。2)由于,第一次筛选所得到的分类,从某种程度上来说,可能存在信息交叉或信息相似度高的情况,此时,可以对这些情况进行分析后采取聚类处理,以实现对信息内容的第二次筛选。采用本申请实施例,可以针对性的将第一信息中的多个信息项针对性的分发给多个信息反馈平台中的一个或多个进行处理,能提高信息反馈的准确性和处理效率。The classification and clustering of users include: 1) classifying these content items first, first obtaining a relatively large classification, that is, realizing the first screening of the information content. 2) Because, the classification obtained by the first screening, to some extent, there may be information crossover or high information similarity. At this time, these situations can be analyzed and clustered to achieve The second screening of information content. With the embodiment of the present application, the multiple information items in the first information can be specifically distributed to one or more of the multiple information feedback platforms, which can improve the accuracy and processing efficiency of the information feedback.
本申请实施例的会话信息的处理方法,还包括:根据所述信息反馈平台发送的反馈信息得到可信的第一反馈信息,将可信的第一反馈信息通过会话请求响应返回给所述终端(103)。具体的,接收所述至少一个信息反馈平台发送的反馈信息及信息可信度参数,信息可信度参数用于标识反馈信息的可信度。从所述信息可信度参数所标识的反馈信息中选择出可信度最高的第一反馈信息,将所述第一反馈信息与阈值进行比对,得到比对结果。本申请实施例中,服务器除了能从至少一个信息反馈平台得到可信度 分析的分析结果,也可以在服务器自行运算,即:1)服务器只收到至少一个信息反馈平台发送的反馈信息(如针对用户所提出问题的答案),服务器接收至少一个信息反馈平台发送的反馈信息,对所述反馈信息进行可信度分析,得到至少一个分析结果(如信息可信度参数);2)服务器只收到至少一个信息反馈平台发送的反馈信息(如针对用户所提出问题的答案)及由至少一个信息反馈平台做出的可信度分析的分析结果,在服务器还可以进行一轮可信度分析,得到至少一个分析结果(如信息可信度参数)。之后,在服务器将通过信息可信度参数所标识的反馈信息中可信度最高的反馈信息(如第一反馈信息)与阈值进行比对,以判断最高可信度的答案是否可信。The method for processing the session information in the embodiment of the present application further includes: obtaining the trusted first feedback information according to the feedback information sent by the information feedback platform, and returning the trusted first feedback information to the terminal by using the session request response. (103). Specifically, the feedback information and the information credibility parameter sent by the at least one information feedback platform are received, and the information credibility parameter is used to identify the credibility of the feedback information. The first feedback information with the highest credibility is selected from the feedback information identified by the information credibility parameter, and the first feedback information is compared with a threshold to obtain a comparison result. In the embodiment of the present application, the server can obtain the analysis result of the credibility analysis from at least one information feedback platform, and can also perform the calculation on the server itself, that is, 1) the server only receives the feedback information sent by at least one information feedback platform (eg, The server receives the feedback information sent by at least one information feedback platform, performs credibility analysis on the feedback information, and obtains at least one analysis result (such as information credibility parameter); 2) the server only Receiving feedback information sent by at least one information feedback platform (such as the answer to the question posed by the user) and the analysis result of the credibility analysis made by at least one information feedback platform, and performing a round of credibility analysis on the server , get at least one analysis result (such as information credibility parameters). Then, the server compares the feedback information with the highest credibility (such as the first feedback information) in the feedback information identified by the information credibility parameter with the threshold to determine whether the answer with the highest credibility is credible.
本申请实施例的会话信息的处理方法中,当根据比对结果判断出所述第一反馈信息为可信时,将所述第一反馈信息通过会话请求响应返回给所述终端。本申请实施例的处理过程中,通过答案可信度的分析,直接将答案反馈给用户,从而,精准、且最接近真人交互有问题有答模式,无需用户选择。In the method for processing session information in the embodiment of the present application, when it is determined that the first feedback information is trusted according to the comparison result, the first feedback information is returned to the terminal by using a session request response. In the process of the embodiment of the present application, the answer is directly fed back to the user through the analysis of the credibility of the answer, so that the accurate and closest to the human interaction has a question and answer mode, and no user selection is required.
本申请实施例的会话信息的处理方法,还包括:根据状态跟踪策略对所述终端的当前会话状态进行跟踪,根据从所述当前会话状态中采集的会话信息确定下一步的响应操作,执行所述响应操作后将响应结果返回给所述终端(104)。本申请实施例中,服务器根据状态跟踪策略对所述终端的当前会话状态进行跟踪,可以采用状态机对当前会话状态进行跟踪,会跟踪“对于用户需求明确”和“用户需求不明确”的不同,再进一步区分不同的处理策略。状态跟踪策略通过状态机实现时,需要关注的是:1)状态;2)服务器的响应操作(或称响应动作)。在状态机的维护和跟踪过程中,是对当时会话的信息状态和系统动作的维护和跟踪。服务器除了采用状态机可以实现对终端当前会话状态的跟踪,还可以终端当前会话状态进行会 话更新、会话删除等状态维护。状态维护的一个实例为:当前对话进展到哪一步,应该采用哪种处理策略。The method for processing the session information in the embodiment of the present application further includes: tracking a current session state of the terminal according to the state tracking policy, determining a next response operation according to the session information collected from the current session state, and executing the location The response result is returned to the terminal (104) after the response operation. In the embodiment of the present application, the server tracks the current session state of the terminal according to the state tracking policy, and the state machine can track the current session state, and the difference between “clear for user requirements” and “unclear user requirements” is tracked. , further distinguish different processing strategies. When the state tracking policy is implemented by the state machine, it needs to pay attention to: 1) state; 2) response operation (or response action) of the server. During the maintenance and tracking of the state machine, it is the maintenance and tracking of the information state and system actions of the session at that time. In addition to the state machine, the server can track the current session state of the terminal, and can also maintain state maintenance such as session update and session deletion in the current session state of the terminal. An example of state maintenance is: which step the current conversation progresses to and which processing strategy should be used.
采用本申请实施例的一个状态机的实例为:状态机包括4个状态,分别为:正常状态、车型确认状态、属性确认状态、异常状态。在状态跟踪的过程中,正常状态下,当用户需求明确时,将会话信息分发给子系统进行处理;正常状态下,但用户需求不明确时,通过引导并分析细节来确认用户需求,明确用户需求后,将会话信息分发给子系统进行处理,在分析细节的过程中,如果跳转入车型确认状态或属性确认状态,则进行确认,如果都确认失败,则说明会话信息超出能回答的范围,则从正常状态跳转至异常状态。An example of a state machine adopting the embodiment of the present application is that the state machine includes four states, namely: a normal state, a model confirmation state, an attribute confirmation state, and an abnormal state. In the process of state tracking, in the normal state, when the user needs are clear, the session information is distributed to the subsystem for processing; in the normal state, but when the user requirements are not clear, the user needs are confirmed by guiding and analyzing the details, and the user is clarified. After the demand, the session information is distributed to the subsystem for processing. In the process of analyzing the details, if the vehicle enters the vehicle confirmation status or the attribute confirmation status, the confirmation is performed. If the confirmation fails, the session information is out of the range that can be answered. , jumps from the normal state to the abnormal state.
采用本申请实施例,根据用户的问题分类将问题下发至不同的答复渠道,具备了问题答复的咨询广度,收集到答案后不是立即反馈给用户进行选择,而是先对答案进行可信度分析后,将可能性高的答案直接反馈给用户,具备了问题答复的深度,使答案在全面覆盖广度和深度上,答复的准确率也得到了提高。通过这种方式将尽可能精确的答案直接反馈给用户,而不需要用户进行选择,从而,避免了用户的选择困扰,本申请实施例中有问有答的聊天模式,是对真实人人交互场景中有问有答聊天模式的真实模拟,使得AI人机聊天变得更加智能化,是对AI技术的完善。According to the embodiment of the present application, the problem is distributed to different reply channels according to the user's problem classification, and the consultation width of the question answer is provided. After the answer is collected, the user is not immediately informed to make a selection, but the answer is first credible. After the analysis, the answer with high possibility is directly fed back to the user, and the depth of the answer is provided, so that the answer is in the comprehensive coverage breadth and depth, and the accuracy of the reply is also improved. In this way, the answer with the most accurate answer is directly fed back to the user, and the user does not need to make a selection, thereby avoiding the user's choice. In the embodiment of the present application, there is a chat mode with answers and answers, which is to interact with real people. In the scene, there is a real simulation of the answer and chat mode, which makes the AI human-machine chat more intelligent, which is the perfection of AI technology.
本申请实施例中,将通过信息可信度参数所标识的反馈信息中可信度最高的反馈信息(如第一反馈信息)与阈值进行比对,得到的比对结果为:所述第一反馈信息超出阈值,则判断出所述第一反馈信息为可信的,将所述第一反馈信息通过会话请求响应返回给所述终端。比如,选取可信度最高的答案与整个系统预设阈值T进行比较,超过阈值T时返回对问题的解答结果给用户。In the embodiment of the present application, the feedback information with the highest credibility in the feedback information identified by the information credibility parameter (such as the first feedback information) is compared with a threshold, and the obtained comparison result is: the first If the feedback information exceeds the threshold, it is determined that the first feedback information is trusted, and the first feedback information is returned to the terminal by using a session request response. For example, the answer with the highest credibility is selected to be compared with the entire system preset threshold T, and when the threshold T is exceeded, the answer to the question is returned to the user.
本申请实施例中,将通过信息可信度参数所标识的反馈信息中可信度 最高的反馈信息(如第一反馈信息)与阈值进行比对,得到的比对结果为:所述第一反馈信息未超出阈值时,返回提示信息给所述终端,所述提示信息用于表征当前无法解答所述会话信息。比如,选取可信度最高的答案与整个系统预设的阈值T进行比较,未超过阈值T时,说明无法对问题进行解答,给出用户提示为当前无法回答该问题。之后,转入人工服务,将通过所述人工服务得到的第二反馈信息通过会话请求响应返回给所述终端。比如,从AI客服转人工客服予以解答,对问题进行解答后,将答案更新到FAQ库,以便下次再碰到类似问题时能够回答;并将人工答案返回给用户。In the embodiment of the present application, the feedback information with the highest credibility in the feedback information identified by the information credibility parameter (such as the first feedback information) is compared with a threshold, and the obtained comparison result is: the first When the feedback information does not exceed the threshold, the prompt information is returned to the terminal, and the prompt information is used to indicate that the session information cannot be answered currently. For example, the answer with the highest credibility is compared with the preset threshold T of the entire system. When the threshold T is not exceeded, the problem cannot be solved, and the user prompt is given that the question cannot be answered currently. Then, the manual service is transferred, and the second feedback information obtained by the manual service is returned to the terminal through the session request response. For example, from AI customer service to manual customer service to answer, after answering the question, update the answer to the FAQ library, so that you can answer the next time you encounter a similar problem; and return the manual answer to the user.
本申请实施例中,对于状态机正常状态的一种情况,是对用户需求明确的响应操作。根据状态跟踪策略对终端的当前会话状态进行跟踪,当前会话状态为终端会话需求明确时,将当前采集的会话信息分发给至少一个信息反馈平台。接收至少一个信息反馈平台发送的反馈信息,从所述反馈信息中选定第三反馈信息,将所述第三反馈信息返回给所述终端。比如,当用户需求明确时,向下分发至各问答子系统,然后择优选择答案返回给用户,是一种在服务器自行选择,将择优选择的答案直接反馈给用户的方案,无需用户自行选择。具体的,第三反馈信息,也可以根据所述至少一个信息反馈平台发送的反馈信息及信息可信度参数,从所述信息可信度参数所标识的反馈信息中选择出可信度最高的第三反馈信息,将第三反馈信息直接反馈给用户。或者,将所述第三反馈信息与阈值T进行比对,超出阈值T时,判断出所述第三反馈信息为可信的,将所述第三反馈信息返回给所述终端。In the embodiment of the present application, a situation in which the state machine is in a normal state is a response operation that is clear to the user's needs. The current session state of the terminal is tracked according to the state tracking policy. When the current session state is clear, the currently collected session information is distributed to at least one information feedback platform. Receiving feedback information sent by at least one information feedback platform, selecting third feedback information from the feedback information, and returning the third feedback information to the terminal. For example, when the user needs are clear, it is distributed to each question and answer subsystem, and then the preferred answer is returned to the user. It is a scheme that the server selects and directly feeds the answer of the preferred choice to the user, without the user having to choose. Specifically, the third feedback information may also be selected according to the feedback information and the information credibility parameter sent by the at least one information feedback platform, and select the highest credibility from the feedback information identified by the information credibility parameter. The third feedback information directly feeds back the third feedback information to the user. Alternatively, the third feedback information is compared with the threshold T. When the threshold T is exceeded, it is determined that the third feedback information is authentic, and the third feedback information is returned to the terminal.
本申请实施例中,对于状态机正常状态的另一种情况,是对用户需求不明确的响应操作。根据状态跟踪策略对终端的当前会话状态进行跟踪,当前会话状态为用户需求不明确时,对采集的会话信息进行需求分析,将 分析结果反馈给终端。比如,用户需求为喜欢某个品牌,但是,从开始的会话中无法明确出:是对该品牌旗下的哪个具体系列感兴趣,通过历史记录或其它数据分析方式获知用户可能对“系列一”感兴趣,则将“系列一”的相关信息反馈给终端。之后,收集终端根据所述分析结果上报的会话响应,继续对所述会话响应中的会话信息进行需求分析,直至从会话信息中得到明确的用户需求,结束需求需求分析,将当前采集的会话信息分发给至少一个信息反馈平台。接收至少一个信息反馈平台发送的反馈信息,从所述反馈信息中选定第四反馈信息,将所述第四反馈信息返回给所述终端。比如,当用户需求不明确时,采用引导的方式进一步细分和明确用户需求,即:通过终端与服务器的多次交互,服务器执行需求分析,终端对需求分析结果进行响应,直至明确出用户需求。当用户需求明确时,向下分发至各问答子系统,然后择优选择答案返回给用户,是一种在服务器自行选择,将择优选择的答案直接反馈给用户的方案,无需用户自行选择。具体的,第四反馈信息,也可以根据所述至少一个信息反馈平台发送的反馈信息及信息可信度参数,从所述信息可信度参数所标识的反馈信息中选择出可信度最高的第四反馈信息,将第四反馈信息直接反馈给用户。或者,将所述第四反馈信息与阈值T进行比对,超出阈值T时,判断出所述第四反馈信息为可信的,将所述第四反馈信息返回给所述终端。In the embodiment of the present application, another case for the normal state of the state machine is a response operation that is unclear to the user's needs. The current session state of the terminal is tracked according to the state tracking policy. When the current session state is unclear, the needs of the collected session information are analyzed, and the analysis result is fed back to the terminal. For example, the user needs to like a certain brand, but it is not clear from the beginning of the conversation: it is interested in which specific series of the brand, through the history or other data analysis methods to know that the user may have a sense of "series one" Interest, the relevant information of "Series One" is fed back to the terminal. Then, the collecting terminal continues to perform the demand analysis on the session information in the session response according to the session response reported by the analysis result, until an explicit user requirement is obtained from the session information, the demand requirement analysis is ended, and the currently collected session information is obtained. Distributed to at least one information feedback platform. Receiving feedback information sent by at least one information feedback platform, selecting fourth feedback information from the feedback information, and returning the fourth feedback information to the terminal. For example, when the user's demand is not clear, the user's needs are further segmented and clarified in a guided manner, that is, through multiple interactions between the terminal and the server, the server performs demand analysis, and the terminal responds to the demand analysis result until the user needs are specified. . When the user needs are clear, distribute it to each question and answer subsystem, and then choose the answer to return to the user. It is a solution that the server chooses and directly feeds the answer of the preferred choice to the user, without the user's choice. Specifically, the fourth feedback information may also select the highest credibility from the feedback information identified by the information credibility parameter according to the feedback information and the information credibility parameter sent by the at least one information feedback platform. The fourth feedback information directly feeds the fourth feedback information to the user. Alternatively, the fourth feedback information is compared with the threshold T. When the threshold T is exceeded, the fourth feedback information is determined to be authentic, and the fourth feedback information is returned to the terminal.
本申请实施例中,对于状态机异常状态的响应操作。根据状态跟踪策略对终端的当前会话状态进行跟踪,当前会话状态为终端会话异常时,从预设的反馈信息中选择第五反馈信息,将所述第五反馈信息返回给所述终端。比如,当对话无法开展下去的时候,如用户提问超出系统能够回答的领域范围时,采取预设的反馈信息对问题进行响应,比如,可以所问非所答的响应“今天天气不错”这种唠嗑的反馈信息,这种反馈信息并不一定能够针对性的解答问题,但是,可以让会话继续下去,能够“圆滑”地进 行异常处理。In the embodiment of the present application, the response operation is performed for the abnormal state of the state machine. The current session state of the terminal is tracked according to the state tracking policy. When the current session state is abnormal, the fifth feedback information is selected from the preset feedback information, and the fifth feedback information is returned to the terminal. For example, when the dialogue cannot be carried out, if the user's question exceeds the scope of the field that the system can answer, the preset feedback information is used to respond to the question. For example, the response that can be answered is “good weather today”.唠嗑 Feedback, this kind of feedback does not necessarily solve the problem in a targeted way, but it can keep the conversation going and can handle the exception smoothly.
本申请实施例中,是一个车辆咨询的具体场景,除了正常状态和异常状态,对于上下文中用户聚焦的车型和属性还需要确认。此时,状态机还包括:车型确认及属性确认的2个状态。根据状态机对所述终端的当前会话状态进行跟踪,所述状态机具备正常状态、至少一个确认状态(如车型确认状态、属性确认状态)和异常状态;当前会话状态为所述正常状态时,将当前采集的会话信息分发给至少一个信息反馈平台,接收至少一个信息反馈平台发送的反馈信息,从所述反馈信息中选定第六反馈信息,将所述第六反馈信息返回给所述终端。根据所述当前采集的会话信息判断是否需要跳转至所述至少一个确认状态,当跳转至所述至少一个确认状态,得不到确认,则跳转至当前会话状态为所述异常状态。In the embodiment of the present application, it is a specific scenario of vehicle consultation. In addition to the normal state and the abnormal state, it is necessary to confirm the vehicle type and attributes that the user focuses on in the context. At this time, the state machine also includes two states of vehicle type confirmation and attribute confirmation. Tracking the current session state of the terminal according to the state machine, the state machine having a normal state, at least one confirmation state (such as a vehicle type confirmation state, an attribute confirmation state), and an abnormal state; when the current session state is the normal state, Distributing the currently collected session information to the at least one information feedback platform, receiving the feedback information sent by the at least one information feedback platform, selecting the sixth feedback information from the feedback information, and returning the sixth feedback information to the terminal . Determining whether it is necessary to jump to the at least one acknowledgement state according to the currently collected session information. When the jump to the at least one acknowledgement state is not confirmed, the jump to the current session state is the abnormal state.
本申请实施例中,一个采用状态机实现的对话管理器,具备四个状态,分别为:正常状态、属性确认状态、车型确认状态、异常状态。1)在正常状态下,可以采取表单自动填充技术从所述当前会话状态中采集所述会话信息,通过表单自动填充的方式,每次尽量从用户话述中提取尽可能多的信息,而不是每次按状态仅提取该状态对应的信息,这样AI对话更自然。表单的自动填充功能是通过后台或者文本文件中获取数据,将数据予以自动填充,减少了用户的重复劳动,降低人工成本。本申请实施例还可以将用户提出的问题进行重构,包括指代消解和省略恢复(如主语省略补全),然后将问题转发给多个子系统,如果子系统返回了可信的答案,则将答案返回给用户,系统还在正常状态,不进行跳转。其中,对于指代消解,是指确定代词指向哪个名词短语的问题。按照指向,可以分为回指和预指,回指就是代词的先行语在代词前面,预指就是代词的先行语在代词后面。按照指代的类型可以分为三类:人称代词、指示代词、有定描述、省略、部分-整体指代、普通名词短语指代等等。比如,根据上下文对用户问题 中的指示代词进行替换。而对于省略恢复,是指将省略的主语,宾语等补全。主语省略补全的一个示例为:问题中没有主语,但是从上下文分析中可以知道是本人提出的问题,即主语为“我”。或者,上下文中,前一个问题是“A车多少钱?”,接续的问题为:“有没有天窗?”,那么,服务器应当知道主语还是“A车”。2)如果此时系统只识别出了车型,而没有识别出属性,则转到“属性确认”状态,以确认用户所关心的属性;3)如果车型未确认,则跳转到“车型确认”状态,以确认用户所关心的车型;4)如果车型和属性均无法识别或者所问问题超出系统领域,则转向“异常状态”。其中,车型确认,是通过该状态用来确认车型,一般根据用户提问,给出相关的车型给用户选择,待用户选择,车型成功得到确认后就可以向子系统分发问题,返回“正常状态”。如果第一次没有成功确认,还可以进行第二次确认,此时,依然是处在“车型确认”状态,处理流程同上。如果二次车型确认失败,则转到“异常状态”。在异常状态下,通过该状态主要用于用户问题无法识别时,按预设给出用户提示。如“车型”无法确认时,给出系统预设车型,提示用户进行确认选择。围绕车型和属性展开,当两者都得到确认后,就可以给出正确回答。In the embodiment of the present application, a dialog manager implemented by a state machine has four states: a normal state, an attribute confirmation state, a model confirmation state, and an abnormal state. 1) In the normal state, the form auto-filling technology may be adopted to collect the session information from the current session state, and the form is automatically filled, and each time as much information as possible is extracted from the user's statement, instead of The information corresponding to the state is extracted only by the state each time, so that the AI dialogue is more natural. The automatic filling function of the form is to obtain data through the background or text file, and automatically fill the data, which reduces the repeated labor of the user and reduces the labor cost. The embodiment of the present application may also reconstruct the problem raised by the user, including referring to the digestion and omitting the recovery (such as the subject omitting completion), and then forwarding the problem to multiple subsystems. If the subsystem returns a trusted answer, then Return the answer to the user, the system is still in a normal state, no jump. Among them, the reference digestion refers to the problem of determining which noun phrase the pronoun points to. According to the pointing, it can be divided into anaphora and pre-finger. The anaphora is the pronoun of the pronoun in front of the pronoun. The pre-predicate is the pronoun of the pronoun after the pronoun. According to the type of reference, it can be divided into three categories: personal pronouns, demonstrative pronouns, fixed descriptions, omissions, partial-total representations, common noun phrases, and so on. For example, replace the indicated pronouns in the user question according to the context. For the omission of recovery, it means that the omitted subject, object, etc. are completed. An example of subject omission completion is that there is no subject in the question, but from the context analysis, we can know that the question is my own, that is, the subject is "I". Or, in the context, the previous question is "How much is the A car?", the question of the connection is: "Is there a sunroof?", then the server should know the subject or "A car." 2) If the system only recognizes the model at this time and does not recognize the attribute, go to the “Property Confirmation” status to confirm the attribute that the user cares about; 3) If the model is not confirmed, jump to “Model Confirmation” Status to confirm the type of car that the user cares about; 4) If the model and attributes are unrecognizable or the problem is beyond the system area, then go to the "abnormal state". Among them, the vehicle type confirmation is used to confirm the vehicle type. Generally, according to the user's question, the relevant model is given to the user. After the user selects and the model is successfully confirmed, the problem can be distributed to the subsystem and returned to the "normal state". . If the first confirmation is not successful, the second confirmation can be made. At this time, it is still in the “model confirmation” state, and the processing flow is the same as above. If the secondary model confirmation fails, go to "Exception Status". In the abnormal state, when the state is mainly used for the user problem is not recognized, the user prompt is given according to the preset. If the "model" cannot be confirmed, the system default model is given and the user is prompted to confirm the selection. Around the model and attributes, when both are confirmed, you can give the correct answer.
本申请实施例的会话信息的处理系统,如图3所示,包括终端41、服务器42、服务器43-44,其中,服务器42从终端41发起的会话请求中解析出会话信息,分类和聚类后,将会话信息分发给至少一个服务器(如信息反馈平台)43-44处理,得到至少一个服务器43-44处理的反馈信息后,根据至少一个服务器43-44发送的反馈信息得到可信的第一反馈信息,将可信的第一反馈信息通过会话请求响应返回给所述终端,具体的,从所述反馈信息中找到可信度最高的第一反馈信息,与阈值比较以确认该第一反馈信息为可信的。如果该第一反馈信息是可信的,则将所述第一反馈信息直接反馈给终端41,反馈信息是由服务器42选择的,而不需要终端自行选择。 服务器42根据状态跟踪策略对所述终端的当前会话状态进行跟踪,根据从所述当前会话状态中采集的会话信息确定下一步的响应操作,执行所述响应操作后将响应结果返回给所述终端。The system for processing session information in the embodiment of the present application, as shown in FIG. 3, includes a terminal 41, a server 42, and a server 43-44, wherein the server 42 parses session information, classification, and clustering from a session request initiated by the terminal 41. After the session information is distributed to at least one server (such as the information feedback platform) 43-44, the feedback information processed by the at least one server 43-44 is obtained, and the trusted information is obtained according to the feedback information sent by the at least one server 43-44. a feedback information, the trusted first feedback information is returned to the terminal by the session request response, specifically, the first feedback information with the highest credibility is found from the feedback information, and compared with the threshold to confirm the first The feedback is trustworthy. If the first feedback information is authentic, the first feedback information is directly fed back to the terminal 41, and the feedback information is selected by the server 42 without requiring the terminal to select itself. The server 42 tracks the current session state of the terminal according to the state tracking policy, determines a response operation of the next step according to the session information collected from the current session state, and returns the response result to the terminal after performing the response operation. .
服务器42包括:接收单元421,配置为从终端发起的会话请求中解析出会话信息;类别处理单元422,配置为对所述会话信息进行分类和聚类处理,得到至少一个类别特征参数;分发单元423,配置为将所述会话信息分发给与所述至少一个类别特征参数对应的信息反馈平台;响应单元424,配置为根据所述信息反馈平台发送的反馈信息得到可信的第一反馈信息,将可信的第一反馈信息通过会话请求响应返回给所述终端;状态跟踪单元425,配置为根据状态跟踪策略对所述终端的当前会话状态进行跟踪,根据从所述当前会话状态中采集的会话信息确定下一步的响应操作,执行所述响应操作后将响应结果返回给所述终端。The server 42 includes: a receiving unit 421 configured to parse the session information from the session request initiated by the terminal; the category processing unit 422 is configured to perform classification and clustering processing on the session information to obtain at least one category feature parameter; 423, configured to distribute the session information to an information feedback platform corresponding to the at least one category feature parameter; the response unit 424 is configured to obtain trusted first feedback information according to the feedback information sent by the information feedback platform, Returning the trusted first feedback information to the terminal by using the session request response; the status tracking unit 425 is configured to track the current session state of the terminal according to the status tracking policy, according to the collected from the current session state. The session information determines a response operation of the next step, and the response result is returned to the terminal after performing the response operation.
采用本申请实施例,通过答案可信度的分析,直接将答案反馈给用户,从而,精准、且最接近真人交互有问题有答模式,无需用户选择。By adopting the embodiment of the present application, the answer is directly fed back to the user through the analysis of the credibility of the answer, so that the accurate and closest to the real person interaction has a question and answer mode, and no user selection is needed.
所述响应单元还包括:处理子单元,配置为接收所述信息反馈平台发送的信息可信度参数,所述信息可信度参数用于标识反馈信息的可信度;及根据所述信息可信度参数得到反馈信息中可信度最高的第一反馈信息。比对子单元,配置为将所述第一反馈信息与阈值进行比对,当所述第一反馈信息为可信时,得到可信的第一反馈信息。The response unit further includes: a processing subunit configured to receive an information credibility parameter sent by the information feedback platform, where the information credibility parameter is used to identify the credibility of the feedback information; and according to the information The reliability parameter obtains the first feedback information with the highest credibility in the feedback information. The comparison subunit is configured to compare the first feedback information with a threshold, and when the first feedback information is trusted, obtain the trusted first feedback information.
本申请实施例一实施方式中,所述响应单元,进一步配置为:所述比对结果为所述第一反馈信息超出阈值时,判断出所述第一反馈信息为可信的,将所述第一反馈信息通过会话请求响应返回给所述终端。In an embodiment of the present application, the response unit is further configured to: when the comparison result is that the first feedback information exceeds a threshold, determine that the first feedback information is authentic, and the The first feedback information is returned to the terminal through a session request response.
本申请实施例一实施方式中,所述服务器还包括:信息提示单元,配置为所述比对结果为所述第一反馈信息未超出阈值时,返回提示信息给所述终端,所述提示信息用于表征当前无法解答所述会话信息;人工反馈单 元,配置为转入人工服务,将通过所述人工服务得到的第二反馈信息通过会话请求响应返回给所述终端。In an embodiment of the present application, the server further includes: an information prompting unit, configured to: when the comparison result is that the first feedback information does not exceed a threshold, returning prompt information to the terminal, the prompt information The second feedback information obtained by the manual service is returned to the terminal by the session request response.
本申请实施例一实施方式中,所述状态跟踪单元,进一步配置为:所述当前会话状态为终端会话需求明确时,将当前采集的会话信息分发给至少一个信息反馈平台;接收至少一个信息反馈平台发送的反馈信息,从所述反馈信息中选定第三反馈信息,将所述第三反馈信息返回给所述终端。In an embodiment of the present application, the state tracking unit is further configured to: when the current session state is clear, the current session information is distributed to at least one information feedback platform; and at least one information feedback is received. The feedback information sent by the platform selects third feedback information from the feedback information, and returns the third feedback information to the terminal.
本申请实施例一实施方式中,所述状态跟踪单元,进一步配置为:所述当前会话状态为用户需求不明确时,对采集的会话信息进行需求分析,将分析结果反馈给终端;收集终端根据所述分析结果上报的会话响应,继续对所述会话响应中的会话信息进行需求分析,直至从会话信息中得到明确的用户需求,结束需求需求分析,将当前采集的会话信息分发给至少一个信息反馈平台;接收至少一个信息反馈平台发送的反馈信息,从所述反馈信息中选定第四反馈信息,将所述第四反馈信息返回给所述终端。In an embodiment of the present application, the status tracking unit is further configured to: when the current session state is unclear, the demand analysis of the collected session information is performed, and the analysis result is fed back to the terminal; The session response reported by the analysis result continues to perform demand analysis on the session information in the session response until an explicit user requirement is obtained from the session information, the demand requirement analysis is ended, and the currently collected session information is distributed to at least one piece of information. a feedback platform; receiving feedback information sent by at least one information feedback platform, selecting fourth feedback information from the feedback information, and returning the fourth feedback information to the terminal.
本申请实施例一实施方式中,所述状态跟踪单元,进一步配置为:所述当前会话状态为终端会话异常时,从预设的反馈信息中选择第五反馈信息,将所述第五反馈信息返回给所述终端。In the first embodiment of the present application, the status tracking unit is further configured to: when the current session state is abnormal, select the fifth feedback information from the preset feedback information, and use the fifth feedback information. Return to the terminal.
本申请实施例一实施方式中,所述状态跟踪单元,进一步配置为:根据状态机对所述终端的当前会话状态进行跟踪,所述状态机具备正常状态、至少一个确认状态和异常状态;当前会话状态为所述正常状态时,将当前采集的会话信息分发给至少一个信息反馈平台,接收至少一个信息反馈平台发送的反馈信息,从所述反馈信息中选定第六反馈信息,将所述第六反馈信息返回给所述终端;根据所述当前采集的会话信息判断是否需要跳转至所述至少一个确认状态,当跳转至所述至少一个确认状态,得不到确认,则跳转至当前会话状态为所述异常状态。In an embodiment of the present application, the state tracking unit is further configured to: track, according to a state machine, a current session state of the terminal, where the state machine has a normal state, at least one acknowledgement state, and an abnormal state; When the session state is the normal state, the currently collected session information is distributed to the at least one information feedback platform, and the feedback information sent by the at least one information feedback platform is received, and the sixth feedback information is selected from the feedback information, and the And returning to the terminal according to the currently collected session information, determining whether it is necessary to jump to the at least one acknowledgement state, and jumping to the at least one acknowledgement state, failing to confirm, then jumping The current session state is the abnormal state.
本申请实施例的一种计算机可读存储介质,其上存储有计算机程序, 其中,该计算机程序被处理器执行时实现如上述实施例中会话信息处理方法的步骤。A computer readable storage medium of the embodiment of the present application, wherein a computer program is stored thereon, wherein the computer program is executed by the processor to implement the steps of the session information processing method in the above embodiment.
本申请实施例的一种服务器,如图4所示,所述服务器包括:存储器61,用于存储能够在处理器上运行的计算机程序;处理器62,用于运行所述计算机程序时,执行如上述实施例中会话信息处理方法的步骤。所述服务器还可以包括:外部通信接口63,外部通信接口63用于与终端等外设进行信息交互,具体如服务器接收终端发送的会话请求,从会话请求中得到会话信息。对会话请求进行响应,从众多反馈信息中选定可信度最高的第一反馈信息并返回给终端等。所述服务器还可以包括:内部通信接口64,所述内部通信接口64具体可以是PCI总线等总线接口。A server of the embodiment of the present application, as shown in FIG. 4, the server includes: a memory 61 for storing a computer program capable of running on a processor; and a processor 62 for executing when the computer program is executed The steps of the session information processing method as in the above embodiment. The server may further include: an external communication interface 63, configured to perform information interaction with a peripheral device such as a terminal, for example, the server receives the session request sent by the terminal, and obtains session information from the session request. Responding to the session request, selecting the first feedback information with the highest credibility from the plurality of feedback information and returning to the terminal. The server may further include: an internal communication interface 64, which may specifically be a bus interface such as a PCI bus.
以一个现实应用场景为例对本申请实施例阐述如下:Taking a real application scenario as an example, the embodiment of the present application is as follows:
采用本申请实施例,设计了一种受限领域对话管理器。对话管理器具备两个任务:1)维护系统的状态,称为对话模型;2)负责基于系统状态选择合适的动作回复给用户,称为动作选择。可见,对话管理器对聊天系统起着至关重要的作用,直接决定用户体验的好坏,乃至直接决定系统能否正常工作。本申请实施例的对话管理器,以查询类聊天场景为例,可以采用状态机来维护用户会话状态,采用表单填充的方式来采集用户需求。当用户需求明确时,向下分发至各问答子系统,然后择优选择答案返回给用户。当用户需求不明确时,采用引导的方式进一步细分和明确用户需求;当对话无法开展下去的时候,如用户提问超出系统能够回答的领域范围时,能够“圆滑”地进行异常处理。With the embodiment of the present application, a restricted domain dialog manager is designed. The dialog manager has two tasks: 1) maintaining the state of the system, called the dialog model; 2) being responsible for selecting the appropriate action based on the system state to reply to the user, called action selection. It can be seen that the dialog manager plays a vital role in the chat system, directly determining the quality of the user experience, and even directly determining whether the system can work normally. The dialog manager of the embodiment of the present application takes a query type chat scenario as an example, and can use a state machine to maintain a user session state, and use a form fill method to collect user requirements. When the user needs are clear, distribute it to each question and answer subsystem, and then choose the answer to return to the user. When the user's needs are not clear, the user's needs are further subdivided and clarified by means of guidance; when the dialogue cannot be carried out, if the user's question exceeds the scope of the domain that the system can answer, the exception processing can be performed "smoothly".
一种对话管理器的实例如图5所示,是基于有限状态机的方案。每个对话片段的情况可以看成是一个一个的状态对应图中s0-3。将对话过程的每一次交互都看作是一次状态的跳转,即每一个态节点都表示着当时对话的信息状态和系统动作,每一个连接弧表示用户的每次操作,分别对应 e1-3。在整个对话的过程中,从开始到结束可以看成是在状态图中的一个连接开始节点S1和结束节点S3的状态转移的路径。An example of a dialog manager is shown in Figure 5, which is based on a finite state machine. The situation of each conversation segment can be seen as one state corresponding to s0-3 in the figure. Each interaction of the dialogue process is regarded as a state transition, that is, each state node represents the information state and system action of the dialogue at that time, and each connection arc represents each operation of the user, corresponding to e1-3 respectively. . Throughout the course of the conversation, from start to finish can be seen as a path of state transitions between the connection start node S1 and the end node S3 in the state diagram.
采用上述状态机,需要预先设计出所有可能的状态,以及状态间相互跳转的条件,才可以执行响应操作。这样的每一轮对话中,都有状态图中的一个状态和边与之对应,整体系统完全可控,整个会话流程也相对比较清析。然而,一方面,由于只能基于预先定义好的状态进行跳转,信息收集也只能一步一步来,因此,响应操作会比较生硬死板,用户体验不够自然。另一方面,如果领域的内容复杂则状态图很难保证没有任何的纰漏,实现起来要耗费大量的人力,而且有限状态有着结构上的缺点,即难以应付没有预测到的情况,如果用户的反应超出了状态的设计,则对话很难正常进行。With the above state machine, it is necessary to pre-design all possible states and the conditions for the states to jump to each other before the response operation can be performed. In each such round of dialogue, there is a state and edge corresponding to the state diagram, the overall system is completely controllable, and the entire conversation process is relatively clear. However, on the one hand, since the jump can only be performed based on the pre-defined state, the information collection can only be step by step. Therefore, the response operation is relatively rigid and the user experience is not natural enough. On the other hand, if the content of the domain is complex, the state diagram is difficult to guarantee that there is no flaw, it takes a lot of manpower to implement, and the finite state has structural shortcomings, that is, it is difficult to cope with unpredicted situations, if the user responds. If the design is out of state, the dialogue is difficult to proceed normally.
本申请实施例的对话管理器,简化了上述状态机的状态描述,使用尽量少的状态来维护和跟踪当前的对话状态。同时考虑到用户的反应可能会超过已知范围,所以增加了一个独立的异常处理状态,同时结合了表单填充的方式,每次尽量从用户话述中提取尽可能多的信息,而不是每次按状态仅提取该状态对应的信息,这样对话更自然。还支持集成多个问答子系统,具有很强的扩展性及支持上下文跟踪与指代消解功能。如图6所示为本申请实施例状态机的一个实例,对话管理器的状态图如上所示,仅有四个状态:正常状态、属性确认状态、车型确认状态和异常状态。在正常状态下,可以将问题进行重构,包括指代消解和省略恢复,然后将问题转发给子系统,如果问答子系统返回了可信的答案,则将答案返回给用户。此时,还处在正常状态,不行进跳转。如果,此时系统只识别出了车型,而没有识别出属性,则转到属性确认状态,以确认用户所关心的属性;同样,如果车型未确认,则跳转到车型确认状态,以确认用户所关心的车型。如果车型和属性均无法识别或者所问问题超出系统领域,则转向异常状态。 其中,对于车型确认状态,该状态用来确认车型,一般根据用户提问,给出相关的车型给用户选择,待用户选择,车型成功得到确认后就可以向问答子系统分发问题,返回正常状态。如果,第一次没有成功确认,一般还会有二次确认,此时依然是处在车型确认状态。如果,二次车型确认失败,则转到异常状态。对于属性确认状态,同车型确认状态的流程,不做赘述。对于异常状态,该状态主要用于用户问题无法识别时,按预设给出用户提示。如“车型”无法确认时,给出系统预设车型,提示用户进行确认选择。可见,是围绕车型和属性展开,当两者都得到确认后,服务器就可以反馈给用户正确的回答。The dialog manager of the embodiment of the present application simplifies the state description of the above state machine, and maintains and tracks the current conversation state with as few states as possible. At the same time, considering that the user's response may exceed the known range, so an independent exception handling state is added, and the form filling method is combined, and each time as much information as possible is extracted from the user's statement, instead of each time. Only the information corresponding to the state is extracted by state, so the conversation is more natural. It also supports the integration of multiple Q&A subsystems, with strong scalability and support for context tracking and referencing. FIG. 6 shows an example of a state machine according to an embodiment of the present application. The state diagram of the dialog manager is as shown above, and has only four states: a normal state, an attribute confirmation state, a model confirmation state, and an abnormal state. Under normal conditions, the problem can be reconstructed, including referencing and omitting recovery, and then forwarding the problem to the subsystem. If the question and answer subsystem returns a trusted answer, the answer is returned to the user. At this time, it is still in a normal state and does not travel. If, at this time, the system only recognizes the model and does not recognize the attribute, it goes to the attribute confirmation status to confirm the attribute that the user cares about. Similarly, if the model is not confirmed, it will jump to the model confirmation status to confirm the user. The car model of interest. If the model and attributes are not recognized or the problem is beyond the system area, then the status is turned to abnormal. Among them, for the vehicle confirmation status, this status is used to confirm the vehicle type. Generally, according to the user's question, the relevant vehicle model is given to the user. After the user selects and the vehicle model is successfully confirmed, the problem can be distributed to the question and answer subsystem and returned to the normal state. If, for the first time, there is no successful confirmation, there will be a second confirmation. At this time, it is still in the vehicle confirmation status. If the secondary vehicle fails to confirm, it goes to the abnormal state. For the attribute confirmation status, the process of confirming the status with the model is not described here. For the abnormal state, this state is mainly used to give the user prompt according to the preset when the user's problem is not recognized. If the "model" cannot be confirmed, the system default model is given and the user is prompted to confirm the selection. It can be seen that it is built around the model and attributes. When both are confirmed, the server can give back to the user the correct answer.
如图7所示为本申请实施例的处理流程,包括对话管理器、基于FAQ的问答子系统和基于知识库的问答子系统,处理流程包括:As shown in FIG. 7 , the processing flow of the embodiment of the present application includes a dialog manager, a FAQ-based question and answer subsystem, and a knowledge base-based question and answer subsystem. The processing flow includes:
步骤301、用户提出问题;Step 301: The user asks a question;
步骤302、对话管理器分别将问题分发到基于FAQ的问答子系统和基于知识库的问答子系统;Step 302: The dialog manager separately distributes the problem to the FAQ-based question answering subsystem and the knowledge base based question answering subsystem;
步骤303、基于FAQ的问答子系统和基于知识库的问答子系统分别返回答案及答案的可信度;Step 303: The FAQ-based question answering subsystem and the knowledge base-based question answering subsystem respectively return the credibility of the answer and the answer;
步骤304、通过与预设阈值比较,判断最高可信度的答案是否可信,如果可信,执行步骤305;如果不可信,执行步骤306;Step 304: Determine whether the answer with the highest credibility is trusted by comparing with the preset threshold, if yes, perform step 305; if not, perform step 306;
步骤305、直接返回答案; Step 305, directly returning an answer;
步骤306、人工参与回答该问题; Step 306, manually participating in answering the question;
步骤307、自动将该问题更新至FAQ库,以便下次再碰到类似问题时能够回答,并将人工答案返回给用户。Step 307, automatically update the question to the FAQ library, so that the next time you encounter a similar problem, you can answer and return the manual answer to the user.
本申请实施例中,会话信息处理系统包括的功能为:1)系统状态维护,如当前对话进展到哪一步;2)指代消解,如根据上下文对用户问题中的指示代词进行替换;3)问题分发,将问题分发给下级子问答系统;4)答案 返回,判断答案的置信度,并做出相应响应;5)主语等省略补全功能,如前一个问题是“A车多少钱?”,接着问,“有没有天窗?”,这时,系统应当知道主语还是“A车”。In the embodiment of the present application, the session information processing system includes the following functions: 1) system state maintenance, such as which step the current conversation progresses; 2) refers to digestion, such as replacing the indicated pronoun in the user question according to the context; 3) Question distribution, distribute the problem to the sub-sub-question system; 4) Return the answer, judge the confidence of the answer, and respond accordingly; 5) Exclude the completion function such as the subject, such as the previous question is "How much is the A car?" Then, ask, "Is there a skylight?" At this time, the system should know whether the subject is still "A car."
以汽车售前领域为例,对状态维护进行描述如下:Taking the pre-sales field as an example, the state maintenance is described as follows:
该领域中,用户一般会针对某一款特定车型的某些具体属性进行咨询,如“雪佛兰cruze这款车多少钱?”,“这款车有没有天窗?”等类问题。所以,针对用户的每轮问题,只要能够定位到具体的车型和属性,就可以组合成完整的问题向子系统分发,近而返回答案。In this field, users generally consult on specific characteristics of a particular model, such as "How much is the Chevrolet Cruze?", "Is this car with a sunroof?" Therefore, for each round of problems of the user, as long as the specific models and attributes can be located, they can be combined into a complete problem to be distributed to the subsystem, and the answer is returned.
指代消解和主语等省略补全功能的实现:当出现主语或者属性被省略时,对话管理器可以实现自动替换或者补全的功能。通过对话管理器维护上下文中用户聚焦的车型和属性,当用户问题中车型或者属性被省略时,系统根据维护的上下文的车型和属性记录进行补全。Refers to the implementation of omitting completion functions such as digestion and subject: when the subject or attribute is omitted, the dialog manager can implement automatic replacement or completion. The vehicle and the attributes that are focused by the user in the context are maintained by the dialog manager. When the vehicle model or attribute is omitted from the user problem, the system completes the model according to the vehicle model and attribute records of the maintenance context.
问题分发和答案返回的实现:当车型和属性都得到确认后,对话管理器只需要将该完整的问题下发到的问答子系统接口即可,问答子系统接到问题后,分别将答案和答案的可信度返回给对话管理器。Implementation of problem distribution and answer return: When the model and attributes are confirmed, the dialog manager only needs to send the complete question to the Q&A subsystem interface. After the question and answer subsystem receives the question, the answer and The credibility of the answer is returned to the dialog manager.
对话管理器根据答案和可信度进行判断,选取可信度最高的答案与整个系统预设阈值T进行比较,超过阈值T时返回结果给用户;否则给出用户提示,当前无法回答该问题。The dialog manager judges according to the answer and the credibility, and selects the answer with the highest credibility to compare with the whole system preset threshold T. When the threshold T is exceeded, the result is returned to the user; otherwise, the user prompt is given, and the question cannot be answered currently.
本申请实施例,适用于所有受限领域的智能聊天系统(或称智能客服系统框架),可以采用常见浏览器/服务器模式(BS)的架构提供服务,也可以在输入和输出端加入语音识别和文本转声音的技术(TTS)以在电话等通讯网络中提供服务。只要涉及到对人人交互场景的模拟,都可以采用AI人机交互来进行实现模拟。采用本申请实施例,可以有效减小系统开发的难度和复杂度;具有支持多个问答子系统及很强的扩展性;有很强的移植性,可以快速从一个受限领域迁移到另一个受限领域。The embodiment of the present application is applicable to all the restricted areas of the intelligent chat system (or intelligent customer service system framework), can provide services by using a common browser/server mode (BS) architecture, and can also add voice recognition at the input and output ends. And text-to-sound technology (TTS) to provide services in a communication network such as a telephone. As long as it involves the simulation of the interactive scene of everyone, AI human-computer interaction can be used to simulate the implementation. The embodiment of the present application can effectively reduce the difficulty and complexity of system development; has multiple question and answer subsystems and strong scalability; has strong portability and can quickly migrate from one restricted domain to another Restricted area.
在本申请所提供的几个实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。以上所描述的设备实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个单元或组件可以结合,或可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的耦合、或直接耦合、或通信连接可以是通过一些接口,设备或单元的间接耦合或通信连接,可以是电性的、机械的或其它形式的。In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. The device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, such as: multiple units or components may be combined, or Can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, or direct coupling, or communication connection of the components shown or discussed may be indirect coupling or communication connection through some interfaces, devices or units, and may be electrical, mechanical or other forms. of.
上述作为分离部件说明的单元可以是、或也可以不是物理上分开的,作为单元显示的部件可以是、或也可以不是物理单元,即可以位于一个地方,也可以分布到多个网络单元上;可以根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated, and the components displayed as the unit may or may not be physical units, that is, may be located in one place or distributed to multiple network units; Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本申请各实施例中的各功能单元可以全部集成在一个处理单元中,也可以是各单元分别单独作为一个单元,也可以两个或两个以上单元集成在一个单元中;上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may be separately used as one unit, or two or more units may be integrated into one unit; the above integration The unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:移动存储设备、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。A person skilled in the art can understand that all or part of the steps of implementing the above method embodiments may be completed by using hardware related to the program instructions. The foregoing program may be stored in a computer readable storage medium, and the program is executed when executed. The foregoing storage device includes the following steps: the foregoing storage medium includes: a mobile storage device, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk. A medium that can store program code.
或者,本申请上述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一 个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本申请各个实施例所述方法的全部或部分。而前述的存储介质包括:移动存储设备、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Alternatively, the above-described integrated unit of the present application may be stored in a computer readable storage medium if it is implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the embodiments of the present application may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium, including a plurality of instructions. A computer device (which may be a personal computer, server, or network device, etc.) is caused to perform all or part of the methods described in various embodiments of the present application. The foregoing storage medium includes various media that can store program codes, such as a mobile storage device, a ROM, a RAM, a magnetic disk, or an optical disk.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The foregoing is only a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present application. It should be covered by the scope of protection of this application. Therefore, the scope of protection of the present application should be determined by the scope of the claims.
工业实用性Industrial applicability
采用本申请实施例,对会话信息进行分类和聚类处理,得到至少一个类别特征参数;将会话信息分发给与至少一个类别特征参数对应的信息反馈平台。对会话信息(包含问题)的处理(分类和聚类)得到类别特征参数,并根据类别特征参数给到对应的信息反馈平台以得到针对性的准确答案(答案不是设置好的,也不是固定的),是一种实时互动的机制,有问有答的互动模式具备针对性,且互动效果好。而且,根据信息反馈平台发送的反馈信息并不是立即反馈给终端,而是根据反馈信息得到可信的第一反馈信息后,将可信的第一反馈信息通过会话请求响应返回给所述终端,由于是对答案进行可信度分析后再反馈给终端,确保了答复的准确率。In the embodiment of the present application, the session information is classified and clustered to obtain at least one category feature parameter; the session information is distributed to the information feedback platform corresponding to the at least one category feature parameter. The processing (classification and clustering) of the session information (including the problem) obtains the category feature parameters, and gives the corresponding information feedback platform according to the category feature parameters to obtain a targeted accurate answer (the answer is not set, nor fixed) ), is a real-time interactive mechanism, the interactive mode with questions and answers is targeted, and the interaction effect is good. Moreover, the feedback information sent by the information feedback platform is not immediately fed back to the terminal, but after the trusted first feedback information is obtained according to the feedback information, the trusted first feedback information is returned to the terminal through the session request response. Since the answer is credentially analyzed and then fed back to the terminal, the accuracy of the reply is ensured.

Claims (25)

  1. 一种会话信息的处理方法,所述方法包括:A method for processing session information, the method comprising:
    从终端发起的会话请求中解析出会话信息;Parsing session information from a session request initiated by the terminal;
    对所述会话信息进行分类和聚类处理,得到至少一个类别特征参数;Performing classification and clustering processing on the session information to obtain at least one category feature parameter;
    将所述会话信息分发给与所述至少一个类别特征参数对应的信息反馈平台;Distributing the session information to an information feedback platform corresponding to the at least one category feature parameter;
    根据所述信息反馈平台发送的反馈信息得到可信的第一反馈信息,将可信的第一反馈信息通过会话请求响应返回给所述终端;Obtaining the trusted first feedback information according to the feedback information sent by the information feedback platform, and returning the trusted first feedback information to the terminal by using the session request response;
    根据状态跟踪策略对所述终端的当前会话状态进行跟踪,根据从所述当前会话状态中采集的会话信息确定下一步的响应操作,执行所述响应操作后将响应结果返回给所述终端。The current session state of the terminal is tracked according to the state tracking policy, and the next response operation is determined according to the session information collected from the current session state, and the response result is returned to the terminal after the response operation is performed.
  2. 根据权利要求1所述的方法,其中,所述根据所述信息反馈平台发送的反馈信息得到可信的第一反馈信息,包括:The method according to claim 1, wherein the obtaining the trusted first feedback information according to the feedback information sent by the information feedback platform comprises:
    接收所述信息反馈平台发送的信息可信度参数,所述信息可信度参数用于标识反馈信息的可信度;Receiving, by the information feedback platform, an information credibility parameter, where the information credibility parameter is used to identify the credibility of the feedback information;
    根据所述信息可信度参数得到反馈信息中可信度最高的第一反馈信息;Obtaining, according to the information credibility parameter, the first feedback information with the highest credibility in the feedback information;
    将所述第一反馈信息与阈值进行比对,当所述第一反馈信息为可信时,得到可信的第一反馈信息。Comparing the first feedback information with a threshold, and when the first feedback information is trusted, obtaining trusted first feedback information.
  3. 根据权利要求2所述的方法,其中,所述将可信的第一反馈信息通过会话请求响应返回给所述终端,包括:The method of claim 2, wherein the returning the trusted first feedback information to the terminal by the session request response comprises:
    当所述第一反馈信息超出阈值时,判断出所述第一反馈信息为可信的,将所述第一反馈信息通过会话请求响应返回给所述终端。When the first feedback information exceeds the threshold, it is determined that the first feedback information is trusted, and the first feedback information is returned to the terminal by using a session request response.
  4. 根据权利要求2所述的方法,其中,所述方法还包括:The method of claim 2, wherein the method further comprises:
    当所述第一反馈信息未超出阈值时,返回提示信息给所述终端,所述提示信息用于表征当前无法解答所述会话信息;When the first feedback information does not exceed the threshold, the prompt information is returned to the terminal, and the prompt information is used to indicate that the session information cannot be answered currently;
    转入人工服务,将通过所述人工服务得到的第二反馈信息通过会话请求响应返回给所述终端。Transferring to the manual service, the second feedback information obtained by the manual service is returned to the terminal through the session request response.
  5. 根据权利要求1至4任一项所述的方法,其中,所述根据状态跟踪策略对所述终端的当前会话状态进行跟踪,根据从所述当前会话状态中采集的会话信息确定下一步的响应操作,包括:The method according to any one of claims 1 to 4, wherein the tracking of the current session state of the terminal according to the state tracking policy, determining the next response according to the session information collected from the current session state Operations, including:
    所述当前会话状态为终端会话需求明确时,将当前采集的会话信息分发给所述信息反馈平台;When the current session state is clear, the currently collected session information is distributed to the information feedback platform;
    接收所述信息反馈平台发送的反馈信息,从所述反馈信息中选定第三反馈信息,将所述第三反馈信息返回给所述终端。Receiving feedback information sent by the information feedback platform, selecting third feedback information from the feedback information, and returning the third feedback information to the terminal.
  6. 根据权利要求1至4任一项所述的方法,其中,所述根据状态跟踪策略对所述终端的当前会话状态进行跟踪,根据从所述当前会话状态中采集的会话信息确定下一步的响应操作,包括:The method according to any one of claims 1 to 4, wherein the tracking of the current session state of the terminal according to the state tracking policy, determining the next response according to the session information collected from the current session state Operations, including:
    所述当前会话状态为用户需求不明确时,对采集的会话信息进行需求分析,将分析结果反馈给终端;When the current session state is unclear, the needs of the collected session information are analyzed, and the analysis result is fed back to the terminal;
    收集终端根据所述分析结果上报的会话响应,继续对所述会话响应中的会话信息进行需求分析,直至从会话信息中得到明确的用户需求,结束需求分析,将当前采集的会话信息分发给所述信息反馈平台;The collecting terminal continues to perform the demand analysis on the session information in the session response according to the session response reported by the analysis result, until an explicit user requirement is obtained from the session information, the requirement analysis is ended, and the currently collected session information is distributed to the Information feedback platform;
    接收所述信息反馈平台发送的反馈信息,从所述反馈信息中选定第四反馈信息,将所述第四反馈信息返回给所述终端。Receiving feedback information sent by the information feedback platform, selecting fourth feedback information from the feedback information, and returning the fourth feedback information to the terminal.
  7. 根据权利要求1至4任一项所述的方法,其中,所述根据状态跟踪策略对所述终端的当前会话状态进行跟踪,根据从所述当前会话状态中采集的会话信息确定下一步的响应操作,包括:The method according to any one of claims 1 to 4, wherein the tracking of the current session state of the terminal according to the state tracking policy, determining the next response according to the session information collected from the current session state Operations, including:
    所述当前会话状态为终端会话异常时,从预设的反馈信息中选择第五 反馈信息,将所述第五反馈信息返回给所述终端。When the current session state is abnormal, the terminal feedback information is selected from the preset feedback information, and the fifth feedback information is returned to the terminal.
  8. 根据权利要求1至4任一项所述的方法,其中,所述方法还包括:The method of any of claims 1 to 4, wherein the method further comprises:
    根据状态机对所述终端的当前会话状态进行跟踪,所述状态机具备正常状态、至少一个确认状态和异常状态;Tracking the current session state of the terminal according to the state machine, the state machine having a normal state, at least one acknowledgement state, and an abnormal state;
    当前会话状态为所述正常状态时,将当前采集的会话信息分发给所述信息反馈平台,接收所述信息反馈平台发送的反馈信息,从所述反馈信息中选定第六反馈信息,将所述第六反馈信息返回给所述终端;When the current session state is the normal state, the currently collected session information is distributed to the information feedback platform, and the feedback information sent by the information feedback platform is received, and the sixth feedback information is selected from the feedback information. Returning the sixth feedback information to the terminal;
    根据所述当前采集的会话信息判断是否需要跳转至所述至少一个确认状态,当跳转至所述至少一个确认状态,得不到确认,则跳转至当前会话状态为所述异常状态。Determining whether it is necessary to jump to the at least one acknowledgement state according to the currently collected session information. When the jump to the at least one acknowledgement state is not confirmed, the jump to the current session state is the abnormal state.
  9. 一种服务器,所述服务器包括:A server, the server comprising:
    接收单元,配置为从终端发起的会话请求中解析出会话信息;a receiving unit, configured to parse the session information from the session request initiated by the terminal;
    类别处理单元,配置为对所述会话信息进行分类和聚类处理,得到至少一个类别特征参数;a class processing unit configured to perform classification and clustering processing on the session information to obtain at least one category feature parameter;
    分发单元,配置为将所述会话信息分发给与所述至少一个类别特征参数对应的信息反馈平台;a distribution unit, configured to distribute the session information to an information feedback platform corresponding to the at least one category feature parameter;
    响应单元,配置为根据所述信息反馈平台发送的反馈信息得到可信的第一反馈信息,将可信的第一反馈信息通过会话请求响应返回给所述终端;The response unit is configured to obtain trusted first feedback information according to the feedback information sent by the information feedback platform, and return the trusted first feedback information to the terminal by using a session request response;
    状态跟踪单元,配置为根据状态跟踪策略对所述终端的当前会话状态进行跟踪,根据从所述当前会话状态中采集的会话信息确定下一步的响应操作,执行所述响应操作后将响应结果返回给所述终端。The status tracking unit is configured to track the current session state of the terminal according to the status tracking policy, determine a next response operation according to the session information collected from the current session state, and return the response result after performing the response operation. To the terminal.
  10. 根据权利要求9所述的服务器,其中,所述响应单元还包括:The server according to claim 9, wherein the response unit further comprises:
    处理子单元,配置为接收所述信息反馈平台发送的信息可信度参数,所述信息可信度参数用于标识反馈信息的可信度;The processing sub-unit is configured to receive the information credibility parameter sent by the information feedback platform, where the information credibility parameter is used to identify the credibility of the feedback information;
    及根据所述信息可信度参数得到反馈信息中可信度最高的第一反馈信 息;And obtaining, according to the information credibility parameter, the first feedback information with the highest credibility in the feedback information;
    比对子单元,配置为将所述第一反馈信息与阈值进行比对,当所述第一反馈信息为可信时,得到可信的第一反馈信息。The comparison subunit is configured to compare the first feedback information with a threshold, and when the first feedback information is trusted, obtain the trusted first feedback information.
  11. 根据权利要求10所述的服务器,其中,所述响应单元,进一步配置为:The server according to claim 10, wherein the response unit is further configured to:
    当所述第一反馈信息超出阈值时,判断出所述第一反馈信息为可信的,将所述第一反馈信息通过会话请求响应返回给所述终端。When the first feedback information exceeds the threshold, it is determined that the first feedback information is trusted, and the first feedback information is returned to the terminal by using a session request response.
  12. 根据权利要求10所述的服务器,其中,所述服务器还包括:The server of claim 10, wherein the server further comprises:
    信息提示单元,配置为当所述第一反馈信息未超出阈值时,返回提示信息给所述终端,所述提示信息用于表征当前无法解答所述会话信息;The information prompting unit is configured to: when the first feedback information does not exceed the threshold, return the prompt information to the terminal, where the prompt information is used to indicate that the session information cannot be answered currently;
    人工反馈单元,配置为转入人工服务,将通过所述人工服务得到的第二反馈信息通过会话请求响应返回给所述终端。The manual feedback unit is configured to transfer to the manual service, and the second feedback information obtained by the manual service is returned to the terminal through the session request response.
  13. 根据权利要求9至12任一项所述的服务器,其中,所述状态跟踪单元,进一步配置为:The server according to any one of claims 9 to 12, wherein the status tracking unit is further configured to:
    所述当前会话状态为终端会话需求明确时,将当前采集的会话信息分发给所述信息反馈平台;When the current session state is clear, the currently collected session information is distributed to the information feedback platform;
    接收所述信息反馈平台发送的反馈信息,从所述反馈信息中选定第三反馈信息,将所述第三反馈信息返回给所述终端。Receiving feedback information sent by the information feedback platform, selecting third feedback information from the feedback information, and returning the third feedback information to the terminal.
  14. 根据权利要求9至12任一项所述的服务器,其中,所述状态跟踪单元,进一步配置为:The server according to any one of claims 9 to 12, wherein the status tracking unit is further configured to:
    所述当前会话状态为用户需求不明确时,对采集的会话信息进行需求分析,将分析结果反馈给终端;When the current session state is unclear, the needs of the collected session information are analyzed, and the analysis result is fed back to the terminal;
    收集终端根据所述分析结果上报的会话响应,继续对所述会话响应中的会话信息进行需求分析,直至从会话信息中得到明确的用户需求,结束需求需求分析,将当前采集的会话信息分发给所述信息反馈平台;The collecting terminal continues to perform the demand analysis on the session information in the session response according to the session response reported by the analysis result, until the explicit user requirement is obtained from the session information, the demand requirement analysis is ended, and the currently collected session information is distributed to the session information. The information feedback platform;
    接收所述信息反馈平台发送的反馈信息,从所述反馈信息中选定第四反馈信息,将所述第四反馈信息返回给所述终端。Receiving feedback information sent by the information feedback platform, selecting fourth feedback information from the feedback information, and returning the fourth feedback information to the terminal.
  15. 根据权利要求9至12任一项所述的服务器,其中,所述状态跟踪单元,进一步配置为:The server according to any one of claims 9 to 12, wherein the status tracking unit is further configured to:
    根据状态机对所述终端的当前会话状态进行跟踪,所述状态机具备正常状态、至少一个确认状态和异常状态;Tracking the current session state of the terminal according to the state machine, the state machine having a normal state, at least one acknowledgement state, and an abnormal state;
    当前会话状态为所述正常状态时,将当前采集的会话信息分发给所述信息反馈平台,接收所述信息反馈平台发送的反馈信息,从所述反馈信息中选定第六反馈信息,将所述第六反馈信息返回给所述终端;When the current session state is the normal state, the currently collected session information is distributed to the information feedback platform, and the feedback information sent by the information feedback platform is received, and the sixth feedback information is selected from the feedback information. Returning the sixth feedback information to the terminal;
    根据所述当前采集的会话信息判断是否需要跳转至所述至少一个确认状态,当跳转至所述至少一个确认状态,得不到确认,则跳转至当前会话状态为所述异常状态。Determining whether it is necessary to jump to the at least one acknowledgement state according to the currently collected session information. When the jump to the at least one acknowledgement state is not confirmed, the jump to the current session state is the abnormal state.
  16. 一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现如权利要求1至8任一项所述方法的步骤。A computer readable storage medium having stored thereon a computer program that, when executed by a processor, implements the steps of the method of any one of claims 1-8.
  17. 一种服务器,所述服务器包括:A server, the server comprising:
    存储器,配置为存储能够在处理器上运行的计算机程序;a memory configured to store a computer program capable of running on a processor;
    处理器,配置为运行所述计算机程序时,执行如权利要求1至8任一项所述方法的步骤。A processor, configured to perform the steps of the method of any one of claims 1 to 8 when the computer program is run.
  18. 一种会话信息的处理方法,所述方法由服务器执行,所述服务器包括有一个或多个处理器以及存储器,以及一个或一个以上的程序,其中,所述一个或一个以上的程序存储于存储器中,所述程序可以包括一个或一个以上的每一个对应于一组指令的单元,所述一个或多个处理器被配置为执行指令;所述方法包括:A method of processing session information, the method being performed by a server, the server comprising one or more processors and a memory, and one or more programs, wherein the one or more programs are stored in a memory The program may include one or more units each corresponding to a set of instructions, the one or more processors being configured to execute instructions; the method comprising:
    从终端发起的会话请求中解析出会话信息;Parsing session information from a session request initiated by the terminal;
    对所述会话信息进行分类和聚类处理,得到至少一个类别特征参数;Performing classification and clustering processing on the session information to obtain at least one category feature parameter;
    将所述会话信息分发给与所述至少一个类别特征参数对应的信息反馈平台;Distributing the session information to an information feedback platform corresponding to the at least one category feature parameter;
    根据所述信息反馈平台发送的反馈信息得到可信的第一反馈信息,将可信的第一反馈信息通过会话请求响应返回给所述终端;Obtaining the trusted first feedback information according to the feedback information sent by the information feedback platform, and returning the trusted first feedback information to the terminal by using the session request response;
    根据状态跟踪策略对所述终端的当前会话状态进行跟踪,根据从所述当前会话状态中采集的会话信息确定下一步的响应操作,执行所述响应操作后将响应结果返回给所述终端。The current session state of the terminal is tracked according to the state tracking policy, and the next response operation is determined according to the session information collected from the current session state, and the response result is returned to the terminal after the response operation is performed.
  19. 根据权利要求18所述的方法,其中,所述根据所述信息反馈平台发送的反馈信息得到可信的第一反馈信息,包括:The method according to claim 18, wherein the obtaining the trusted first feedback information according to the feedback information sent by the information feedback platform comprises:
    接收所述信息反馈平台发送的信息可信度参数,所述信息可信度参数用于标识反馈信息的可信度;Receiving, by the information feedback platform, an information credibility parameter, where the information credibility parameter is used to identify the credibility of the feedback information;
    根据所述信息可信度参数得到反馈信息中可信度最高的第一反馈信息;Obtaining, according to the information credibility parameter, the first feedback information with the highest credibility in the feedback information;
    将所述第一反馈信息与阈值进行比对,当所述第一反馈信息为可信时,得到可信的第一反馈信息。Comparing the first feedback information with a threshold, and when the first feedback information is trusted, obtaining trusted first feedback information.
  20. 根据权利要求19所述的方法,其中,所述将可信的第一反馈信息通过会话请求响应返回给所述终端,包括:The method of claim 19, wherein the returning the trusted first feedback information to the terminal by the session request response comprises:
    当所述第一反馈信息超出阈值时,判断出所述第一反馈信息为可信的,将所述第一反馈信息通过会话请求响应返回给所述终端。When the first feedback information exceeds the threshold, it is determined that the first feedback information is trusted, and the first feedback information is returned to the terminal by using a session request response.
  21. 根据权利要求19所述的方法,其中,所述方法还包括:The method of claim 19, wherein the method further comprises:
    当所述第一反馈信息未超出阈值时,返回提示信息给所述终端,所述提示信息用于表征当前无法解答所述会话信息;When the first feedback information does not exceed the threshold, the prompt information is returned to the terminal, and the prompt information is used to indicate that the session information cannot be answered currently;
    转入人工服务,将通过所述人工服务得到的第二反馈信息通过会话请求响应返回给所述终端。Transferring to the manual service, the second feedback information obtained by the manual service is returned to the terminal through the session request response.
  22. 根据权利要求18至21任一项所述的方法,其中,所述根据状态 跟踪策略对所述终端的当前会话状态进行跟踪,根据从所述当前会话状态中采集的会话信息确定下一步的响应操作,包括:The method according to any one of claims 18 to 21, wherein the tracking of the current session state of the terminal according to the state tracking policy, determining the next response according to the session information collected from the current session state Operations, including:
    所述当前会话状态为终端会话需求明确时,将当前采集的会话信息分发给所述信息反馈平台;When the current session state is clear, the currently collected session information is distributed to the information feedback platform;
    接收所述信息反馈平台发送的反馈信息,从所述反馈信息中选定第三反馈信息,将所述第三反馈信息返回给所述终端。Receiving feedback information sent by the information feedback platform, selecting third feedback information from the feedback information, and returning the third feedback information to the terminal.
  23. 根据权利要求18至21任一项所述的方法,其中,所述根据状态跟踪策略对所述终端的当前会话状态进行跟踪,根据从所述当前会话状态中采集的会话信息确定下一步的响应操作,包括:The method according to any one of claims 18 to 21, wherein the tracking of the current session state of the terminal according to the state tracking policy, determining the next response according to the session information collected from the current session state Operations, including:
    所述当前会话状态为用户需求不明确时,对采集的会话信息进行需求分析,将分析结果反馈给终端;When the current session state is unclear, the needs of the collected session information are analyzed, and the analysis result is fed back to the terminal;
    收集终端根据所述分析结果上报的会话响应,继续对所述会话响应中的会话信息进行需求分析,直至从会话信息中得到明确的用户需求,结束需求分析,将当前采集的会话信息分发给所述信息反馈平台;The collecting terminal continues to perform the demand analysis on the session information in the session response according to the session response reported by the analysis result, until an explicit user requirement is obtained from the session information, the requirement analysis is ended, and the currently collected session information is distributed to the Information feedback platform;
    接收所述信息反馈平台发送的反馈信息,从所述反馈信息中选定第四反馈信息,将所述第四反馈信息返回给所述终端。Receiving feedback information sent by the information feedback platform, selecting fourth feedback information from the feedback information, and returning the fourth feedback information to the terminal.
  24. 根据权利要求18至21任一项所述的方法,其中,所述根据状态跟踪策略对所述终端的当前会话状态进行跟踪,根据从所述当前会话状态中采集的会话信息确定下一步的响应操作,包括:The method according to any one of claims 18 to 21, wherein the tracking of the current session state of the terminal according to the state tracking policy, determining the next response according to the session information collected from the current session state Operations, including:
    所述当前会话状态为终端会话异常时,从预设的反馈信息中选择第五反馈信息,将所述第五反馈信息返回给所述终端。When the current session state is abnormal, the terminal feedback information is selected from the preset feedback information, and the fifth feedback information is returned to the terminal.
  25. 根据权利要求18至21任一项所述的方法,其中,所述方法还包括:The method of any one of claims 18 to 21, wherein the method further comprises:
    根据状态机对所述终端的当前会话状态进行跟踪,所述状态机具备正常状态、至少一个确认状态和异常状态;Tracking the current session state of the terminal according to the state machine, the state machine having a normal state, at least one acknowledgement state, and an abnormal state;
    当前会话状态为所述正常状态时,将当前采集的会话信息分发给所述信息反馈平台,接收所述信息反馈平台发送的反馈信息,从所述反馈信息中选定第六反馈信息,将所述第六反馈信息返回给所述终端;When the current session state is the normal state, the currently collected session information is distributed to the information feedback platform, and the feedback information sent by the information feedback platform is received, and the sixth feedback information is selected from the feedback information. Returning the sixth feedback information to the terminal;
    根据所述当前采集的会话信息判断是否需要跳转至所述至少一个确认状态,当跳转至所述至少一个确认状态,得不到确认,则跳转至当前会话状态为所述异常状态。Determining whether it is necessary to jump to the at least one acknowledgement state according to the currently collected session information. When the jump to the at least one acknowledgement state is not confirmed, the jump to the current session state is the abnormal state.
PCT/CN2018/084639 2017-05-05 2018-04-26 Processing method for session information, server, and computer readable storage medium WO2018201964A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710312874.4A CN106911812A (en) 2017-05-05 2017-05-05 A kind of processing method of session information, server and computer-readable recording medium
CN201710312874.4 2017-05-05

Publications (1)

Publication Number Publication Date
WO2018201964A1 true WO2018201964A1 (en) 2018-11-08

Family

ID=59210366

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/084639 WO2018201964A1 (en) 2017-05-05 2018-04-26 Processing method for session information, server, and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN106911812A (en)
WO (1) WO2018201964A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110413748A (en) * 2019-07-03 2019-11-05 北京智齿博创科技有限公司 Based on big data robot service knowledge base entry recommender system
CN112261085A (en) * 2020-09-23 2021-01-22 远光软件股份有限公司 Session-based task distribution method, system, electronic device and storage medium
CN113065876A (en) * 2019-12-13 2021-07-02 阿里巴巴集团控股有限公司 Method, device and system for processing user feedback information
CN114726810A (en) * 2021-01-04 2022-07-08 腾讯科技(深圳)有限公司 Session control method, computer equipment and storage medium
CN116029740A (en) * 2023-02-09 2023-04-28 湖南快乐阳光互动娱乐传媒有限公司 Information processing method and device
CN117172796A (en) * 2023-08-07 2023-12-05 北京智慧大王科技有限公司 Big data electronic commerce management system

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106911812A (en) * 2017-05-05 2017-06-30 腾讯科技(上海)有限公司 A kind of processing method of session information, server and computer-readable recording medium
CN107506372A (en) * 2017-07-11 2017-12-22 哈尔滨工业大学深圳研究生院 A kind of automatic conversation switching method of robot customer service under mixed type session
CN107948276A (en) * 2017-11-22 2018-04-20 用友金融信息技术股份有限公司 Distributed conversation update method, device, computer equipment and readable storage medium storing program for executing
CN109299231B (en) * 2018-09-14 2020-10-30 苏州思必驰信息科技有限公司 Dialog state tracking method, system, electronic device and storage medium
CN109670025B (en) * 2018-12-19 2023-06-16 北京小米移动软件有限公司 Dialogue management method and device
CN111813901B (en) * 2019-04-11 2024-05-17 阿里巴巴集团控股有限公司 Session content generation and processing method, conversation robot diagnosis method and conversation robot diagnosis device
CN110866392B (en) * 2019-08-09 2023-06-30 竹间智能科技(上海)有限公司 System for policy control and policy control method thereof
CN112543432A (en) * 2019-09-20 2021-03-23 上海擎感智能科技有限公司 Information management/processing method/system, storage medium, vehicle machine/client
CN111046162A (en) * 2019-12-23 2020-04-21 联想(北京)有限公司 Information processing method and device and electronic equipment
CN111985248A (en) * 2020-06-30 2020-11-24 联想(北京)有限公司 Information interaction method and device
CN112748980B (en) * 2021-01-29 2023-01-20 腾讯科技(深圳)有限公司 Message pushing method, device, equipment and computer readable storage medium
CN114265505A (en) * 2021-12-27 2022-04-01 中国电信股份有限公司 Man-machine interaction processing method and device, storage medium and electronic equipment
CN117909487A (en) * 2024-03-20 2024-04-19 北方健康医疗大数据科技有限公司 Medical question-answering service method, system, device and medium for old people

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004355333A (en) * 2003-05-29 2004-12-16 Nec Corp Question answering system, data base, and question answering method
US20090070311A1 (en) * 2007-09-07 2009-03-12 At&T Corp. System and method using a discriminative learning approach for question answering
CN104050256A (en) * 2014-06-13 2014-09-17 西安蒜泥电子科技有限责任公司 Initiative study-based questioning and answering method and questioning and answering system adopting initiative study-based questioning and answering method
CN104573028A (en) * 2015-01-14 2015-04-29 百度在线网络技术(北京)有限公司 Intelligent question-answer implementing method and system
CN105591882A (en) * 2015-12-10 2016-05-18 北京中科汇联科技股份有限公司 Method and system for mixed customer services of intelligent robots and human beings
CN106911812A (en) * 2017-05-05 2017-06-30 腾讯科技(上海)有限公司 A kind of processing method of session information, server and computer-readable recording medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004355333A (en) * 2003-05-29 2004-12-16 Nec Corp Question answering system, data base, and question answering method
US20090070311A1 (en) * 2007-09-07 2009-03-12 At&T Corp. System and method using a discriminative learning approach for question answering
CN104050256A (en) * 2014-06-13 2014-09-17 西安蒜泥电子科技有限责任公司 Initiative study-based questioning and answering method and questioning and answering system adopting initiative study-based questioning and answering method
CN104573028A (en) * 2015-01-14 2015-04-29 百度在线网络技术(北京)有限公司 Intelligent question-answer implementing method and system
CN105591882A (en) * 2015-12-10 2016-05-18 北京中科汇联科技股份有限公司 Method and system for mixed customer services of intelligent robots and human beings
CN106911812A (en) * 2017-05-05 2017-06-30 腾讯科技(上海)有限公司 A kind of processing method of session information, server and computer-readable recording medium

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110413748A (en) * 2019-07-03 2019-11-05 北京智齿博创科技有限公司 Based on big data robot service knowledge base entry recommender system
CN113065876A (en) * 2019-12-13 2021-07-02 阿里巴巴集团控股有限公司 Method, device and system for processing user feedback information
CN112261085A (en) * 2020-09-23 2021-01-22 远光软件股份有限公司 Session-based task distribution method, system, electronic device and storage medium
CN112261085B (en) * 2020-09-23 2023-08-22 远光软件股份有限公司 Task distribution method and system based on session, electronic equipment and storage medium
CN114726810A (en) * 2021-01-04 2022-07-08 腾讯科技(深圳)有限公司 Session control method, computer equipment and storage medium
CN114726810B (en) * 2021-01-04 2024-01-30 腾讯科技(深圳)有限公司 Session control method, computer equipment and storage medium
CN116029740A (en) * 2023-02-09 2023-04-28 湖南快乐阳光互动娱乐传媒有限公司 Information processing method and device
CN117172796A (en) * 2023-08-07 2023-12-05 北京智慧大王科技有限公司 Big data electronic commerce management system

Also Published As

Publication number Publication date
CN106911812A (en) 2017-06-30

Similar Documents

Publication Publication Date Title
WO2018201964A1 (en) Processing method for session information, server, and computer readable storage medium
JP7404467B2 (en) Dynamic communication routing based on consistency weighting and routing rules
KR102381214B1 (en) Man-machine dialogue method, device and electronic equipment
US11956187B2 (en) Natural language processing for information extraction
US11425255B2 (en) System and method for dialogue tree generation
CN112365894B (en) AI-based composite voice interaction method and device and computer equipment
CN108415932A (en) Interactive method and electronic equipment
US20140036022A1 (en) Providing a conversational video experience
CN110392168A (en) Call processing method, device, server, storage medium and system
CN115083434B (en) Emotion recognition method and device, computer equipment and storage medium
RU2693332C1 (en) Method and a computer device for selecting a current context-dependent response for the current user request
US20200117660A1 (en) Systems and methods to avoid collisions in establishing real-time communication connections
US11665010B2 (en) Intelligent meeting recording using artificial intelligence algorithms
CN111339282A (en) Intelligent online response method and intelligent customer service system
CN109087175A (en) The method, apparatus and system of customer service session switching
CN116301329A (en) Intelligent device active interaction method, device, equipment and storage medium
CN109313638B (en) Application recommendation
WO2021109741A1 (en) Serving method, apparatus, system and device, and storage medium
WO2013181633A1 (en) Providing a converstional video experience
CN113065363A (en) Method and device for processing session information
CN111309990B (en) Statement response method and device
CN112633919A (en) Method and system for realizing intelligent customer service
CN110543556A (en) Dialogue configuration method, storage medium and electronic equipment
CN110442692A (en) It is a kind of for problem worksheet processing and its method and apparatus of training
US20230409616A1 (en) Hybrid guided communication session with artificial intelligence

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18795028

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18795028

Country of ref document: EP

Kind code of ref document: A1