[go: up one dir, main page]

CN108197167A - Human-computer dialogue processing method, equipment and readable storage medium storing program for executing - Google Patents

Human-computer dialogue processing method, equipment and readable storage medium storing program for executing Download PDF

Info

Publication number
CN108197167A
CN108197167A CN201711363313.3A CN201711363313A CN108197167A CN 108197167 A CN108197167 A CN 108197167A CN 201711363313 A CN201711363313 A CN 201711363313A CN 108197167 A CN108197167 A CN 108197167A
Authority
CN
China
Prior art keywords
task
robot
knowledge
question
answer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201711363313.3A
Other languages
Chinese (zh)
Inventor
卢道和
杨海军
郑德容
张超
钟伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
WeBank Co Ltd
Original Assignee
WeBank Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by WeBank Co Ltd filed Critical WeBank Co Ltd
Priority to CN201711363313.3A priority Critical patent/CN108197167A/en
Publication of CN108197167A publication Critical patent/CN108197167A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/36Creation of semantic tools, e.g. ontology or thesauri
    • G06F16/367Ontology
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/332Query formulation
    • G06F16/3329Natural language query formulation

Landscapes

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

Abstract

本发明公开一种人机对话处理方法,包括以下步骤:接待机器人接收用户提出的问题,并基于自身知识库,识别该问题是否为任务型问题;若为任务型问题,则接待机器人将该问题对应的任务,分发给拥有该任务执行能力的处理机器人,以供该处理机器人基于自身知识库执行任务;若不为任务型问题,则接待机器人通过查找自身知识库,返回该问题的答案。本发明还公开一种人机对话设备及计算机可读存储介质。本发明实现了从问题接收到任务分发处理的转换,不仅提升了对话机器人的服务能力与效率,同时也提升了用户服务体验。

The invention discloses a man-machine dialogue processing method, comprising the following steps: a reception robot receives a question raised by a user, and based on its own knowledge base, identifies whether the question is a task-type question; if it is a task-type question, the reception robot takes the question The corresponding task is distributed to a processing robot that has the ability to execute the task, so that the processing robot can perform the task based on its own knowledge base; if it is not a task-type question, the reception robot will return the answer to the question by searching its own knowledge base. The invention also discloses a man-machine dialogue device and a computer-readable storage medium. The invention realizes the conversion from question receiving to task distribution processing, not only improves the service capability and efficiency of the dialogue robot, but also improves user service experience.

Description

人机对话处理方法、设备及可读存储介质Man-machine dialogue processing method, device and readable storage medium

技术领域technical field

本发明涉及人机对话技术领域,尤其涉及一种人机对话处理方法、设备及可读存储介质。The present invention relates to the technical field of man-machine dialogue, in particular to a man-machine dialogue processing method, device and readable storage medium.

背景技术Background technique

随着科学技术的进步及企业业务量的快速增长,为给用户提供更为便捷、高效的一对一服务,越来越多的企业在人工客服的基础上,引进了人机对话技术以适应业务及服务要求。With the advancement of science and technology and the rapid growth of enterprise business volume, in order to provide users with more convenient and efficient one-to-one service, more and more enterprises have introduced man-machine dialogue technology on the basis of manual customer service to adapt to business and service requirements.

知识库是人机对话系统中的重要组成部分,其通常由模式、关键词、问题以及对应的答案组成,在人机对话过程中,对于用户提出的问题的处理,对话机器人通常只是在知识库中进行匹配查找并返回相应答案,如果对话机器不能准确快速识别用户问题,那么不仅查找答案的效率低下,甚至还有可能返回错误的答案,进而降低了用户使用人机对话过程中的使用体验。The knowledge base is an important part of the human-machine dialogue system, which usually consists of patterns, keywords, questions and corresponding answers. During the process of man-machine dialogue, the dialogue robot is usually only in the knowledge base If the dialogue machine cannot accurately and quickly identify the user's question, it will not only be inefficient in finding the answer, but may even return the wrong answer, thereby reducing the user's experience in the process of man-machine dialogue.

发明内容Contents of the invention

本发明的主要目的在于提供一种人机对话处理方法、设备及可读存储介质,旨在解决如何在人机对话过程中提升对话机器人的服务能力与服务效率的技术问题。The main purpose of the present invention is to provide a man-machine dialogue processing method, device and readable storage medium, aiming at solving the technical problem of how to improve the service capability and service efficiency of the dialogue robot during the process of man-machine dialogue.

为实现上述目的,本发明提供一种人机对话处理方法,对话机器人包括接待机器人与处理机器人,所述人机对话处理方法包括以下步骤:In order to achieve the above object, the present invention provides a method for man-machine dialogue processing. The dialogue robot includes a reception robot and a processing robot. The man-machine dialogue processing method includes the following steps:

接待机器人接收用户提出的问题,并基于自身知识库,识别该问题是否为任务型问题;The reception robot receives the question raised by the user, and based on its own knowledge base, identifies whether the question is a task-type question;

若为任务型问题,则接待机器人将该问题对应的任务,分发给拥有该任务执行能力的处理机器人,以供该处理机器人基于自身知识库执行该任务;If it is a task-type problem, the reception robot will distribute the task corresponding to the problem to the processing robot that has the ability to execute the task, so that the processing robot can perform the task based on its own knowledge base;

若不为任务型问题,则接待机器人通过查找自身知识库,返回该问题的答案。If it is not a task-type question, the reception robot will return the answer to the question by searching its own knowledge base.

可选地,接待机器人在识别用户提出的问题是否为任务型问题之前,所述人机对话处理方法还包括:Optionally, before the reception robot identifies whether the question raised by the user is a task-type question, the man-machine dialogue processing method further includes:

接待机器人对用户提出的问题进行清洗,以供将问题中无效的字、和/或词、和/或词组清除;以及The reception robot cleans the question raised by the user to remove invalid words, and/or words, and/or phrases in the question; and

将清洗后的问题中的缩略词和/或口语化词进行补全。Complete acronyms and/or colloquial words in cleaned questions.

可选地,所述人机对话处理方法还包括:Optionally, the man-machine dialogue processing method also includes:

接待机器人对清洗且补全后的问题进行意图识别,以供确定该问题的类型,所述类型至少包括:解释类型、原因类型、时间类型。The reception robot performs intent recognition on the cleaned and completed question to determine the type of the question, and the type at least includes: explanation type, reason type, and time type.

可选地,所述知识库至少包括:闲聊知识库、知识图谱库、业务知识库以及任务知识库;Optionally, the knowledge base includes at least: a chat knowledge base, a knowledge graph base, a business knowledge base, and a task knowledge base;

所述闲聊知识库包括预置的日常问答用语集合;所述知识图谱库包括若干用于推理的知识;所述业务知识库包括预置的问题与答案集合;The gossip knowledge base includes a preset collection of daily question and answer terms; the knowledge graph library includes a number of knowledge for reasoning; the business knowledge base includes a preset set of questions and answers;

所述任务知识库包括:The task knowledge base includes:

问题指令集合,用于标识任务型问题与对应执行的指令之间的映射关系;Question instruction set, used to identify the mapping relationship between task-type questions and corresponding execution instructions;

指令状态集合,用于标识指令与对应任务状态序列之间的映射关系;Instruction state set, which is used to identify the mapping relationship between the instruction and the corresponding task state sequence;

状态操作集合,用于标识任务状态与对应执行的操作之间的映射关系;The state operation set is used to identify the mapping relationship between the task state and the corresponding operation;

基本操作集合,包含多种基本操作。A collection of basic operations, including a variety of basic operations.

可选地,所述人机对话处理方法还包括:Optionally, the man-machine dialogue processing method also includes:

在接收到接待机器人分发的任务后,处理机器人基于自身知识库中的任务知识库,执行接待机器人分发的任务,并将任务执行结果作为答案返回。After receiving the task distributed by the reception robot, the processing robot executes the task distributed by the reception robot based on the task knowledge base in its own knowledge base, and returns the task execution result as an answer.

可选地,所述若不为任务型问题,则接待机器人通过查找自身知识库,返回该问题的答案的步骤包括:Optionally, if the question is not a task-type question, the step of returning the answer to the question by the reception robot by searching its own knowledge base includes:

若不为任务型问题,则接待机器人基于自身知识库中的业务知识库,对该问题分别进行问句匹配与检索排序,以及基于自身知识库中的知识图谱库,对该问题进行知识推理,得到结果集;If it is not a task-type question, the reception robot will perform question matching and retrieval sorting on the question based on the business knowledge base in its own knowledge base, and perform knowledge reasoning on the question based on the knowledge graph database in its own knowledge base. get the result set;

判断所述结果集中是否存在满足预置要求的答案;Judging whether there is an answer that meets the preset requirements in the result set;

若存在满足所述预置要求的答案,则返回该答案,并推荐与该问题相似的其他问题。If there is an answer that meets the preset requirements, the answer is returned, and other questions similar to the question are recommended.

可选地,在所述判断所述结果集中是否存在满足预置要求的答案的步骤之后,所述人机对话处理方法还包括:Optionally, after the step of judging whether there is an answer that meets preset requirements in the result set, the man-machine dialogue processing method further includes:

若不存在满足所述预置要求的答案,则接待机器人查找自身知识库中的闲聊知识库;If there is no answer that meets the preset requirements, the reception robot searches the chat knowledge base in its own knowledge base;

若该闲聊知识库中存在对应答案,则返回该答案,否则返回预置的默认答案。If there is a corresponding answer in the gossip knowledge base, the answer is returned; otherwise, a preset default answer is returned.

进一步地,为实现上述目的,本发明还提供一种人机对话设备,所述人机对话设备包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的人机对话程序,所述人机对话程序被所述处理器执行时实现如上述任一项所述的人机对话处理方法的步骤。Further, in order to achieve the above object, the present invention also provides a human-machine dialogue device, which includes: a memory, a processor, and a human-machine dialogue stored on the memory and operable on the processor. A dialogue program, when the man-machine dialogue program is executed by the processor, implements the steps of the man-machine dialogue processing method described in any one of the above.

可选地,所述人机对话设备还包括:存储在所述存储器上的知识库优化程序,所述处理器配置为执行所述知识库优化程序以执行下述操作中的任意一项或多项:Optionally, the man-machine dialogue device further includes: a knowledge base optimization program stored in the memory, and the processor is configured to execute the knowledge base optimization program to perform any one or more of the following operations item:

采用问题自动扩充模板,对知识库中的问题进行问法的多样性扩充,并将扩充的结果与对应问题进行关联;Use the question automatic expansion template to expand the diversity of the questions in the knowledge base, and associate the expanded results with the corresponding questions;

