Intelligent reply method and device

By analyzing conversation information and using the intelligent reply strategy model, the intelligent customer service system uses appropriate reply strategies when users interrupt business processes with chatting, solving the problem of reduced user experience and achieving a more natural conversation process and higher user satisfaction. Spend.

CN112883177BActive Publication Date: 2024-08-27LENOVO (BEIJING) LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110190170.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-02-18
Publication Date
2024-08-27
Estimated Expiration
2041-02-18

AI Technical Summary

Technical Problem

In the intelligent customer service dialogue system, when users' chatting questions interrupt the business process, the user experience is degraded. The existing forced pull back strategy may cause the conversation to be violently interrupted or the solution path to change.

Method used

By tracking session information, we analyze the type of the user's current question and its relationship with the previous reply, determine the session stage, and use the intelligent reply strategy model to determine the appropriate reply strategy to avoid blindly or violently pulling users back into the business process.

Benefits of technology

It improves the user experience, makes the conversation process more natural, avoids unnecessary pullbacks caused by the deviation of the chat content from the business process, and enhances the coherence of the conversation and user satisfaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112883177B
    Figure CN112883177B
Patent Text Reader

Abstract

The present invention discloses an intelligent reply method and device, the method comprising: tracking session information, wherein the session information includes at least one first question and at least one first reply; determining the session stage of the current first question and the type of the current first question; if the type of the current first question is a first type question, determining the relationship between the current first question and the last first reply, and the type of the previous first question of the current first question, the first type question is a non-business related question; determining the first reply strategy for the current first question based on the session stage of the current first question, the relationship between the current first question and the last first reply, and the type of the previous first question of the current first question. By implementing the present invention, a suitable position can be selected to pull the user back to the business process, making the session process more natural and improving the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of intelligent conversation technology, and in particular to an intelligent reply method and device. Background Art

[0002] In the current intelligent customer service dialogue system, the system mainly analyzes the business questions input by users, and then pushes answers to users based on the business questions. In particular, task-based robots (Robot, bot), each bot has its own business scope. When a user enters a question, the bot analyzes if it is a business question and guides the user to solve the problem according to a certain business process. However, in the business process, it is inevitable that the user's other chat questions will be interrupted. At this time, the bot's solution is generally to force the user back, such as pulling the user back after the user has chatted n times. However, such a forced pull-back strategy will cause some problems. For example, the user will feel that the conversation is violently interrupted. Before being forced to be pulled back, the conversation will follow the user and cause some questions that the bot does not understand, or even if the bot understands, the answer given will change the way to solve the problem, thereby reducing the user experience. Summary of the invention

[0003] In view of this, an embodiment of the present invention provides an intelligent reply method and device to solve the problem in the current intelligent customer service dialogue system that when the business process is interrupted by other chat questions of the user, the user experience is reduced by forcibly pulling the user back.

[0004] In order to solve the above problems, in the first aspect, an embodiment of the present invention provides an intelligent reply method, including: tracking session information, the session information including at least one first question and at least one first reply; determining the session stage of the current first question and the type of the current first question; if the type of the current first question is a first type question, determining the relationship between the current first question and the last first reply, and the type of the previous first question of the current first question, the first type question being a non-business-related question; determining the first reply strategy for the current first question based on the session stage of the current first question, the relationship between the current first question and the last first reply, and the type of the previous first question of the current first question.

[0005] Optionally, the first reply strategy for the current first question is determined based on the conversation stage of the current first question, the relationship between the current first question and the last first reply, and the type of the previous first question of the current first question, including: inputting the conversation stage of the current first question, the type of the current first question, the relationship between the current first question and the last first reply, and the type of the previous first question of the current first question into an intelligent reply strategy model; and determining the first reply strategy for the current first question based on the output result of the intelligent reply strategy model.

[0006] Optionally, the training samples of the intelligent reply strategy model include: multiple key information, the key information including the conversation stage of the current second question, the type of the current second question, the relationship between the current second question and the last second reply, and the type of the previous second question of the current second question.

