WO2019080420A1 - Method for customer service of human-robot collaboration, electronic device, and storage medium - Google Patents

Method for customer service of human-robot collaboration, electronic device, and storage medium

Info

Publication number
WO2019080420A1
WO2019080420A1 PCT/CN2018/076507 CN2018076507W WO2019080420A1 WO 2019080420 A1 WO2019080420 A1 WO 2019080420A1 CN 2018076507 W CN2018076507 W CN 2018076507W WO 2019080420 A1 WO2019080420 A1 WO 2019080420A1
Authority
WO
WIPO (PCT)
Prior art keywords
standard
word
words
sequence
answer
Prior art date
Application number
PCT/CN2018/076507
Other languages
French (fr)
Chinese (zh)
Inventor
卢川
高祎璠
Original Assignee
平安科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2019080420A1 publication Critical patent/WO2019080420A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/237Lexical tools
    • G06F40/247Thesauruses; Synonyms
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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 or dialogue systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/3331Query processing
    • G06F16/334Query execution
    • G06F16/3344Query execution using natural language analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/279Recognition of textual entities
    • G06F40/289Phrasal analysis, e.g. finite state techniques or chunking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/30Semantic analysis

Definitions

  • the application relates to the field of intelligent customer service technology, and relates to a human-machine cooperation customer service method, an electronic device and a storage medium.
  • Smart customer service can provide round-the-clock and day-to-day service, but it can't accurately understand customer's problems like manual customer service and give flexible answers.
  • Manual customer service can accurately understand the customer's problem, but the answer query speed is slow, especially when manual customer service is required to manually input the answer to the dialog box.
  • the purpose of the application is to provide a human-machine cooperation customer service method, an electronic device and a storage medium.
  • the intelligent customer service After switching to a manual customer service, changes the service object from the customer to the customer service personnel to help the customer service personnel provide possible answers.
  • a human-machine collaborative customer service method includes the following steps: S1, constructing a standard knowledge base, storing a number of standard question-answer pairs for intelligent question and answer, and splitting the standard question into a sequence of words composed of several keywords.
  • the standard problem is associated with saving; S2, constructing a thesaurus, storing a plurality of word groups consisting of standard words associated with the standard words, the standard words corresponding to keywords in the standard question; S3, obtaining the customer's problem and Perform analysis to split the customer's problem into a standard word sequence containing only standard words; S4, matching the standard word sequence with the word sequence in the standard knowledge base, and calculating corresponding to each word sequence in the standard knowledge base Corresponding matching value; S5, the answer corresponding to the standard question associated with the word sequence with the highest push matching value is displayed in the dialog box of the manual customer service; S6, the manual customer service judges the pushed content and pushes the correct answer to the customer.
  • An electronic device includes a memory and a processor, wherein the memory stores a human-machine cooperation customer system that can be executed by the processor, and the human-machine collaborative customer service system includes: a standard knowledge base for storing A number of standard question-answer pairs for intelligent question and answer, and splitting the standard question into a sequence of words consisting of several keywords associated with the standard question; a thesaurus for storing a number of standard words associated with the standard word a group of words composed of synonyms, the standard words correspond to keywords in a standard question; a session acquisition analysis module is used to acquire and analyze a customer's problem, and split the customer's question into standard words containing only standard words.
  • a standard knowledge base for storing A number of standard question-answer pairs for intelligent question and answer, and splitting the standard question into a sequence of words consisting of several keywords associated with the standard question
  • a thesaurus for storing a number of standard words associated with the standard word a group of words composed of synonyms, the standard words correspond to keywords in a standard
  • a sequence matching method for matching a standard word sequence with a word sequence in a standard knowledge base, and calculating a corresponding matching value corresponding to each word sequence in the standard knowledge base; an automatic pushing module for pushing the matching value
  • the answer to the standard question associated with the highest word sequence is displayed in the dialog box of the manual customer service; the manual push module is used for the manual guest.
  • the service judges the content of the push and pushes the correct answer to the customer.
  • a computer readable storage medium storing a human-machine collaborative customer service system, the human-machine cooperative customer service system being executable by at least one processor to perform the following steps: S1, building a standard The knowledge base stores a number of standard question-answer pairs for intelligent question and answer, and splits the standard question into a sequence of words consisting of several keywords associated with the standard question; S2, builds a synonym database, and stores a number of standards.
  • a word group consisting of a synonym of the standard word, the standard word corresponding to a keyword in a standard question; S3, obtaining a customer's problem and analyzing, and splitting the customer's question into a standard containing only standard words a sequence of words; S4, matching the sequence of standard words with the sequence of words in the standard knowledge base, and calculating corresponding matching values for each word sequence in the standard knowledge base; S5, pushing the standard of the word sequence with the highest matching value
  • the answer corresponding to the question is displayed in the dialog box of the manual customer service; S6, the manual customer service judges the content of the push and pushes the correct answer to client.
  • the positive progress of the application is that: in the application, the intelligent customer service will help the manual customer service to match the answers after the customer selects the manual customer service, and display the answer in the manual customer service dialog box, thereby reducing the manual customer service query answer and typing. Time to improve service efficiency.
  • FIG. 1 is a schematic diagram showing the hardware architecture of an embodiment of an electronic device of the present application.
  • FIG. 2 is a schematic diagram showing a program module of an embodiment of a customer service system for human-machine cooperation in an electronic device of the present application
  • FIG. 3 is a flow chart showing a first embodiment of the customer service method of the applicant machine cooperation
  • FIG. 4 is a flow chart showing a second embodiment of the customer service cooperation method of the applicant machine
  • FIG. 5 is a flow chart showing a second embodiment of the customer service method of the applicant machine cooperation
  • FIG. 6 is a flow chart showing a third embodiment of the customer service method of the applicant machine cooperation
  • FIG. 7 is a flow chart showing a fourth embodiment of the customer service method of the applicant machine cooperation
  • FIG. 8 is a flow chart showing a fifth embodiment of the customer service method of the applicant machine cooperation
  • FIG. 9 is a flow chart showing a sixth embodiment of the customer service method of the applicant machine cooperation.
  • the present application proposes an electronic device.
  • the electronic device 1 is an apparatus capable of automatically performing numerical calculation and/or information processing in accordance with an instruction set or stored in advance.
  • the electronic device 2 can be a smartphone, a tablet, a laptop, a desktop computer, a rack server, a blade server, a tower server, or a rack server (including a stand-alone server, or a server cluster composed of multiple servers).
  • the electronic device 2 includes at least, but not limited to, a memory 21, a processor 22, a network interface 23, and a human-machine cooperative customer service system 20 that can communicate with each other via a system bus. among them:
  • the memory 21 includes at least one type of computer readable storage medium including a flash memory, a hard disk, a multimedia card, a card type memory (eg, SD or DX memory, etc.), a random access memory (RAM), Static Random Access Memory (SRAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), Programmable Read Only Memory (PROM), magnetic memory, magnetic disk, optical disk, and the like.
  • the memory 21 may be an internal storage unit of the electronic device 2, such as a hard disk or a memory of the electronic device 2.
  • the memory 21 may also be an external storage device of the electronic device 2, such as a plug-in hard disk equipped on the electronic device 2, a smart memory card (SMC), and a secure digital device. (Secure Digital, SD) card, flash card, etc.
  • the memory 21 can also include both the internal storage unit of the electronic device 2 and its external storage device.
  • the memory 21 is generally used to store an operating system installed in the electronic device 2 and various application software, such as program code of the customer service system 20 of the human-machine cooperation. Further, the memory 21 can also be used to temporarily store various types of data that have been output or are to be output.
  • the processor 22 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor, or other data processing chip in some embodiments.
  • the processor 22 is typically used to control the overall operation of the electronic device 2, such as performing control and processing associated with data interaction or communication with the electronic device 2.
  • the processor 22 is configured to run program code or processing data stored in the memory 21, such as the customer service system 20 that runs the human-machine cooperation.
  • the network interface 23 may comprise a wireless network interface or a wired network interface, which is typically used to establish a communication connection between the electronic device 2 and other electronic devices.
  • the network interface 23 is configured to connect the electronic device 2 to an external terminal through a network, establish a data transmission channel, a communication connection, and the like between the electronic device 2 and an external terminal.
  • the network may be an intranet, an Internet, a Global System of Mobile communication (GSM), a Wideband Code Division Multiple Access (WCDMA), a 4G network, or a 5G network.
  • Wireless or wired networks such as network, Bluetooth, Wi-Fi, etc.
  • FIG. 1 only shows the electronic device 2 with the components 21-23, but it should be understood that not all illustrated components are required to be implemented, and more or fewer components may be implemented instead.
  • the human-machine cooperative customer service system 20 stored in the memory 21 may be divided into one or more program modules, and the one or more program modules are stored in the memory 21 and may be Or multiple processors (this embodiment is processor 22) are executed to complete the application.
  • FIG. 2 is a schematic diagram of a program module of an embodiment of the human-machine cooperation customer service system 20.
  • the human-machine cooperation customer service system 20 can be divided into a standard knowledge base 201 and a thesaurus 202.
  • the following description will specifically describe the specific functions of the program modules 201-206.
  • the standard knowledge base 201 is configured to store a number of standard question-answer pairs for intelligent question and answer, and split the standard question into a sequence of words consisting of several keywords associated with the standard question;
  • the thesaurus 202 is used to store a number of a word group consisting of a standard word associated with a synonym of the standard word, the standard word corresponding to a keyword in a standard question;
  • the session acquisition analysis module 203 is configured to acquire a customer's problem and analyze the problem, and split the customer's question into A standard word sequence containing only standard words;
  • the answer matching module 204 is configured to match the standard word sequence with the word sequence in the standard knowledge base, and calculate a corresponding matching value corresponding to each word sequence in the standard knowledge base;
  • the answer corresponding to the standard question of the push module 205 for pushing the word sequence associated with the highest matching value is displayed in the dialog box of the manual customer service;
  • the manual pushing module 206 is used to push the correct answer after the artificial customer service judges the pushed content. client
  • the human-machine cooperative customer service system 20 can continue to obtain the customer problem after the customer selects the manual customer service, analyze the query, and then send the answer to the manual customer service to save the time for the manual customer service to query the answer.
  • the present application proposes a customer service method for human-machine collaboration.
  • the human-machine cooperation customer service method includes the following steps:
  • the manual customer service judges the pushed content and pushes the correct answer to the customer.
  • step S1 and the build synonym database in step S2 are pre-maintained in the system, and need not be maintained once every time, as long as the content needs to be updated, the maintenance mode can be maintained. It is manual maintenance, automatic maintenance after the system automatically captures information, or a combination of the two.
  • step S6 the answer of the manual customer service for the smart customer service push can be modified in the dialog box, and then the correct answer is sent to the client.
  • the step S1 specifically includes the following sub-steps:
  • the stop words in the word sequence are removed, and a sequence of words composed of a plurality of keywords is generated and stored in association with the standard question.
  • Standard Question 1 How to apply for a credit card?
  • Standard question 2 What should I do if my credit card auto repayment debit card balance is insufficient?
  • Standard question 3 How to handle credit card loss reporting?
  • the step S2 specifically includes the following sub-steps:
  • Extract standard words in the standard word set in turn, collect at least one synonym similar to the standard word, and associate the synonyms with the standard words into a word group for preservation.
  • the keywords in the standard question are determined as standard words, and then each standard word is associated with a number of synonyms, so that when the customer uses the words according to their respective habits, the system can replace the non-standard words with standard words to optimize the matching effect. Improve the correct rate of matching.
  • the maintenance process of the thesaurus is as follows: 1. Extract the keywords “Apply for Credit Card”, “Insufficient Credit Card Auto Repayment Balance” and “Handle Credit Card Loss” in the three standard questions. 2. The keyword “credit card” is de-emphasized, and the standard word set “Apply for credit card automatic repayment balance is insufficient to report the loss”. 3. First find the synonym of “application”, which can be “sponsorship”, “request” or “handling”, etc., and save these words in association with the standard word “application” as the application group; the composition of other keyword groups is the same. The composition of the application group.
  • step S3 specifically includes the following sub-steps:
  • the sub-step S33 specifically includes the following sub-steps:
  • step S345 determining whether the keyword is the last word in the sequence of simplified words, if yes, executing step S346, if otherwise performing step S341;
  • the replacement process is described by replacing the synonym of the simplified word sequence "credit card automatic repayment is not enough” as an example: 1. Obtain the first keyword “credit card” in the simplified word sequence "credit card automatic repayment money is not enough” "2. Compare the keyword “credit card” with the standard words in the thesaurus to find the same word "credit card”; 3. Determine the keyword “credit card” is not a simplified word sequence "credit card automatic repayment is not enough” The last word; 4.
  • step S4 specifically includes the following sub-steps:
  • step S43 it is determined whether the standard word matches the keyword in the word sequence, if yes, step S44 is performed, otherwise step S45 is performed;
  • step S45 determining whether the standard word is the last standard word in the standard word sequence, if yes, executing step S46, if otherwise performing step S42;
  • step S47 determining whether the word sequence is the last word sequence in the standard knowledge base, if yes, executing step S48, if otherwise, performing step S41;
  • the standard word sequence “Insufficient credit card automatic repayment amount” is matched with the word sequence in the standard knowledge base as an example to specify the calculation process of the matching value: 1. Extract a standard question from the standard knowledge base. “How do I apply for a credit card?” The associated word sequence “Apply for a credit card”; 2. Extract the key words of a standard word “credit card” and the word sequence “Apply for a credit card” from the standard word sequence “Insufficient credit card automatic repayment” The words are matched in order; 3. The standard word “credit card” matches the "credit card” of the word sequence "apply for credit card”; 4. the score is accumulated according to the scoring rule; 5; the standard word "credit card” is not a standard word sequence.
  • the last standard word in the order matches the standard words in the standard word sequence “Insufficient credit card automatic repayment” with the keywords in the word sequence “Apply for credit card”, and there are no other matching words; And output the accumulated total score of 5, the total score is 9, and the matching value is calculated to be 0.5. 6; 7, the word sequence "application for opening a credit card” is not the last word sequence in the standard knowledge base, so the second word sequence in the standard knowledge base "incorrect credit card automatic repayment balance" is sequentially extracted to calculate the matching value. 0.9, and then take out the second word sequence in the standard knowledge base "handling credit card loss reporting" to calculate the matching value of 0.56, and so on to calculate... 8.
  • only the above three matching values are arranged in descending order, respectively 0.9 , 0.56, 0.56.
  • the matching value is up to 0.9
  • the corresponding word sequence is “Insufficient credit card automatic repayment balance”.
  • the standard question associated with the word sequence is “What should I do if the credit card automatic repayment debit card balance is insufficient?”
  • the answer to the standard question is pushed and displayed in the manual customer service dialog.
  • step S6 specifically includes the following sub-steps: S61, the manual customer service determines the answer displayed in the dialog box, and if the answer is correct, step S63 is performed. If the answer is not correct, step S62 is performed; S62, the incorrect answer is modified; and S63, the answer is pushed to the client.
  • the manual push process is specified: 1. The manual customer service judgment is displayed in the dialog box. The answer is the correct answer to the customer's question; 2. The answer is sent directly to the customer.
  • the answer displayed in the dialog box is incorrect or partially incorrect
  • the answer needs to be corrected and the corrected answer is sent to the client.
  • the answer displayed in the dialog box is the answer to the standard question “How do I apply for a credit card?”
  • the manual customer service needs to clear the dialog box and re-enter the correct answer.
  • the answer displayed in the dialog box is the answer to the standard question “What if the credit card automatic repayment debit card balance is insufficient?”, but some of the answers are not updated in time, then the manual customer service needs to update the answer. , then send the latest answer to the customer.
  • the present application is a computer readable storage medium storing a human-machine cooperation customer service system 20, which can be implemented by one or more processors to implement the above-mentioned person The customer service method of the machine cooperation or the operation of the electronic device.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • General Engineering & Computer Science (AREA)
  • Artificial Intelligence (AREA)
  • General Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Health & Medical Sciences (AREA)
  • Mathematical Physics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