采用问题理解分类模板,对知识库中的问题按照语义理解进行分类;Use the problem understanding classification template to classify the problems in the knowledge base according to the semantic understanding;

对用户与人工客服之间的对话日志、和/或用户与对话机器人之间的对话日志进行分析与整理,以供从对话日志中学习新的知识点并保存到知识库中或基于对话日志强化知识库中已保存的现有知识点。Analyze and organize the dialogue logs between the user and the human customer service, and/or the dialogue logs between the user and the dialogue robot, so as to learn new knowledge points from the dialogue logs and save them in the knowledge base or strengthen them based on the dialogue logs Existing knowledge points saved in the knowledge base.

进一步地,为实现上述目的,本发明还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有人机对话程序,所述人机对话程序被处理器执行时实现如上述任一项所述的人机对话处理方法的步骤。Further, in order to achieve the above object, the present invention also provides a computer-readable storage medium, on which a man-machine dialogue program is stored, and when the man-machine dialogue program is executed by a processor, any of the above-mentioned The steps of the man-machine dialogue processing method described in item.

本发明中,一方面将对话机器人按照工作角色划分为接待机器人和任务处理机器人,另一方面基于机器人的工作角色而进行知识库的细分,以使不同的机器人拥有各自的知识库,接待机器人负责接收与识别用户提出的问题,进而实现对用户问题的初步划分,若是任务型问题,则将问题对应的任务分发给对应的任务处理机器人执行,从而在处理上实现对用户问题的进一步细分,而若不是任务型问题,则通过查找自身知识库来返回该问题的答案。通过上述两个方面的划分,并采用任务分发的方式处理用户问题,这不仅减少了对话机器人在知识库中匹配查找答案的工作量,提升了工作效率,而且还提升了对话机器人的专业服务能力。In the present invention, on the one hand, the dialogue robots are divided into reception robots and task processing robots according to their job roles; Responsible for receiving and identifying questions raised by users, and then realize the preliminary division of user questions. If it is a task-type question, distribute the task corresponding to the question to the corresponding task processing robot for execution, so as to realize further subdivision of user questions in terms of processing , and if it is not a task-type question, the answer to the question is returned by searching its own knowledge base. Through the division of the above two aspects and the use of task distribution to deal with user questions, this not only reduces the workload of the dialogue robot to match and find answers in the knowledge base, improves work efficiency, but also improves the professional service capabilities of the dialogue robot .

附图说明Description of drawings

图1为本发明实施例方案涉及的设备硬件运行环境的结构示意图;Fig. 1 is a schematic structural diagram of the device hardware operating environment involved in the solution of the embodiment of the present invention;

图2为本发明人机对话处理方法一实施例中对话机器人的功能架构示意图;Fig. 2 is a schematic diagram of the functional architecture of the dialogue robot in an embodiment of the man-machine dialogue processing method of the present invention;

图3为本发明人机对话处理方法一实施例的流程示意图;Fig. 3 is a schematic flow chart of an embodiment of the man-machine dialogue processing method of the present invention;

图4为本发明人机对话处理方法所采用的知识库一实施例的内容构造示意图。Fig. 4 is a schematic diagram of the content structure of an embodiment of the knowledge base used in the man-machine dialogue processing method of the present invention.

本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization of the purpose of the present invention, functional characteristics and advantages will be further described in conjunction with the embodiments and with reference to the accompanying drawings.

具体实施方式Detailed ways

应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

如图1所示,图1是本发明实施例方案涉及的设备硬件运行环境的结构示意图。As shown in FIG. 1 , FIG. 1 is a schematic structural diagram of the hardware operating environment of the device involved in the solution of the embodiment of the present invention.

本发明实施例人机对话设备可以是PC机、服务器,也可以是智能手机、平板电脑、便携计算机、智能玩具等具有显示或录音播放功能的设备,人机对话的过程可以是语音形式对话,也可以是文字形式对话,也可以是语音+文字形式对话。The human-machine dialogue device in the embodiment of the present invention can be a PC, a server, or a device with a display or recording and playback function such as a smart phone, a tablet computer, a portable computer, or a smart toy. The process of the man-machine dialogue can be a voice dialogue, It can also be a dialogue in the form of text, or a dialogue in the form of voice + text.

如图1所示,该人机对话设备可以包括:处理器1001,例如CPU,通信总线1002、用户接口1003,网络接口1004,存储器1005。其中,通信总线1002用于实现这些组件之间的连接通信。用户接口1003可以包括显示屏(Display)、输入单元比如键盘(Keyboard),可选用户接口1003还可以包括标准的有线接口、无线接口。网络接口1004可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。存储器1005可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器。存储器1005可选的还可以是独立于前述处理器1001的存储设备。As shown in FIG. 1 , the man-machine dialogue device may include: a processor 1001 , such as a CPU, a communication bus 1002 , a user interface 1003 , a network interface 1004 , and a memory 1005 . Wherein, the communication bus 1002 is used to realize connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. Optionally, the network interface 1004 may include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 can be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a disk memory. Optionally, the memory 1005 may also be a storage device independent of the aforementioned processor 1001 .

可选地,人机对话设备还可以包括摄像头、RF(Radio Frequency,射频)电路,传感器、音频电路、WiFi模块等等。Optionally, the man-machine dialogue device may also include a camera, an RF (Radio Frequency, radio frequency) circuit, a sensor, an audio circuit, a WiFi module, and the like.

本领域技术人员可以理解,图1中示出的人机对话设备的硬件结构并不构成对人机对话设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Those skilled in the art can understand that the hardware structure of the human-machine dialogue device shown in Figure 1 does not constitute a limitation to the human-machine dialogue device, and may include more or less components than those shown in the illustration, or combine certain components, or different component arrangements.

如图1所示,作为一种计算机可读存储介质的存储器1005中可以包括操作系统、网络通信模块、用户接口模块以及计算机程序,比如人机对话程序、知识库优化程序等。其中,操作系统是管理和控制人机对话设备与软件资源的程序,支持网络通信模块、用户接口模块、人机对话程序、知识库优化程序以及其他程序或软件的运行;网络通信模块用于管理和控制网络接口1002;用户接口模块用于管理和控制用户接口1003。As shown in FIG. 1 , the memory 1005 as a computer-readable storage medium may include an operating system, a network communication module, a user interface module, and computer programs, such as man-machine dialogue programs, knowledge base optimization programs, and the like. Among them, the operating system is a program that manages and controls man-machine dialogue equipment and software resources, and supports the operation of network communication modules, user interface modules, man-machine dialogue programs, knowledge base optimization programs, and other programs or software; network communication modules are used to manage and control the network interface 1002; the user interface module is used to manage and control the user interface 1003.

在图1所示的人机对话设备硬件结构中,网络接口1004主要用于连接系统后台,与系统后台进行数据通信;用户接口1003主要用于连接客户端(用户端),与客户端进行数据通信;人机对话设备通过处理器1001调用存储器1005中存储的人机对话程序,以执行以下操作:In the hardware structure of the man-machine dialogue device shown in Figure 1, the network interface 1004 is mainly used to connect to the system background and perform data communication with the system background; the user interface 1003 is mainly used to connect to the client (client) and perform data communication with the client Communication; the man-machine dialogue device invokes the man-machine dialogue program stored in the memory 1005 through the processor 1001 to perform the following operations:

接待机器人接收用户提出的问题,并基于自身知识库,识别该问题是否为任务型问题;The reception robot receives the question raised by the user, and based on its own knowledge base, identifies whether the question is a task-type question;

若为任务型问题,则接待机器人将该问题对应的任务,分发给拥有该任务执行能力的处理机器人,以供该处理机器人基于自身知识库执行该任务;If it is a task-type problem, the reception robot will distribute the task corresponding to the problem to the processing robot that has the ability to execute the task, so that the processing robot can perform the task based on its own knowledge base;

若不为任务型问题,则接待机器人通过查找自身知识库,返回该问题的答案。If it is not a task-type question, the reception robot will return the answer to the question by searching its own knowledge base.

进一步地,所述人机对话设备通过处理器1001调用存储器1005中存储的人机对话程序,以执行以下操作:Further, the man-machine dialogue device invokes the man-machine dialogue program stored in the memory 1005 through the processor 1001 to perform the following operations:

接待机器人对用户提出的问题进行清洗,以供将问题中无效的字、和/或词、和/或词组清除;以及The reception robot cleans the question raised by the user to remove invalid words, and/or words, and/or phrases in the question; and

将清洗后的问题中的缩略词和/或口语化词进行补全。Complete acronyms and/or colloquial words in cleaned questions.

进一步地,所述人机对话设备通过处理器1001调用存储器1005中存储的人机对话程序,以执行以下操作:Further, the man-machine dialogue device invokes the man-machine dialogue program stored in the memory 1005 through the processor 1001 to perform the following operations:

接待机器人对清洗且补全后的问题进行意图识别,以供确定该问题的类型,所述类型至少包括:解释类型、原因类型、时间类型。The reception robot performs intent recognition on the cleaned and completed question to determine the type of the question, and the type at least includes: explanation type, reason type, and time type.

进一步地,所述人机对话设备通过处理器1001调用存储器1005中存储的人机对话程序,以执行以下操作:Further, the man-machine dialogue device invokes the man-machine dialogue program stored in the memory 1005 through the processor 1001 to perform the following operations:

在接收到接待机器人分发的任务后,处理机器人基于自身知识库中的任务知识库,执行接待机器人分发的任务,并将任务执行结果作为答案返回。After receiving the task distributed by the reception robot, the processing robot executes the task distributed by the reception robot based on the task knowledge base in its own knowledge base, and returns the task execution result as an answer.

进一步地,所述人机对话设备通过处理器1001调用存储器1005中存储的人机对话程序,以执行以下操作:Further, the man-machine dialogue device invokes the man-machine dialogue program stored in the memory 1005 through the processor 1001 to perform the following operations:

若不为任务型问题,则接待机器人基于自身知识库中的业务知识库,对该问题分别进行问句匹配与检索排序,以及基于自身知识库中的知识图谱库,对该问题进行知识推理,得到结果集;If it is not a task-type question, the reception robot will perform question matching and retrieval sorting on the question based on the business knowledge base in its own knowledge base, and perform knowledge reasoning on the question based on the knowledge graph database in its own knowledge base. get the result set;

判断所述结果集中是否存在满足预置要求的答案;Judging whether there is an answer that meets the preset requirements in the result set;