[0007] Optionally, determining the conversation stage of the current first question includes: if the first question does not include a business question, determining that the conversation stage of the current first question is a business not-started stage; if the first question includes a business question and the first reply does not include an answer to the business question, determining that the conversation stage of the current first question is a business proceeding stage; if the first question includes a business question and the first reply includes an answer to the business question, determining that the conversation stage of the current first question is a business completion stage.

[0008] Optionally, determining the relationship between the current first question and the last first reply includes: if the current first question is asked based on the last first reply, determining that the current first question is associated with the last first reply; if the current first question is not asked based on the last first reply, determining that the current first question is not associated with the last first reply.

[0009] Optionally, the reply strategy includes: continuing to reply to the current first question, continuing to reply to the business question, and requesting a description of the business question.

[0010] Optionally, the first reply strategy for the current first question is determined based on the conversation stage of the current first question, the relationship between the current first question and the last first reply, and the type of the previous first question of the current first question, including: if the conversation stage of the current first question is a business not yet started stage or a business completion stage, it is determined that the relationship between the current first question and the last first reply is an association relationship, and the type of the previous question of the current first question is a first type of question, then the first reply strategy for the current first question is determined to be a request for a business problem description.

[0011] Optionally, if the conversation stage of the current first question is the business progress stage, the relationship between the current first question and the last first reply is determined to be an association relationship, and the type of the previous question of the current first question is a first type of question, then the first reply strategy of the current first question is determined to be a reply to the continuing business question.

[0012] Optionally, if the relationship between the current first question and the last first reply is a non-association relationship, the first reply strategy for the current first question is determined to be to continue replying to the current first question.

[0013] According to the second aspect, an embodiment of the present invention provides an intelligent reply device, including: a tracking unit, used to track session information, the session information including at least one first question and at least one first reply; a first determination unit, used to determine the session stage of the current first question and the type of the current first question; a second determination unit, used to determine the relationship between the current first question and the last first reply and the type of the previous first question of the current first question if the type of the current first question is a first type of question, and the first type of question is a non-business-related question; a third determination unit, used to determine the first reply strategy for the current first question based on the session stage of the current first question, the relationship between the current first question and the last first reply, and the type of the previous first question of the current first question.

[0014] The intelligent reply method and device provided by the embodiment of the present invention tracks the conversation information between the user and the intelligent customer service, analyzes the type of the user's current first question, and when the first question is a non-business-related question, further analyzes the relationship between the current first question and the last first reply, and the type of the previous question of the current first question, so as to determine whether the chat content between the user and the intelligent customer service deviates from the business process of the intelligent customer service and the degree of deviation, and then comprehensively decides on the first reply strategy to be executed at the current position in combination with the conversation stage of the current first question. Therefore, when it is determined that the chat content between the user and the intelligent customer service deviates from the business process of the intelligent customer service, a suitable position can be selected to pull the user back to the business process, making the conversation process more natural, avoiding blind and violent pulling back during the conversation between the user and the intelligent customer service, and improving the user experience.

[0015] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1A schematic diagram of a flow chart of an intelligent reply method in an embodiment of the present invention;

[0017] Figure 2 This is a schematic diagram of the structure of an intelligent reply device in an embodiment of the present invention;

[0018] Figure 3 The figure is a schematic diagram of the hardware structure of an electronic device in an embodiment of the present invention. DETAILED DESCRIPTION

[0019] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0020] The embodiment of the present invention provides an intelligent reply method, such as Figure 1 As shown, including:

[0021] S101. Tracking session information, where the session information includes at least one first question and at least one first reply; specifically, when a user has a conversation with an intelligent customer service, the session information can be tracked, where the session information includes at least one first question and at least one first reply asked by the user. The first question is a question asked by the customer, and the first question includes at least the current first question and the previous first question of the current first question. The first reply is the reply of the intelligent customer service to the first question asked by the user, which does not include the reply to the current first question.