A method for customer service of human-robot collaboration, relating to the technical field of intelligent customer service. The method for customer service of human-robot collaboration comprises the following steps: S1, building a standard knowledge base; S2, building a thesaurus; S3, obtaining and analyzing a question of a customer, and dividing the question of the customer into standard word sequences only comprising standard words; S4, matching the standard word sequences with word sequences in the standard knowledge base, and calculating, for each word sequence in the standard knowledge base, a corresponding matching value; S5, pushing an answer corresponding to a standard question associated with the word sequence having the highest matching value and displaying the answer in a dialog box of manual customer service; and S6, pushing a correct answer to the customer after the manual customer service makes a determination on the pushed content. After a customer selects the manual customer service, the intelligent customer service does not directly end the customer service, but helps the manual customer service to obtain the matched answer, and displays the answer in the dialog box of the manual customer service, so as to reduce the time consumed by the manual customer service in answer query and typing.

Description

人机协作的客服方法、电子装置及存储介质Human-machine cooperation customer service method, electronic device and storage medium
本申请申明享有2017年10月26日递交的申请号为201711030638.X、名称为“人机协作的客服方法、电子装置及存储介质”的中国专利申请的优先权,该中国专利申请的整体内容以参考的方式结合在本申请中。This application claims the priority of the Chinese patent application filed on October 26, 2017, with the application number of 201711030638.X, entitled "Human-machine collaboration customer service method, electronic device and storage medium", the overall content of the Chinese patent application It is incorporated herein by reference.
技术领域Technical field
本申请涉及智能客服技术领域,涉及一种人机协作的客服方法、电子装置及存储介质。The application relates to the field of intelligent customer service technology, and relates to a human-machine cooperation customer service method, an electronic device and a storage medium.
背景技术Background technique
目前,常见的网络客户通常由智能客服和人工客服组成。智能客服可以实现昼夜和节假日的全天候服务,但不能像人工客服那样准确理解客户的问题,并给出灵活的答案。人工客服可以准确理解客户的问题,但是答案查询速度较慢,特别是在需要人工客服手动输入答案到对话框中时,效率低下。At present, common network customers are usually composed of intelligent customer service and manual customer service. Smart customer service can provide round-the-clock and day-to-day service, but it can't accurately understand customer's problems like manual customer service and give flexible answers. Manual customer service can accurately understand the customer's problem, but the answer query speed is slow, especially when manual customer service is required to manually input the answer to the dialog box.
发明内容Summary of the invention
本申请的目的在于提出了一种人机协作的客服方法、电子装置及存储介质,在转为人工客服后,智能客服将服务对象从客户换成了客服人员,帮助客服人员提供可能的答案。The purpose of the application is to provide a human-machine cooperation customer service method, an electronic device and a storage medium. After switching to a manual customer service, the intelligent customer service changes the service object from the customer to the customer service personnel to help the customer service personnel provide possible answers.
本申请是通过下述技术方案来解决上述技术问题:The present application solves the above technical problems by the following technical solutions:
一种人机协作的客服方法,包括如下步骤:S1、构建标准知识库,存储有若干用于智能问答的标准问题-答案对,并将标准问题拆分为由若干关键词组成的词序列与该标准问题关联保存;S2、构建同义词库,存储有若干由标准词关联该标准词的近义词组成的词群,所述标准词与标准问题中的关键词相对应;S3、获取客户的问题并进行分析,将客户的问题拆分为仅包含有 标准词的标准词序列;S4、将标准词序列与标准知识库中的词序列进行匹配,并对应标准知识库中的每个词序列计算出相应的匹配值;S5、推送匹配值最高的词序列关联的标准问题所对应的答案显示在人工客服的对话框中;S6、人工客服对推送的内容进行判断后推送正确的答案给客户。A human-machine collaborative customer service method includes the following steps: S1, constructing a standard knowledge base, storing a number of standard question-answer pairs for intelligent question and answer, and splitting the standard question into a sequence of words composed of several keywords. The standard problem is associated with saving; S2, constructing a thesaurus, storing a plurality of word groups consisting of standard words associated with the standard words, the standard words corresponding to keywords in the standard question; S3, obtaining the customer's problem and Perform analysis to split the customer's problem into a standard word sequence containing only standard words; S4, matching the standard word sequence with the word sequence in the standard knowledge base, and calculating corresponding to each word sequence in the standard knowledge base Corresponding matching value; S5, the answer corresponding to the standard question associated with the word sequence with the highest push matching value is displayed in the dialog box of the manual customer service; S6, the manual customer service judges the pushed content and pushes the correct answer to the customer.
一种电子装置,包括存储器和处理器,所述存储器上存储有可被所述处理器执行的人机协作的客服系统,所述人机协作的客服系统包括:标准知识库,用于存储有若干用于智能问答的标准问题-答案对,并将标准问题拆分为由若干关键词组成的词序列与该标准问题关联保存;同义词库,用于存储有若干由标准词关联该标准词的近义词组成的词群,所述标准词与标准问题中的关键词相对应;会话获取分析模块,用于获取客户的问题并进行分析,将客户的问题拆分为仅包含有标准词的标准词序列;答案匹配模块,用于将标准词序列与标准知识库中的词序列进行匹配,并对应标准知识库中的每个词序列计算出相应的匹配值;自动推送模块,用于推送匹配值最高的词序列关联的标准问题所对应的答案显示在人工客服的对话框中;人工推送模块,用于在人工客服对推送的内容进行判断后推送正确的答案给客户。An electronic device includes a memory and a processor, wherein the memory stores a human-machine cooperation customer system that can be executed by the processor, and the human-machine collaborative customer service system includes: a standard knowledge base for storing A number of standard question-answer pairs for intelligent question and answer, and splitting the standard question into a sequence of words consisting of several keywords associated with the standard question; a thesaurus for storing a number of standard words associated with the standard word a group of words composed of synonyms, the standard words correspond to keywords in a standard question; a session acquisition analysis module is used to acquire and analyze a customer's problem, and split the customer's question into standard words containing only standard words. a sequence matching method for matching a standard word sequence with a word sequence in a standard knowledge base, and calculating a corresponding matching value corresponding to each word sequence in the standard knowledge base; an automatic pushing module for pushing the matching value The answer to the standard question associated with the highest word sequence is displayed in the dialog box of the manual customer service; the manual push module is used for the manual guest. The service judges the content of the push and pushes the correct answer to the customer.
一种计算机可读存储介质,所述计算机可读存储介质内存储有人机协作的客服系统,所述人机协作的客服系统可被至少一个处理器所执行,以执行以下步骤:S1、构建标准知识库,存储有若干用于智能问答的标准问题-答案对,并将标准问题拆分为由若干关键词组成的词序列与该标准问题关联保存;S2、构建同义词库,存储有若干由标准词关联该标准词的近义词组成的词群,所述标准词与标准问题中的关键词相对应;S3、获取客户的问题并进行分析,将客户的问题拆分为仅包含有标准词的标准词序列;S4、将标准词序列与标准知识库中的词序列进行匹配,并对应标准知识库中的每个词序列计算出相应的匹配值;S5、推送匹配值最高的词序列关联的标准问题所对应的答案显示在人工客服的对话框中;S6、人工客服对推送的内容进行判断后推送正确的答案给客户。A computer readable storage medium storing a human-machine collaborative customer service system, the human-machine cooperative customer service system being executable by at least one processor to perform the following steps: S1, building a standard The knowledge base stores a number of standard question-answer pairs for intelligent question and answer, and splits the standard question into a sequence of words consisting of several keywords associated with the standard question; S2, builds a synonym database, and stores a number of standards. a word group consisting of a synonym of the standard word, the standard word corresponding to a keyword in a standard question; S3, obtaining a customer's problem and analyzing, and splitting the customer's question into a standard containing only standard words a sequence of words; S4, matching the sequence of standard words with the sequence of words in the standard knowledge base, and calculating corresponding matching values for each word sequence in the standard knowledge base; S5, pushing the standard of the word sequence with the highest matching value The answer corresponding to the question is displayed in the dialog box of the manual customer service; S6, the manual customer service judges the content of the push and pushes the correct answer to client.
本申请的积极进步效果在于:本申请中智能客服在客户选择人工客服后,会帮助人工客服进行答案的匹配,并将答案显示在人工客服的对话框中,减少了人工客服查询答案和打字的时间,提高服务效率。The positive progress of the application is that: in the application, the intelligent customer service will help the manual customer service to match the answers after the customer selects the manual customer service, and display the answer in the manual customer service dialog box, thereby reducing the manual customer service query answer and typing. Time to improve service efficiency.
附图说明DRAWINGS
图1示出了本申请电子装置一实施例的硬件架构示意图;1 is a schematic diagram showing the hardware architecture of an embodiment of an electronic device of the present application;
图2示出了本申请电子装置中人机协作的客服系统一实施例的程序模块示意图;2 is a schematic diagram showing a program module of an embodiment of a customer service system for human-machine cooperation in an electronic device of the present application;
图3示出了本申请人机协作的客服方法第一实施例的流程图;3 is a flow chart showing a first embodiment of the customer service method of the applicant machine cooperation;
图4示出了本申请人机协作的客服方法第二实施例的流程图;4 is a flow chart showing a second embodiment of the customer service cooperation method of the applicant machine;
图5示出了本申请人机协作的客服方法第二实施例的流程图;FIG. 5 is a flow chart showing a second embodiment of the customer service method of the applicant machine cooperation;
图6示出了本申请人机协作的客服方法第三实施例的流程图;6 is a flow chart showing a third embodiment of the customer service method of the applicant machine cooperation;
图7示出了本申请人机协作的客服方法第四实施例的流程图;7 is a flow chart showing a fourth embodiment of the customer service method of the applicant machine cooperation;
图8示出了本申请人机协作的客服方法第五实施例的流程图;8 is a flow chart showing a fifth embodiment of the customer service method of the applicant machine cooperation;
图9示出了本申请人机协作的客服方法第六实施例的流程图。FIG. 9 is a flow chart showing a sixth embodiment of the customer service method of the applicant machine cooperation.
具体实施方式Detailed ways
下面通过实施例的方式进一步说明本申请,但并不因此将本申请限制在所述的实施例范围之中。The present application is further illustrated by the following examples, but is not intended to limit the scope of the embodiments.
首先,本申请提出了一种电子装置。First of all, the present application proposes an electronic device.
参阅图1所示,是本申请电子装置一实施例的硬件架构示意图。本实施例中,所述电子装置1是一种能够按照事先设定或者存储的指令,自动进行数值计算和/或信息处理的设备。例如,可以是智能手机、平板电脑、笔记本电脑、台式计算机、机架式服务器、刀片式服务器、塔式服务器或机柜式服务器(包括独立的服务器,或者多个服务器所组成的服务器集群)等。如图所示,所述电子装置2至少包括,但不限于,可通过系统总线相互通信连接 存储器21、处理器22、网络接口23、以及人机协作的客服系统20。其中:1 is a schematic diagram of a hardware architecture of an embodiment of an electronic device of the present application. In the embodiment, the electronic device 1 is an apparatus capable of automatically performing numerical calculation and/or information processing in accordance with an instruction set or stored in advance. For example, it can be a smartphone, a tablet, a laptop, a desktop computer, a rack server, a blade server, a tower server, or a rack server (including a stand-alone server, or a server cluster composed of multiple servers). As shown, the electronic device 2 includes at least, but not limited to, a memory 21, a processor 22, a network interface 23, and a human-machine cooperative customer service system 20 that can communicate with each other via a system bus. among them:
所述存储器21至少包括一种类型的计算机可读存储介质,所述可读存储介质包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等)、随机访问存储器(RAM)、静态随机访问存储器(SRAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁性存储器、磁盘、光盘等。在一些实施例中,所述存储器21可以是所述电子装置2的内部存储单元,例如该电子装置2的硬盘或内存。在另一些实施例中,所述存储器21也可以是所述电子装置2的外部存储设备,例如该电子装置2上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。当然,所述存储器21还可以既包括所述电子装置2的内部存储单元也包括其外部存储设备。本实施例中,所述存储器21通常用于存储安装于所述电子装置2的操作系统和各类应用软件,例如所述人机协作的客服系统20的程序代码等。此外,所述存储器21还可以用于暂时地存储已经输出或者将要输出的各类数据。The memory 21 includes at least one type of computer readable storage medium including a flash memory, a hard disk, a multimedia card, a card type memory (eg, SD or DX memory, etc.), a random access memory (RAM), Static Random Access Memory (SRAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), Programmable Read Only Memory (PROM), magnetic memory, magnetic disk, optical disk, and the like. In some embodiments, the memory 21 may be an internal storage unit of the electronic device 2, such as a hard disk or a memory of the electronic device 2. In other embodiments, the memory 21 may also be an external storage device of the electronic device 2, such as a plug-in hard disk equipped on the electronic device 2, a smart memory card (SMC), and a secure digital device. (Secure Digital, SD) card, flash card, etc. Of course, the memory 21 can also include both the internal storage unit of the electronic device 2 and its external storage device. In this embodiment, the memory 21 is generally used to store an operating system installed in the electronic device 2 and various application software, such as program code of the customer service system 20 of the human-machine cooperation. Further, the memory 21 can also be used to temporarily store various types of data that have been output or are to be output.
所述处理器22在一些实施例中可以是中央处理器(Central Processing Unit,CPU)、控制器、微控制器、微处理器、或其他数据处理芯片。该处理器22通常用于控制所述电子装置2的总体操作,例如执行与所述电子装置2进行数据交互或者通信相关的控制和处理等。本实施例中,所述处理器22用于运行所述存储器21中存储的程序代码或者处理数据,例如运行所述的人机协作的客服系统20等。The processor 22 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor, or other data processing chip in some embodiments. The processor 22 is typically used to control the overall operation of the electronic device 2, such as performing control and processing associated with data interaction or communication with the electronic device 2. In this embodiment, the processor 22 is configured to run program code or processing data stored in the memory 21, such as the customer service system 20 that runs the human-machine cooperation.
所述网络接口23可包括无线网络接口或有线网络接口,该网络接口23通常用于在所述电子装置2与其他电子装置之间建立通信连接。例如,所述网络接口23用于通过网络将所述电子装置2与外部终端相连,在所述电子装置2与外部终端之间的建立数据传输通道和通信连接等。所述网络可以是企业内部网(Intranet)、互联网(Internet)、全球移动通讯系统(Global System  of Mobile communication,GSM)、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、4G网络、5G网络、蓝牙(Bluetooth)、Wi-Fi等无线或有线网络。The network interface 23 may comprise a wireless network interface or a wired network interface, which is typically used to establish a communication connection between the electronic device 2 and other electronic devices. For example, the network interface 23 is configured to connect the electronic device 2 to an external terminal through a network, establish a data transmission channel, a communication connection, and the like between the electronic device 2 and an external terminal. The network may be an intranet, an Internet, a Global System of Mobile communication (GSM), a Wideband Code Division Multiple Access (WCDMA), a 4G network, or a 5G network. Wireless or wired networks such as network, Bluetooth, Wi-Fi, etc.
需要指出的是,图1仅示出了具有组件21-23的电子装置2,但是应理解的是,并不要求实施所有示出的组件,可以替代的实施更多或者更少的组件。It is pointed out that FIG. 1 only shows the electronic device 2 with the components 21-23, but it should be understood that not all illustrated components are required to be implemented, and more or fewer components may be implemented instead.
在本实施例中,存储于存储器21中的所述人机协作的客服系统20可以被分割为一个或者多个程序模块,所述一个或者多个程序模块被存储于存储器21中,并可由一个或多个处理器(本实施例为处理器22)所执行,以完成本申请。In this embodiment, the human-machine cooperative customer service system 20 stored in the memory 21 may be divided into one or more program modules, and the one or more program modules are stored in the memory 21 and may be Or multiple processors (this embodiment is processor 22) are executed to complete the application.
例如,图2示出了所述人机协作的客服系统20一实施例的程序模块示意图,该实施例中,所述人机协作的客服系统20可以被分割为标准知识库201、同义词库202、会话获取分析模块203、答案匹配模块204、自动推送模块205和人工推送模块206。以下描述将具体介绍所述程序模块201-206的具体功能。For example, FIG. 2 is a schematic diagram of a program module of an embodiment of the human-machine cooperation customer service system 20. In this embodiment, the human-machine cooperation customer service system 20 can be divided into a standard knowledge base 201 and a thesaurus 202. The session acquisition analysis module 203, the answer matching module 204, the automatic push module 205, and the manual push module 206. The following description will specifically describe the specific functions of the program modules 201-206.
标准知识库201用于存储有若干用于智能问答的标准问题-答案对,并将标准问题拆分为由若干关键词组成的词序列与该标准问题关联保存;同义词库202用于存储有若干由标准词关联该标准词的近义词组成的词群,所述标准词与标准问题中的关键词相对应;会话获取分析模块203用于获取客户的问题并进行分析,将客户的问题拆分为仅包含有标准词的标准词序列;答案匹配模块204用于将标准词序列与标准知识库中的词序列进行匹配,并对应标准知识库中的每个词序列计算出相应的匹配值;自动推送模块205用于推送匹配值最高的词序列关联的标准问题所对应的答案显示在人工客服的对话框中;人工推送模块206用于在人工客服对推送的内容进行判断后推送正确的答案给客户。The standard knowledge base 201 is configured to store a number of standard question-answer pairs for intelligent question and answer, and split the standard question into a sequence of words consisting of several keywords associated with the standard question; the thesaurus 202 is used to store a number of a word group consisting of a standard word associated with a synonym of the standard word, the standard word corresponding to a keyword in a standard question; the session acquisition analysis module 203 is configured to acquire a customer's problem and analyze the problem, and split the customer's question into A standard word sequence containing only standard words; the answer matching module 204 is configured to match the standard word sequence with the word sequence in the standard knowledge base, and calculate a corresponding matching value corresponding to each word sequence in the standard knowledge base; The answer corresponding to the standard question of the push module 205 for pushing the word sequence associated with the highest matching value is displayed in the dialog box of the manual customer service; the manual pushing module 206 is used to push the correct answer after the artificial customer service judges the pushed content. client.
本实施例中,所述人机协作的客服系统20可以在客户选择人工客服后,继续获取客户问题进行分析后查询答案,并将答案推送给人工客服,以节约人工客服查询答案的时间。In this embodiment, the human-machine cooperative customer service system 20 can continue to obtain the customer problem after the customer selects the manual customer service, analyze the query, and then send the answer to the manual customer service to save the time for the manual customer service to query the answer.
其次,本申请提出一种人机协作的客服方法。Secondly, the present application proposes a customer service method for human-machine collaboration.
在第一实施例中,如图3所示,所述的人机协作的客服方法包括如下步骤:In the first embodiment, as shown in FIG. 3, the human-machine cooperation customer service method includes the following steps:
S1、构建标准知识库,存储有若干用于智能问答的标准问题-答案对,并将标准问题拆分为由若干关键词组成的词序列与该标准问题关联保存;S1. Build a standard knowledge base, store a number of standard question-answer pairs for intelligent question and answer, and split the standard question into a sequence of words consisting of several keywords to be associated with the standard question;
S2、构建同义词库,存储有若干由标准词关联该标准词的近义词组成的词群,所述标准词与标准问题中的关键词相对应;S2, constructing a synonym database, storing a plurality of word groups consisting of standard words associated with the standard words, the standard words corresponding to keywords in the standard question;
S3、获取客户的问题并进行分析,将客户的问题拆分为仅包含有标准词的标准词序列;S3. Obtain the customer's problem and analyze it, and split the customer's problem into a standard word sequence containing only standard words;
S4、将标准词序列与标准知识库中的词序列进行匹配,并对应标准知识库中的每个词序列计算出相应的匹配值;S4, matching the standard word sequence with the word sequence in the standard knowledge base, and calculating corresponding matching values corresponding to each word sequence in the standard knowledge base;
S5、推送匹配值最高的词序列关联的标准问题所对应的答案显示在人工客服的对话框中;S5. The answer corresponding to the standard question associated with the word sequence with the highest push matching value is displayed in the dialog box of the manual customer service;
S6、人工客服对推送的内容进行判断后推送正确的答案给客户。S6. The manual customer service judges the pushed content and pushes the correct answer to the customer.
需要说明的是,步骤S1中的构建标准知识库和步骤S2中的构建同义词库为预先维护在系统中的,无需每次使用都维护一次,只要在内容需要更新时维护便可,维护方式可以是手动维护、系统自动抓取信息后自动维护或者两者相结合维护。步骤S6中,人工客服对于智能客服推送的答案可以在对话框中进行修改,然后将修改正确的答案发送给客户。It should be noted that the build standard knowledge base in step S1 and the build synonym database in step S2 are pre-maintained in the system, and need not be maintained once every time, as long as the content needs to be updated, the maintenance mode can be maintained. It is manual maintenance, automatic maintenance after the system automatically captures information, or a combination of the two. In step S6, the answer of the manual customer service for the smart customer service push can be modified in the dialog box, and then the correct answer is sent to the client.
基于上述第一实施例,在第二实施例中,如图4所示,所述步骤S1具体包括以下分步骤:Based on the foregoing first embodiment, in the second embodiment, as shown in FIG. 4, the step S1 specifically includes the following sub-steps:
S11、搜集并整理问题和与该问题相匹配的答案,构建成标准问题-答案对并保存;S11. Collect and organize the questions and the answers that match the questions, construct a standard question-answer pair and save;
S12、通过分词工具将标准问题拆分成由若干个词组成的词序列;S12. Splitting the standard question into a sequence of words consisting of several words through a word segmentation tool;
S13、将词序列中的停用词去除,生成由若干关键词组成的词序列与该标准问题关联保存。S13. The stop words in the word sequence are removed, and a sequence of words composed of a plurality of keywords is generated and stored in association with the standard question.
下面以有关信用卡方面的问题维护为例对标准知识库的构建流程做具体说明:The following is a detailed description of the construction process of the standard knowledge base by taking the maintenance of the credit card as an example:
假设:标准问题1:如何申请开通信用卡?标准问题2:信用卡自动还款借记卡余额不足怎么办?标准问题3:如何办理信用卡挂失?Assumption: Standard Question 1: How to apply for a credit card? Standard question 2: What should I do if my credit card auto repayment debit card balance is insufficient? Standard question 3: How to handle credit card loss reporting?
1、针对3个标准问题分别查找相对应的答案,将答案和3个标准问题分别对应构建成标准问题-答案对并保存在标准知识库中。2、将3个标准问分别拆分成词序列,分别为:“如何 申请 开通 信用卡”、“信用卡 自动 还款 借记卡 余额 不足 怎么办”和“如何 办理 信用卡 挂失”。3、去除词序列中的停用词,生成3组由若干关键词组成的词序列“申请 开通 信用卡”、“信用卡 自动 还款 余额 不足”和“办理 信用卡 挂失”,将这3组词序列分别与相对应的标准问题关联保存在标准知识库中。1. Find the corresponding answer for each of the three standard questions, and construct the answer and the three standard questions into standard question-answer pairs and save them in the standard knowledge base. 2. Split the three standard questions into word sequences, respectively: “How to apply for a credit card”, “How to do if the credit card automatic repayment debit card balance is insufficient” and “How to handle credit card loss reporting”. 3. Remove the stop words in the word sequence, and generate 3 sets of word sequences consisting of several keywords: “Apply for credit card”, “Insufficient credit card automatic repayment balance” and “Handling credit card loss”, respectively. Associated with the corresponding standard question is stored in the standard knowledge base.
基于上述第二实施例,在第三实施例中,如图5所示,所述步骤S2具体包括以下分步骤:Based on the foregoing second embodiment, in the third embodiment, as shown in FIG. 5, the step S2 specifically includes the following sub-steps:
S21、提取标准知识库中各标准问题中的关键词;S21. Extract keywords in each standard question in the standard knowledge base;
S22、将所有关键词组成关键词集合并进行去重处理,得到标准词集合;S22. Combine all keywords into a keyword set and perform deduplication processing to obtain a standard word set.
S23、依次提取标准词集合中的标准词,搜集与该标准词意思相近的至少一个近义词,并将所述近义词与所述标准词关联成词群进行保存。S23. Extract standard words in the standard word set in turn, collect at least one synonym similar to the standard word, and associate the synonyms with the standard words into a word group for preservation.
本实施例中,将标准问题中关键词确定为标准词,然后给每个标准词关联若干近义词,以便客户根据各自习惯使用词时,系统可以将非标准词替换成标准词,优化匹配效果,提高匹配的正确率。In this embodiment, the keywords in the standard question are determined as standard words, and then each standard word is associated with a number of synonyms, so that when the customer uses the words according to their respective habits, the system can replace the non-standard words with standard words to optimize the matching effect. Improve the correct rate of matching.
接上例,同义词库的维护流程如下:1、分别提取3个标准问题中的关键词“申请 开通 信用卡”、“信用卡 自动 还款余额 不足”和“办理 信用卡 挂失”。2、将“信用卡”这个关键词去重,得到标准词集合“申请 开通 信用卡 自动 还款余额 不足 办理 挂失”。3、先找出“申请”的近义词,可以是“申办”、“请求”或“办理”等,将这些词与标准词“申请”关联保存为申请词群;其他关键词词群的组成同申请词群的组成。In the following example, the maintenance process of the thesaurus is as follows: 1. Extract the keywords “Apply for Credit Card”, “Insufficient Credit Card Auto Repayment Balance” and “Handle Credit Card Loss” in the three standard questions. 2. The keyword “credit card” is de-emphasized, and the standard word set “Apply for credit card automatic repayment balance is insufficient to report the loss”. 3. First find the synonym of “application”, which can be “sponsorship”, “request” or “handling”, etc., and save these words in association with the standard word “application” as the application group; the composition of other keyword groups is the same. The composition of the application group.
基于上述第三实施例,在第四实施例中,如图6所示,步骤S3具体包括以下分步骤:Based on the third embodiment described above, in the fourth embodiment, as shown in FIG. 6, step S3 specifically includes the following sub-steps:
S31、获取客户的问题;S31. Obtaining a customer's problem;
S32、分词,利用分词工具将客户的问题拆分成由若干个词组成的词序列;S32, word segmentation, using the word segmentation tool to split the customer's problem into a sequence of words composed of several words;
S33、提取关键词,通过去除词序列中的停用词,生成仅由关键词组成的简化词序列;S33. Extract a keyword, and generate a simplified word sequence composed only of keywords by removing the stop word in the word sequence;
S34、替换同义词,判断简化词序列中的关键词是否属于同义词库中的标准词,若不是则用同义词库中的标准词替换该关键词,生成仅包含有标准词的标准词序列;S34, replacing the synonym, determining whether the keyword in the simplified word sequence belongs to the standard word in the synonym database, and if not, replacing the keyword with the standard word in the synonym database, and generating a standard word sequence containing only the standard word;
S35、输出标准词序列。S35. Output a standard word sequence.
接上例,假设有客户进线询问老带新活动,问题为“信用卡自动还款借记卡里钱不够怎么办?”,会话分析的流程具体为:1、获取客户的问题“信用卡自动还款借记卡里钱不够怎么办?”。2、将客户的问题拆分为词序列“信用卡 自动 还款 借记卡 里 钱 不够 怎么办”。3、提取出前述词序列中的五个关键词“信用卡”、“自动”、“还款”、“钱”、“不够”,生成简化词序列“信用卡 自动 还款 钱 不够”。4、将前述简化词序列中的“不够”用“不足”替换,生成标准词序列“信用卡 自动 还款 钱 不足”。5、输出标准词序列“信用卡 自动 还款 钱 不足”。In the example above, suppose a customer enters the line to ask about the old activity. The question is “What should I do if there is not enough money in the credit card automatic repayment debit card?” The process of the session analysis is as follows: 1. Obtain the customer’s question “Credit card automatically What if the money in the debit card is not enough?". 2, the customer's problem is divided into the word sequence "credit card automatic repayment debit card, the money is not enough, how to do." 3. Extract the five keywords “credit card”, “automatic”, “repayment”, “money”, and “not enough” in the sequence of words, and generate a simplified word sequence “credit card automatic repayment is not enough”. 4. Replace “insufficient” in the aforementioned simplified word sequence with “insufficient” to generate a standard word sequence “Insufficient credit card automatic repayment”. 5, the output standard word sequence "credit card automatic repayment of insufficient money."
基于上述第四实施例,在第五实施例中,如图7所示,分步骤S33具体包括以下子步骤:Based on the fourth embodiment described above, in the fifth embodiment, as shown in FIG. 7, the sub-step S33 specifically includes the following sub-steps:
S341、获取简化词序列中的关键词;S341. Acquire keywords in the simplified word sequence;
S342、将获取的关键词与同义词库中的标准词进行一一比对;S342, comparing the obtained keywords with the standard words in the thesaurus;
S343、判断同义词库中是否具有与该关键词相匹配的标准词,若是则执行步骤S345,若否则执行步骤S344;S343, determining whether there is a standard word matching the keyword in the thesaurus, if yes, executing step S345, if otherwise, executing step S344;
S344、将该关键词与同义词库中的近义词进行一一比对,找出与所述该关键词相同的同义词,并将该同义词所关联的标准词替换该关键词在简化词序列中的位置;S344, comparing the keyword with the synonym in the thesaurus, finding the same synonym as the keyword, and replacing the standard word associated with the synonym with the position of the keyword in the simplified word sequence. ;
S345、判断该关键词是否为所述简化词序列中的最后一个词,若是则执行步骤S346,若否则执行步骤S341;S345, determining whether the keyword is the last word in the sequence of simplified words, if yes, executing step S346, if otherwise performing step S341;
S346、生成仅包含有标准词的标准词序列。S346. Generate a standard word sequence containing only standard words.
接上例,以对简化词序列“信用卡 自动 还款 钱 不够”进行替换同义词为例具体说明替换过程:1、获取简化词序列“信用卡 自动 还款 钱 不够”中的第一个关键词“信用卡”;2、将关键词“信用卡”与同义词库中的标准词进行比对,找到一样的词“信用卡”;3、判断关键词“信用卡”不是简化词序列“信用卡 自动 还款 钱 不够”中的最后一个词;4、获取简化词序列“信用卡 自动 还款 钱 不够”中的第二个关键词“自动”,重复前面的步骤,直到该简化词序列中的第四个关键词“钱”;5、获取简化词序列“信用卡 自动 还款 钱 不够”中的第五个关键词“不够”;6、将关键词“不够”与同义词库中的标准词进行比对,没有找到一样的词;7、将关键词“不够”与同义词库中的近义词进行比对,找到一样的词“不够”,用词“不够”关联的标准词“不足”替换简化词序列中的关键词“不够”;8、判断关键词“不够”是简化词序列“信用卡 自动 还款 钱 不够”中的最后一个词;9、生成标准词序列“信用卡 自动 还款 钱 不足”。In the following example, the replacement process is described by replacing the synonym of the simplified word sequence "credit card automatic repayment is not enough" as an example: 1. Obtain the first keyword "credit card" in the simplified word sequence "credit card automatic repayment money is not enough" "2. Compare the keyword "credit card" with the standard words in the thesaurus to find the same word "credit card"; 3. Determine the keyword "credit card" is not a simplified word sequence "credit card automatic repayment is not enough" The last word; 4. Obtain the second keyword "automatic" in the simplified word sequence "credit card automatic repayment money is not enough", repeat the previous steps until the fourth keyword "money" in the simplified word sequence 5, to obtain the simplified keyword sequence "credit card automatic repayment, insufficient money" in the fifth keyword "not enough"; 6, the keyword "not enough" compared with the standard words in the thesaurus, did not find the same word 7. Compare the keyword "not enough" with the synonym in the thesaurus, find the same word "not enough", use the word "not enough The associated standard word "insufficient" replaces the keyword "not enough" in the simplified word sequence; 8. The judgment keyword "not enough" is the last word in the simplified word sequence "credit card automatic repayment money is not enough"; 9, generating standard words The sequence "credit card automatic repayment is insufficient".
基于上述第五实施例,在第六实施例中,如图8所示,步骤S4具体包括以下分步骤:Based on the fifth embodiment described above, in the sixth embodiment, as shown in FIG. 8, step S4 specifically includes the following sub-steps:
S41、从标准知识库中提取出一个标准问题相关联的词序列;S41. Extract a sequence of words associated with a standard question from a standard knowledge base;
S42、从标准词序列中提取出一个标准词与词序列中的关键词进行匹配;S42. Extract a standard word from the standard word sequence to match the keyword in the word sequence;
S43、判断该标准词是否与词序列中的关键词相匹配,若是则执行步骤S44,若否则执行步骤S45;S43, it is determined whether the standard word matches the keyword in the word sequence, if yes, step S44 is performed, otherwise step S45 is performed;
S44、按照打分规则累计相应的分值;S44. Accumulating corresponding scores according to a scoring rule;
S45、判断标准词是否为标准词序列中的最后一个标准词,若是则执行步骤S46,若否则执行步骤S42;S45, determining whether the standard word is the last standard word in the standard word sequence, if yes, executing step S46, if otherwise performing step S42;
S46、输出累计的合计分值,再计算出该合计分值与所述词序列中所有关键词的总分值之间的比值作为匹配值进行暂存;S46. Output a cumulative total score, and then calculate a ratio between the total score and a total score of all keywords in the word sequence as a matching value for temporary storage;
S47、判断所述词序列是否为标准知识库中的最后一个词序列,若是则执行步骤S48,若否则执行步骤S41;S47, determining whether the word sequence is the last word sequence in the standard knowledge base, if yes, executing step S48, if otherwise, performing step S41;
S48、将所有暂存的匹配值降序排列。S48. Sort all the temporarily stored matching values in descending order.
接上例,以用标准词序列“信用卡 自动 还款 钱 不足”与标准知识库中的词序列进行匹配为例,具体说明匹配值的计算过程:1、从标准知识库中提取出一个标准问题“如何申请开通信用卡?”关联的词序列“申请 开通 信用卡”;2、从标准词序列“信用卡 自动 还款 钱 不足”中提取一个标准词“信用卡”与词序列“申请 开通 信用卡”的各个关键词依次进行匹配;3、该标准词“信用卡”与词序列“申请 开通 信用卡”的“信用卡”相匹配;4、按照打分规则累计分值5;5、判断标准词“信用卡”不是标准词序列中的最后一个标准词,依次将标准词序列“信用卡 自动 还款 钱 不足”中的各标准词与与词序列“申请 开通 信用卡”的各个关键词依次进行匹配,没有其他相匹配的词;6、输出累计的合计分值5,总分值为9,计算出匹配值为0.56;7、所述词序列“申请 开通 信用卡”不是标准知识库中 的最后一个词序列,因此依次取出标准知识库中的第二个词序列“信用卡 自动 还款 余额 不足”计算出匹配值为0.9,再取出标准知识库中的第二个词序列“办理 信用卡 挂失”计算出匹配值为0.56,依次类推进行计算……;8、这里仅将上述三个匹配值进行降序排列,分别为0.9、0.56、0.56。In the following example, the standard word sequence “Insufficient credit card automatic repayment amount” is matched with the word sequence in the standard knowledge base as an example to specify the calculation process of the matching value: 1. Extract a standard question from the standard knowledge base. “How do I apply for a credit card?” The associated word sequence “Apply for a credit card”; 2. Extract the key words of a standard word “credit card” and the word sequence “Apply for a credit card” from the standard word sequence “Insufficient credit card automatic repayment” The words are matched in order; 3. The standard word "credit card" matches the "credit card" of the word sequence "apply for credit card"; 4. the score is accumulated according to the scoring rule; 5; the standard word "credit card" is not a standard word sequence. The last standard word in the order, in turn, matches the standard words in the standard word sequence “Insufficient credit card automatic repayment” with the keywords in the word sequence “Apply for credit card”, and there are no other matching words; And output the accumulated total score of 5, the total score is 9, and the matching value is calculated to be 0.5. 6; 7, the word sequence "application for opening a credit card" is not the last word sequence in the standard knowledge base, so the second word sequence in the standard knowledge base "incorrect credit card automatic repayment balance" is sequentially extracted to calculate the matching value. 0.9, and then take out the second word sequence in the standard knowledge base "handling credit card loss reporting" to calculate the matching value of 0.56, and so on to calculate... 8. Here, only the above three matching values are arranged in descending order, respectively 0.9 , 0.56, 0.56.
本例中,匹配值最高为0.9,对应的词序列为“信用卡 自动 还款 余额 不足”,该词序列关联的标准问题为“信用卡自动还款借记卡余额不足怎么办?”,最终将该标准问题对应的答案推送并显示在人工客服的对话框中。In this example, the matching value is up to 0.9, and the corresponding word sequence is “Insufficient credit card automatic repayment balance”. The standard question associated with the word sequence is “What should I do if the credit card automatic repayment debit card balance is insufficient?” The answer to the standard question is pushed and displayed in the manual customer service dialog.
基于上述第六实施例,在第七实施例中,如图9所示,步骤S6具体包括以下分步骤:S61、人工客服对对话框中显示的答案进行判断,若答案正确则执行步骤S63,若答案不正确则执行步骤S62;S62、对不正确的答案进行修改;S63、将答案推送给客户。Based on the sixth embodiment, in the seventh embodiment, as shown in FIG. 9, step S6 specifically includes the following sub-steps: S61, the manual customer service determines the answer displayed in the dialog box, and if the answer is correct, step S63 is performed. If the answer is not correct, step S62 is performed; S62, the incorrect answer is modified; and S63, the answer is pushed to the client.
接上例,以推送标准问题“信用卡自动还款借记卡余额不足怎么办?”所对应的答案给人工客服为例,具体说明人工推送的流程:1、人工客服判断显示在对话框中的答案是客户问题的正确答案;2、将该答案直接发送给客户。Connected to the example, to push the standard question "What should I do if the credit card automatic repayment debit card balance is insufficient?" The answer is given to the manual customer service as an example. The manual push process is specified: 1. The manual customer service judgment is displayed in the dialog box. The answer is the correct answer to the customer's question; 2. The answer is sent directly to the customer.
假设人工客服判断显示在对话框中的答案不正确或者部分不正确,则需要对该答案进行修正,然后将修正后的答案发送给客户。比如:显示在对话框中的答案是标准问题“如何申请开通信用卡?”所对应的答案时,则人工客服需要将对话框清空,重新输入正确答案。又比如:显示在对话框中的答案是标准问题“信用卡自动还款借记卡余额不足怎么办?”所对应的答案,但是答案中部分内容没有及时更新,则人工客服需要对该答案进行更新,再将最新的答案发送给客户。Assuming that the manual customer service determines that the answer displayed in the dialog box is incorrect or partially incorrect, the answer needs to be corrected and the corrected answer is sent to the client. For example, if the answer displayed in the dialog box is the answer to the standard question “How do I apply for a credit card?”, the manual customer service needs to clear the dialog box and re-enter the correct answer. Another example: the answer displayed in the dialog box is the answer to the standard question “What if the credit card automatic repayment debit card balance is insufficient?”, but some of the answers are not updated in time, then the manual customer service needs to update the answer. , then send the latest answer to the customer.
此外,本申请一种计算机可读存储介质,该计算机可读存储介质内存储有人机协作的客服系统20,该人机协作的客服系统20可被一个或多个处理 器执行时,实现上述人机协作的客服方法或电子装置的操作。In addition, the present application is a computer readable storage medium storing a human-machine cooperation customer service system 20, which can be implemented by one or more processors to implement the above-mentioned person The customer service method of the machine cooperation or the operation of the electronic device.
虽然以上描述了本申请的具体实施方式,但是本领域的技术人员应当理解,这仅是举例说明,本申请的保护范围是由所附权利要求书限定的。本领域的技术人员在不背离本申请的原理和实质的前提下,可以对这些实施方式做出多种变更或修改,但这些变更和修改均落入本申请的保护范围。While the embodiments of the present invention have been described above, it will be understood by those skilled in the art that the scope of the invention is defined by the appended claims. A person skilled in the art can make various changes or modifications to these embodiments without departing from the spirit and scope of the present application, and such changes and modifications fall within the scope of the present application.

Claims (15)

  1. 一种人机协作的客服方法,其特征在于,包括如下步骤:A human-machine cooperation customer service method, characterized in that the method comprises the following steps:
    S1、构建标准知识库,存储有若干用于智能问答的标准问题-答案对,并将标准问题拆分为由若干关键词组成的词序列与该标准问题关联保存;S1. Build a standard knowledge base, store a number of standard question-answer pairs for intelligent question and answer, and split the standard question into a sequence of words consisting of several keywords to be associated with the standard question;
    S2、构建同义词库,存储有若干由标准词关联该标准词的近义词组成的词群,所述标准词与标准问题中的关键词相对应;S2, constructing a synonym database, storing a plurality of word groups consisting of standard words associated with the standard words, the standard words corresponding to keywords in the standard question;
    S3、获取客户的问题并进行分析,将客户的问题拆分为仅包含有标准词的标准词序列;S3. Obtain the customer's problem and analyze it, and split the customer's problem into a standard word sequence containing only standard words;
    S4、将标准词序列与标准知识库中的词序列进行匹配,并对应标准知识库中的每个词序列计算出相应的匹配值;S4, matching the standard word sequence with the word sequence in the standard knowledge base, and calculating corresponding matching values corresponding to each word sequence in the standard knowledge base;
    S5、推送匹配值最高的词序列关联的标准问题所对应的答案显示在人工客服的对话框中;S5. The answer corresponding to the standard question associated with the word sequence with the highest push matching value is displayed in the dialog box of the manual customer service;
    S6、人工客服对推送的内容进行判断后推送正确的答案给客户。S6. The manual customer service judges the pushed content and pushes the correct answer to the customer.
  2. 根据权利要求1所述的人机协作的客服方法,其特征在于,步骤S1具体包括以下分步骤:The customer service cooperation method of the human-machine cooperation according to claim 1, wherein the step S1 specifically comprises the following sub-steps:
    S11、搜集并整理问题和与该问题相匹配的答案,构建成标准问题-答案对并保存;S11. Collect and organize the questions and the answers that match the questions, construct a standard question-answer pair and save;
    S12、通过分词工具将标准问题拆分成由若干个词组成的词序列;S12. Splitting the standard question into a sequence of words consisting of several words through a word segmentation tool;
    S13、将词序列中的停用词去除,生成由若干关键词组成的词序列与该标准问题关联保存。S13. The stop words in the word sequence are removed, and a sequence of words composed of a plurality of keywords is generated and stored in association with the standard question.
  3. 根据权利要求2所述的人机协作的客服方法,其特征在于,步骤S2具体包括以下分步骤:The customer service cooperation method of the human-machine cooperation according to claim 2, wherein the step S2 comprises the following sub-steps:
    S21、提取标准知识库中各标准问题中的关键词;S21. Extract keywords in each standard question in the standard knowledge base;
    S22、将所有关键词组成关键词集合并进行去重处理,得到标准词集合;S22. Combine all keywords into a keyword set and perform deduplication processing to obtain a standard word set.
    S23、依次提取标准词集合中的标准词,搜集与该标准词意思相近的至 少一个近义词,并将所述近义词与所述标准词关联成词群进行保存。S23. Extract standard words in the standard word set in turn, collect at least one synonym similar to the standard word, and associate the synonyms with the standard words into a word group for preservation.
  4. 根据权利要求3所述的人机协作的客服方法,其特征在于,步骤S3具体包括以下分步骤:The customer service method for human-machine cooperation according to claim 3, wherein the step S3 specifically comprises the following sub-steps:
    S31、获取客户的问题;S31. Obtaining a customer's problem;
    S32、分词,利用分词工具将客户的问题拆分成由若干个词组成的词序列;S32, word segmentation, using the word segmentation tool to split the customer's problem into a sequence of words composed of several words;
    S33、提取关键词,通过去除词序列中的停用词,生成仅由关键词组成的简化词序列;S33. Extract a keyword, and generate a simplified word sequence composed only of keywords by removing the stop word in the word sequence;
    S34、替换同义词,判断简化词序列中的关键词是否属于同义词库中的标准词,若不是则用同义词库中的标准词替换该关键词,生成仅包含有标准词的标准词序列;S34, replacing the synonym, determining whether the keyword in the simplified word sequence belongs to the standard word in the synonym database, and if not, replacing the keyword with the standard word in the synonym database, and generating a standard word sequence containing only the standard word;
    S35、输出标准词序列。S35. Output a standard word sequence.
  5. 根据权利要求4所述的人机协作的客服方法,其特征在于,分步骤S34具体包括以下子步骤:The human-machine cooperation customer service method according to claim 4, wherein the sub-step S34 comprises the following sub-steps:
    S341、获取简化词序列中的关键词;S341. Acquire keywords in the simplified word sequence;
    S342、将获取的关键词与同义词库中的标准词进行一一比对;S342, comparing the obtained keywords with the standard words in the thesaurus;
    S343、判断同义词库中是否具有与该关键词相匹配的标准词,若是则执行步骤S345,若否则执行步骤S344;S343, determining whether there is a standard word matching the keyword in the thesaurus, if yes, executing step S345, if otherwise, executing step S344;
    S344、将该关键词与同义词库中的近义词进行一一比对,找出与所述该关键词相同的同义词,并将该同义词所关联的标准词替换该关键词在简化词序列中的位置;S344, comparing the keyword with the synonym in the thesaurus, finding the same synonym as the keyword, and replacing the standard word associated with the synonym with the position of the keyword in the simplified word sequence. ;
    S345、判断该关键词是否为所述简化词序列中的最后一个词,若是则执行步骤S346,若否则执行步骤S341;S345, determining whether the keyword is the last word in the sequence of simplified words, if yes, executing step S346, if otherwise performing step S341;
    S346、生成仅包含有标准词的标准词序列。S346. Generate a standard word sequence containing only standard words.
  6. 根据权利要求5所述的人机协作的客服方法,其特征在于,步骤S4具体包括以下分步骤:The customer service cooperation method of the human-machine cooperation according to claim 5, wherein the step S4 specifically comprises the following sub-steps:
    S41、从标准知识库中提取出一个标准问题相关联的词序列;S41. Extract a sequence of words associated with a standard question from a standard knowledge base;
    S42、从标准词序列中提取出一个标准词与词序列中的关键词进行匹配;S42. Extract a standard word from the standard word sequence to match the keyword in the word sequence;
    S43、判断该标准词是否与词序列中的关键词相匹配,若是则执行步骤S44,若否则执行步骤S45;S43, it is determined whether the standard word matches the keyword in the word sequence, if yes, step S44 is performed, otherwise step S45 is performed;
    S44、按照打分规则累计相应的分值;S44. Accumulating corresponding scores according to a scoring rule;
    S45、判断标准词是否为标准词序列中的最后一个标准词,若是则执行步骤S46,若否则执行步骤S42;S45, determining whether the standard word is the last standard word in the standard word sequence, if yes, executing step S46, if otherwise performing step S42;
    S46、输出累计的合计分值,再计算出该合计分值与所述词序列中所有关键词的总分值之间的比值作为匹配值进行暂存;S46. Output a cumulative total score, and then calculate a ratio between the total score and a total score of all keywords in the word sequence as a matching value for temporary storage;
    S47、判断所述词序列是否为标准知识库中的最后一个词序列,若是则执行步骤S48,若否则执行步骤S41;S47, determining whether the word sequence is the last word sequence in the standard knowledge base, if yes, executing step S48, if otherwise, performing step S41;
    S48、将所有暂存的匹配值降序排列。S48. Sort all the temporarily stored matching values in descending order.
  7. 根据权利要求6所述的人机协作的客服方法,其特征在于,步骤S6具体包括以下分步骤:The customer service method for human-machine cooperation according to claim 6, wherein the step S6 specifically comprises the following sub-steps:
    S61、人工客服对对话框中显示的答案进行判断,若答案正确则执行步骤S63,若答案不正确则执行步骤S62;S61, the manual customer service determines the answer displayed in the dialog box, if the answer is correct, step S63 is performed, if the answer is not correct, step S62 is performed;
    S62、对不正确的答案进行修改;S62. Modify the incorrect answer;
    S63、将答案推送给客户。S63. Push the answer to the customer.
  8. 一种电子装置,包括存储器和处理器,其特征在于,所述存储器上存储有可被所述处理器执行的人机协作的客服系统,所述人机协作的客服系统包括:An electronic device includes a memory and a processor, wherein the memory stores a customer service system capable of being executed by the processor, and the human-machine cooperation customer service system comprises:
    标准知识库,用于存储有若干用于智能问答的标准问题-答案对,并将标准问题拆分为由若干关键词组成的词序列与该标准问题关联保存;a standard knowledge base for storing a number of standard question-answer pairs for intelligent question and answer, and splitting the standard question into a sequence of words consisting of several keywords associated with the standard question;
    同义词库,用于存储有若干由标准词关联该标准词的近义词组成的词群,所述标准词与标准问题中的关键词相对应;a synonym library for storing a plurality of word groups consisting of a synonym of a standard word associated with the standard word, the standard word corresponding to a keyword in a standard question;
    会话获取分析模块,用于获取客户的问题并进行分析,将客户的问题拆 分为仅包含有标准词的标准词序列;The session acquisition analysis module is configured to acquire and analyze the customer's problem, and split the customer's problem into a standard word sequence containing only standard words;
    答案匹配模块,用于将标准词序列与标准知识库中的词序列进行匹配,并对应标准知识库中的每个词序列计算出相应的匹配值;An answer matching module, configured to match the standard word sequence with the word sequence in the standard knowledge base, and calculate a corresponding matching value corresponding to each word sequence in the standard knowledge base;
    自动推送模块,用于推送匹配值最高的词序列关联的标准问题所对应的答案显示在人工客服的对话框中;The automatic push module, which is used to push the standard question associated with the word sequence with the highest matching value, is displayed in the dialog box of the manual customer service;
    人工推送模块,用于在人工客服对推送的内容进行判断后推送正确的答案给客户。The manual push module is used to push the correct answer to the customer after the manual customer service judges the pushed content.
  9. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质内存储有人机协作的客服系统,所述人机协作的客服系统可被至少一个处理器所执行,以执行以下步骤:A computer readable storage medium, wherein the computer readable storage medium stores a human machine cooperative customer service system, and the human machine cooperative customer service system can be executed by at least one processor to perform the following steps:
    S1、构建标准知识库,存储有若干用于智能问答的标准问题-答案对,并将标准问题拆分为由若干关键词组成的词序列与该标准问题关联保存;S1. Build a standard knowledge base, store a number of standard question-answer pairs for intelligent question and answer, and split the standard question into a sequence of words consisting of several keywords to be associated with the standard question;
    S2、构建同义词库,存储有若干由标准词关联该标准词的近义词组成的词群,所述标准词与标准问题中的关键词相对应;S2, constructing a synonym database, storing a plurality of word groups consisting of standard words associated with the standard words, the standard words corresponding to keywords in the standard question;
    S3、获取客户的问题并进行分析,将客户的问题拆分为仅包含有标准词的标准词序列;S3. Obtain the customer's problem and analyze it, and split the customer's problem into a standard word sequence containing only standard words;
    S4、将标准词序列与标准知识库中的词序列进行匹配,并对应标准知识库中的每个词序列计算出相应的匹配值;S4, matching the standard word sequence with the word sequence in the standard knowledge base, and calculating corresponding matching values corresponding to each word sequence in the standard knowledge base;
    S5、推送匹配值最高的词序列关联的标准问题所对应的答案显示在人工客服的对话框中;S5. The answer corresponding to the standard question associated with the word sequence with the highest push matching value is displayed in the dialog box of the manual customer service;
    S6、人工客服对推送的内容进行判断后推送正确的答案给客户。S6. The manual customer service judges the pushed content and pushes the correct answer to the customer.
  10. 根据权利要求9所述的计算机可读存储介质,其特征在于,步骤S1具体包括以下分步骤:The computer readable storage medium according to claim 9, wherein the step S1 comprises the following substeps:
    S11、搜集并整理问题和与该问题相匹配的答案,构建成标准问题-答案对并保存;S11. Collect and organize the questions and the answers that match the questions, construct a standard question-answer pair and save;
    S12、通过分词工具将标准问题拆分成由若干个词组成的词序列;S12. Splitting the standard question into a sequence of words consisting of several words through a word segmentation tool;
    S13、将词序列中的停用词去除,生成由若干关键词组成的词序列与该标准问题关联保存。S13. The stop words in the word sequence are removed, and a sequence of words composed of a plurality of keywords is generated and stored in association with the standard question.
  11. 根据权利要求10所述的计算机可读存储介质,其特征在于,步骤S2具体包括以下分步骤:The computer readable storage medium according to claim 10, wherein the step S2 comprises the following substeps:
    S21、提取标准知识库中各标准问题中的关键词;S21. Extract keywords in each standard question in the standard knowledge base;
    S22、将所有关键词组成关键词集合并进行去重处理,得到标准词集合;S22. Combine all keywords into a keyword set and perform deduplication processing to obtain a standard word set.
    S23、依次提取标准词集合中的标准词,搜集与该标准词意思相近的至少一个近义词,并将所述近义词与所述标准词关联成词群进行保存。S23. Extract standard words in the standard word set in turn, collect at least one synonym similar to the standard word, and associate the synonyms with the standard words into a word group for preservation.
  12. 根据权利要求11所述的计算机可读存储介质,其特征在于,步骤S3具体包括以下分步骤:The computer readable storage medium according to claim 11, wherein the step S3 comprises the following substeps:
    S31、获取客户的问题;S31. Obtaining a customer's problem;
    S32、分词,利用分词工具将客户的问题拆分成由若干个词组成的词序列;S32, word segmentation, using the word segmentation tool to split the customer's problem into a sequence of words composed of several words;
    S33、提取关键词,通过去除词序列中的停用词,生成仅由关键词组成的简化词序列;S33. Extract a keyword, and generate a simplified word sequence composed only of keywords by removing the stop word in the word sequence;
    S34、替换同义词,判断简化词序列中的关键词是否属于同义词库中的标准词,若不是则用同义词库中的标准词替换该关键词,生成仅包含有标准词的标准词序列;S34, replacing the synonym, determining whether the keyword in the simplified word sequence belongs to the standard word in the synonym database, and if not, replacing the keyword with the standard word in the synonym database, and generating a standard word sequence containing only the standard word;
    S35、输出标准词序列。S35. Output a standard word sequence.
  13. 根据权利要求12所述的计算机可读存储介质,其特征在于,分步骤S34具体包括以下子步骤:The computer readable storage medium according to claim 12, wherein the substep S34 comprises the following substeps:
    S341、获取简化词序列中的关键词;S341. Acquire keywords in the simplified word sequence;
    S342、将获取的关键词与同义词库中的标准词进行一一比对;S342, comparing the obtained keywords with the standard words in the thesaurus;
    S343、判断同义词库中是否具有与该关键词相匹配的标准词,若是则执行步骤S345,若否则执行步骤S344;S343, determining whether there is a standard word matching the keyword in the thesaurus, if yes, executing step S345, if otherwise, executing step S344;
    S344、将该关键词与同义词库中的近义词进行一一比对,找出与所述该 关键词相同的同义词,并将该同义词所关联的标准词替换该关键词在简化词序列中的位置;S344, comparing the keyword with the synonym in the thesaurus, finding the same synonym as the keyword, and replacing the standard word associated with the synonym with the position of the keyword in the simplified word sequence. ;
    S345、判断该关键词是否为所述简化词序列中的最后一个词,若是则执行步骤S346,若否则执行步骤S341;S345, determining whether the keyword is the last word in the sequence of simplified words, if yes, executing step S346, if otherwise performing step S341;
    S346、生成仅包含有标准词的标准词序列;S346. Generate a standard word sequence containing only standard words;
  14. 根据权利要求13所述的计算机可读存储介质,其特征在于,步骤S4具体包括以下分步骤:The computer readable storage medium according to claim 13, wherein the step S4 comprises the following substeps:
    S41、从标准知识库中提取出一个标准问题相关联的词序列;S41. Extract a sequence of words associated with a standard question from a standard knowledge base;
    S42、从标准词序列中提取出一个标准词与词序列中的关键词进行匹配;S42. Extract a standard word from the standard word sequence to match the keyword in the word sequence;
    S43、判断该标准词是否与词序列中的关键词相匹配,若是则执行步骤S44,若否则执行步骤S45;S43, it is determined whether the standard word matches the keyword in the word sequence, if yes, step S44 is performed, otherwise step S45 is performed;
    S44、按照打分规则累计相应的分值;S44. Accumulating corresponding scores according to a scoring rule;
    S45、判断标准词是否为标准词序列中的最后一个标准词,若是则执行步骤S46,若否则执行步骤S42;S45, determining whether the standard word is the last standard word in the standard word sequence, if yes, executing step S46, if otherwise performing step S42;
    S46、输出累计的合计分值,再计算出该合计分值与所述词序列中所有关键词的总分值之间的比值作为匹配值进行暂存;S46. Output a cumulative total score, and then calculate a ratio between the total score and a total score of all keywords in the word sequence as a matching value for temporary storage;
    S47、判断所述词序列是否为标准知识库中的最后一个词序列,若是则执行步骤S48,若否则执行步骤S41;S47, determining whether the word sequence is the last word sequence in the standard knowledge base, if yes, executing step S48, if otherwise, performing step S41;
    S48、将所有暂存的匹配值降序排列。S48. Sort all the temporarily stored matching values in descending order.
  15. 根据权利要求14所述的计算机可读存储介质,其特征在于,步骤S6具体包括以下分步骤:The computer readable storage medium according to claim 14, wherein the step S6 comprises the following substeps:
    S61、人工客服对对话框中显示的答案进行判断,若答案正确则执行步骤S63,若答案不正确则执行步骤S62;S61, the manual customer service determines the answer displayed in the dialog box, if the answer is correct, step S63 is performed, if the answer is not correct, step S62 is performed;
    S62、对不正确的答案进行修改;S62. Modify the incorrect answer;
    S63、将答案推送给客户。S63. Push the answer to the customer.
PCT/CN2018/076507 2017-10-26 2018-02-12 Method for customer service of human-robot collaboration, electronic device, and storage medium WO2019080420A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201711030638.X 2017-10-26
CN201711030638.XA CN107832291B (en) 2017-10-26 2017-10-26 Man-machine cooperation customer service method, electronic device and storage medium

Publications (1)

Publication Number Publication Date
WO2019080420A1 true WO2019080420A1 (en) 2019-05-02

Family

ID=61650067

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/076507 WO2019080420A1 (en) 2017-10-26 2018-02-12 Method for customer service of human-robot collaboration, electronic device, and storage medium

Country Status (2)

Country Link
CN (1) CN107832291B (en)
WO (1) WO2019080420A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109710732B (en) * 2018-11-19 2021-03-05 东软集团股份有限公司 Information query method, device, storage medium and electronic equipment
CN109753648B (en) * 2018-11-30 2022-12-20 平安科技(深圳)有限公司 Word chain model generation method, device, equipment and computer readable storage medium
CN109710749A (en) * 2019-01-22 2019-05-03 深圳追一科技有限公司 A kind of customer service auxiliary device and method
CN110992956A (en) * 2019-11-11 2020-04-10 上海市研发公共服务平台管理中心 Information processing method, device, equipment and storage medium for voice conversion
CN111104500A (en) * 2019-12-21 2020-05-05 江西省天轴通讯有限公司 Cable matching method, system, readable storage medium and computer equipment
CN112199958A (en) * 2020-09-30 2021-01-08 平安科技(深圳)有限公司 Concept word sequence generation method and device, computer equipment and storage medium
CN114363466B (en) * 2022-03-22 2022-06-10 长沙居美网络科技有限公司 Intelligent cloud calling system based on AI

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101789008A (en) * 2010-01-26 2010-07-28 武汉理工大学 Man-machine interface system knowledge base and construction method thereof
JP2011103018A (en) * 2009-11-10 2011-05-26 Nippon Telegr & Teleph Corp <Ntt> Question answering device, question answering method and question answering program
CN106484801A (en) * 2016-09-23 2017-03-08 厦门快商通科技股份有限公司 A kind of dialogue method of intelligent customer service robot and its knowledge base management system
CN106844686A (en) * 2017-01-26 2017-06-13 武汉奇米网络科技有限公司 Intelligent customer service question and answer robot and its implementation based on SOLR

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7774198B2 (en) * 2006-10-06 2010-08-10 Xerox Corporation Navigation system for text
CN107092602B (en) * 2016-02-18 2021-02-05 朗新科技集团股份有限公司 Automatic response method and system
CN107220380A (en) * 2017-06-27 2017-09-29 北京百度网讯科技有限公司 Question and answer based on artificial intelligence recommend method, device and computer equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011103018A (en) * 2009-11-10 2011-05-26 Nippon Telegr & Teleph Corp <Ntt> Question answering device, question answering method and question answering program
CN101789008A (en) * 2010-01-26 2010-07-28 武汉理工大学 Man-machine interface system knowledge base and construction method thereof
CN106484801A (en) * 2016-09-23 2017-03-08 厦门快商通科技股份有限公司 A kind of dialogue method of intelligent customer service robot and its knowledge base management system
CN106844686A (en) * 2017-01-26 2017-06-13 武汉奇米网络科技有限公司 Intelligent customer service question and answer robot and its implementation based on SOLR

Also Published As

Publication number Publication date
CN107832291B (en) 2020-03-31
CN107832291A (en) 2018-03-23

Similar Documents

Publication Publication Date Title
WO2019080420A1 (en) Method for customer service of human-robot collaboration, electronic device, and storage medium
WO2019062001A1 (en) Intelligent robotic customer service method, electronic device and computer readable storage medium
US11714841B2 (en) Systems and methods for processing a natural language query in data tables
US11392775B2 (en) Semantic recognition method, electronic device, and computer-readable storage medium
CN110292775B (en) Method and device for acquiring difference data
JP6843882B2 (en) Learning from historical logs and recommending database operations for data assets in ETL tools
EP2947581B1 (en) Interactive searching method and apparatus
US11223723B2 (en) Call center system having reduced communication latency
US20190228008A1 (en) Method, device, server and storage apparatus of reviewing sql
WO2020205959A1 (en) Systems and methods for improved meeting engagement
CN108509591B (en) Information question-answer interaction method and system, storage medium, terminal and intelligent knowledge base
US20150161566A1 (en) Workforce planning and analytics
WO2019019375A1 (en) Method and apparatus for creating underwriting decision tree, and computer device and storage medium
WO2019062012A1 (en) Question association push method, electronic device and computer readable storage medium
CN106095842B (en) Online course searching method and device
US20190057335A1 (en) Targeted data element detection for crowd sourced projects with machine learning
CN106681299A (en) Event analysis device, event analysis system, event analysis method, and event analysis program
US20150234883A1 (en) Method and system for retrieving real-time information
US20150379112A1 (en) Creating an on-line job function ontology
CN110737432B (en) Script aided design method and device based on root list
WO2021174829A1 (en) Crowdsourced task inspection method, apparatus, computer device, and storage medium
CN109634986B (en) System monitoring method, device, computer and computer readable storage medium
CN112231385B (en) Data collection method, device, equipment and storage medium
CN110688827A (en) Data processing method and device, electronic equipment and storage medium
WO2020181800A1 (en) Apparatus and method for predicting score for question and answer content, and storage medium

Legal Events

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

Ref document number: 18871308

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 09/10/2020)

122 Ep: pct application non-entry in european phase

Ref document number: 18871308

Country of ref document: EP

Kind code of ref document: A1