若存在满足所述预置要求的答案,则返回该答案,并推荐与该问题相似的其他问题。If there is an answer that meets the preset requirements, the answer is returned, and other questions similar to the question are recommended.

进一步地,所述人机对话设备通过处理器1001调用存储器1005中存储的人机对话程序,以执行以下操作:Further, the man-machine dialogue device invokes the man-machine dialogue program stored in the memory 1005 through the processor 1001 to perform the following operations:

若不存在满足所述预置要求的答案,则接待机器人查找自身知识库中的闲聊知识库;If there is no answer that meets the preset requirements, the reception robot searches the chat knowledge base in its own knowledge base;

若该闲聊知识库中存在对应答案,则返回该答案,否则返回预置的默认答案。If there is a corresponding answer in the gossip knowledge base, the answer is returned; otherwise, a preset default answer is returned.

进一步地,所述人机对话设备通过处理器1001调用存储器1005中存储的知识库优化程序,以执行下述操作中的任意一项或多项:Further, the man-machine dialogue device invokes the knowledge base optimization program stored in the memory 1005 through the processor 1001 to perform any one or more of the following operations:

采用问题自动扩充模板,对知识库中的问题进行问法的多样性扩充,并将扩充的结果与对应问题进行关联;Use the question automatic expansion template to expand the diversity of the questions in the knowledge base, and associate the expanded results with the corresponding questions;

采用问题理解分类模板,对知识库中的问题按照语义理解进行分类;Use the problem understanding classification template to classify the problems in the knowledge base according to the semantic understanding;

对用户与人工客服之间的对话日志、和/或用户与对话机器人之间的对话日志进行分析与整理,以供从对话日志中学习新的知识点并保存到知识库中或基于对话日志强化知识库中已保存的现有知识点。Analyze and organize the dialogue logs between the user and the human customer service, and/or the dialogue logs between the user and the dialogue robot, so as to learn new knowledge points from the dialogue logs and save them in the knowledge base or strengthen them based on the dialogue logs Existing knowledge points saved in the knowledge base.

基于上述人机对话设备硬件结构,提出本发明人机对话处理方法的各个实施例。Based on the above-mentioned hardware structure of the man-machine dialogue device, various embodiments of the man-machine dialogue processing method of the present invention are proposed.

参照图2,图2为本发明人机对话处理方法一实施例中对话机器人的功能架构示意图。Referring to FIG. 2 , FIG. 2 is a schematic diagram of the functional architecture of the dialogue robot in an embodiment of the man-machine dialogue processing method of the present invention.

如图2所示,人机对话具体是指用户与机器之间的对话交互。本实施例中,对话机器人具体为人机对话程序中虚拟出来用于与用户进行对话的虚拟对象,基于工作角色的不同,对话机器人可划分为接待机器人(图示为接待员)与处理机器人(图示为处理员),接待机器人与处理机器人的工作角色类似于现实中的人工客服与人工技术员,因此不做过多赘述。As shown in Figure 2, the human-machine dialogue specifically refers to the dialogue interaction between the user and the machine. In this embodiment, the dialogue robot is specifically a virtual object virtualized in the man-machine dialogue program for dialogue with the user. Based on the different job roles, the dialogue robot can be divided into a reception robot (receptionist in the figure) and a processing robot (receptionist in the figure). Shown as a processor), the job roles of reception robots and processing robots are similar to human customer service and human technicians in reality, so I won’t go into details.

例如,用户使用的理财APP具有智能语音助手功能,用户可以与该智能语音助手进行对话,如果用户提问为一般性问题,则直接由接待机器人进行答复,而若为专业性问题,比如开户、借款、购买理财产品等,则接待机器人将该问题转给具有对应业务能力的处理机器人进行答复。For example, the wealth management app used by the user has the function of an intelligent voice assistant. The user can have a conversation with the intelligent voice assistant. If the user asks a general question, the reception robot will answer it directly. If it is a professional question, such as opening an account, borrowing money , purchase of wealth management products, etc., the reception robot will transfer the question to a processing robot with corresponding business capabilities to answer.

本实施例中,接待机器人和处理机器人分别拥有各自的知识库,各机器人基于自身的知识库对用户问题进行答复。需要说明的是,接待机器人和处理机器人各自使用的知识库可以是内容与构造都相同,也可以是内容与构造都不相同,或者也可以是构造相同而内容不同。In this embodiment, the reception robot and the processing robot have their own knowledge bases, and each robot answers user questions based on its own knowledge base. It should be noted that the knowledge bases used by the reception robot and the processing robot may have the same content and structure, or may have different content and structure, or may have the same structure but different content.

接待机器人和处理机器人之间可以相互学习对方的知识库。接待机器人主要负责识别用户的提问是否为任务型问题,若是,则将该问题对应的任务分发给拥有该任务执行能力的处理机器人,然后再由处理机器人接管接待机器人的角色继续执行该任务,并与用户进行后续的交互直到任务完成后,再重新交付给接待机器人进行下一次的用户提问处理,比如开户任务需要用户输入姓名、身份证号、手机号,处理机器人执行完该开户任务后将结果返回给用户,同时将当前对话重新交付给接待机器人。The reception robot and the processing robot can learn from each other's knowledge base. The reception robot is mainly responsible for identifying whether the user's question is a task-type question, and if so, distributes the task corresponding to the question to a processing robot that has the ability to perform the task, and then the processing robot takes over the role of the reception robot to continue performing the task, and After the subsequent interaction with the user until the task is completed, it is re-delivered to the reception robot for the next user question processing. For example, the account opening task requires the user to enter the name, ID number, and mobile phone number. Return to the user while re-delivering the current conversation to the reception bot.

此外,本领域技术人员可以理解的是,为保证人机对话的服务质量与安全性,在人机对话过程中,针对运营商的业务流程设计或者用户个人需要,在对话机器人的后台可以引入人工客服参与,比如针对开户业务需要进行人工审核。In addition, those skilled in the art can understand that, in order to ensure the service quality and security of man-machine dialogue, in the process of man-machine dialogue, according to the operator's business process design or the user's personal needs, human customer service can be introduced in the background of the dialogue robot Participation, such as manual review for account opening business.

参照图3,图3为本发明人机对话处理方法第一实施例的流程示意图。本实施例中,人机对话处理方法包括以下步骤:Referring to FIG. 3 , FIG. 3 is a schematic flow chart of the first embodiment of the method for man-machine dialogue processing according to the present invention. In this embodiment, the man-machine dialogue processing method includes the following steps:

步骤S10,接待机器人接收用户提出的问题,并基于自身知识库,识别该问题是否为任务型问题;Step S10, the reception robot receives the question raised by the user, and based on its own knowledge base, identifies whether the question is a task-type question;

本发明中需要重点说明的是,用户提出的问题并非指绝对意义上的问题,比如“请问今天天气怎样?”,而是泛指用户需要对话机器人给出回复的一种交流形式,该交流形式可以是:提问、请求、命令、解释、征询意见、夸奖等。例如,用户提出的问题可以是“你真可爱”、“你好吗”、“请问公交站怎么走”、“请唱一首歌”、“给我关闭基金账户”等等。What needs to be emphasized in the present invention is that the question raised by the user does not refer to a question in an absolute sense, such as "how is the weather today?" Can be: questions, requests, orders, explanations, advice, compliments, etc. For example, the user's question can be "you are so cute", "how are you", "how to get to the bus stop", "please sing a song", "close the fund account for me" and so on.

同时,本实施例对于用户提出问题的形式不限,比如,文字形式或者语音形式。若用户提出的问题为语音形式,则接待机器人接收到该语音问题后,需要先进行语音识别,以得到对应文字形式的问题。At the same time, this embodiment is not limited to the form in which the user asks the question, for example, a text form or a voice form. If the question raised by the user is in voice form, after receiving the voice question, the reception robot needs to perform voice recognition to obtain the corresponding text form of the question.

本实施例中,对于接待机器人所使用的知识库的具体内容及构造形式不限,但接待机器人基于自身的知识库,可以识别用户提出的问题是否为任务型问题。In this embodiment, the specific content and structure of the knowledge base used by the reception robot are not limited, but the reception robot can identify whether the question raised by the user is a task-type question based on its own knowledge base.

本实施例将用户提出的问题划分为任务型问题与非任务型问题两大类。任务型问题具体是指对话机器人需要通过执行任务的方式答复用户的问题。例如,用户提问“请给我开个户好吗?”,此时接待机器人的答复不能只是“好的”,因为这种答复并未解决用户的问题,因此接待机器人还应该执行该任务型问题所对应的任务,才能真正解决用户提出的问题。In this embodiment, the questions raised by users are divided into two categories: task-type questions and non-task-type questions. Task-type questions specifically mean that the dialogue robot needs to answer the user's questions by performing tasks. For example, when a user asks "Can I open an account?", the reception robot's answer cannot be just "yes", because this answer does not solve the user's problem, so the reception robot should also perform the task-type question The corresponding tasks can truly solve the problems raised by users.

对于接待机器人识别用户提出的问题是否为任务型问题的方式不限。例如,可将识别是否为任务型问题转换为识别是否要执行任务,而对于是否要执行任务的方式可采用任务问题模板进行判断。比如,预先设置好处理机器人所支持的所有任务的问题模板,一个问题模板可对应多种提问方式。例如,开户任务的任务问题模板对应的提问方式可以为“请帮我开户”、“我要开户”、“开个户吧”、“开个户可以吗”等等。There is no limit to the manner in which the reception robot identifies whether the question raised by the user is a task-type question. For example, identifying whether a task-type question can be converted into identifying whether a task is to be performed, and a task question template can be used to judge whether a task is to be performed. For example, pre-set question templates for handling all tasks supported by the robot, and one question template can correspond to multiple ways of asking questions. For example, the task question template of the account opening task can be asked in the following ways: "Please open an account for me", "I want to open an account", "Open an account", "Is it okay to open an account" and so on.

再例如,任务型问题的识别使用关键词和模式来触发,比如模式:“*预定*会议室*”,当用户的提问符合该模式时即触发预定会议室的任务执行。比如用户提问“我要预定明天上午9点到10点7楼的会议室”,这句话触发了上面的预定会议室的模式,于是进入会议室预定的任务流程,该任务流程需要一些必要的参数比如时间、楼层等,而刚好这句话中包含了时间和楼层,于是将它们识别出来后并将其填写进预定会议室的任务接口,然后由处理机器人发起预定会议室的基础操作。For another example, the identification of task-type questions is triggered by keywords and patterns, such as the pattern: "*reserved*meeting room*". When the user's question matches this pattern, it will trigger the task execution of the reserved meeting room. For example, the user asks "I want to reserve the meeting room on the 7th floor from 9 am to 10 am tomorrow", this sentence triggers the mode of booking the meeting room above, and then enters the task process of meeting room reservation, which requires some necessary Parameters such as time, floor, etc., and just this sentence contains time and floor, so they are identified and filled in the task interface of booking a conference room, and then the processing robot initiates the basic operation of booking a conference room.