[0022] S102. Determine the conversation stage of the current first question and the type of the current first question; specifically, the conversation stage of the current first question can be determined by analyzing each first question and each first reply. The conversation stage mainly includes the business pre-start stage, the business ongoing stage and the business completed stage. In addition, the type of the current first question can be determined by analyzing the current first question. During the conversation between the user and the intelligent customer service, the questions consulted by the user mainly include business questions and non-business related questions. Non-business related questions are first type questions, and business questions are second type questions.

[0023] S103. If the type of the current first question is a first type question, determine the relationship between the current first question and the last first reply, and the type of the previous first question of the current first question, and the first type question is a non-business-related question; specifically, the last first reply is the reply to the previous first question of the current first question. If the current first question is a non-business-related question, the type of the current first question is a first type question. If the current first question is a non-business-related question, in order to determine whether the chat content between the user and the intelligent customer service deviates from the business process of the intelligent customer service and the degree of deviation, the relationship between the current first question and the last first reply and the type of the previous question of the current first question can be analyzed. If the type of the previous first question of the current first question is a first type question, and the relationship between the current first question and the last first reply is an associated relationship, then the chat content between the user and the intelligent customer service deviates from the business process of the intelligent service, and the deviation is relatively far. If the type of the previous first question of the current first question is a first type question, and the relationship between the current first question and the last first reply is a non-associated relationship, then the chat content between the user and the intelligent customer service deviates from the business process of the intelligent service, but the deviation is not far. If the previous first question of the current first question is of the second type, and the current first question and the last first reply are in an associated relationship, then the chat content between the user and the intelligent customer service does not deviate from the business process of the intelligent service. If the previous first question of the current first question is of the second type, and the current first question and the last first reply are in an unassociated relationship, then the chat content between the user and the intelligent customer service deviates from the business process of the intelligent service, but not by a long way.

[0024] S104. Determine the first reply strategy for the current first question based on the conversation stage of the current first question, the relationship between the current first question and the last first reply, and the type of the previous first question of the current first question. Specifically, under the condition that the type of the current first question is a first type of question, based on the conversation stage of the current first question, and an analysis of whether the chat content between the user and the intelligent customer service deviates from the business process of the intelligent customer service and the degree of deviation, the first reply strategy for the current first question can be determined, that is, whether it is necessary to pull the user back to the business process at the current position, whether to pull back to the business problem description or to pull back to the business process, etc.

[0025] The intelligent reply method provided by the embodiment of the present invention tracks the conversation information between the user and the intelligent customer service, analyzes the type of the user's current first question, and when the first question is a non-business-related question, analyzes the relationship between the current first question and the last first reply, and the type of the previous question of the current first question, so as to determine whether the chat content between the user and the intelligent customer service deviates from the business process of the intelligent customer service and the degree of deviation, and then comprehensively decides on the first reply strategy to be executed at the current position in combination with the conversation stage of the current first question. Therefore, when it is determined that the chat content between the user and the intelligent customer service deviates from the business process of the intelligent customer service, a suitable position can be selected to pull the user back to the business process, making the conversation process more natural, avoiding blind and violent pulling back during the conversation between the user and the intelligent customer service, and improving the user experience.

[0026] In an optional embodiment, a first reply strategy for the current first question is determined based on the conversation stage of the current first question, the relationship between the current first question and the last first reply, and the type of the previous first question of the current first question, including: inputting the conversation stage of the current first question, the type of the current first question, the relationship between the current first question and the last first reply, and the type of the previous first question of the current first question into an intelligent reply strategy model; and determining the first reply strategy for the current first question based on the output result of the intelligent reply strategy model.

[0027] Specifically, under the condition that the type of the current first question is a first type of question, the first reply strategy for the current first question is determined based on the conversation stage of the current first question, the relationship between the current first question and the last first reply, and the type of the previous first question of the current first question. The conversation stage of the current first question, the type of the current first question, the relationship between the current first question and the last first reply, and the type of the previous first question of the current first question are input into the intelligent reply strategy model, and the first reply strategy for the current first question is determined based on the output result of the intelligent reply strategy model.

[0028] By adopting an intelligent response strategy model to determine the first response strategy for the current first question, the first response strategy for the current first question can be obtained quickly and accurately.

[0029] In an optional embodiment, the training samples of the intelligent reply strategy model include: multiple key information, the key information including the conversation stage of the current second question, the type of the current second question, the relationship between the current second question and the last second reply, and the type of the previous second question of the current second question.

[0030] Specifically, the steps S101 to S103 in the above embodiment can be used to obtain multiple key information from multiple historical conversation information. Each key information includes the conversation stage of the current second question, the type of the current second question, the relationship between the current second question and the last second reply, and the type of the previous second question of the current second question. Then, the reply strategy can be manually labeled for each key information, and each key information and the corresponding labeled reply strategy can be input into the neural network for training to obtain an intelligent reply strategy model.

[0031] By setting the training samples of the intelligent reply strategy model to multiple key information, the key information includes the conversation stage of the current second question, the type of the current second question, the relationship between the current second question and the last second reply, and the type of the previous second question of the current second question, so as to obtain the intelligent reply strategy model trained with these training samples and the reply strategies annotated by the training samples, after the conversation stage of the current first question, the type of the current first question, the relationship between the current first question and the last first reply, and the type of the previous first question of the current first question are input into the intelligent reply strategy model, the first reply strategy for the current first question can be accurately obtained.

[0032] In an optional embodiment, determining the conversation stage of the current first question includes: if the first question does not include a business question, determining that the conversation stage of the current first question is a business unstarted stage; if the first question includes a business question and the first reply does not include an answer corresponding to the business question, determining that the conversation stage of the current first question is a business ongoing stage; if the first question includes a business question and the first reply includes an answer corresponding to the business question, determining that the conversation stage of the current first question is a business completed stage.

[0033] Specifically, if the first question does not include a business question, it means that the user's chat content has not yet involved the business question set by the intelligent customer service, and the current session stage of the first question is the business unstarted stage. If the first question includes a business question, it means that the user's chat content involves the business question set by the intelligent customer service, and if the first reply does not include the answer to the business question, it means that the business question has not been completely answered, and the current session stage of the first question is the business ongoing stage. If the first question includes a business question, it means that the user's chat content involves the business question set by the intelligent customer service, and the first reply includes the answer to the business question, it means that the business question has been answered, and the current session stage of the first question is determined to be the business completed stage.

[0034] In an optional embodiment, determining the relationship between the current first question and the last first reply includes: if the current first question is asked based on the last first reply, determining that the current first question is associated with the last first reply; if the current first question is not asked based on the last first reply, determining that the current first question is not associated with the last first reply.

[0035] For example, if the current first question is: Why? The last first answer is: I have no gender, then the current first question is based on the last first answer, and it is determined that the current first question is related to the last first answer. For another example, if the first question is: Where are you from? The last first answer is: I am good at helping people use their products better, then the current first question is not based on the last first answer, and it is determined that the current first question is not related to the last first answer.

[0036] By analyzing whether the current first question is asked based on the last first reply, it is possible to determine whether the current first question is further asked based on the last first reply, and thus it is possible to determine whether the current first question is related to the last first reply. After determining that the chat content between the user and the intelligent customer service has deviated from the business process of the intelligent customer service, the degree of deviation can be determined.

[0037] In an optional embodiment, the reply strategy includes: continuing to reply to the current first question, continuing to reply to the business question, and requesting a description of the business question.

[0038] Specifically, if it is determined that the user does not need to be pulled back to the business process at the current location, the response strategy may be to continue the response to the current first question. If it is determined that the user needs to be pulled back to the business process at the current location, and the session stage of the user's current first question is the business not started stage, the response strategy may be to request a description of the business problem. If it is determined that the user needs to be pulled back to the business process at the current location, and the session stage of the user's current first question is the business ongoing stage, the response strategy may be to continue the response to the business question. For example, after the user inquired about the first question of connecting to wifi, the intelligent customer service gave the first response of "please provide your mobile phone model", the user inquired about the first question of "are you a boy or a girl", and the intelligent customer service gave the first response of "I have no gender", the user inquired about the current first question of "why", then the response strategy for the current first question is to continue the response to the business question, then the intelligent customer service can give the first response of "please provide your mobile phone model".