步骤S20,若为任务型问题,则接待机器人将该问题对应的任务,分发给拥有该任务执行能力的处理机器人,以供该处理机器人基于自身知识库执行该任务;Step S20, if it is a task-type problem, the reception robot distributes the task corresponding to the problem to a processing robot that has the ability to execute the task, so that the processing robot can execute the task based on its own knowledge base;

本实施例中,接待机器人在识别用户提出的问题时,不仅可以识别问题是否为任务型问题,同时还可以确定任务型问题所对应的任务。例如,用户的提问为“开个户可以吗”,则接待机器人识别该问题为任务型问题,并可确定该问题对应的任务为“开户任务”。In this embodiment, when the reception robot identifies a question raised by a user, it can not only identify whether the question is a task-type question, but also determine the task corresponding to the task-type question. For example, if the user asks "Is it possible to open an account", the reception robot will recognize the question as a task-type question and determine that the task corresponding to the question is "account opening task".

本实施例对于确定任务型问题的方式不限。比如,可预先设置处理机器人所支持的所有任务,并设置每一任务所对应的任务关键字,如果任务型问题中包含有任务关键字,则可确定该任务型问题所对应的任务,如下表1所示。In this embodiment, the manner of determining the task-type problem is not limited. For example, all the tasks supported by the processing robot can be pre-set, and the task keywords corresponding to each task can be set. If the task-type question contains the task keyword, the task corresponding to the task-type question can be determined, as shown in the following table 1.

表1Table 1

任务类型task type 任务关键字task keyword 开户open an account 开户、立户、户头open an account, open an account, account 借款loan 借、借钱、贷款、借款borrow, borrow money, loan, loan 购买Buy 买、购买buy, buy

如果接待机器人识别出用户提出的问题为任务型问题,则接待机器人将该问题对应的任务分发给拥有该任务执行能力的处理机器人。本实施例中,不同的处理机器人对应处理不同的任务,也即不同的处理机器人拥有不同的任务执行能力。If the reception robot recognizes that the question raised by the user is a task-type question, the reception robot distributes the task corresponding to the question to a processing robot that has the ability to execute the task. In this embodiment, different processing robots correspond to different tasks, that is, different processing robots have different task execution capabilities.

本实施例中,处理机器人具体基于自身知识库执行任务,具体执行方式不限。需要进一步说明的是,处理机器人在执行任务的过程中还可以继续与用户进行对话,该对话形式可以是用户直接与处理机器人的对话形式。In this embodiment, the processing robot specifically executes the task based on its own knowledge base, and the specific execution manner is not limited. It should be further explained that the processing robot may continue to have a dialogue with the user during the process of performing the task, and the form of the dialogue may be a form of dialogue between the user and the processing robot directly.

步骤S30,若不为任务型问题,则接待机器人通过查找自身知识库,返回该问题的答案。Step S30, if it is not a task-type question, the reception robot returns the answer to the question by searching its own knowledge base.

如果用户提出的问题不是任务型问题,则该问题无需分发给处理机器人进行处理,而是直接由接待机器人通过查找自身知识库,以向用户返回问题的答案。需要说明的是,接待机器人返回的答案有可能在其自身知识库中,也有可能不在,但最终接待机器人都会返回一个答复给到用户。If the question raised by the user is not a task-type question, the question does not need to be distributed to the processing robot for processing, but the reception robot directly returns the answer to the user by searching its own knowledge base. It should be noted that the answer returned by the reception robot may or may not be in its own knowledge base, but eventually the reception robot will return a reply to the user.

本实施例中,一方面将对话机器人按照工作角色划分为接待机器人和任务处理机器人,另一方面基于机器人的工作角色而进行知识库的细分,以使不同的机器人拥有各自的知识库,接待机器人负责接收与识别用户提出的问题,进而实现对用户问题的初步划分,若是任务型问题,则将问题对应的任务分发给对应的任务处理机器人执行,从而在处理上实现对用户问题的进一步细分,而若不是任务型问题,则通过查找自身知识库来返回该问题的答案。通过上述两个方面的划分,并采用任务分发的方式处理用户问题,这不仅减少了对话机器人在知识库中匹配查找答案的工作量,提升了工作效率,而且还提升了对话机器人的专业服务能力。In this embodiment, on the one hand, the dialogue robots are divided into reception robots and task processing robots according to their job roles; The robot is responsible for receiving and identifying the questions raised by the user, and then realizes the preliminary division of the user's questions. If it is a task-type question, the task corresponding to the question will be distributed to the corresponding task processing robot for execution, so as to realize further detailed processing of the user's questions. If it is not a task-type question, it returns the answer to the question by searching its own knowledge base. Through the division of the above two aspects and the use of task distribution to deal with user questions, this not only reduces the workload of the dialogue robot to match and find answers in the knowledge base, improves work efficiency, but also improves the professional service capabilities of the dialogue robot .

进一步可选的,在本发明人机对话处理方法第二实施例中,接待机器人在识别用户提出的问题是否为任务型问题之前,还进行如下预处理:Further optionally, in the second embodiment of the man-machine dialogue processing method of the present invention, the reception robot also performs the following preprocessing before identifying whether the question raised by the user is a task-type question:

(1)接待机器人对用户提出的问题进行清洗,以供将问题中无效的字、和/或词、和/或词组清除;(1) The reception robot cleans the questions raised by the users, so as to remove invalid words, and/or words, and/or phrases in the questions;

本实施例中,问题清洗主要是指剔除问题中无关紧要、没有意义的无效字、词或词组。比如“我想问”、“请告诉我”,这些词组非但对整个问题没有意义,甚至还会对机器人答复问题带来干扰。In this embodiment, question cleaning mainly refers to eliminating irrelevant and meaningless invalid words, words or phrases in the question. For example, "I want to ask", "Please tell me", these phrases are not only meaningless to the whole question, but even interfere with the robot's answer to the question.

本实施例中,对于问题清洗的实现方式不限。例如,预先设置无效字词库,包含有无效词、短语、短句集合以及句式模式,当问句符合了某句式模式及该模式下的无效词、短语、短句,即将对应无效的部分剔除掉。比如用户经常使用的口语化助词:“啊、吗”、“可以吗”、“行不”等,在问题清洗过程中,对问题进行语义划分,并基于无效字词库,对进行语义划分后的问题内容进行清洗,从而将问题中无效的字、和/或词、和/或词组清除。In this embodiment, there is no limit to the implementation manner of problem cleaning. For example, the invalid words and phrases library is pre-set, including invalid words, phrases, short sentence sets and sentence patterns. Partially removed. For example, the colloquial auxiliary words often used by users: "ah, what", "is it possible", "does it work", etc., in the process of question cleaning, the semantic division of the question is carried out, and based on the invalid word lexicon, after the semantic division The content of the question is cleaned, thereby removing invalid words, and/or words, and/or phrases in the question.

(2)将清洗后的问题中的缩略词和/或口语化词进行补全;(2) Complete the abbreviations and/or colloquial words in the cleaned questions;

本实施例中,问题补全主要是指将用户提问中的缩略词或者口语化的词进行补全,从而使提问内容更加清楚明了。比如“我借的钱应该什么时候还”应该补全为“我借的钱什么时候还款”。In this embodiment, the question completion mainly refers to completing the abbreviations or colloquial words in the user's question, so as to make the content of the question clearer. For example, "When should I repay the money I borrowed" should be completed as "When should I repay the money I borrowed".

本实施例中,对于问题补全的实现方式不限。例如,预先设置问题补全字词库,由缩略词与完整词映射关系集合以及句式模式组成,当问句符合了某句式模式及该模式下的缩略词,即将缩略词替换为完整词。比如,可以预先设置常用的口语化词、缩略词所对应的补全方式,也可以将原问题进行问法上的替换,从而实现对原问题的补全。In this embodiment, there is no limit to the way of implementing question completion. For example, the pre-set question completion word library is composed of a collection of acronyms and complete word mappings and sentence patterns. When a question matches a certain sentence pattern and the abbreviations in this pattern, the acronym will be replaced. for complete words. For example, the completion methods corresponding to commonly used colloquial words and abbreviations can be set in advance, and the original question can also be replaced in terms of asking method, so as to realize the completion of the original question.

(3)接待机器人对清洗且补全后的问题进行意图识别,以供确定该问题的类型,所述类型至少包括:解释类型、原因类型、时间类型。(3) The reception robot conducts intent recognition on the cleaned and completed question to determine the type of the question, and the type includes at least: explanation type, reason type, and time type.

本实施例中,意图识别主要是指对用户提问进行一些意图上的分类,比如划分为“解释类”的提问、“原因类”的提问、“时间类”的提问等。In this embodiment, intent recognition mainly refers to classifying the user's questions on intentions, such as "interpretation-type" questions, "reason-type" questions, and "time-type" questions.

本实施例对于意图识别的实现方式不限。例如,先对问题进行语义划分,比如划分为执行主语、执行动作、时间状语、语气副词等,然后再基于语义划分,确定用户提问的意图,比如“我要什么时候还款”可以归为“时间类”问题、“怎么开户”可以归为“解释类”问题、“为什么不能贷款”则可以归为“原因类”。This embodiment is not limited to the implementation manner of the intention recognition. For example, first semantically divide the question, such as executive subject, executive action, time adverb, mood adverb, etc., and then determine the intention of the user's question based on the semantic division, such as "When will I repay the loan" can be classified as " Questions about time” and “how to open an account” can be classified as “explanation” questions, and “why you can’t get a loan” can be classified as “reasons”.

当然,本实施例中还可以对用户提出的问题做进一步的分类,比如“解释类”可以进一步划分为“业务条件解释”、“业务内容解释”、“业务处理结果解释”等类别。Of course, in this embodiment, the questions raised by users can be further classified. For example, "explanation category" can be further divided into categories such as "business condition explanation", "business content explanation" and "business processing result explanation".