[0039] By setting the three response strategies of continuing the response to the current first question, continuing the response to the business question, and requesting a description of the business question, response strategies for different situations can be covered, so that the intelligent customer service can give corresponding response strategies according to different situations.

[0040] In an optional embodiment, the first reply strategy for the current first question is determined based on the conversation stage of the current first question, the relationship between the current first question and the last first reply, and the type of the previous first question of the current first question, including: if the conversation stage of the current first question is the business unstarted stage or the business completed stage, it is determined that the relationship between the current first question and the last first reply is an association relationship, and the type of the previous question of the current first question is a first type of question, then the first reply strategy for the current first question is determined to be a request for a business question description. If the conversation stage of the current first question is the business ongoing stage, it is determined that the relationship between the current first question and the last first reply is an association relationship, and the type of the previous question of the current first question is a first type of question, then the first reply strategy for the current first question is determined to be a reply to the continuing business question. If the conversation stage of the current first question is the business ongoing stage, it is determined that the relationship between the current first question and the last first reply is an association relationship, and the type of the previous question of the current first question is a first type of question, then the first reply strategy for the current first question is determined to be a reply to the current first question.

[0041] For example, when the user asked the first question about connecting to wifi, the intelligent customer service gave the first reply of "please provide your mobile phone model". The user then asked the first question of "are you a boy or a girl", and the intelligent customer service gave the first reply of "I have no gender". The user then asked the current first question of "why". The session stage of the current first question is the business progress stage, the relationship between the current first question and the last first reply is an association relationship, and the type of the previous question of the current first question is a first type of question. The response strategy of the current first question is to continue the response to the business question, and the intelligent customer service can give the first reply of "please provide your mobile phone model".

[0042] For example, after the user greets the intelligent customer service, the user asks the first question, "Are you a boy or a girl?". After the intelligent customer service gives the first answer, "I have no gender," the user then asks the current first question, "Why?". In this case, the session stage of the current first question is the stage where the business has not started. The relationship between the current first question and the last first answer is an association relationship. If the type of the previous question of the current first question is a first-type question, the response strategy for the current first question is to request a description of the business problem. The intelligent customer service can request the user to describe the business problem.

[0043] In an optional embodiment, if the relationship between the current first question and the last first reply is a non-association relationship, the first reply strategy for the current first question is determined to be to continue replying to the current first question.

[0044] Specifically, if the relationship between the current first question and the last first reply is a non-associative relationship, at this time, no matter what stage the previous first question is in the conversation, the first reply strategy for the current first question is to continue replying to the current first question. At this time, although the chat content between the user and the intelligent customer service may have deviated from the business process of the intelligent customer service, if the user does not delve into non-business related issues, that is, ask further questions on non-business related issues, the user can continue to reply to the current first question without being pulled back to the business process.

[0045] For example, when the user asked the first question about mobile phone software updates, the intelligent customer service gave the first reply of please provide your mobile phone model. After the user asked the first question about whether you are human, the intelligent customer service gave the first reply of I am a virtual assistant to help you use your product. After the user asked the first question about what you can do, the intelligent customer service gave the first reply of I am good at helping people to use their products better. After the user asked the current first question of where you are from, the session stage of the current first question is the business progress stage, the relationship between the current first question and the last first reply is a non-association relationship, and the type of the previous question of the current first question is the first type of question, then the reply strategy of the current first question is the reply to the current first question, and the intelligent customer service can give the answer to the current first question.

[0046] If the relationship between the current first question and the last first reply is a non-associative relationship, the first reply strategy for the current first question is determined to be to continue replying to the current first question. The chat content between the user and the intelligent customer service may have deviated from the business process of the intelligent customer service, but if the deviation is not far, the user will not be blindly and violently pulled back to the business process, thereby improving the user experience.

[0047] In an optional embodiment, before tracking the session information, the intelligent reply method further includes: counting the first question and the first reply in the session information; and determining whether the count of the first question and the second reply in the session information reaches a preset threshold.

[0048] Specifically, counting the first question and the first reply in the session information is counting the rounds of the first question consulted by the user and the first reply to the intelligent customer service. After determining that the count of the first question and the second reply in the session information reaches a preset threshold, the session information is tracked again, which can allow the user to chat with the intelligent customer service for a certain number of rounds, and then execute the first reply strategy for the current first question, which can improve the user experience.

[0049] The embodiment of the present invention provides an intelligent reply device, such as Figure 2 As shown, including:

[0050] The tracking unit 201 is used to track session information, wherein the session information includes at least one first question and at least one first reply. The specific implementation method is described in the description of step S101 of the above method embodiment, which will not be repeated here.

[0051] The first determination unit is used to determine the conversation stage of the current first question and the type of the current first question. The specific implementation method is detailed in the description of step S102 of the above method embodiment, which will not be repeated here.

[0052] The second determination unit is used to determine the relationship between the current first question and the last first reply and the type of the previous first question of the current first question if the type of the current first question is a first type of question, and the first type of question is a non-business-related question; the specific implementation method is detailed in the description of step S103 of the above method embodiment, which will not be repeated here.

[0053] The third determination unit is used to determine the first reply strategy for the current first question based on the conversation stage of the current first question, the relationship between the current first question and the last first reply, and the type of the previous first question of the current first question. The specific implementation method is described in the description of step S104 of the above method embodiment, which will not be repeated here.

[0054] The intelligent reply device provided by the embodiment of the present invention tracks the conversation information between the user and the intelligent customer service, analyzes the type of the user's current first question, and when the first question is a non-business-related question, further analyzes the relationship between the current first question and the last first reply, and the type of the previous question of the current first question, so as to determine whether the chat content between the user and the intelligent customer service deviates from the business process of the intelligent customer service and the degree of deviation, and then comprehensively decides on the first reply strategy to be executed at the current position in combination with the conversation stage of the current first question. Therefore, when it is determined that the chat content between the user and the intelligent customer service deviates from the business process of the intelligent customer service, a suitable position can be selected to pull the user back to the business process, making the conversation process more natural, avoiding blind and violent pulling back during the conversation between the user and the intelligent customer service, and improving the user experience.

[0055] Based on the same inventive concept as the intelligent reply method in the aforementioned embodiment, the present invention also provides an electronic device, such as Figure 3 As shown, it includes: a processor 31 and a memory 32, wherein the processor 31 and the memory 32 can be connected via a bus or other means. Figure 3 The bus connection is used as an example for explanation.

[0056] The processor 31 may be a central processing unit (CPU). The processor 31 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or a combination of the above chips.

[0057] The memory 32 is a non-transient computer-readable storage medium that can be used to store non-transient software programs, non-transient computer executable programs and modules, such as program instructions / modules corresponding to the intelligent reply method in the embodiment of the present invention. The processor 31 executes various functional applications and data processing of the processor by running the non-transient software programs, instructions and modules stored in the memory 32, that is, implementing the intelligent reply method in the above method embodiment.

[0058] The memory 32 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and applications required for at least one function; the data storage area may store data created by the processor 31, etc. In addition, the memory 32 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage devices. In some embodiments, the memory 32 may optionally include a memory remotely arranged relative to the processor 31, and these remote memories may be connected to the processor 31 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0059] The above one or more modules are stored in the memory 32, and when executed by the processor 31, the following is performed: Figure 1 The intelligent reply method in the illustrated embodiment.

[0060] For details of the above electronic equipment, please refer to Figure 1 The corresponding related descriptions and effects in the illustrated embodiments can be understood and will not be repeated here.

[0061] Those skilled in the art can understand that the implementation of all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the storage medium can be a disk, an optical disk, a read-only memory (ROM), a random access memory (RAM), a flash memory, a hard disk drive (HDD) or a solid-state drive (SSD), etc.; the storage medium can also include a combination of the above-mentioned types of memory.