本实施例中,在接待机器人判断用户提出的问题是否为任务型问题之前,先对接收到的问题进行清洗、补全、意图识别等预处理,从而可提升对话机器人对问题的理解能力,进而提升问题答案的查找效率与准确率。In this embodiment, before the reception robot judges whether the question raised by the user is a task-type question, it first performs preprocessing on the received question, such as cleaning, completion, and intention recognition, so as to improve the dialogue robot's ability to understand the question, and then Improve the efficiency and accuracy of finding answers to questions.

参照图4,图4为本发明人机对话处理方法所采用的知识库一实施例的内容构造示意图。Referring to FIG. 4 , FIG. 4 is a schematic diagram of the content structure of an embodiment of the knowledge base used in the man-machine dialogue processing method of the present invention.

如图4所示,本实施例中,知识库至少包括:闲聊知识库、知识图谱库、业务知识库以及任务知识库。As shown in FIG. 4 , in this embodiment, the knowledge base includes at least: a gossip knowledge base, a knowledge graph base, a business knowledge base, and a task knowledge base.

(1)闲聊知识库(1) Chat knowledge base

闲聊知识库中主要存储预置的日常问答用语集合,比如“你真可爱”对应“谢谢夸奖”;“你可以唱首歌吗”对应“好的,请问您想听什么歌曲”等等,主要用于回答用户的一些日常用语对话。The chat knowledge base mainly stores a set of preset daily question and answer terms, such as "You are so cute" corresponds to "Thank you for the compliment"; "Can you sing a song" corresponds to "Okay, what song do you want to hear", etc. It is used to answer some daily language dialogues of users.

闲聊知识库中的日常问答用语主要是通过离线学习的方式整理得到的通用数据,因此不需要知识库管理员进行人工编辑。The daily question-and-answer terms in the chat knowledge base are mainly general data obtained through offline learning, so manual editing by the knowledge base administrator is not required.

(2)知识图谱库(2) Knowledge graph library

知识图谱库中存储了若干用于推理的知识,比如与开户有关的知识图谱、与借款有关的知识图谱等,或者与用户对话主题相关的知识图谱,比如天气知识图谱、汽车知识图谱、明星知识图谱等,主要用于答复过程中进行知识的推理。The knowledge graph library stores several knowledge for reasoning, such as knowledge graphs related to account opening, knowledge graphs related to borrowing, etc., or knowledge graphs related to user dialogue topics, such as weather knowledge graphs, car knowledge graphs, star knowledge Maps, etc., are mainly used for knowledge reasoning in the reply process.

知识图谱主要是通过离线学习的方式整理得到的通用数据,因此不需要知识库管理员进行人工编辑。The knowledge map is mainly general data obtained through offline learning, so manual editing by the knowledge base administrator is not required.

(3)业务知识库(3) Business knowledge base

业务知识库中存储预置的问题与答案集合,该知识库的内容主要与业务相关,因而主要由知识库管理员通过人工编辑形成。比如,问题为上班时间安排,则对应的答案为周一到周五、上午9点到下午17点;问题为贷款还款年限,则对应的答案是5年、10年、15年、20年、30年。The business knowledge base stores a set of preset questions and answers. The content of the knowledge base is mainly related to the business, so it is mainly formed by the knowledge base administrator through manual editing. For example, if the question is about working hours, the corresponding answers are Monday to Friday, 9 am to 17 pm; if the question is the loan repayment period, the corresponding answers are 5 years, 10 years, 15 years, 20 years, 30 years.

(4)任务知识库(4) Task knowledge base

任务知识库主要用于在处理机器人处理任务型问题对应的任务时提供支持。任务知识库主要包括以下集合内容:The task knowledge base is mainly used to provide support when dealing with tasks corresponding to task-type problems handled by robots. The task knowledge base mainly includes the following collection contents:

问题指令集合,用于标识任务型问题与对应执行的指令之间的映射关系;Question instruction set, used to identify the mapping relationship between task-type questions and corresponding execution instructions;

指令状态集合,用于标识指令与对应任务状态序列之间的映射关系;Instruction state set, which is used to identify the mapping relationship between the instruction and the corresponding task state sequence;

状态操作集合,用于标识任务状态与对应执行的操作之间的映射关系;The state operation set is used to identify the mapping relationship between the task state and the corresponding operation;

基本操作集合,包含多种基本操作,比如接收、获取、上传、下发、查询、删除、提示、压缩、显示等等。A collection of basic operations, including a variety of basic operations, such as receiving, obtaining, uploading, sending, querying, deleting, prompting, compressing, displaying, etc.

本实施例中,将待执行的任务分解为多个执行步骤、并依序执行。具体为:问题—>任务指令—>任务状态序列、任务状态—>操作,最终实现任务的完成。In this embodiment, the task to be executed is decomposed into multiple execution steps and executed sequentially. Specifically: problem—>task instruction—>task status sequence, task status—>operation, and finally achieve the completion of the task.

比如指令为“预定会议室”,状态包括“楼层”、“起始时间”、“结束时间”、“参会人数”等,操作包括“查询会议室所在楼层”、“查询所有会议室详情”、“查询某层会议室详情”、“预定会议室”、“取消会议室”等。For example, the instruction is "book a meeting room", the status includes "floor", "start time", "end time", "number of participants", etc., and the operations include "query the floor where the meeting room is located" and "query all meeting room details" , "Query the details of a meeting room on a certain floor", "Book a meeting room", "Cancel a meeting room", etc.

本实施例所采用的知识库的构造形式强化了对话机器人对用户提出的问题的理解能力,从而使得用户可以使用更自然的提问方式与机器人进行交互。The structural form of the knowledge base adopted in this embodiment strengthens the dialogue robot's ability to understand the questions raised by the user, so that the user can interact with the robot in a more natural way of asking questions.

可选的,基于上一实施例中的知识库的内容构造,在本发明人机对话处理方法第三实施例中,处理机器人在接收到接待机器人分发的任务后,基于自身知识库中的任务知识库,执行接待机器人分发的任务,并将任务执行结果作为答案返回。Optionally, based on the content structure of the knowledge base in the previous embodiment, in the third embodiment of the human-machine dialogue processing method of the present invention, after the processing robot receives the task distributed by the reception robot, based on the task in its own knowledge base, The knowledge base executes the tasks distributed by the reception robot and returns the task execution results as answers.

例如,任务型问题为“请帮我开户”,对应的任务为“开户任务”,处理机器人执行该任务的流程如下:For example, the task-type question is "Please help me open an account", and the corresponding task is "Account Opening Task". The process of processing the robot to perform this task is as follows:

1、通过问题“请帮我开户”,确定对应的指令为“执行开户任务”;1. Through the question "Please help me open an account", determine the corresponding instruction as "Execute the task of opening an account";

2、通过指令“执行开户任务”,确定对应的任务状态序列为:用户基本信息、信息验证、开户账户信息;2. Through the command "execute account opening task", determine the corresponding task status sequence as: user basic information, information verification, account opening account information;

2.1用户基本信息对应操作如下:提示用户输入基本信息、将信息打包上传后台;2.1 The corresponding operation of the user's basic information is as follows: Prompt the user to enter the basic information, package the information and upload it to the background;

2.2信息验证对应操作如下:提交信息、获取审核规则、基于审核规则验证信息、返回验证结果;2.2 The corresponding operations for information verification are as follows: submit information, obtain audit rules, verify information based on audit rules, and return verification results;

2.3开户账户信息对应操作如下:生成账户信息、提取账户信息中的相关信息、下发该相关信息。2.3 The corresponding operations for account opening and account information are as follows: generate account information, extract relevant information in the account information, and issue the relevant information.

进一步可选地,在本发明人机对话设备一实施例中,为进一步优化和提升对话机器人的答复能力,本实施例中,人机对话设备还包括:存储在存储器1005上的知识库优化程序,处理器1001配置为执行知识库优化程序以执行下述操作中的任意一项或多项:Further optionally, in an embodiment of the man-machine dialogue device of the present invention, in order to further optimize and enhance the answering ability of the dialogue robot, in this embodiment, the man-machine dialogue device further includes: a knowledge base optimization program stored in the memory 1005 , the processor 1001 is configured to execute a knowledge base optimization program to perform any one or more of the following operations:

操作一:采用问题自动扩充模板,对知识库中的问题进行问法的多样性扩充,并将扩充的结果与对应问题进行关联;该操作主要是对知识库管理员编辑的问题进行自动扩充,进而将表达相同意思的问句集合自动扩充出来。Operation 1: Use the question automatic expansion template to expand the diversity of questions in the knowledge base, and associate the expanded results with the corresponding questions; this operation is mainly to automatically expand the questions edited by the knowledge base administrator. Then the set of questions expressing the same meaning is automatically expanded.

例如,在开户这一问题上,有些用户可能会问“怎么办卡”、“办卡流程是什么”、“办卡的条件要求是什么”等等。比如用户编辑“什么是微粒贷”后,则本操作将自动间该问题扩充到“微粒贷介绍”、“微粒贷说明”等。For example, on the issue of account opening, some users may ask "how to apply for a card", "what is the process of applying for a card", "what are the conditions and requirements for applying for a card" and so on. For example, after a user edits "What is Weiweidai", this operation will automatically expand the question to "Introduction to Weiweidai", "Explanation of Weiweidai" and so on.

操作二:采用问题理解分类模板,对知识库中的问题按照语义理解进行分类;该操作可以提高机器人答复的处理速度与准确率。Operation 2: Use the question understanding classification template to classify the questions in the knowledge base according to the semantic understanding; this operation can improve the processing speed and accuracy of the robot's reply.

例如,先对问题进行语义划分,比如划分为执行主语、执行动作、时间状语、语气副词等,然后再基于语义划分,确定用户提问的意图,比如“我要什么时候还款”可以归为“时间类”问题、“怎么开户”可以归为“解释类”问题、“为什么不能贷款”则可以归为“原因类”。只要将用户问题的类别粒度分的足够细,就可以大大提高问题检索的准确率。For example, first semantically divide the question, such as executive subject, executive action, time adverb, mood adverb, etc., and then determine the intention of the user's question based on the semantic division, such as "When will I repay the loan" can be classified as " Questions about time” and “how to open an account” can be classified as “explanation” questions, and “why you can’t get a loan” can be classified as “reasons”. As long as the category granularity of user questions is fine enough, the accuracy of question retrieval can be greatly improved.

操作三:对用户与人工客服之间的对话日志、和/或用户与对话机器人之间的对话日志进行分析与整理,以供从对话日志中学习新的知识点并保存到知识库中或基于对话日志强化知识库中已保存的现有知识点。Operation 3: Analyze and organize the dialogue logs between the user and the human customer service, and/or the dialogue logs between the user and the dialogue robot, so as to learn new knowledge points from the dialogue logs and save them in the knowledge base or based on Dialogue logs reinforce existing knowledge points that have been saved in the knowledge base.

该操作实现了知识库的自动学习,学习新的知识点以扩大知识库,同时巩固现有知识点以提升机器人对问题的答复能力。对于自动学习的方式不限。例如采用学习模板、文本生成、seq2seq等机器学习方法从对话日子中挖掘出新的知识点(比如问题答案集合)。需要进一步说明的是,由于接待机器人与处理机器人分别使用各自的知识库,因此,为提升对话机器人的答复能力,因此,双方的知识库都可以进行相互学习,进而使得接待机器人或处理机器人可以拥有对方的答复能力,从而在整体上实现答复过程的高效、精确。This operation realizes the automatic learning of the knowledge base, learns new knowledge points to expand the knowledge base, and consolidates existing knowledge points to improve the robot's ability to answer questions. There is no limit to the automatic learning method. For example, machine learning methods such as learning templates, text generation, and seq2seq are used to mine new knowledge points (such as question and answer sets) from dialogue life. It should be further explained that since the reception robot and the processing robot use their own knowledge bases, in order to improve the answering ability of the dialogue robot, the knowledge bases of both parties can learn from each other, so that the reception robot or processing robot can have Response ability of the other party, so as to realize the efficiency and accuracy of the reply process as a whole.

进一步可选的,在本发明人机对话处理方法第四实施例中,基于本发明方法第一实施例,上所述步骤S30的实现包括如下步骤:Further optionally, in the fourth embodiment of the human-computer dialogue processing method of the present invention, based on the first embodiment of the method of the present invention, the implementation of the above-mentioned step S30 includes the following steps:

步骤S301,若不为任务型问题,则接待机器人基于自身知识库中的业务知识库,对该问题分别进行问句匹配与检索排序,以及基于自身知识库中的知识图谱库,对该问题进行知识推理,得到结果集;Step S301, if it is not a task-type question, then the reception robot performs question matching and retrieval sorting on the question based on the business knowledge base in its own knowledge base, and performs a search and sorting on the question based on the knowledge graph database in its own knowledge base. Knowledge reasoning, get the result set;

步骤S302,判断所述结果集中是否存在满足预置要求的答案;Step S302, judging whether there is an answer that meets the preset requirements in the result set;

步骤S303,若存在满足所述预置要求的答案,则返回该答案,并推荐与该问题相似的其他问题。Step S303, if there is an answer that meets the preset requirements, return the answer and recommend other questions similar to the question.

本实施例中,如果用户提出的问题不是任务型问题,则接待机器人分别基于自身知识库中的业务知识库与知识图谱库,查找该问题的对应答案。In this embodiment, if the question raised by the user is not a task-type question, the reception robot searches for the corresponding answer to the question based on the business knowledge base and the knowledge graph database in its own knowledge base.

(1)基于业务知识库,进行问句匹配与检索排序;(1) Based on the business knowledge base, perform question matching and retrieval sorting;

本实施例中,接待机器人将用户提出的问题与业务知识库中的问题进行逐一匹配,得到相应的匹配结果集;同时,将用户提出的问题分词后进行检索倒排索引,并对查找到的问题集合按照匹配词的权重进行排序,得到相应的检索结果集;In this embodiment, the reception robot matches the questions raised by the user with the questions in the business knowledge base one by one to obtain a corresponding matching result set; The question set is sorted according to the weight of the matching words, and the corresponding retrieval result set is obtained;

(2)基于知识图谱库,进行知识推理。(2) Carry out knowledge reasoning based on the knowledge graph library.

本实施例中,接待机器人还将基于知识图谱库,对用户提出的问题进行知识推理,得到相应的推理结果集。In this embodiment, the reception robot will also perform knowledge reasoning on the questions raised by the user based on the knowledge graph library, and obtain a corresponding reasoning result set.

上述匹配结果集、检索结果集与推理结果集构成了接待机器人的答复结果集,然后,接待机器人需要进一步判断该答复结果集中是否存在满足预置要求的答案,如果存在,则将该答案返回给用户。The above matching result set, retrieval result set and reasoning result set constitute the reply result set of the reception robot, and then the reception robot needs to further judge whether there is an answer that meets the preset requirements in the reply result set, and if so, return the answer to the user.

需要说明的是,本实施例对于预置要求的设置不限,具体根据实际需要进行设置。例如,预置要求可以设为:如果存在一个答案,则直接返回该答案作为用户问题的答复,而若存在多个答案,则优选匹配结果集中最优的答案,从匹配结果集、检索结果集与推理结果集选取最优结果。It should be noted that, in this embodiment, there is no limit to the setting of the preset requirement, which is specifically set according to actual needs. For example, the preset requirement can be set as follows: if there is one answer, it will be directly returned as the answer to the user's question, and if there are multiple answers, the optimal answer in the matching result set will be preferred, and the matching result set and the retrieval result set will be selected. Select the optimal result with the inference result set.

此外,为提升服务能力,在答复用户问题时,进一步将与用户提出的问题相似的其他问题推荐给用户。In addition, in order to improve service capabilities, when answering user questions, other questions similar to those raised by users are further recommended to users.

进一步可选的,在本发明人机对话处理方法第五实施例中,基于本发明方法第四实施例,本实施例中,人机对话处理方法还包括:Further optionally, in the fifth embodiment of the man-machine dialog processing method of the present invention, based on the fourth embodiment of the method of the present invention, in this embodiment, the man-machine dialog processing method further includes:

步骤S304,若不存在满足所述预置要求的答案,则接待机器人查找自身知识库中的闲聊知识库;Step S304, if there is no answer that meets the preset requirements, the reception robot searches the gossip knowledge base in its own knowledge base;

步骤S305,若该闲聊知识库中存在对应答案,则返回该答案,否则返回预置的默认答案。Step S305, if there is a corresponding answer in the gossip knowledge base, return the answer, otherwise return the preset default answer.

本实施例中,若接待机器人无法从业务知识库、知识图谱库中获得答案,则进一步在闲聊知识库中查找答案,查找方式可以为问句匹配、检索排序等方式。如果在闲聊知识库中查找到相应的闲聊结果,则将其作为答案返回给用户,否则选择人机对话设备预置的默认答案返回给用户,比如“很抱歉没有查找到符合要求的答案,我们会持续学习...”,诸如此类。In this embodiment, if the reception robot cannot obtain the answer from the business knowledge base and the knowledge graph database, it will further search for the answer in the chat knowledge base, and the search method can be question matching, retrieval and sorting, etc. If the corresponding gossip result is found in the gossip knowledge base, it will be returned to the user as an answer, otherwise, the default answer preset by the man-machine dialogue device will be selected and returned to the user, such as "I'm sorry that no answer that meets the requirements has been found, we Will keep learning...", and so on.

本发明还提供一种计算机可读存储介质。The present invention also provides a computer-readable storage medium.

本发明的计算机可读存储介质上存储有人机对话程序,该人机对话程序被处理器执行时实现上述人机对话处理方法任一实施例中的步骤。The computer-readable storage medium of the present invention stores a man-machine dialogue program, and when the man-machine dialogue program is executed by a processor, the steps in any embodiment of the above-mentioned man-machine dialogue processing method are realized.

进一步地,本发明的计算机可读存储介质上还可以存储有知识库优化程序,该知识库优化程序被处理器执行时执行下述操作中的任意一项或多项:Further, a knowledge base optimization program may also be stored on the computer-readable storage medium of the present invention, and when the knowledge base optimization program is executed by a processor, any one or more of the following operations may be performed:

采用问题自动扩充模板,对知识库中的问题进行问法的多样性扩充,并将扩充的结果与对应问题进行关联;Use the question automatic expansion template to expand the diversity of the questions in the knowledge base, and associate the expanded results with the corresponding questions;

采用问题理解分类模板,对知识库中的问题按照语义理解进行分类;Use the problem understanding classification template to classify the problems in the knowledge base according to the semantic understanding;

对用户与人工客服之间的对话日志、和/或用户与对话机器人之间的对话日志进行分析与整理,以供从对话日志中学习新的知识点并保存到知识库中或基于对话日志强化知识库中已保存的现有知识点。Analyze and organize the dialogue logs between the user and the human customer service, and/or the dialogue logs between the user and the dialogue robot, so as to learn new knowledge points from the dialogue logs and save them in the knowledge base or strengthen them based on the dialogue logs Existing knowledge points saved in the knowledge base.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.

上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the above embodiments of the present invention are for description only, and do not represent the advantages and disadvantages of the embodiments.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art can be embodied in the form of software products, and the computer software products are stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in various embodiments of the present invention.

上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,这些均属于本发明的保护之内。Embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementations, and the above-mentioned specific implementations are only illustrative, rather than restrictive, and those of ordinary skill in the art will Under the enlightenment of the present invention, without departing from the gist of the present invention and the scope of protection of the claims, many forms can also be made, and any equivalent structure or equivalent process transformation made by using the description and drawings of the present invention, or Directly or indirectly used in other relevant technical fields, these all belong to the protection of the present invention.

Claims (10)