[0062] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0063] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable information processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable information processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0064] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable information processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0065] These computer program instructions can also be loaded onto a computer or other programmable information processing device so that a series of operation steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0066] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A smart reply method, comprising: Tracking session information, where the session information includes at least two first questions and at least one first reply, where the first questions are questions asked by the customer, and the first replies do not include replies to the current first question; Determine the conversation stage of the current first question and the type of the current first question; If the current first question is a first type question, then determine the relationship between the current first question and the last first reply, and the type of the previous first question of the current first question, wherein the first type question is a non-business-related question; Determining a first reply strategy for the current first question based on the conversation stage of the current first question, the relationship between the current first question and the last first reply, and the type of the previous first question of the current first question; The method of determining the first reply strategy for the current first question based on the conversation stage of the current first question, the relationship between the current first question and the last first reply, and the type of the previous first question of the current first question comprises: inputting the conversation stage of the current first question, the type of the current first question, the relationship between the current first question and the last first reply, and the type of the previous first question of the current first question into an intelligent reply strategy model; and determining the first reply strategy for the current first question based on an output result of the intelligent reply strategy model; The training samples of the intelligent reply strategy model include: multiple key information, the key information including the conversation stage of the current second question, the type of the current second question, the relationship between the current second question and the last second reply, and the type of the previous second question of the current second question.

2. The intelligent reply method according to claim 1, wherein determining the conversation stage of the current first question comprises: If the first question does not include a business question, determining that the current session phase of the first question is a business unstarted phase; If the first question includes a business question and the first reply does not include an answer corresponding to the business question, determining that the current conversation phase of the first question is a business ongoing phase; If the first question includes a business question and the first reply includes an answer corresponding to the business question, it is determined that the current conversation stage of the first question is a business completion stage.

3. The intelligent reply method according to claim 2, wherein determining the relationship between the current first question and the last first reply comprises: If the current first question is asked based on the last first reply, determining that the current first question is associated with the last first reply; If the current first question is not asked in the last first reply, it is determined that the current first question is not associated with the last first reply.

4. The intelligent reply method according to claim 3, wherein the reply strategy comprises: Continue to reply to the current first question, continue to reply to the business question and request a description of the business question.

5. The intelligent reply method according to claim 4, wherein determining the first reply strategy for the current first question based on the conversation stage of the current first question, the relationship between the current first question and the last first reply, and the type of the previous first question of the current first question comprises: If the conversation stage of the current first question is the business not started stage or the business completed stage, it is determined that the relationship between the current first question and the last first reply is an association relationship, and the type of the previous question of the current first question is a first type of question, then the first reply strategy of the current first question is determined to be a request for business problem description.

6. The intelligent reply method according to claim 5, If the conversation stage of the current first question is the business progress stage, it is determined that the relationship between the current first question and the last first reply is an association relationship, and the type of the previous question of the current first question is a first type of question, then the first reply strategy of the current first question is determined to be a reply to the continuing business question.

7. The intelligent reply method according to claim 5 or 6, If the relationship between the current first question and the last first reply is a non-association relationship, the first reply strategy for the current first question is determined to be continuing the reply to the current first question.

8. An intelligent reply device, comprising: a tracking unit, configured to track session information, wherein the session information includes at least two first questions and at least one first reply, wherein the first questions are questions consulted by the customer, and the first replies do not include replies to the current first question; A first determining unit is used to determine the conversation stage of the current first question and the type of the current first question; a second determining unit, configured to determine, if the type of the current first question is a first type of question, a relationship between the current first question and the last first reply, and a type of the previous first question of the current first question, wherein the first type of question is a non-business-related question; a third determining unit, configured to determine a first reply strategy for the current first question based on the conversation stage of the current first question, the relationship between the current first question and the last first reply, and the type of the previous first question of the current first question; The third determining unit is specifically configured to input the conversation stage of the current first question, the type of the current first question, the relationship between the current first question and the last reply, and the type of the previous first question of the current first question into the intelligent reply strategy model; Determine a first response strategy for the current first question based on an output result of the intelligent response strategy model; The training samples of the intelligent reply strategy model include: multiple key information, the key information including the conversation stage of the current second question, the type of the current second question, the relationship between the current second question and the last second reply, and the type of the previous second question of the current second question.