1. a kind of human-computer dialogue processing method, which is characterized in that dialogue robot includes reception robot and handling machine people, institute Human-computer dialogue processing method is stated to include the following steps:
It receives robot and receives the problem of user proposes, and based on knowledge library, identify whether the problem is Task problem;
If Task problem, then robot is received by the corresponding task of the problem, is distributed to and possesses the Mission Capability Handling machine people, so that handling machine people performs the task based on knowledge library;
If not Task problem, then robot is received by searching for knowledge library, returns to the answer of the problem.
2. human-computer dialogue processing method as described in claim 1, which is characterized in that reception robot is proposed in identification user Before whether problem is Task problem, the human-computer dialogue processing method further includes:
Reception robot the problem of being proposed to user, cleans, for by word, and/or word invalid in problem, and/or phrase It removes;And
Initialism and/or colloquial style word in the problem of by after cleaning carry out completion.
3. human-computer dialogue processing method as claimed in claim 2, which is characterized in that the human-computer dialogue processing method is also wrapped It includes:
It receives the problem of robot is to after cleaning and completion and carries out intention assessment, for determining the type of the problem, the type It includes at least:Explain type, cause type, time type.
4. human-computer dialogue processing method as described in claim 1, which is characterized in that the knowledge base includes at least:Chat is known Know library, knowledge mapping library, professional knowledge library and task knowledge library;
The chat knowledge base includes preset daily question and answer term set;The knowledge mapping library includes several for reasoning Knowledge;The professional knowledge library includes the problem of preset and answer set;
The task knowledge library includes:
Problem instruction set, for identifying the mapping relations between Task problem and the instruction of corresponding execution;
Command status set, for identifying instruction and the mapping relations between corresponding task status sequence;
State operational set, for identifying the mapping relations between task status and the operation of corresponding execution;
Basic operation set includes a variety of basic operations.
5. human-computer dialogue processing method as claimed in claim 4, which is characterized in that the human-computer dialogue processing method is also wrapped It includes:
After the receiving the distribution of reception robot of the task, handling machine people is held based on the task knowledge library in knowledge library The task of row reception robot distribution, and returned task action result as answer.
6. human-computer dialogue processing method as claimed in claim 4, which is characterized in that if not the Task problem, then connect Robot is treated by searching for knowledge library, the step of answer for returning to the problem includes:
If not Task problem, then receive robot based on the professional knowledge library in knowledge library, to the problem respectively into Row question matching and retrieval ordering and based on the knowledge mapping library in knowledge library, carry out knowledge reasoning to the problem, obtain To result set;
Judge in the result set with the presence or absence of the answer for meeting preset requirement;
If in the presence of the answer for meeting the preset requirement, the answer is returned to, and recommend the other problems similar to the problem.
7. human-computer dialogue processing method as claimed in claim 6, which is characterized in that it is described judge in the result set whether After the step of answer for meeting preset requirement, the human-computer dialogue processing method further includes:
If there is no the answer for meeting the preset requirement, the chat knowledge base in robot lookup knowledge library is received;
If there is corresponding answer in the chat knowledge base, the answer is returned, otherwise returns to preset acquiescence answer.
8. a kind of man-machine dialogue equipment, which is characterized in that the man-machine dialogue equipment includes:It memory, processor and is stored in On the memory and the interactive program(me) that can run on the processor, the interactive program(me) is by the processor The step of human-computer dialogue processing method as described in any one of claim 1 to 7 is realized during execution.
9. man-machine dialogue equipment as claimed in claim 8, which is characterized in that the man-machine dialogue equipment further includes:It is stored in Knowledge base optimization program on the memory, it is following to perform that the processor is configured to perform the knowledge base optimization program It is any one or more in operation:
Template is expanded using problem automatically, the diversity that way to put questions is carried out to the problems in knowledge base expands, and by the result of expansion It is associated with correspondence problem;
Classification model is understood using problem, is classified to the problems in knowledge base according to semantic understanding;
The conversation log between conversation log, and/or user and dialogue robot between user and artificial customer service is divided Analysis and arrange, for from the new knowledge point of conversation log learning and be saved in knowledge base or based on conversation log strengthen knowledge The existing knowledge point preserved in library.
10. a kind of computer readable storage medium, which is characterized in that it is man-machine right to be stored on the computer readable storage medium Program is talked about, the human-computer dialogue as described in any one of claim 1 to 7 is realized when the interactive program(me) is executed by processor The step of processing method.
CN201711363313.3A 2017-12-18 2017-12-18 Human-computer dialogue processing method, equipment and readable storage medium storing program for executing Pending CN108197167A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711363313.3A CN108197167A (en) 2017-12-18 2017-12-18 Human-computer dialogue processing method, equipment and readable storage medium storing program for executing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711363313.3A CN108197167A (en) 2017-12-18 2017-12-18 Human-computer dialogue processing method, equipment and readable storage medium storing program for executing

Publications (1)

Publication Number Publication Date
CN108197167A true CN108197167A (en) 2018-06-22

Family

ID=62576955

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711363313.3A Pending CN108197167A (en) 2017-12-18 2017-12-18 Human-computer dialogue processing method, equipment and readable storage medium storing program for executing

Country Status (1)

Country Link
CN (1) CN108197167A (en)

Cited By (39)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108846125A (en) * 2018-06-29 2018-11-20 北京百度网讯科技有限公司 Talk with generation method, device, terminal and computer readable storage medium
CN108900726A (en) * 2018-06-28 2018-11-27 北京首汽智行科技有限公司 Artificial customer service forwarding method based on speech robot people
CN109033223A (en) * 2018-06-29 2018-12-18 北京百度网讯科技有限公司 For method, apparatus, equipment and computer readable storage medium across type session
CN109145100A (en) * 2018-08-24 2019-01-04 深圳追科技有限公司 A kind of the Task customer service robot system and its working method of customizable process
CN109376228A (en) * 2018-11-30 2019-02-22 北京猎户星空科技有限公司 A kind of information recommendation method, device, equipment and medium
CN109446305A (en) * 2018-10-10 2019-03-08 长沙师范学院 The construction method and system of intelligent tour customer service system
CN109597607A (en) * 2018-10-31 2019-04-09 拓科(武汉)智能技术股份有限公司 Task interactive system and its implementation, device and electronic equipment
CN109597993A (en) * 2018-11-30 2019-04-09 深圳前海微众银行股份有限公司 Sentence analysis processing method, device, equipment and computer readable storage medium
CN109660678A (en) * 2018-12-07 2019-04-19 深圳前海微众银行股份有限公司 Electric core network system realization, system and readable storage medium storing program for executing
CN110019755A (en) * 2019-02-27 2019-07-16 杭州简简科技有限公司 Digital people's livelihood system and construction method based on artificial intelligence big data
CN110175240A (en) * 2019-05-16 2019-08-27 五竹科技(天津)有限公司 Construction method, device and the storage medium of knowledge mapping relevant to outgoing call process
CN110263144A (en) * 2019-06-27 2019-09-20 深圳前海微众银行股份有限公司 A kind of answer acquisition methods and device
CN110334347A (en) * 2019-06-27 2019-10-15 腾讯科技(深圳)有限公司 Information processing method, relevant device and storage medium based on natural language recognition
CN110472024A (en) * 2019-07-11 2019-11-19 北京云迹科技有限公司 For the configuration of the customized question and answer of robot, processing method and device, robot
CN110516035A (en) * 2019-07-05 2019-11-29 同济大学 A hybrid module human-computer interaction method and system
CN110931009A (en) * 2019-12-12 2020-03-27 贵州电力交易中心有限责任公司 System for rapidly improving conversation capacity of reception robot in electric power transaction hall
CN111026855A (en) * 2019-12-06 2020-04-17 易小博(武汉)科技有限公司 Intelligent customer service response method, system, controller and medium
CN111080259A (en) * 2019-12-19 2020-04-28 中国工商银行股份有限公司 Multi-robot cooperation system and method based on bank application scene
CN111104504A (en) * 2019-12-25 2020-05-05 天津中科智能识别产业技术研究院有限公司 Natural language processing and knowledge graph based dialogue method
CN111274372A (en) * 2020-01-15 2020-06-12 上海浦东发展银行股份有限公司 Method, electronic device, and computer-readable storage medium for human-computer interaction
CN111309889A (en) * 2020-02-27 2020-06-19 支付宝(杭州)信息技术有限公司 Method and device for text processing
CN111816173A (en) * 2020-06-01 2020-10-23 珠海格力电器股份有限公司 Dialogue data processing method, device, storage medium and computer equipment
CN111897942A (en) * 2020-06-30 2020-11-06 北京来也网络科技有限公司 Dialogue robot problem processing method, device and equipment combining RPA and AI
CN111966716A (en) * 2020-08-20 2020-11-20 支付宝(杭州)信息技术有限公司 Data processing method and device
CN111966808A (en) * 2019-12-31 2020-11-20 北京来也网络科技有限公司 Dialogue question-answering method, device, equipment and storage medium combining RPA and AI
CN111966788A (en) * 2019-12-31 2020-11-20 北京来也网络科技有限公司 Dialogue question-answering method, device, equipment and storage medium combining RPA and AI
CN112000786A (en) * 2020-06-30 2020-11-27 北京来也网络科技有限公司 Dialogue robot problem processing method, device and equipment combining RPA and AI
CN112035640A (en) * 2020-08-31 2020-12-04 重庆长安汽车股份有限公司 Refined question-answering method based on intelligent question-answering robot, storage medium and intelligent equipment
CN112148853A (en) * 2020-09-15 2020-12-29 上海风秩科技有限公司 Query result determination method and device, storage medium and electronic device
CN112381642A (en) * 2020-11-30 2021-02-19 中国银行股份有限公司 Network management system and method based on network robot
CN112487186A (en) * 2020-11-27 2021-03-12 上海浦东发展银行股份有限公司 Human-human conversation log analysis method, system, equipment and storage medium
CN112559701A (en) * 2020-11-10 2021-03-26 联想(北京)有限公司 Man-machine interaction method, device and storage medium
CN112632239A (en) * 2020-12-11 2021-04-09 南京三眼精灵信息技术有限公司 Brain-like question-answering system based on artificial intelligence technology
CN112800204A (en) * 2021-02-24 2021-05-14 浪潮云信息技术股份公司 Construction method of intelligent dialogue system
CN112800188A (en) * 2019-11-13 2021-05-14 阿里巴巴集团控股有限公司 Conversation processing method and device
CN113076413A (en) * 2021-04-30 2021-07-06 平安国际智慧城市科技股份有限公司 Parameter association service method, system, device and storage medium
CN114117006A (en) * 2021-11-26 2022-03-01 京东科技信息技术有限公司 Dialogue method, dialogue device, electronic equipment and storage medium
WO2022142019A1 (en) * 2020-12-30 2022-07-07 平安科技(深圳)有限公司 Question distribution method and apparatus based on intelligent robot, and electronic device and storage medium
CN117131177A (en) * 2023-08-29 2023-11-28 中国铁道科学研究院集团有限公司 Knowledge question and answer method, knowledge question and answer device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101741759A (en) * 2008-11-24 2010-06-16 中国电信股份有限公司 Instant communication-based intelligent interactive system and interactive method
CN105553833A (en) * 2015-12-30 2016-05-04 上海智臻智能网络科技股份有限公司 Customer service system and its service method, robot customer service
CN105892320A (en) * 2016-04-26 2016-08-24 京东方科技集团股份有限公司 Self-service robot, service method, control device and service system
CN106934068A (en) * 2017-04-10 2017-07-07 江苏东方金钰智能机器人有限公司 The method that robot is based on the semantic understanding of environmental context
CN106952646A (en) * 2017-02-27 2017-07-14 深圳市朗空亿科科技有限公司 A kind of robot interactive method and system based on natural language
CN107133305A (en) * 2017-04-28 2017-09-05 上海斐讯数据通信技术有限公司 A kind of automatic construction device of chat robots knowledge base and its method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101741759A (en) * 2008-11-24 2010-06-16 中国电信股份有限公司 Instant communication-based intelligent interactive system and interactive method
CN105553833A (en) * 2015-12-30 2016-05-04 上海智臻智能网络科技股份有限公司 Customer service system and its service method, robot customer service
CN105892320A (en) * 2016-04-26 2016-08-24 京东方科技集团股份有限公司 Self-service robot, service method, control device and service system
CN106952646A (en) * 2017-02-27 2017-07-14 深圳市朗空亿科科技有限公司 A kind of robot interactive method and system based on natural language
CN106934068A (en) * 2017-04-10 2017-07-07 江苏东方金钰智能机器人有限公司 The method that robot is based on the semantic understanding of environmental context
CN107133305A (en) * 2017-04-28 2017-09-05 上海斐讯数据通信技术有限公司 A kind of automatic construction device of chat robots knowledge base and its method

Cited By (51)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108900726A (en) * 2018-06-28 2018-11-27 北京首汽智行科技有限公司 Artificial customer service forwarding method based on speech robot people
CN108846125A (en) * 2018-06-29 2018-11-20 北京百度网讯科技有限公司 Talk with generation method, device, terminal and computer readable storage medium
CN109033223A (en) * 2018-06-29 2018-12-18 北京百度网讯科技有限公司 For method, apparatus, equipment and computer readable storage medium across type session
CN109033223B (en) * 2018-06-29 2021-09-07 北京百度网讯科技有限公司 Method, apparatus, device, and computer-readable storage medium for cross-type conversations
CN109145100A (en) * 2018-08-24 2019-01-04 深圳追科技有限公司 A kind of the Task customer service robot system and its working method of customizable process
CN109446305A (en) * 2018-10-10 2019-03-08 长沙师范学院 The construction method and system of intelligent tour customer service system
CN109597607A (en) * 2018-10-31 2019-04-09 拓科(武汉)智能技术股份有限公司 Task interactive system and its implementation, device and electronic equipment
CN109597993A (en) * 2018-11-30 2019-04-09 深圳前海微众银行股份有限公司 Sentence analysis processing method, device, equipment and computer readable storage medium
CN109376228B (en) * 2018-11-30 2021-04-16 北京猎户星空科技有限公司 Information recommendation method, device, equipment and medium
CN109376228A (en) * 2018-11-30 2019-02-22 北京猎户星空科技有限公司 A kind of information recommendation method, device, equipment and medium
CN109660678A (en) * 2018-12-07 2019-04-19 深圳前海微众银行股份有限公司 Electric core network system realization, system and readable storage medium storing program for executing
CN110019755A (en) * 2019-02-27 2019-07-16 杭州简简科技有限公司 Digital people's livelihood system and construction method based on artificial intelligence big data
CN110175240A (en) * 2019-05-16 2019-08-27 五竹科技(天津)有限公司 Construction method, device and the storage medium of knowledge mapping relevant to outgoing call process
CN110175240B (en) * 2019-05-16 2022-12-09 五竹科技(北京)有限公司 Method and device for constructing knowledge graph related to virtual robot outbound flow
CN110334347A (en) * 2019-06-27 2019-10-15 腾讯科技(深圳)有限公司 Information processing method, relevant device and storage medium based on natural language recognition
CN110334347B (en) * 2019-06-27 2024-06-28 腾讯科技(深圳)有限公司 Information processing method based on natural language recognition, related equipment and storage medium
WO2020258654A1 (en) * 2019-06-27 2020-12-30 深圳前海微众银行股份有限公司 Answer acquisition method and device
CN110263144A (en) * 2019-06-27 2019-09-20 深圳前海微众银行股份有限公司 A kind of answer acquisition methods and device
CN110516035A (en) * 2019-07-05 2019-11-29 同济大学 A hybrid module human-computer interaction method and system
CN110472024A (en) * 2019-07-11 2019-11-19 北京云迹科技有限公司 For the configuration of the customized question and answer of robot, processing method and device, robot
CN112800188B (en) * 2019-11-13 2024-02-27 阿里巴巴集团控股有限公司 Dialogue processing method and device
CN112800188A (en) * 2019-11-13 2021-05-14 阿里巴巴集团控股有限公司 Conversation processing method and device
CN111026855A (en) * 2019-12-06 2020-04-17 易小博(武汉)科技有限公司 Intelligent customer service response method, system, controller and medium
CN110931009A (en) * 2019-12-12 2020-03-27 贵州电力交易中心有限责任公司 System for rapidly improving conversation capacity of reception robot in electric power transaction hall
CN111080259A (en) * 2019-12-19 2020-04-28 中国工商银行股份有限公司 Multi-robot cooperation system and method based on bank application scene
CN111104504A (en) * 2019-12-25 2020-05-05 天津中科智能识别产业技术研究院有限公司 Natural language processing and knowledge graph based dialogue method
CN111966788A (en) * 2019-12-31 2020-11-20 北京来也网络科技有限公司 Dialogue question-answering method, device, equipment and storage medium combining RPA and AI
CN111966808A (en) * 2019-12-31 2020-11-20 北京来也网络科技有限公司 Dialogue question-answering method, device, equipment and storage medium combining RPA and AI
CN111274372A (en) * 2020-01-15 2020-06-12 上海浦东发展银行股份有限公司 Method, electronic device, and computer-readable storage medium for human-computer interaction
CN111309889A (en) * 2020-02-27 2020-06-19 支付宝(杭州)信息技术有限公司 Method and device for text processing
CN111309889B (en) * 2020-02-27 2023-04-14 支付宝(杭州)信息技术有限公司 Method and device for text processing
CN111816173B (en) * 2020-06-01 2024-06-07 珠海格力电器股份有限公司 Dialogue data processing method and device, storage medium and computer equipment
CN111816173A (en) * 2020-06-01 2020-10-23 珠海格力电器股份有限公司 Dialogue data processing method, device, storage medium and computer equipment
CN111897942B (en) * 2020-06-30 2024-07-23 北京来也网络科技有限公司 Dialogue robot problem processing method, device and equipment combining RPA and AI
CN112000786A (en) * 2020-06-30 2020-11-27 北京来也网络科技有限公司 Dialogue robot problem processing method, device and equipment combining RPA and AI
CN111897942A (en) * 2020-06-30 2020-11-06 北京来也网络科技有限公司 Dialogue robot problem processing method, device and equipment combining RPA and AI
CN111966716A (en) * 2020-08-20 2020-11-20 支付宝(杭州)信息技术有限公司 Data processing method and device
CN111966716B (en) * 2020-08-20 2024-05-28 支付宝(杭州)信息技术有限公司 Data processing method and device
CN112035640A (en) * 2020-08-31 2020-12-04 重庆长安汽车股份有限公司 Refined question-answering method based on intelligent question-answering robot, storage medium and intelligent equipment
CN112148853A (en) * 2020-09-15 2020-12-29 上海风秩科技有限公司 Query result determination method and device, storage medium and electronic device
CN112559701A (en) * 2020-11-10 2021-03-26 联想(北京)有限公司 Man-machine interaction method, device and storage medium
CN112487186A (en) * 2020-11-27 2021-03-12 上海浦东发展银行股份有限公司 Human-human conversation log analysis method, system, equipment and storage medium
CN112381642B (en) * 2020-11-30 2023-08-22 中国银行股份有限公司 Dot management system and method based on dot robot
CN112381642A (en) * 2020-11-30 2021-02-19 中国银行股份有限公司 Network management system and method based on network robot
CN112632239A (en) * 2020-12-11 2021-04-09 南京三眼精灵信息技术有限公司 Brain-like question-answering system based on artificial intelligence technology
WO2022142019A1 (en) * 2020-12-30 2022-07-07 平安科技(深圳)有限公司 Question distribution method and apparatus based on intelligent robot, and electronic device and storage medium
CN112800204A (en) * 2021-02-24 2021-05-14 浪潮云信息技术股份公司 Construction method of intelligent dialogue system
CN113076413B (en) * 2021-04-30 2023-12-26 平安国际智慧城市科技股份有限公司 Parameter association service method, system, device and storage medium
CN113076413A (en) * 2021-04-30 2021-07-06 平安国际智慧城市科技股份有限公司 Parameter association service method, system, device and storage medium
CN114117006A (en) * 2021-11-26 2022-03-01 京东科技信息技术有限公司 Dialogue method, dialogue device, electronic equipment and storage medium
CN117131177A (en) * 2023-08-29 2023-11-28 中国铁道科学研究院集团有限公司 Knowledge question and answer method, knowledge question and answer device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN108197167A (en) Human-computer dialogue processing method, equipment and readable storage medium storing program for executing
US11315560B2 (en) Method for conducting dialog between human and computer
CN110008322B (en) Word recommendation method and device in multi-round dialogue scene
CN108899012B (en) Voice interactive device evaluation method, system, computer equipment and storage medium
EP4016330A1 (en) Speech dialog processing method and apparatus
WO2018000278A1 (en) Context sensitive multi-round dialogue management system and method based on state machines
CN109670023A (en) Man-machine automatic top method for testing, device, equipment and storage medium
CN113051375B (en) Question and answer data processing method and device based on question and answer equipment
CN108170739A (en) Problem matching process, terminal and computer readable storage medium
WO2020253064A1 (en) Speech recognition method and apparatus, and computer device and storage medium
CN112579757A (en) Intelligent question and answer method and device, computer readable storage medium and electronic equipment
CN117312521A (en) Processing method for intelligent customer service dialogue and related products
CN114372123A (en) A Conversational Human-Computer Interaction Customization and Service System
CN114970559B (en) Intelligent response method and device
CN114817507A (en) Reply recommendation method, device, device and storage medium based on intent recognition
CN117829295A (en) Task type dialogue method based on vector retrieval and large language model
CN112784024B (en) Man-machine conversation method, device, equipment and storage medium
CN111046161A (en) Intelligent dialogue method and device for commodity marketing scenarios
CN111552793A (en) Voice outbound method, device, terminal equipment and medium based on outbound robot
CN116089582A (en) Intelligent question answering method, device, system, equipment and vehicle
CN118503396A (en) ERP system large model calling method, device and medium based on open prompt words
CN108345663A (en) A kind of news push method and apparatus
CN115658875B (en) Data processing method based on chat service and related products
CN110517672A (en) User's intension recognizing method, method for executing user command, system and equipment
CN114138940A (en) Intelligent voice office robot system based on RASA

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180622