A method for building an intelligent traffic disaster recovery platform for emergency traffic switching
Through the standardized configuration of the intelligent traffic disaster recovery platform, the traffic disaster recovery problem of public service departments in emergency situations has been solved, rapid online launch and flexible response to different needs have been achieved, and emergency response speed and service efficiency have been improved.
Patent Information
- Application Number
- CN202210106361.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-28
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2042-01-28
AI Technical Summary
Existing technology is difficult to quickly and effectively provide emergency call disaster recovery solutions for public service departments, especially when manual call overflow or emergencies occur. The customization and online speed of intelligent customer service are insufficient to respond to emergency needs in a timely manner.
Provide an intelligent traffic disaster recovery platform, through the standardized configuration of IVR navigation, intelligent process response and knowledge base question and answer modules, combined with visual pages and pre-training algorithms, to achieve rapid online and flexible response to different needs, support multi-level IVR navigation, intelligent Flowchart configuration and knowledge base Q&A consultation.
It realizes the rapid configuration and launch of intelligent customer service without affecting the intelligence level of intelligent customer service, significantly improves the configurability rate and response speed of emergency disaster recovery requirements, and solves the problem of manual agent traffic overflow and emergency traffic switching. problems and improve the service efficiency and user experience of public services.
Smart Images

Figure CN114500747B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of emergency disaster recovery intelligent customer service, and in particular to a method for building an intelligent traffic disaster recovery platform for emergency traffic switching. Background Art
[0002] With the development of artificial intelligence technology and the construction of an information-based and intelligent society, intelligent robots have begun to be tried in various fields. Moreover, with the improvement of basic algorithm technology, intelligent robots have gradually transitioned from being a backup for human labor to being able to work with humans and reliably share most of the formal work. Under such technical conditions, when human traffic overflows or fails and human customer service cannot handle incoming calls in a timely manner, the use of intelligent customer service as an emergency switching solution for traffic disaster recovery has gradually become an evolutionary trend.
[0003] Generally speaking, public service departments have service hotlines for the public, and receive inquiries from citizens every day. However, due to the limited number of manual operators, the number of calls that can be connected is limited. During peak hours and at night and early morning when manual customer service cannot answer calls, overflow and missed calls will occur. When the manual seat fails, or the traffic increases suddenly due to public events and there are not enough operators, a large number of overflow calls will be generated, which will bring a bad user experience and create the impression that the service efficiency of public service departments is not high. On the one hand, the manual call system has limited disaster recovery capabilities in the face of emergencies. On the other hand, the questions that callers ask are roughly fixed for each government department. For example, calling the Civil Affairs Bureau and asking "What are the working hours?", "What materials do I need to bring to apply for a marriage certificate?", or calling the Vehicle Administration Office and asking "How to replace the driver's license when it expires?", "How to get a license for an electric bicycle?", etc. For these fixed inquiries, artificial intelligence technology has the ability to solve them.
[0004] Based on the above two reasons, in recent years, there have been scattered cases of public service departments investing in the construction of intelligent customer service. However, the investment is large, the customization is too high, and the customization cycle is long. A set of intelligent telephone customer service specially trained for a certain department often requires a lot of money and manpower, and requires a lot of corpus for training, which takes more than a month to form. Different public service departments have different questions for calls, and the strategies for transferring to manual customer service and the intelligent question-and-answer process are also different. In addition, when there are emergency public events, such as sudden epidemics, typhoons, floods, etc., the demand for citizens to call for consultation surges, and manual customer service is difficult to support the surge in calls. The demand for intelligent customer service is sudden and urgent, and such demand is also variable and cyclical. After a single customization, it needs to be changed in the short term. Most importantly, not all public service departments have their own call centers that can support the local transformation of intelligent call centers. Most public service departments often have only a few landlines to answer consultation services. As a result, the customer service model that requires long-term customized training cannot meet the needs of emergency online call sharing, nor can it meet the needs of rapid replication between different departments. It cannot respond to emergency call disaster recovery in a timely and rapid manner, and cannot completely solve the call disaster recovery problem.
[0005] Therefore, how to quickly configure and generate intelligent customer service without affecting its intelligence and response sensitivity, and how to create a traffic disaster recovery platform for different public service hotlines that can be quickly put online and switched with one click has become an urgent problem to be solved. Summary of the invention
[0006] In view of the deficiencies in the prior art, the present invention provides a method for building an intelligent traffic disaster recovery platform for emergency traffic switching. Aiming at the three common needs of manual traffic, IVR navigation, intelligent process response and knowledge base question and answer consultation, the invention provides standardized built-in solutions from the two aspects of configuration and analysis to solve the problems of manual seat traffic overflow and lack of emergency disaster recovery solutions.
[0007] In terms of configuration, the present invention provides a visualization page for configuring relevant functional requirements, configures multi-level IVR navigation by providing a navigation hierarchical configuration page, and configuring different navigation types and navigation contents for the ten buttons 0-9; configures the intelligent customer service response flow chart by dragging different types of nodes; and generates a knowledge base by uploading a question and answer knowledge base file that meets the template requirements and clicking the training button.
[0008] In terms of analysis, the present invention provides a standardized call control process and intent recognition dialogue management algorithm module, and realizes the effectiveness of the process response customer service and IVR navigation module by standardizing the dialogue analysis and call control process of different node types; realizes vectorized analysis training of standard questions and answers by providing a pre-trained basic algorithm model, and realizes question and answer consultation in the knowledge base by executing a pre-set knowledge base loop flowchart and using a similarity algorithm for intent recognition during the call.
[0009] The intelligent call disaster recovery platform also provides a dual-security page display of call details text and recording, provides multi-dimensional reports for relevant public service departments to review and call back the call situation, and provides a knowledge base manually assisted self-learning system to continuously improve the accuracy of intelligent customer service responses during calls.
[0010] The present invention provides a standardized emergency call disaster recovery service configuration system that integrates multiple manual call connection demand functions, and uses the telecommunications call network to migrate all fixed-line phone calls to the intelligent call center, thereby realizing a non-privatized call center. The call disaster recovery emergency customer service can also be quickly put online. While ensuring the service level of the intelligent customer service, the configurability rate and online speed of the emergency disaster recovery demand are significantly improved, which is helpful for emergency call switching when the manual seat system fails.
[0011] To achieve the above object, the present invention adopts the following technical solutions:
[0012] A method for building an intelligent traffic disaster recovery platform for emergency traffic switching comprises the following steps:
[0013] S1: The merchant configures the navigation service through the IVR navigation module. The specific steps are as follows:
[0014] S1.1: The merchant configures the working hours navigation template and the non-working hours navigation template in the visual front-end configuration and report display module in the IVR navigation module;
[0015] S1.2: The merchant configures the customer service voice for the contents in the working hours navigation template and the non-working hours navigation template in the customer service voice generation module in the IVR navigation module, and then configures the navigation service so that the user can operate according to the navigation service prompts when calling the merchant;
[0016] S2: The merchant configures the smart process response service through the smart process response module. The specific steps are as follows:
[0017] S2.1: The merchant configures the flowchart template in the visual flowchart configuration and report display module in the intelligent process response module;
[0018] S2.2: The merchant trains the contents of the flowchart template and configures the customer service voice in the flowchart template training and recording generation module in the intelligent process response module, and then configures the intelligent process response service so that users can get corresponding response feedback when they ask corresponding questions;
[0019] S3: The merchant configures the knowledge base answering service through the knowledge base question and answer consultation module. The specific steps are as follows:
[0020] S3.1: The merchant configures the knowledge base template in the visual knowledge base configuration optimization and report display module in the knowledge base question and answer consultation module;
[0021] S3.2: The merchant trains the content in the knowledge base template and configures the customer service voice in the knowledge base template training and recording generation module in the knowledge base question and answer consultation module, and then configures the knowledge base answering service so that users can get corresponding answer feedback when they ask corresponding questions;
[0022] S4: When a user makes a call, the IVR navigation module receives the call and prompts the user to perform operations according to the navigation service, so that the user can solve the problem in the navigation service stage or guide the user to transfer to any one of the intelligent process response module and knowledge base question and answer consultation module to continue to connect with the user's call to solve the user's problem.
[0023] To optimize the above technical solutions, the specific measures taken also include:
[0024] Furthermore, the specific content of step S1.1 is:
[0025] S1.1.1: Merchants configure working hours and working days in the visual front-end configuration and report display module, and configure working hours navigation templates and non-working hours navigation templates according to working hours and working days. The working hours navigation template and non-working hours navigation template both contain the corresponding merchant ID and merchant platform code;
[0026] S1.1.2: Initial navigation is configured for the working hours navigation template and the non-working hours navigation template respectively. The initial navigation includes the corresponding initial navigation content and initial navigation type. The initial navigation type includes welcome navigation, flowchart navigation, and knowledge base navigation.
[0027] S1.1.3: The dialing navigation of each dialing button 0-9 is configured for the working hours navigation template and the non-working hours navigation template respectively. The dialing navigation includes the corresponding dialing navigation content and dialing navigation type, wherein the dialing navigation type includes welcome message navigation, flowchart navigation, knowledge base navigation, and manual transfer navigation;
[0028] S1.1.4: Set a first-level submenu for each dial button, and configure dial navigation for each dial button 0-9 in the first-level submenu; after the configuration is completed, set a second-level submenu for each dial button in the first-level submenu, and configure dial navigation for each dial button 0-9 in the second-level submenu; after the configuration is completed, set a third-level submenu for each dial button in the second-level submenu, and configure dial navigation for each dial button 0-9 in the third-level submenu; after the configuration is completed, set a fourth-level submenu for each dial button in the third-level submenu, and thus set multiple layers of submenus in a cycle, and the dial buttons in each level of submenu have corresponding dial navigation content and dial navigation type; wherein, the dial buttons in step S1.1.3 and the dial buttons in each menu in S1.1.4 have their own button IDs;
[0029] S1.1.5: Complete the configuration of the working hours navigation template and the non-working hours navigation template through steps S1.1.1-S1.1.4, and store them in the database.
[0030] Furthermore, the specific content of step S1.2 is as follows: S1.2.1: the merchant uses the recorded audio file as the customer service voice, or fills in the text content and synthesizes the customer service voice through TTS;
[0031] S1.2.2: Match the customer service voice with the button ID in the working hours navigation template or non-working hours navigation template of the corresponding merchant, so that each button ID has its own corresponding customer service voice, and the configuration of the customer service voice is completed.
[0032] Furthermore, the specific content of step S2.1 is: select the merchant ID, establish the corresponding flowchart template, and the merchant edits and defines the node content, node type and connection relationship between nodes of each node in the flowchart template to establish an updated flowchart template and store it in the database; wherein the node types include: start node type, end node type, playback node type, keyword matching node type, intelligent semantic matching node type, question and answer knowledge base node type, transfer number node type, key processing node type, key node type, recording node type, SMS node type, and the entire flowchart is a closed loop.
[0033] Furthermore, the specific content of step S2.2 is: training the nodes in the flowchart template that belong to the intelligent semantic matching node type through the flowchart template training and recording generation module, so that the node can recognize the semantics more accurately, and recording the corresponding customer service voice for the nodes in the flowchart template that need to play the customer service voice; thereby completing the training of the flowchart and the flowchart customer service voice configuration; wherein the customer service voice adopts the recording file recorded by the merchant or adopts the filled-in text content and synthesizes the customer service voice through TTS.
[0034] Furthermore, the specific content of step S3.1 is: select the merchant ID, establish the corresponding knowledge base template, and the merchant configures the basic data of the knowledge base template, including: welcome words, inquiry words, number of cycles, matching rate threshold, words of misunderstanding, words of transfer to manual inquiry, words of re-inquiry, and closing words; after the basic data configuration is completed, the data of standard questions and answers and the data of similar questions and answers contained in the corresponding standard questions and answers are imported into the knowledge base template to establish an updated knowledge base template and store it in the database.
[0035] Furthermore, the specific content of step S3.2 is: training the standard questions and answers and similar questions and answers in the knowledge base through the knowledge base template training and recording generation module to modify the similar questions and answers or add similar questions and answers corresponding to the standard questions and answers, so that the content of the similar questions and answers is richer and more closely related to the standard questions and answers; after the training is completed, the customer service voice corresponding to the answer is recorded for each standard question and answer, wherein the customer service voice of the answer to the similar question and answer is consistent with the corresponding standard question and answer; and then completing the training of the knowledge base template and the knowledge base customer service voice configuration, wherein the customer service voice adopts the recording file recorded by the merchant or adopts the filled-in text content and synthesized customer service voice through TTS.
[0036] Further, the specific content of step S4 is as follows: S4.1: When the user makes a call, the call flow navigation parsing module in the IVR navigation module receives the call and obtains the platform code of the called merchant of the call, finds the working time navigation template and non-working time navigation template set by the corresponding merchant through the platform code, and selects the working time navigation template or the non-working time navigation template according to the time when the user makes the call;
[0037] S4.2: Execute initial navigation according to the selected working hours navigation template or non-working hours navigation template; when the initial navigation type is flowchart navigation, the corresponding initial navigation content is the flowchart template, and the traffic is transferred to the intelligent process answering module for answering operation to complete the navigation service; when the initial navigation type is knowledge base navigation, the corresponding initial navigation content is the knowledge base template, and the traffic is transferred to the knowledge base question and answer consultation module for answering operation to complete the navigation service; when the initial navigation type is welcome navigation, the corresponding initial navigation content is the user dialing 0-9 according to the customer service voice prompt to enter step S4.3;
[0038] S4.3: According to the user's key dialing operation, the dialing navigation corresponding to the key ID is executed; when the dialing navigation type is flowchart navigation, the corresponding dialing navigation content is the flowchart template, and the call is transferred to the intelligent process answering module for answering operation to complete the navigation service; when the dialing navigation type is knowledge base navigation, the corresponding dialing navigation content is the knowledge base template, and the call is transferred to the knowledge base question and answer consultation module for answering operation to complete the navigation service; when the dialing navigation type is manual transfer navigation, the corresponding dialing navigation content is that the call is transferred to the manual service of the corresponding merchant for answering operation to complete the navigation service; when the dialing navigation type is welcome navigation, enter the first layer of submenu, and the user dials 0-9 according to the customer service voice prompt. If the dialing button is a non-welcome navigation type, the corresponding dialing navigation content is executed. If the navigation type of the dialing button is still welcome navigation, the user dials 0-9 according to the welcome prompt to enter the next layer of submenu and select the corresponding dialing button, and this cycle is repeated until the navigation service is completed or the user actively hangs up to end the call.
[0039] Furthermore, the intelligent process response module performs a response operation, that is, performs the intelligent process response service, and the specific contents are:
[0040] (1): When a traffic call is transferred to the intelligent process answering module, the intelligent process answering call control module in the intelligent process answering module obtains the flowchart template selected under the initial navigation or dialing navigation, enters the first node from the node belonging to the start node type, and performs corresponding operations according to the node type of the first node;
[0041] (2): If the first node type is a playback node type, the node content is to play the customer service voice. After the playback is completed, the corresponding next node is entered, that is, the next step (3) is entered; the next node of the playback node type is unique;
[0042] If the first node type is a keyword matching node type, the node content is the customer service voice. The user explains the content according to the customer service voice prompts, and calls the ASR engine to translate the user's voice into text content in real time. After the user finishes explaining the content, the keyword recognition of the text content is used to find the node with content matching in the flowchart template as the next node, and then go to the next step (3);
[0043] If the first node type is an intelligent semantic node type, the node content is the customer service voice. The user explains the content according to the customer service voice prompts, and calls the ASR engine to translate the user's voice into text content in real time. After the user finishes explaining the content, the semantic recognition of the text content is used to find the node in the flowchart that matches the content as the next node, and then go to the next step (3);
[0044] If the first node type is a question-and-answer knowledge base node type, the node content is to play the customer service voice and transfer the call to the knowledge base question-and-answer consultation module for answering, completing the answering operation of the intelligent process answering module;
[0045] If the first node type is a transfer number node type, the node content is to call a human customer service representative for a manual answer, completing the answering operation of the intelligent process answering module;
[0046] If the first node type is a key processing node type, the node content is to play the customer service voice, and the user performs single-key dialing according to the customer service voice prompt, where each key has a corresponding next node, and proceed to the next step (3);
[0047] If the first node type is a button node type, the node content is to play the customer service voice, and the user performs multi-key dialing according to the customer service voice prompt to input data. The corresponding next node is selected according to the content input by the user, and the next step (3) is entered;
[0048] If the first node type is a recording node type, the node content starts recording and listening to the user's message. After the recording is completed, the message is stored in the database and the next node is entered, and the next step (3) is entered; the next node of the recording node type is unique;
[0049] If the first node type is a text message node type, the node content sends a text message to the user and proceeds to the next node, and then goes to the next step (3); the next node of the text message node type is unique;
[0050] (3): After matching and finding the corresponding next node, perform the corresponding operation as in (2) according to the node type of the next node, and repeat this process until the intelligent process answering service is completed or the node belonging to the end node type is entered to complete the flowchart loop or the user actively hangs up to end the call.
[0051] Furthermore, the specific contents of the answering operation performed by the knowledge base question and answer consultation module, i.e., the knowledge base answering service, are as follows: A: when the telephone call is transferred to the knowledge base question and answer consultation module, the knowledge base answering call control module in the knowledge base question and answer consultation module obtains the knowledge base template selected under the initial navigation, or the knowledge base template selected under the dial-up navigation, or the knowledge base template selected under the node belonging to the question and answer knowledge base type; based on the basic data including welcome words, inquiry words, number of cycles, matching rate threshold, incomprehensible words, transfer to manual inquiry words, re-inquiry words, and closing words, the user's question is obtained through preliminary interaction with the user;
[0052] B: Based on the questions asked by the user, the knowledge base answer consultation template can choose to turn on or off the manual service function;
[0053] C: When the transfer to manual service function is not enabled, first determine whether the number of cycles has reached the preset maximum value;
[0054] If the preset maximum value is not reached, the matching rate of the knowledge base template for the query of the question is determined. If it is lower than the recognition threshold of the matching rate, the incomprehensible language and the re-inquiry language are played in sequence to wait for the user's question, and the next step D is entered; if it is higher than or equal to the recognition threshold of the matching rate, the customer service voice of the most matching standard question and answer or similar question and answer is played, and the re-inquiry language is played to wait for the user's question, and the next step D is entered;
[0055] If the preset maximum value has been reached, the matching rate of the knowledge base template for the query of the question is determined. If it is lower than the recognition threshold of the matching rate, the incomprehensible speech is played and the answering operation of the knowledge base question and answer consultation module is terminated; if it is higher than or equal to the recognition threshold of the matching rate, the customer service voice of the most matching standard question and answer or similar question and answer is played and the answering operation of the knowledge base question and answer consultation module is terminated;
[0056] When the transfer to manual service function is turned on, first determine whether the number of cycles has reached the preset maximum value;
[0057] If the preset maximum value is not reached, the matching rate of the knowledge base template for the query of the question is determined. If it is lower than the recognition threshold of the matching rate, the incomprehensible language and the re-inquiry language are played in sequence to wait for the user's question, and the next step D is entered; if it is higher than or equal to the recognition threshold of the matching rate, the customer service voice of the most matching standard question and answer or similar question and answer is played, and the re-inquiry language is played to wait for the user's question, and the next step D is entered;
[0058] If the preset maximum value has been reached, the matching rate of the knowledge base template for the query of the question is determined. If it is lower than the recognition threshold of the matching rate, the words "not understood" and "transfer to manual inquiry" are played. If the user is transferred to manual service, a manual answer is given and the answering operation of the knowledge base question and answer consultation module is ended. If the user does not transfer to manual service, the words "re-inquiry" are played to wait for the user's question and proceed to the next step D. If it is higher than or equal to the recognition threshold of the matching rate, the customer service voice of the most matching standard question and answer or similar question and answer and the words "transfer to manual inquiry" are played. If the user is transferred to manual service, a manual answer is given and the answering operation of the knowledge base question and answer consultation module is ended. If the user does not transfer to manual service, the words "re-inquiry" are played to wait for the user's question and proceed to the next step D.
[0059] D: Loop steps BC until the answering operation of the knowledge base question and answer consultation module is completed or the user actively hangs up to end the call.
[0060] The beneficial effects of the present invention are:
[0061] 1. In the present invention, the configuration pages of the visual front-end IVR navigation, process response template, and knowledge base response consultation template are simple and fast to configure, easy to operate, support the import and export of templates, and meet the needs of rapid online call disaster recovery.
[0062] 2. In the present invention, the designed IVR navigation type, various process response template node types and knowledge base loop flowchart structure involve rich functional requirements. The background standardized processing logic can solve the vast majority of intelligent customer service needs on the market, and convert the development and customization of customer service into page configuration, reducing the R&D costs invested therein.
[0063] 3. In the present invention, different functional nodes are distinguished by node types, which has low coupling, is convenient and simple for adding new standard functional requirements, and is conducive to expanding more functional requirements.
[0064] 4. In the present invention, the process response module can effectively improve the recognition accuracy of intelligent customer service by combining nodes and mixing keywords with multiple algorithms of the Bert model.
[0065] 5. In the present invention, a semi-customized flowchart with a knowledge base embedded in it that has a variable threshold, a variable maximum number of loops, and a function of switching to manual operation is designed, and the knowledge base is embedded in the manual operation loop flowchart, effectively changing the infinite loop of the knowledge base answering customer service consultation into a feedback-based answer that can collaborate with manual operations. At the same time, the knowledge base is used as a node type in the process response template, effectively combining the knowledge base internal loop with the process response customer service, making the intelligent customer service response smoother.
[0066] 6. In the present invention, by combining the Bert pre-training model with the simple similarity algorithm and generating and storing the Bert vector, the knowledge base training process is greatly shortened and the configuration generation speed of the intelligent customer service is improved.
[0067] 7. In the present invention, an optional box of matching strategies is provided for the matching method of the knowledge base. There are two existing algorithms: intelligent text matching and Bert similarity algorithm. This also reserves the possibility of expansion for the subsequent development of more matching algorithms and the application of different matching algorithms to different templates.
[0068] 8. In the present invention, a visual report display and call details page are provided, and the monitorability of the intelligent customer service of the call disaster recovery platform is guaranteed by recording.
[0069] 9. In the present invention, a semi-self-learning mechanism based on conversational corpus and human assistance is designed for the knowledge base answer consultation module and the intelligent matching node, which is conducive to the continued optimization and improvement of the template after going online.
[0070] 10. In the present invention, the concept of the relationship between merchants and templates is proposed. Each merchant can have multiple templates, but only one is actually online. After the departments have configured in advance, when various emergency situations such as call overflow occur, the template can be quickly put online as needed. One-click configuration is convenient and fast, and the disaster recovery plan can be implemented quickly to ensure that online calls are not affected.
[0071] 11. In the present invention, the transfer of calls is achieved by opening an emergency call disaster recovery service, transferring the fixed-line network business to the own call center, matching the corresponding platform code of the fixed-line to the corresponding online intelligent customer service, providing consultation and answering services, avoiding the cumbersome operations and construction costs of privatizing the call center.
[0072] 12. The present invention provides a solution for quickly configuring and generating intelligent customer service while ensuring the intelligence level and response sensitivity of intelligent customer service, solves the response problem of emergencies such as overflow of manual agent calls, and provides emergency disaster recovery solutions and channels when the call system fails for different public service hotline needs.
[0073] 13. The present invention analyzes the functional points of common emergency needs in the public service field, summarizes three functional modules: IVR navigation, intelligent process response, and knowledge base consultation response. For these three modules, a visual configuration page is provided, and the background parsing logic is standardized, converting the development of intelligent customer service into the configuration and analysis of intelligent customer service. The visual configuration page provides various types of functional nodes, disassembles the intelligent customer service into functional points that can be combined at will, and provides template import and export functions, which effectively solves the problems of differentiated emergency disaster recovery intelligent customer service needs and low reusability of intelligent customer service; and the coupling between nodes is low, and the cost of adding new node functions is small. Even if there are new functional requirements, they can still be quickly added in a standardized manner in the present invention, with good functional expansibility.
[0074] 14. The present invention enables an algorithm pre-training model that is easy to launch quickly. In terms of algorithms, a similarity algorithm and a longest common subsequence matching algorithm that are simple, fast, and do not require too much training corpus for pre-training optimization are used to meet the requirements of rapid launch. On the other hand, the Bert model is used for vector conversion in algorithm matching to ensure the accuracy of algorithm recognition when there is little corpus. Combined with simple tests and threshold selection before launching, the recognition accuracy of the intelligent customer service that is initially launched reaches 60%. Finally, the transfer node is used to collaborate with humans to ensure that each call is answered accurately while urgently sharing the manual traffic. After the system is launched, in the call details of the intelligent customer service, the customer's non-standard questions will become the corpus optimized by the intelligent customer service. The present invention provides a knowledge base self-learning optimization function under human assistance. The non-standard questions are retrained after the maintenance personnel standardize the intelligent customer service, which can further improve the recognition accuracy of the intelligent customer service, and realize a low-cost implementation method without R&D participation in the entire process from configuration to launch to optimization.
[0075] 15. The present invention utilizes the telecommunications network services and the local call center of the telecommunications system to bypass the intelligent process of privatizing and building a call center. The customized private customer service is changed to the rental and distribution of intelligent customer service. The present invention is put into the field of public services, which can quickly reduce the configuration cost of a single intelligent customer service. By opening an emergency call disaster recovery template, it can quickly open up intelligent customer service answering services for various public service departments, solve the problem that manual customer service is difficult to handle calls in emergency situations, and a large number of citizen consultations cannot be properly handled, realize true public service 7X24 online service, maximize the efficiency of public service consultation, and greatly improve the user experience of citizens.
[0076] 16. The present invention stores call records for all smart calls, and any smart call can be queried on the provided system page, which is convenient for maintenance personnel of public service departments to optimize smart customer service. Similarly, call statistics reports, popular question query statistics charts and other reports are also provided to facilitate maintenance personnel to discover the focus and changes of citizens' concerns. Taking advantage of the rapid launch and low cost of the present invention, the public service field can quickly replace the smart response customer service template after the demand and hot spots change, thereby improving the pertinence and immediacy of public services.
[0077] 17. The present invention will significantly improve the configurability and online speed of public service hotline emergency needs, and will help to quickly implement the public service hotline traffic disaster recovery plan, becoming an effective guarantee for manual seat traffic disaster recovery. BRIEF DESCRIPTION OF THE DRAWINGS
[0078] Figure 1 It is a schematic diagram of the overall architecture of the intelligent traffic disaster recovery platform for emergency traffic switching of the present invention.
[0079] Figure 2 It is a call analysis interaction diagram of the IVR navigation module of the present invention.
[0080] Figure 3 It is a schematic diagram of call parsing interaction of the intelligent answering process of the present invention.
[0081] Figure 4 It is a schematic diagram of the knowledge base to manual cycle preset process of the present invention.
[0082] Figure 5 It is a schematic diagram of the knowledge base consultation and answering call analysis interaction of the present invention. DETAILED DESCRIPTION
[0083] The present invention will now be described in further detail with reference to the accompanying drawings.
[0084] The technical solution adopted by the present invention is: a method for building an intelligent traffic disaster recovery platform for emergency traffic switching, which mainly includes the following IVR navigation module, intelligent process response module and knowledge base response consultation module, which are as follows:
[0085] (1) IVR Navigation Module
[0086] The IVR navigation module is mainly used as the entrance for emergency call disaster recovery response, and configures the front-end IVR navigation service for different public service hotlines. It supports the playback and transfer functions of traditional IVR navigation, and supports transfer to the intelligent process response module, knowledge base question and answer consultation module, and intelligent query module. It provides a visual configuration page. For the same merchant, you can set working hours and working days, and configure different IVR navigation processes for working hours and non-working hours respectively, so as to maximize the collaboration efficiency between manual customer service and intelligent customer service. When configuring navigation, the user configures the navigation language and the button functions under the hierarchical menu on the page. After clicking the configuration to take effect, the recording generation service will be called to automatically generate a complete IVR navigation customer service voice. At this time, the user-specified fixed-line call is sent to the intelligent customer service platform (including IVR navigation module, intelligent process response module and knowledge base response consultation module) in the form of pre-insertion code, and the configured IVR navigation function can be applied under the control of call process navigation analysis.
[0087] Furthermore, the IVR navigation module includes a visual front-end configuration and report display module, a customer service voice generation module and a call process navigation analysis module. The specific technical implementation scheme is shown below.
[0088] Module 1-1: Visual front-end configuration and report display module. It is used to configure the IVR navigation function on the page and query the call record report. Furthermore, the module includes a visual IVR navigation configuration page and a call report statistics display page. The specific design plan is as follows:
[0089] Visual IVR navigation configuration page: merchants can create a new merchant on the page, enter the merchant's platform number, configure working hours and working days, and configure two navigation templates for working hours and non-working hours respectively; support page configuration initial navigation, select navigation type (initial navigation type) and navigation content (initial navigation content), navigation type supports welcome (welcome navigation), flowchart (flowchart navigation), knowledge base (knowledge base navigation) three types, when the navigation type is welcome, the navigation content supports input text or upload voice files, when the navigation type is other, support the selection of the configured effective under the name of the merchant Flowchart, knowledge base or enterprise directory template; support for 0-9 buttons on the page, also edit navigation type (dial navigation type) and navigation content (dial navigation content), the navigation type in the button includes the transfer type (manual transfer navigation) in addition to the initial navigation type, at this time the navigation content is filled in the manual customer service number that needs to be transferred; after configuring one layer of button template, click the next layer of navigation on the button, you can configure the next level menu for each button, there is no limit to the number of menu layers, but the next level menu can only be configured in the node where the navigation type is playback; after the configuration takes effect, all information is stored in the database.
[0090] Call report statistics display page: After the merchant's emergency call disaster recovery template is put into use, each call record will be stored in the call record during the call. The public service department maintenance personnel can count the call volume by date on the page, view daily call details, view detailed records of single-call conversations and listen to call recordings.
[0091] Module 1-2: Customer service voice generation module. After the page IVR navigation template (working hours navigation template and non-working hours navigation template) is clicked to configure and take effect, the customer service needs to generate the intelligent customer service voice if it wants to go online. This module service is called when the configuration is clicked to take effect. The customer service voice generation includes two parts. One is for the key node that uploads the recording file, the uploaded recording file is transcoded into a voice format that can be played by the call center. The other is for the recording node that fills in the text, the customer service voice is synthesized by TTS, and the customer service volume and speech speed adjustment are supported. All voice files use a unified naming format, and are linked to the unique node ID (a total of 10 keys from 0 to 9, each key has its own key ID, and the keys in the submenu also have their own key ID) and the template ID (each merchant configures a working hours navigation template and a non-working hours navigation template has its own corresponding ID), plus the IVR navigation prefix (indicating that the customer service voice is generated in the IVR navigation module) to ensure the unique representativeness of the file, and upload it to the voice playback file mounting disk of the call center. The customer service voice is generated, the template is ready, and the user can be configured to transfer the call. After the call is connected, the actual call process control is implemented by modules 1-3.
[0092] Module 1-3: Call process navigation parsing module. The call process navigation parsing module interacts with the templates configured in module 1-1 (working time template and non-working time template) based on the database. After the emergency call disaster recovery service configuration takes effect and the call is transferred in, the actual call process needs to parse the configured navigation template and provide feedback based on the caller's operation. Further, the steps of the call process parsing module are as follows:
[0093] Step 1-3-1: Get the template ID and initial navigation language of the called party. When the emergency disaster recovery call is sent to the intelligent platform, the original called party will pass it in as information in the form of the previous insertion code. After obtaining the called party's platform code in the call control process, the standard http interface for the background IVR navigation template query is directly called, and the platform code is passed in as a parameter. After receiving the call, the background IVR navigation template query interface matches the merchant platform code configured in the data table to obtain the merchant ID; then, based on the working hours and working hours set by the merchant, combined with the current time, determine whether to use working hours navigation or non-working hours navigation, and obtain the corresponding IVR navigation template ID in the database; finally, according to the IVR navigation template ID, search for the initial navigation information stored in module 1-1 in the database, return to the call control process, perform the corresponding navigation operation, and enter step 1-3-2.
[0094] Step 1-3-2: Execute the initial navigation type and navigation content, and wait for the user to respond. After obtaining the navigation type and navigation content, the call control process performs different execution operations according to different navigation types. When the initial navigation type is audio playback (for example, the welcome navigation is audio playback), the navigation content is the customer service voice file path generated in module 1-2. The call control process plays the relevant navigation content and performs key navigation to receive the number, obtains the user's key operation under the navigation content prompt tone, and enters step 1-3-3; when the initial navigation type is a flowchart, the navigation content is the flowchart template ID selected by the merchant, and the call control process transfers the call to (2) the intelligent process answering module, and module 2-3 continues to control the call; when the initial navigation type is a knowledge base, the navigation content is the knowledge base template ID selected by the merchant, and the call control process transfers the call to (3) the knowledge base question and answer consultation module, and module 3-3 continues to control the call.
[0095] Step 1-3-3: Query the next navigation type and content. After the call control process executes the announcement and number collection, the standard http interface for the next navigation query in the background is directly called, and the IVR navigation template ID, unique call ID, user key content, and IVR navigation node ID are passed in as parameters. The background next navigation query interface obtains all the lower-level node information of the navigation from the data table through the template ID and the IVR navigation node ID, and then uses the key information to match the jump conditions one by one. After hitting the target, the navigation type and content of the hit navigation node are returned, and the corresponding operation is performed according to the navigation type and content.
[0096] When the navigation type is non-welcome navigation, refer to step 1-3-2 to execute the corresponding navigation content. When the navigation type is welcome navigation, continue to query the next navigation type and navigation content, and repeat this cycle until the call is transferred out of the IVR navigation module. When the navigation type is transfer, the navigation content is the telephone number of the manual customer service. The call control process transfers the call to the corresponding manual customer service in the form of redirection, and the intelligent platform call ends; the relevant customer service operations and customer answers are associated with a unique call ID and stored in the database during the cycle as a detailed call record for the report display in module 1-1.
[0097] (2) Intelligent process response module
[0098] The intelligent process response module is mainly used to configure intelligent process response customer service for different public service hotlines, and supports the rapid configuration and implementation of full-featured process response customer service with contextual logical relationships.
[0099] It supports directly writing process response templates by dragging nodes on the page. It supports nine functional nodes, including playback node, keyword matching node, intelligent semantic matching node, question and answer knowledge base node, transfer number node, key processing node, key node, recording node, and SMS node. By combining related functional nodes, you can configure intelligent customer service with multiple functions, and achieve collaborative cooperation with manual customer service through transfer nodes. Flowchart templates support import and export, which facilitates the reuse of templates among different merchants.
[0100] After configuring a logically coherent and complete flowchart, saving and reviewing it, a recording of the intelligent process response customer service will be automatically generated, and the relevant algorithms will be pre-trained. After the process response template is reviewed and approved, the fixed-line call can be sent to (1) the IVR navigation module, and then transferred from the IVR navigation module to (2) the intelligent process response module, or it can be directly sent to (2) the intelligent process response module. Both call transfer methods can activate the application of the intelligent process response customer service.
[0101] Furthermore, the intelligent process response module includes a visual flowchart configuration and report display module, a flowchart template training and recording generation module, and an intelligent process answering call control module. The specific technical implementation plan is shown below.
[0102] Module 2-1: Visual flow chart configuration and report display module. It is used to configure the intelligent process response template on the page, maintain and optimize some template nodes, and query the call record report related to the process template. Furthermore, the module includes a visual intelligent process response template configuration page, an intelligent semantic matching node temporary knowledge base, and a call report statistics display page. The specific design plan is as follows:
[0103] Visual intelligent process response template configuration page: In the (1) IVR navigation module, a merchant has been established. When configuring the flowchart, you need to select the merchant and ensure that the flowchart template is configured under the merchant name so that the template under the merchant name can be selected when configuring the navigation function in the (1) IVR navigation module. After adding a flowchart template, enter the workbench page, which provides a function node selection area and a template editing workspace. By dragging different function nodes on the page and connecting different nodes, an intelligent customer service flowchart is formed. Except for the flowchart start node and end node, the remaining function nodes, including the playback node, keyword matching node, intelligent semantic matching node, question and answer knowledge base node, transfer number node, key processing node, key node, recording node and SMS node, can be used multiple times in the same flowchart template. The flowchart configuration must be closed. After the configuration is completed, click Save and Review, and a preliminary logic check will be performed. If the flowchart logic is obviously not closed, a text prompt will pop up to prompt modification. After the logic is closed, the review is passed, and all node information and the relationship between the upper and lower nodes are stored in the database.
[0104] Temporary knowledge base of intelligent semantic matching nodes: used for the optimization of intelligent semantic matching nodes. Double-click the intelligent semantic matching node in the flowchart template to enter the temporary knowledge base of the node from the pop-up window. The temporary knowledge base contains the non-standard questions of users that flow through the node after the intelligent process response template goes online, as well as the matching questions and answers given by the system algorithm. Service personnel in the public service department can optimize the relevant matching results in the temporary database and associate them with the branch similar questions of the node to improve the recognition accuracy of the intelligent semantic matching nodes.
[0105] Call report statistics display page: for each call after the merchant's emergency call disaster recovery platform is put into use, it supports the viewing of call details text and recordings, as well as dimensional call report statistics display. It supports querying the call flow of each node in the flow chart in both graph and table forms. For calls transferred to manual calls, it supports querying the number of the manual customer service who finally transferred to it, supports statistics on the daily number of calls answered by different manual customer services, and supports listening to manual call recordings.
[0106] Module 2-2: Flowchart template training and recording generation module. Before the flowchart template is put online for use, the relevant algorithm nodes must be pre-trained, and the customer service response recordings of each node must be generated. When the flowchart template is configured and the logic is closed, click the Review button to automatically call the flowchart template training and recording generation interface in this module, and pass in the flowchart template ID as the input parameter. Template training is an asynchronous call. To prevent the flowchart template from being tampered with by the front-end page during training, the front-end flowchart editing workbench page will be locked before the training is completed. After the training is completed, the process is notified to the front-end page to unlock by updating the database template status. After the flowchart template training and recording generation interface is called, first, all intelligent semantic matching nodes in the flowchart in the database table are trained. Through the preset Bert model, all configured similar questions and standard questions of the relevant nodes are converted into Bert vectors that can be matched with similarity, and stored in the corresponding node branch. After the training is completed, the template status is updated to "trained, recording generation"; then, customer service voice is generated for the playback content of all nodes in the flowchart in the database. First, for the node that uploads the recording file, the uploaded recording file is transcoded into a voice format that can be played by the call center. Second, for the recording node that fills in the text, TTS is used to synthesize the customer service voice, and the customer service volume and speech speed adjustment are supported. All voice files use a unified naming format, which is linked to the unique node ID (each flowchart template has multiple nodes, each node has its own ID) and the template ID (each flowchart template has its own ID), and the flowchart template prefix is added (indicating that the customer service voice here is generated in the intelligent process response module) to ensure the unique representativeness of the file, and then uploaded to the voice playback file mounting disk of the call center. When the training is successful and the recording is generated, the template status is updated to "Recording generated", the template preparation is completed, and the call transfer can be configured for the user. The subsequent call process control is implemented by module 2-3.
[0107] Module 2-3: Intelligent process answering call control module. The intelligent process answering call control module interacts with the template configured in module 2-1 based on the database. After the emergency disaster recovery call service configuration takes effect and the call is transferred in, the actual call process needs to parse the configured intelligent process answering template and make feedback based on the caller's operation. Further, the steps of intelligent process answering call control are as follows:
[0108] Step 2-3-1: Get the called party's template ID, initial node ID, node type and intelligent process answering customer service welcome. When the emergency disaster recovery call is sent to the intelligent answering process module, the original called party will pass it in as information in the form of the previous insert code. After obtaining the called party's platform code in the call control process, the platform code is passed in as a parameter by directly calling the standard http interface for querying the background process answering template opening statement. After the background process answering template opening statement query interface receives the call, the called party's process answering template ID can be obtained in two ways. When the call is sent from the module (1) IVR navigation control module, the flowchart template ID parameter is queried by the IVR navigation control module and directly passed in as a parameter of the process answering template opening statement query interface. When the call does not pass through the (1) IVR navigation module, the flowchart template ID input parameter is empty. At this time, the obtained platform code is compared with the enabled platform code of the template of the flowchart type in the data table to obtain the flowchart template ID. After obtaining the flowchart template ID, query the next node of the start node (usually the opening node) from the node information table, find the specific opening node ID and node type, and determine whether the current process is finished. According to the established customer service voice file name splicing rules, splice the opening voice path, return to the call control process with parameters such as customer service opening, node ID, node type, template ID, call end symbol, etc., execute the corresponding customer service operation, and enter step 2-3-2.
[0109] Step 2-3-2: Execute the customer service operation type and operation content, and selectively wait for the user's response according to different operation types. After receiving the customer service operation type and operation content, the call control process calls the specified method proposed in the call center call control file writing format according to different customer service operation types, and performs fixed operations such as playing, collecting numbers, receiving, transferring, and recording at the venue. For operations that require receiving, the call control process calls the ASR engine to translate the user's real-time voice into text. After the customer service operation is completed, it is determined whether the current call is ended based on the call end symbol parameter. If the call is ended, the line is released. If the call is not ended, the user feedback text, unique call ID, and received template ID, node ID, node type and other information are used as input parameters to call the background process response template dialogue management interface and enter step 2-3-3.
[0110] Step 2-3-3: Get the operation type and operation content of the customer service of the next node. After the background process response template dialogue management interface receives the call, it queries all the subordinate node information of the node according to the obtained node ID information. According to the obtained node type, different methods are used to match the user's answer in the subordinate node. After matching the correct subordinate node, it determines whether the current flowchart is ended, and returns the node ID, node type, customer service answer content, call end symbol and other parameters of the subordinate node to the call control process, executes the corresponding customer service operation, and enters step 2-3-2. Step 2-3-2 and step 2-3-3 are alternately cycled until the call end symbol marks the end of the call, or the user actively hangs up. The relevant customer service operation and customer answer are associated with a unique call ID and stored in the database during the cycle as a detailed call record for the report display in module 2-1.
[0111] (3) Knowledge base question and answer consultation module
[0112] The knowledge base question and answer consultation module mainly configures knowledge base question and answer consultation customer service for different public service hotlines, supports accurate matching of similar question and answer pairs in the knowledge base, supports rapid configuration and effectiveness of knowledge base question and answer consultation customer service, supports daily maintenance of the knowledge base and accuracy improvement in semi-self-learning mode.
[0113] You can directly import the Q&A knowledge base EXCEL file of the public service unit on the page, or add standard knowledge Q&A one by one. For a single standard knowledge Q&A, you can add similar questions to the question in the page editor to improve the customer service matching accuracy. The knowledge base Q&A consultation module has an embedded knowledge base internal loop flow chart. Users only need to configure the questions involved in the relevant loop. Users can turn on the manual transfer function and coordinate the cooperation between manual customer service and knowledge base Q&A consultation customer service by setting the knowledge base internal loop threshold and the maximum number of loops.
[0114] After the knowledge base is configured, it is necessary to pre-train the knowledge base and generate a recording of the customer service's answers in the standard question-and-answer session. After the training is completed and the customer service recording is ready, the training effect can be tested in the temporary dialog box on the page. After the review test is passed, emergency disaster recovery fixed-line calls can be sent to the (1) IVR navigation module, and then transferred from the IVR navigation module to the (3) knowledge base question-and-answer consultation module. It can be sent directly to the (3) knowledge base question-and-answer consultation module, or through the question-and-answer knowledge base node in the (2) intelligent process response module, using the configured knowledge base question-and-answer consultation template. All three call transfer methods can activate the knowledge base question-and-answer consultation customer service application.
[0115] During the actual call process, new questions raised by the caller will be entered into the temporary knowledge base along with the matching results. The maintenance personnel can associate the new questions with the standard question and answer base in the temporary knowledge base column on the page. The knowledge base is optimized using a semi-automatic self-learning mode to improve the accuracy of the knowledge base in answering customer service inquiries.
[0116] Furthermore, the knowledge base question and answer consultation module includes a visual knowledge base configuration optimization and report display module, a knowledge base template training and recording generation module, and a knowledge base question and answer consultation call control module. The specific technical implementation plan is shown below.
[0117] Module 3-1: Visual knowledge base configuration optimization and report display module. Furthermore, the module includes a visual knowledge base configuration page, a page test dialog box, a temporary knowledge base page, and a call record display page. The specific module design is as follows:
[0118] Visual knowledge base configuration page: In the (1) IVR navigation module, a merchant has been established. When configuring the knowledge base, you need to select the merchant and ensure that the knowledge base template is configured under the merchant name so that the template under the merchant name can be selected when configuring the navigation function in the (1) IVR navigation module. After adding a knowledge base template, enter the knowledge base management page and configure the knowledge base, including closing remarks, incomprehensible remarks, inquiry remarks, re-inquiry remarks, number of cycles, matching strategy, recognition threshold, whether to start the transfer to manual service, and other parameters. If you choose to turn on the transfer to manual service, the call will automatically ask whether to transfer to manual service after the knowledge base reaches the number of cycles. At this time, you can configure the inquiry remarks, transfer remarks, and manual service phone number on the page. After the basic cycle remarks are configured, you can import the knowledge base Excel file with one click. The standard questions and answers of the knowledge base will be displayed in a list on the page. You can add a single piece of knowledge and delete knowledge questions and answers in batches. For each standard question and answer, you can click on similar questions to add similar questions. After all configurations are completed, click on training to pre-train and generate recordings for the knowledge base through module 3-2.
[0119] Page test dialog box: After training and generation, you can click the dialog box on the knowledge base management page to test the accuracy of the knowledge base with simple text customer service. The relevant dialogue is a simple question-answer match, which does not include the outer loop process. You can test the accuracy of the current pre-trained knowledge base on the page to determine the next maintenance direction.
[0120] Temporary knowledge base page: User questions involved in page test dialogues and actual calls will be stored in the temporary knowledge base and displayed on the page. The temporary base will display user non-standard questions, the most similar standard questions matched by the algorithm, and the matching rate. The knowledge in the temporary base can be added to the standard base as standard questions, or associated with similar questions as similar questions with existing standard questions and answers in the standard base. Based on the matching rate given in the temporary knowledge base, public service department maintenance personnel can easily define the number of manual cycles and recognition thresholds, thereby improving the user experience of the knowledge base answering consultation service.
[0121] Call report statistics display page: After the knowledge base answer consultation template is launched as an emergency disaster recovery service, each call supports the viewing of call details text and recordings and dimensional call report statistics. For calls transferred to manual services, it supports inquiries on the number of manual customer service calls that are ultimately transferred to, supports statistics on the daily number of calls answered by different manual customer services, and supports listening to manual call recordings.
[0122] Module 3-2: Knowledge base template training and recording generation module. Before the knowledge base answer consultation template is put online for use, the relevant template needs to be pre-trained. After the training is completed, each standard answer in the knowledge base standard question and answer pair needs to be converted into a customer service answer recording. After the knowledge base is imported, or after adding related similar questions, click the training button to automatically call the knowledge base template training and recording generation interface in this module, and pass in the knowledge base template ID as an input parameter. Template training is an asynchronous call. In order to prevent the call flow served by the online knowledge base answer consultation template from being affected during training or later optimization, the status marking method is still used to mark each process of knowledge base training so that the front end can lock the page in different training states. The pre-training process mainly uses the Bert pre-training model to convert all standard questions and similar questions in the knowledge base into Bert vectors and store them in the data table. Each standard question and similar question has a status mark. When new similar questions and standard questions are added, the training module only retrains the newly added parts that will be modified. After the training is completed, the template status is updated to "trained, recording is being generated". Then, the customer service voice is generated for the playback content of all standard answers in the knowledge base in the database table, and the customer service voice is synthesized using TTS. The customer service volume and speech speed adjustment are supported. All voice files use a unified naming format, linked to the unique standard question ID and template ID, and add the knowledge base template prefix to ensure the unique representativeness of the file, and upload it to the voice playback file mounting disk of the call center. When the training is successful and the recording is generated, the template status is updated to "recording has been generated". The template preparation is completed, and the call transfer can be configured for the user. The subsequent call process control is implemented by module 3-3.
[0123] Module 3-3: Knowledge base consultation answering call control module. The knowledge base consultation answering call control module interacts with the template configured in module 3-1 based on the database. After the emergency disaster recovery service configuration takes effect and the call is transferred, the actual call process needs to match the knowledge base knowledge and provide feedback based on the caller's questions. Further, the steps of the knowledge base consultation answering call control are as follows:
[0124] Step 3-3-1: Get the called party's template ID, initial node ID, node type and knowledge base consultation and answering customer service welcome message. When the emergency disaster recovery call is sent to the knowledge base consultation and answering module, the original called party will pass it in the form of the previous code insertion as information. After obtaining the called party's platform code in the call control process, the platform code is passed in as a parameter by directly calling the standard http interface for querying the background knowledge base consultation and answering template opening remarks. After the background knowledge base consultation and answering template opening remarks query interface receives the call, the called party's knowledge base consultation and answering template ID can be obtained in two ways. When the call is sent from the module (1) IVR navigation control module, the knowledge base template ID parameter is queried by the IVR navigation control module and directly passed in as a parameter of the knowledge base consultation and answering template opening remarks query interface. When the call does not pass through the (1) IVR navigation module, the knowledge base template ID input parameter is empty. At this time, the obtained platform code is compared with the enabled platform code of the template of the knowledge base type in the data table to obtain the knowledge base template ID. After obtaining the knowledge base template ID, obtain the configured knowledge base welcome + inquiry language from the template information table. According to the established customer service voice file name splicing rules, splice the opening speech path, return to the call control process with customer service opening speech, node ID, node type, template ID, call end symbol and other parameters, execute the corresponding customer service operation, and enter step 3-3-2.
[0125] Step 3-3-2: Play the customer service answer and get the user response. After receiving the customer service answer recording, the call control process determines the current customer service operation according to the call end symbol. If the call end symbol prompts to transfer to an operator, the operator customer service is connected; if the call end symbol prompts the call to end, the line is released; if the call end symbol prompts to continue the conversation, the audio playback operation is performed. After playing the customer service answer + re-inquiry, the call control process calls the ASR engine to translate the user's real-time voice into text. After the user voice recognition is completed, the user feedback text, unique call ID, and received template ID and other information are used as input parameters to call the background knowledge base consultation question and answer template dialogue management interface and enter step 3-3-3.
[0126] Step 3-3-3: Match the user's intention and obtain the customer service response. After the backend knowledge base consultation question and answer template dialogue management interface receives the call, it queries the standard question and answer information that has been trained for the template according to the acquired knowledge base template ID, converts the user's question text into a Bert vector using the Bert pre-trained model, and calculates the similarity with the standard questions and similar questions in the template one by one. The relative value of the Bert vector similarity can indicate the degree of similarity between the two sentences. After all similarity calculations are completed, the standard question corresponding to the highest similarity is found, and its answer is the customer service answer. Then, according to the set threshold, number of loops, whether to transfer to manual and other restrictions, the actual customer service answer is returned according to the nested transfer to manual loop flowchart, and the customer service answer content, call end symbol and other parameters of the matching result are returned to the call control process, and the corresponding customer service operation is executed to enter step 3-3-2. Steps 3-3-2 and 3-3-3 are alternately cycled until the call end symbol indicates that the call is over or transferred to manual, or the user actively hangs up. Relevant customer service answers and customer inquiries are associated with a unique call ID and stored in the database during the loop process as call detail records and temporary knowledge base corpus for report display and knowledge base optimization in module 3-1.
[0127] Embodiment: A specific embodiment is described below:
[0128] like Figure 1 As shown, an intelligent traffic disaster recovery platform for emergency traffic switching specifically includes:
[0129] (1) IVR Navigation Module
[0130] The IVR navigation module is mainly used as the entrance to the emergency call disaster recovery template, and configures the front-end IVR navigation service for different public service hotlines. The IVR navigation module includes a visual front-end configuration and report display module, a customer service voice generation module, and a call process navigation analysis module.
[0131] Module 1-1: Visual front-end configuration and report display module are as follows:
[0132] The visual front-end configuration and report display module includes the industry merchant management page, merchant information editing page, working hours navigation configuration page, non-working hours navigation configuration page, and call record query export page, as follows:
[0133] Industry merchant management page: add or delete industries, such as medical, government agencies, education, media and other industry categories; add or delete merchants in the specified industry, fill in the merchant name, merchant platform code, working days, working hours and other information. For example, in government agencies, add a "Xuanwu District Epidemic Prevention Command Center". Merchant template configurations are all online based on merchants.
[0134] Merchant information editing page: display and modify merchant platform code, working days, and working hours information.
[0135] Working hours navigation configuration page: configure working hours IVR navigation, provide detailed configuration step instructions, provide an initial navigation configuration bar, and select navigation type and navigation content. The navigation type supports three types: welcome, flowchart, and knowledge base. When the navigation type is welcome, the navigation content supports entering text or uploading voice files. When the navigation type is other, it supports the selection of flowcharts, knowledge bases, or corporate directory templates that have been configured and effective under the name of the merchant; provide a 0-9 button navigation configuration bar, which can edit the navigation type and navigation content. In addition to the types of initial navigation, the navigation type in the button also includes the transfer type. At this time, fill in the manual customer service number that needs to be transferred in the navigation content; click the button to provide the next level navigation configuration bar, which can configure the next level menu for each button. There is no limit on the number of menu layers, but the next level menu can only be configured in the node where the navigation type is playback.
[0136] Non-working hours navigation configuration page: Configure non-working hours IVR navigation. The configuration page is the same as the working hours navigation configuration page and will not be described in detail.
[0137] Call record query and export page: displays the call records of the IVR navigation template, and can export call record details by date period.
[0138] Module 1-2: The customer service voice generation module is as follows:
[0139] After clicking the configuration to take effect on the navigation configuration page, the voice generation interface provided by the customer service voice generation module will be called. The input parameter is the IVR template ID. According to the IVR template ID, all navigation node information under the IVR template can be found, including node ID, navigation type and navigation content. For nodes with navigation type of playback, determine whether the current node has a recording uploaded by the user. If there is a recording, query the local path of the recording, transcode the recording file, and uniformly transcode it into a voice format that can be played by the call center. For example, the recording file format that can be played by Huawei call center is "8000Hz, mono, wav a-law", and upload it to the IVR navigation template voice folder under the voice playback file mount disk of the call center; if there is no recording, call the TTS engine to synthesize the customer service voice, pass in the customer service voice type, volume, speech speed, recording format, and text to be converted as input parameters, obtain the synthesized voice stream, write it to the local path, use a unified naming format, "IVR file name prefix" + template ID + "separator" + unique node ID to ensure the unique representativeness of the recording file, and then upload it to the IVR navigation template voice folder under the voice playback file mount disk of the call center. The customer service voice is generated and the template preparation is completed. At this point, the call transfer can be configured for the user. After the call is connected, the actual call process control is implemented by modules 1-3.
[0140] Module 1-3: The call flow navigation analysis module is as follows:
[0141] The call flow navigation parsing module interacts with the template configured in module 1-1 based on the database. After the emergency disaster recovery service configuration takes effect and the call is transferred in, the actual call flow needs to parse the configured navigation template and make feedback based on the caller's operation. Further, taking a single call as an example, the call parsing interaction diagram is as follows: Figure 2 As shown, the steps of the call process parsing module are as follows:
[0142] Step 1-3-1: Get the template ID and initial navigation language of the called party. The emergency disaster recovery call is sent to the intelligent platform, and the call center loads the IVR interactive control process written in the format specified by the call center. The intelligent customer service is connected, and the IVR interactive control process obtains the original called party with the prefix code through the parameter acquisition method provided by the call center, and then calls the background IVR navigation template query interface in the form of a standard http interface, and passes the original called party with the prefix code as the input parameter "platform code". After receiving the call, the background IVR navigation query template interface matches the merchant platform code configured in the data table to obtain the merchant ID; then, according to the working hours and working hours set by the merchant, combined with the current time, it is determined whether to use working time navigation or non-working time navigation, and obtain the corresponding IVR navigation template ID in the database; finally, according to the IVR navigation template ID, the initial navigation information stored in module 1-1 in the database is searched, and the queried navigation type, navigation content, IVR navigation template ID, and node ID are returned as output parameters to the IVR interactive control process, and the IVR interactive control process performs the corresponding navigation operation and enters step 1-3-2.
[0143] Step 1-3-2: Execute the initial navigation type and navigation content, and obtain the user's response. After the IVR interactive control process obtains the navigation type and navigation content, it performs different operations according to different navigation types. When the initial navigation type is playback, the navigation content is the customer service voice file path generated in module 1-2. The IVR interactive control process plays the relevant navigation content and performs key navigation to collect numbers, obtains the user's key operations under the navigation content prompt tone, and enters step 1-3-3; when the initial navigation type is transfer, the navigation content is the telephone number of the manual customer service, and the IVR interactive control process transfers the call to the corresponding manual customer service in the form of redirection, and the intelligent platform call ends; when the initial navigation type is a flowchart, the navigation content is the flowchart template ID selected by the merchant template, and the IVR interactive control process transfers the call to (2) the intelligent process response module, and module 2-3 continues to control the call; when the initial navigation type is a knowledge base, the navigation content is the knowledge base template ID selected by the merchant template, and the IVR interactive control process transfers the call to (3) the knowledge base question and answer consultation module, and module 3-3 continues to control the call.
[0144] Step 1-3-3: Query the next navigation type and navigation content. After the IVR interactive control process executes the announcement and number collection, the standard http interface for the next navigation query in the background is directly called, and the IVR navigation template ID, unique call ID, user key content, and IVR navigation node ID are passed in as parameters. The background next navigation query interface obtains all the lower-level node information of the navigation from the data table through the IVR navigation template ID and the IVR navigation node ID, and then uses the key information to match the jump conditions one by one. After hitting the conditions, the navigation type, navigation content, and node ID of the hit navigation node are returned, and step 1-3-2 is entered. Steps 1-3-2 and 1-3-3 are looped until the call is transferred out of the IVR navigation module. The relevant customer service operations and customer answers are associated with the unique call ID and stored in the database during the loop as detailed call records for report display in module 1-1.
[0145] (2) Intelligent process response module
[0146] The intelligent process response module is used to quickly configure full-featured intelligent process response customer service with contextual logic relationships for different public service hotlines. The intelligent process response module includes a page flow chart configuration module, a template training and recording generation module, and an intelligent process response call control module.
[0147] Module 2-1: The page flow chart configuration module is as follows:
[0148] The page flow chart configuration module includes the merchant template management page, the flow chart template editing page, the intelligent semantic matching node temporary knowledge base page and the call report statistics display page, as follows:
[0149] Merchant template management page: Click on the merchant details to enter the merchant template management page, which is used to manage the smart process response templates, supporting the operations of adding, deleting, going online, and going offline. A merchant can have multiple smart process response templates, which can be put online or offline at any time according to actual needs;
[0150] Flowchart template editing page: Configure the intelligent process response template. The page is divided into the function node selection area and the process template editing area. Drag the node components in the function node selection area to the process template editing area, and connect the upper and lower nodes to draw a logically closed intelligent process response template. Specifically, in the function node selection area, the optional nodes are as follows:
[0151] Node type 1: Start node. All flowcharts must start with a start node. A flowchart has and must have one and only one start node.
[0152] Node type 2: Playback node. The playback node is used to play customer service voice. The playback content supports filling in text and directly uploading customer service answer recordings;
[0153] Node type 3: Keyword matching node. It is used to match customer service answers of different branches according to customer answers and keyword lists of different branches. The announcement content supports filling in text and directly uploading customer service answer recordings. After the announcement content is filled in, click Add Branch to set different access keyword lists for different branches. The "*" branch indicates the call flow direction when no match is found. After the node configuration is completed, for each branch set, it is necessary to connect to the next level node as the processing of the branch;
[0154] Node type 4: Intelligent semantic matching node. Used to match customer service answers to different branches based on the Bert similarity between the user's answer and the branch standard question. The announcement content supports filling in text and directly uploading the customer service answer recording. After the announcement content is filled in, fill in the matching threshold, which is 0.955 by default. Click Add Branch to set different standard questions for different branches. For each standard question, click Similar Questions to add more questions to improve the matching accuracy. The "*" branch indicates the call flow when the highest similarity of the match is lower than the matching threshold. The branch supports importing and exporting between different templates, which facilitates the reuse of the template node standard question library;
[0155] Node type 5: Question and answer knowledge base node. It is used to embed more complex knowledge base question and answer consultation functions in the intelligent answering process. You can select the trained knowledge base template under the name of the merchant;
[0156] Node type 6: Transfer number node. Used to transfer to manual customer service. The transfer number supports multiple transfer numbers separated by commas. The transfer node has no subordinate nodes;
[0157] Node type 7: key processing node. It is used to match the customer service answers of different branches according to the key results of the user and the key keywords of different branches, that is, to embed a simple IVR navigation in the intelligent answering process module. After the key processing node is dragged into the workbench, the operation is the same as node type 3. Similarly, for each branch set, the lower-level node must be connected as the processing of the branch;
[0158] Node type 8: Button node. Used to record user button information. A numeric string of less than 20 digits can be entered. Playback content supports filling in text and directly uploading customer service answer recordings;
[0159] Node type 9: Recording node. Used to listen to longer user messages. Generally speaking, the parent node of the recording node is the playback node, which prompts the caller to leave a message;
[0160] Node type 10: SMS node. Used to send SMS to the caller number that has passed the call process. After dragging the SMS node into the workbench, fill in the SMS content;
[0161] Node type 11: End node. All branches of the flowchart that do not end with node type 6 must end with the same end node. A flowchart can have at most one end node;
[0162] Except for node type 1 and node type 11, the remaining nodes can appear multiple times in the same intelligent process response template. The flowchart configuration must be closed. After the configuration is completed, click Save and Review, and a preliminary logic check will be performed. If the flowchart logic is obviously not closed, a text prompt will pop up to prompt modification. After the logic is closed, the review is passed, and all node information and the relationship between the upper and lower nodes are stored in the database.
[0163] Temporary knowledge base page of intelligent semantic matching node: used to optimize the recognition accuracy of intelligent semantic matching nodes. The temporary knowledge base page is triggered by clicking the intelligent semantic matching node to be optimized. It lists the user non-standard questions and matching results of all calls that actually flowed through the node after the emergency disaster recovery service was launched. In the temporary knowledge base page, the relevant non-standard questions can be associated with the similar questions of the standard question branch of the node.
[0164] Call report statistics display page: displays the call records of the intelligent process answering template, can export call record details by date period, can directly click on a single call on the page to view the text translation of the conversation details, and provide call recording listening function; provides flowchart node traffic analysis charts, and counts the call traffic of each node of the intelligent process answering template; for flowcharts with the transfer statistics function turned on, provides a transfer to manual result query function, can view on the page which specific manual customer service number answered the final call, can listen to the recording of the conversation with the manual customer service, can count all the provided manual customer service numbers, and the total number of calls answered each day.
[0165] Module 2-2: Template training and recording generation module is as follows:
[0166] After clicking Review on the flowchart template editing page, the flowchart training and recording generation interface provided by the template training and recording generation module will be called. The input parameter is the flowchart template ID. According to the flowchart template ID, all node information under the flowchart template is found, including node ID, node type, and playback content. If the query is successful, the call success is returned, and the training status is set to training. The actual template training and recording generation actions are implemented through asynchronous calls, and the training status code is used to notify the front-end page of the current template preparation status. In order to prevent the flowchart template from being tampered with by the front-end page during training, the front-end flowchart editing workbench page will be locked before the training is completed. First, find all flowchart nodes whose node types are intelligent semantic matching nodes, query all subordinate standard question branches of the node, take out each standard question branch stored in the database, and convert the standard questions of the relevant nodes into Bert vectors that can be used for similarity matching through the preset Bert model, and store them in the corresponding node branch records. Similarly, query all similar questions corresponding to the flowchart template ID in the similar question table, perform Bert vector pre-conversion and storage, and the training is completed after the vector conversion is completed, and the template status is updated to "trained, recording generation"; then, generate customer service voice for the playback content of all nodes of the flowchart in the database table, and determine whether the current node has a recording uploaded by the user. If there is a recording, query the local path of the recording , transcode the recording file, uniformly transcode it into a voice format that can be played by the call center, and upload it to the flowchart template voice folder under the voice playback file mount disk of the call center; if there is no recording, call the TTS engine to synthesize the customer service voice, pass in the customer service voice type, volume, speech speed, recording format, and text to be converted as input parameters, obtain the synthesized voice stream, write it to the local path, use a unified naming format, "flowchart file name prefix" + template ID + "separator" + unique node ID, to ensure the unique representativeness of the recording file, and then upload it to the flowchart template voice folder under the voice playback file mount disk of the call center, then the customer service voice is generated, update the template status to "recording generated", and the template preparation is completed. At this point, you can configure the call transfer for the user. After the call is connected, the actual call process control is implemented by module 2-3.
[0167] Module 2-3: Intelligent process answering call control module is as follows:
[0168] The intelligent process answering call control module interacts with the template configured in module 2-1 based on the database. After the emergency disaster recovery service configuration takes effect and the call is transferred, the actual call process needs to parse the configured navigation template and make feedback based on the caller's operation. Further, taking a single call as an example, the intelligent answering process call parsing interaction diagram is as follows: Figure 3 As shown, the steps of the intelligent process answering call control module are as follows:
[0169] Step 2-3-1: Get the called party's template ID, initial node ID, node type and intelligent process response customer service welcome message. Emergency disaster recovery traffic is sent to the intelligent response process module, the call center loads the flowchart interactive control process, the intelligent customer service is connected, the flowchart interactive control process obtains the original called party with the front insert code, the process response template ID passed in when the process is loaded, and then calls the background process response template opening query interface in the form of a standard http interface, passing the original called party, process response template ID, and unique call ID as input parameters; after the background process response template opening query interface receives the call, there are two ways to obtain the called party's process response template ID. When the traffic is sent from the module (1) IVR navigation control module, the process response template ID parameter is queried by the IVR navigation control module and directly passed in as the parameter of the process response template opening query interface. When the traffic has not passed through the (1) IVR navigation module, the process response template ID is entered If the parameter is empty, the obtained platform code is compared with the enabled platform code of the template of the flowchart type in the data table to obtain the process response template ID; after obtaining the process response template ID, query the node whose template node type is the start node from the node information table, and the subordinate node of the start node is the opening node. Find the specific opening node ID and node type, and determine whether the current process is ended based on whether the next node is the end node; according to the established customer service voice file name splicing rules in module 2-2, splice the opening voice path, and use the spliced customer service opening as the customer service operation content parameter, plus the node ID, node type, process response template ID, call end symbol and other parameters as output parameters and return to the flowchart interactive control process, and the flowchart interactive control process executes the corresponding customer service operation and enters step 2-3-2.
[0170] Step 2-3-2: Execute the customer service operation type and operation content, and selectively wait for the user's response according to different operation types. After receiving the node type and customer service operation content, the call control process calls the specified method proposed by the call center call control file writing format according to different node types and executes fixed operations. Specifically, the operations for different node types are as follows:
[0171] Node type 2: Playback node. Plays the playback path in the customer service operation content without waiting for the customer to speak;
[0172] Node type 3: Keyword matching node. Play the audio path in the customer service operation content, receive the audio, call the ASR engine to translate the user's voice into text in real time, and after the user finishes asking the question, the ASR engine returns the complete translation text;
[0173] Node type 4: Intelligent semantic matching node. Play the playback path in the customer service operation content, receive the sound, call the ASR engine to translate the user's voice into text in real time. After the user finishes asking the question, the ASR engine returns the complete translation text;
[0174] Node type 5: Question and answer knowledge base node. Play the audio path in the customer service operation content, receive the audio, call the ASR engine to translate the user's voice into text in real time, and after the user finishes asking the question, the ASR engine returns the complete translation text;
[0175] Node type 6: Transfer number node. Extract the transfer number list from the customer service operation content, and transfer the call one by one in sequence. If the called number is not answered within 15 seconds, call the second number in sequence until the call is connected and both parties are pulled into the venue. The process is blocked and waits for the call to end. If either party hangs up, the call ends and the line is released. If there is only one number in the transfer number list, it is directly redirected and the call is transferred out of the intelligent platform.
[0176] Node type 7: key processing node. Play the audio path in the customer service operation content, record the single key of the number collection, and if the user does not press the key, repeat the customer service voice until the user makes a key selection and returns the key result (for example, set the corresponding node for keys 0-9, and the user dials according to the customer service voice prompt. The next node also includes node type 2-node type 11);
[0177] Node type 8: key node. Play the playback path in the customer service operation content, execute multiple keystrokes to record the number, set the keystroke interval to 5 seconds, the early end symbol is the "#" key, the maximum number of digits to be recorded is 20, and it is used to record user keystroke information. A numeric string of less than 20 digits can be entered. After the user presses the key, pause for 5 seconds or enter more than 20 digits or press the "#" key to end the number collection and return multiple keystroke results (for example, the user needs to give his or her ID number, which can be given by dialing, and then enter the next node according to the ID number. For the ID number, the next node type is generally a keyword matching node because it can be used for matching queries);
[0178] Node type 9: recording node. Block the call and listen to the user's message until the maximum pause time is exceeded or the user presses "#" to end the message. The message recording is stored in the playback path specified in the customer service operation content;
[0179] The remaining node types do not perform any operations in the flowchart interactive control process, but are only processed in the background process response module. After the node is executed, if the call is not transferred out and the call end symbol does not prompt the call end, the user feedback results obtained by each node, the unique call ID, and the process response template ID, node ID, node type and other information returned by the interface are used as input parameters to call the background process response template dialogue management interface and enter step 2-3-3.
[0180] Step 2-3-3: Get the operation type and content of the next node customer service. After the background process response template dialogue management interface receives the call, it queries all the subordinate node information of the node according to the obtained node ID information. According to the obtained node type, different methods are used to match the user's answer in the subordinate node. Specifically, for different node types, the matching method of the subordinate node is as follows:
[0181] Node type 1: Start node. The next level node is unique, and the next level node is queried directly;
[0182] Node type 2: Playback node. The next level node is unique, and the next level node is queried directly;
[0183] Node type 3: keyword matching node. Find all subordinate node branches and corresponding hit keywords, and determine whether the keywords are in what the user said. If they are in the user's question text, return to the current branch. For example, the keyword lists of the two subordinate node branches of the current node are ["vaccine", "vaccination"], ["physical examination", "check"], and the user's question text is "I would like to ask if there are any vaccines available recently." Then enter the subordinate branch corresponding to the [vaccine", "vaccination"] list; for related keyword hits, there is a second step verification process to determine whether the two-branch question is yes or no. For example, the two branches are ["need"] and ["no"], and the user text is "no, thank you". At this time, both keywords can be hit, and the authenticity of the hit needs to be judged. That is, if the positive word list is hit, reversely determine whether the negative word list is hit at the same time. If it is hit, the current positive branch is not hit; if the user's answer does not hit any keywords, enter the subordinate branch with the keyword list of "*"; query the subordinate node information corresponding to the matched subordinate branch;
[0184] Node type 4: intelligent semantic matching node. Find all subordinate node branches and corresponding standard questions. For each standard question, find similar questions associated with the standard question as the question group of the standard question, find the corresponding vectors stored during pre-training in module 2-2, convert the user's answer text into a Bert vector using the Bert pre-training model, calculate the similarity with each sentence vector in the standard question group, and compare them to get the highest similarity, so as to get the best matching result; query the matching threshold set for the node, if the best matching result is higher than the matching threshold, enter the standard question branch, if the best matching result is lower than the matching threshold, enter the subordinate branch corresponding to "*"; query the subordinate node information corresponding to the matched subordinate branch;
[0185] Node type 5: Question and answer knowledge base node. Find the nested knowledge base template ID, find all standard questions and answers under the knowledge base question and answer consultation template according to the knowledge base template ID, and query the matching strategy adopted by the knowledge base question and answer consultation template. If the matching strategy is Bert, use the same processing method of node type 4 to obtain the most matching result from the standard question and similar question. If the matching strategy is string matching, first use the longest common subsequence LSC to match the most similar result. For example, the user question text is "I want to check the phone number of the Jiangbei Epidemic Prevention Command Center", and the two standard questions in the knowledge base answer consultation template are "I want to check the phone number of Jiangbei Gulou Hospital" and "I want to check the phone number of the Jiangbei Epidemic Prevention Command Center". After all are converted to pinyin, the length of the letter sequence that overlaps the user text and the above two sentences is calculated respectively, and after dividing by the length of the two sentences, the relative length is calculated as the matching rate. The one with a higher matching rate is "I want to check the phone number of the Jiangbei Epidemic Prevention Command Center", which matches the standard question and answer. If it cannot be matched, or the matching threshold is too low, the processing method of node type 4 is used to obtain the most matching result from the standard question and similar questions. The logic of judging the manual cycle is embedded here. The preset flow chart of knowledge base to manual cycle is embedded here (such as Figure 4 ), query the maximum number of cycles, matching threshold, whether to transfer to human, re-inquiry, transfer to human, transfer to human, incomprehensible, and ending information of the knowledge base Q&A consultation template, and determine the actual spliced answer of the customer service according to the maximum number of cycles, matching threshold, and whether to transfer to human parameters, as well as the current recognition accuracy and the number of cycles of the current call;
[0186] When the answer returned to the customer service contains a closing statement or a transfer to human operator inquiry, the loop of the knowledge base node ends and the call loop count is reset to zero. If the transfer to human operator inquiry is played and the user answers that it does not need to be transferred to human operator, the loop of the knowledge base node is re-entered;
[0187] Node type 7: key processing node. The matching method is similar to that of node type 3, and the keyword list is a number.
[0188] Node type 8: key node. The next level node is unique, and the next level node is queried directly;
[0189] Node type 9: recording node. Call the recording message translation asynchronous interface, obtain the message recording file corresponding to the current node from the specified message recording folder, call the asynchronous ASR translation interface, after the translation is completed, the message content text is updated in the database call record details table, and the message node recording file is uploaded to the specified directory for direct playback on the page; the next level node is unique, and the next level node is queried directly;
[0190] Node type 10: SMS node. Calls the asynchronous SMS sending interface. The next level node is unique and directly queries the next level node.
[0191] Except for the several node types listed above, the remaining node types have already transferred out in step 2-3-2 and will not return to this step. After matching the correct subordinate node, determine whether the subordinate node is the end node and whether the subordinate node of the subordinate node is the end node to determine whether the current flowchart is ended. Finally, return the node ID, node type, customer service answer content, call end symbol and other parameters of the subordinate node to the flowchart interactive control process, execute the corresponding customer service operation, and enter step 2-3-2. Step 2-3-2 and step 2-3-3 are alternately looped until the call end symbol marks the end of the call, or the user actively hangs up, or the call is transferred out. The relevant customer service operations and customer answers are associated with a unique call ID and stored in the database during the loop as a detailed call record for report display in module 2-1.
[0192] (3) Knowledge base question and answer consultation module
[0193] The knowledge base Q&A consultation module is used to quickly configure knowledge base Q&A consultation customer service for different public service hotlines, and supports the daily maintenance of the knowledge base and the improvement of accuracy in semi-self-learning mode. The knowledge base Q&A consultation module includes a visual knowledge base configuration optimization and report display module, a knowledge base template training and recording generation module, and a knowledge base Q&A consultation call control module.
[0194] Module 3-1: Visual knowledge base configuration optimization and report display module is as follows:
[0195] The visual knowledge base configuration optimization and report display module includes the merchant template management page, knowledge base template editing page, page test dialog box, temporary knowledge base page and call record display page, as follows:
[0196] Merchant template management page: Click on the merchant details to enter the merchant template management page, which is used to manage the knowledge base Q&A consultation templates, and supports adding, deleting, online and offline operations. A merchant can have multiple knowledge base Q&A consultation templates, which can be online or offline at any time according to actual needs.
[0197] Knowledge base template editing page: configure the merchant knowledge base, including the configuration of basic knowledge base information such as closing remarks, incomprehensible words, inquiry words, re-inquiry words, number of cycles, matching strategy, recognition threshold, whether to start the transfer to manual service, etc. If you choose to turn on the transfer to manual service, the call will actively ask whether to transfer to manual service after the knowledge base reaches the number of cycles. You can configure the inquiry words, transfer words and manual service phone number on the page. It supports one-click import of merchant knowledge base Excel files. The standard questions and answers of the knowledge base will be displayed in a list on the page. It supports the addition of a single piece of knowledge and the batch deletion of knowledge questions and answers. For each standard question and answer, you can click on similar questions to add similar questions. After all configurations are completed, click Training to pre-train and generate recordings for the knowledge base through module 3-2.
[0198] Page test dialog box: a simple intelligent text customer service dialogue interface. Click the dialog box on the knowledge base template editing page to expand it and conduct a knowledge base accuracy test with simple text customer service.
[0199] Temporary knowledge base page: User questions involved in page test dialogues and actual calls will be stored in the temporary knowledge base and displayed on the page. Display user non-standard questions, the most similar standard questions matched by the algorithm, and the matching rate. Support adding temporary knowledge as a standard question to the standard library, and support associating temporary knowledge as a similar question to the existing standard questions and answers in the standard library.
[0200] Call report statistics display page: After the knowledge base answer consultation template is launched as an emergency disaster recovery service, each call supports the viewing of call details text and recordings and dimensional call report statistics. For calls transferred to manual services, it supports inquiries on the number of manual customer service calls that are ultimately transferred to, supports statistics on the daily number of calls answered by different manual customer services, and supports listening to manual call recordings.
[0201] Module 3-2: Knowledge base template training and recording generation module is as follows:
[0202] Click the training button on the knowledge base template editing page to call the knowledge base template training and recording generation interface in this module, and pass in the knowledge base template ID as an input parameter. According to the knowledge base template ID, all standard question information under the flowchart can be found, including the standard question ID and standard question sentence. If the query is successful, the call success is returned, and the training status is set to training. The template training and recording generation actions are implemented asynchronously, and the status code is used to notify the front-end page of the current template preparation status. In order to prevent the call process served by the online knowledge base answer consultation template from being affected during training or later optimization, the state marking method is still used for the newly added content that needs to be trained during later optimization, which are represented as to be optimized and optimizing states respectively, so that the front-end can lock the page in different training states. The pre-training process is similar to the processing method in module 2-2, so it will not be repeated here. After the training is completed, the template status is updated to "Trained, recording is being generated". Then, the customer service voice is generated for the playback content of all standard answers of the knowledge base in the database table, and the TTS engine is called to synthesize the customer service voice. The customer service voice type, volume, speaking speed, recording format, and text to be converted are passed in as input parameters. After obtaining the synthesized voice stream, it is written to the local path, using a unified naming format of "knowledge base file name prefix" + template ID + "separator" + unique node ID to ensure the unique representativeness of the recording file, and then uploaded to the knowledge base template voice folder under the voice playback file mount disk of the call center. The template status is updated to "Recording has been generated". The template preparation is completed, and the user can be configured for call transfer. After the call is connected, the actual call process control is implemented by module 3-3.
[0203] Module 3-3: Knowledge Base Consultation Answering Call Control Module Details are as follows:
[0204] The knowledge base consultation answering call control module interacts with the template configured in module 3-1 based on the database. After the emergency disaster recovery service configuration takes effect and the traffic is transferred in, the actual call process needs to be based on the preset cycle flow chart (such as Figure 4 ), matching the configured effective knowledge base knowledge, and providing feedback based on the caller's question. Taking a single call as an example, the knowledge base consultation answering call analysis interaction diagram is as follows Figure 5 As shown, the steps of knowledge base consultation answering call control are as follows:
[0205] Step 3-3-1: Get the called party's template ID, initial node ID, node type and knowledge base consultation response customer service welcome message. The emergency disaster recovery call traffic is sent to the knowledge base consultation and response module, the call center loads the knowledge base interactive control process, the intelligent customer service is connected, the knowledge base interactive control process obtains the original called party with the front-end code, the knowledge base template ID passed in when the process is loaded, and then calls the background knowledge base consultation question and answer template opening statement query interface in the form of a standard http interface, and passes in the original called party, the knowledge base template ID, and the unique call ID as input parameters; after the background knowledge base consultation question and answer template opening statement query interface receives the call, there are two ways to obtain the called party's knowledge base consultation question and answer template ID. When the call traffic is sent from the module (1) IVR navigation control module, the knowledge base template ID parameter is queried by the IVR navigation control module and directly passed in as the parameter of the knowledge base consultation question and answer template opening statement query interface. When the call traffic does not pass through the (1) IVR navigation module, the knowledge base template ID input parameter is empty. At this time, the obtained platform code is compared with the enabled platform code of the template of the knowledge base type in the data table to obtain the knowledge base template ID; after obtaining the knowledge base template ID, the configured knowledge base welcome + inquiry language is obtained from the template information table. According to the established customer service voice file name splicing rules, the opening speech path is spliced out, and the spliced customer service opening speech is used as the customer service operation content parameter, plus the node ID, node type, knowledge base template ID, call end symbol and other parameters as output parameters and returned to the knowledge base interaction control process. The knowledge base interaction control process executes the corresponding customer service operation and enters step 3-3-2.
[0206] Step 3-3-2: Play the customer service answer and get the user response. After receiving the customer service answer recording, the call control process determines the current customer service operation according to the call end symbol. If the call end symbol prompts to transfer to a human operator, the human operator customer service is connected according to the processing method of node type 6 in step 2-3-2 in module 2-3; if the call end symbol prompts the call to end, the line is released; if the call end symbol prompts to continue the conversation, the audio playback operation is performed. After playing the customer service answer + re-inquiry, the call control process calls the ASR engine to translate the user's real-time voice into text. After the user voice recognition is completed, the user feedback text, unique call ID, and received template ID and other information are used as input parameters to call the background knowledge base consultation question and answer template dialogue management interface and enter step 3-3-3.
[0207] Step 3-3-3: Match user intent and obtain customer service response. After the background knowledge base consultation question and answer template dialogue management interface receives the call, the specific matching method is consistent with the processing method of node type 5 question and answer knowledge base node in step 2-3-3 in module 2-3, and will not be repeated here. The matched customer service answer content, call end symbol and other parameters are returned to the knowledge base interaction control process, and the corresponding customer service operation is executed to enter step 3-3-2. Step 3-3-2 and step 3-3-3 are alternately looped until the call end symbol indicates that the call is over or transferred to manual, or the user actively hangs up. The relevant customer service answer and customer consultation are associated with a unique call ID and stored in the database during the loop process as call detail records and temporary knowledge base corpus, which are used for report display and knowledge base optimization in module 3-1.
[0208] It should be noted that the terms such as "upper", "lower", "left", "right", "front", "back", etc. cited in the invention are only for the convenience of description and are not used to limit the scope of implementation of the present invention. Changes or adjustments in their relative relationships should be regarded as the scope of implementation of the present invention without substantially changing the technical content.
[0209] The above are only preferred embodiments of the present invention, and the protection scope of the present invention is not limited to the above embodiments. All technical solutions under the concept of the present invention belong to the protection scope of the present invention. It should be pointed out that for ordinary technicians in this technical field, some improvements and modifications without departing from the principle of the present invention should be regarded as the protection scope of the present invention.
Claims
1. A method for building an intelligent traffic disaster recovery platform for emergency traffic switching, characterized in that: include: S1: The merchant configures the navigation service through the IVR navigation module. The specific steps are as follows: S1.1: The merchant configures the working hours navigation template and the non-working hours navigation template in the visual front-end configuration and report display module in the IVR navigation module; S1.2: The merchant configures the customer service voice for the contents in the working hours navigation template and the non-working hours navigation template in the customer service voice generation module in the IVR navigation module, and then configures the navigation service so that the user can operate according to the navigation service prompts when calling the merchant; S2: The merchant configures the smart process response service through the smart process response module. The specific steps are as follows: S2.1: The merchant configures the flowchart template in the visual flowchart configuration and report display module in the intelligent process response module; S2.2: The merchant trains the contents of the flowchart template and configures the customer service voice in the flowchart template training and recording generation module in the intelligent process response module, and then configures the intelligent process response service so that users can get corresponding response feedback when they ask corresponding questions; S3: The merchant configures the knowledge base answering service through the knowledge base question and answer consultation module. The specific steps are as follows: S3.1: The merchant configures the knowledge base template in the visual knowledge base configuration optimization and report display module in the knowledge base question and answer consultation module; S3.2: The merchant trains the content in the knowledge base template and configures the customer service voice in the knowledge base template training and recording generation module in the knowledge base question and answer consultation module, and then configures the knowledge base answering service so that users can get corresponding answer feedback when they ask corresponding questions; S4: When the user makes a call, the IVR navigation module receives the call and prompts the user to perform operations according to the navigation service, so that the user can solve the problem in the navigation service stage or guide the user to any one of the intelligent process answering module and the knowledge base question and answer consultation module to continue to connect with the user's call to solve the user's problem; the specific content of step S4 is: S4.1: When a user makes a call, the call flow navigation parsing module in the IVR navigation module receives the call and obtains the platform code of the called merchant, finds the working time navigation template and non-working time navigation template set by the corresponding merchant through the platform code, and selects the working time navigation template or non-working time navigation template according to the time when the user makes the call; S4.2: Perform initial navigation according to the selected working hours navigation template or non-working hours navigation template; When the initial navigation type is flowchart navigation, the corresponding initial navigation content is a flowchart template, and the traffic is transferred to the intelligent process answering module for answering operation to complete the navigation service; When the initial navigation type is knowledge base navigation, the corresponding initial navigation content is the knowledge base template, and the traffic is transferred to the knowledge base question and answer consultation module for answering operations to complete the navigation service; When the initial navigation type is welcome navigation, the corresponding initial navigation content is that the user dials 0-9 according to the customer service voice prompt to enter step S4.3; S4.3: according to the user's key dialing operation, executing the dialing navigation corresponding to the key ID; When the dial-up navigation type is flowchart navigation, the corresponding dial-up navigation content is a flowchart template, and the call traffic is transferred to the intelligent process answering module for answering operation to complete the navigation service; When the dial-up navigation type is knowledge base navigation, the corresponding dial-up navigation content is the knowledge base template, and the call traffic is transferred to the knowledge base question and answer consultation module for answering operations to complete the navigation service; When the dial-up navigation type is manual transfer navigation, the corresponding dial-up navigation content is that the call is transferred to the manual service of the corresponding merchant for answering operation to complete the navigation service; When the dialing navigation type is the welcome navigation, the user enters the first-level submenu, and the user dials 0-9 according to the customer service voice prompt. If the dialing button is not the welcome navigation type, the corresponding dialing navigation content is executed. If the navigation type of the dialing button is still the welcome navigation, the user dials 0-9 according to the welcome prompt to enter the next-level submenu and select the corresponding dialing button. This cycle continues until the navigation service is completed or the user actively hangs up to end the call; The intelligent process response module performs a response operation, that is, performs an intelligent process response service. The specific contents are: (1): When the traffic call is transferred to the intelligent process answering module, the intelligent process answering call control module in the intelligent process answering module obtains the flowchart template selected under the initial navigation or dialing navigation, enters the first node from the node belonging to the start node type, and performs the corresponding operation according to the node type of the first node; (2): If the first node type is a playback node type, the node content is to play the customer service voice. After the playback is completed, it enters the corresponding next node, that is, enters the next step (3); the next node of the playback node type is unique; If the first node type is a keyword matching node type, the node content is the customer service voice. The user explains the content according to the customer service voice prompt, and calls the ASR engine to translate the user's voice into text content in real time. After the user finishes explaining the content, the keyword recognition of the text content is used to find the node with matching content in the flowchart template as the next node, and then go to the next step (3). If the first node type is an intelligent semantic node type, the node content is the customer service voice. The user explains the content according to the customer service voice prompt, and calls the ASR engine to translate the user's voice into text content in real time. After the user finishes explaining the content, the semantic recognition of the text content is used to find the node in the flowchart that matches the content as the next node, and then go to the next step (3). If the first node type is a question-and-answer knowledge base node type, the node content is to play the customer service voice and transfer the call to the knowledge base question-and-answer consultation module for answering, completing the answering operation of the intelligent process answering module; If the first node type is a transfer number node type, the node content is to call a human customer service representative for a manual answer, completing the answering operation of the intelligent process answering module; If the first node type is a key processing node type, the node content is to play the customer service voice, and the user performs single-key dialing according to the customer service voice prompt. Each key has a corresponding next node, and the process goes to the next step (3). If the first node type is a button node type, the node content is to play the customer service voice, and the user performs multi-key dialing according to the customer service voice prompt to input data. The corresponding next node is selected according to the content input by the user, and the next step (3) is entered; If the first node type is a recording node type, the node content starts recording and listening to the user's message. After the recording is completed, the message is stored in the database and the next node is entered, and the next step (3) is entered; the next node of the recording node type is unique; If the first node type is a text message node type, the node content sends a text message to the user and proceeds to the next node, and enters the next step (3); the next node of the text message node type is unique; (3): After matching and finding the corresponding next node, perform the corresponding operation as in (2) according to the node type of the next node, and repeat this process until the intelligent process answering service is completed or the node belonging to the end node type is entered to complete the flowchart loop or the user actively hangs up to end the call; The specific contents of the answering operation performed by the knowledge base question and answer consultation module, i.e., the knowledge base answering service, are as follows: A: When the traffic call is transferred to the knowledge base question and answer consultation module, the knowledge base answer call control module in the knowledge base question and answer consultation module obtains the knowledge base template selected under the initial navigation, or the knowledge base template selected under the dialing navigation, or the knowledge base template selected under the node belonging to the question and answer knowledge base type; based on the basic data including welcome words, inquiry words, number of cycles, matching rate threshold, incomprehensible words, manual inquiry words, re-inquiry words, and closing words, the user's initial interaction obtains the question asked by the user; B: Based on the questions asked by the user, the knowledge base answer consultation template can choose to turn on or off the manual service function; C: When the transfer to manual service function is not enabled, first determine whether the number of cycles has reached the preset maximum value; If the preset maximum value is not reached, the matching rate of the knowledge base template for the query of the question is determined. If it is lower than the recognition threshold of the matching rate, the incomprehensible language and the re-inquiry language are played in sequence to wait for the user's question, and the next step D is entered; if it is higher than or equal to the recognition threshold of the matching rate, the customer service voice of the most matching standard question and answer or similar question and answer is played, and the re-inquiry language is played to wait for the user's question, and the next step D is entered; If the preset maximum value has been reached, the matching rate of the knowledge base template for the query of the question is determined. If it is lower than the recognition threshold of the matching rate, the incomprehensible speech is played and the answering operation of the knowledge base question and answer consultation module is terminated; if it is higher than or equal to the recognition threshold of the matching rate, the customer service voice of the most matching standard question and answer or similar question and answer is played and the answering operation of the knowledge base question and answer consultation module is terminated; When the transfer to manual service function is turned on, first determine whether the number of cycles has reached the preset maximum value; If the preset maximum value is not reached, the matching rate of the knowledge base template for the query of the question is determined. If it is lower than the recognition threshold of the matching rate, the incomprehensible language and the re-inquiry language are played in sequence to wait for the user's question, and the next step D is entered; if it is higher than or equal to the recognition threshold of the matching rate, the customer service voice of the most matching standard question and answer or similar question and answer is played, and the re-inquiry language is played to wait for the user's question, and the next step D is entered; If the preset maximum value has been reached, the matching rate of the knowledge base template for the query of the question is determined. If it is lower than the recognition threshold of the matching rate, the words "not understood" and "transfer to manual inquiry" are played. If the user is transferred to manual service, a manual answer is given and the answering operation of the knowledge base question and answer consultation module is ended. If the user does not transfer to manual service, the words "re-inquiry" are played to wait for the user's question and proceed to the next step D. If it is higher than or equal to the recognition threshold of the matching rate, the customer service voice of the most matching standard question and answer or similar question and answer and the words "transfer to manual inquiry" are played. If the user is transferred to manual service, a manual answer is given and the answering operation of the knowledge base question and answer consultation module is ended. If the user does not transfer to manual service, the words "re-inquiry" are played to wait for the user's question and proceed to the next step D. D: Loop steps BC until the answering operation of the knowledge base question and answer consultation module is completed or the user actively hangs up to end the call.
2. The method for building an intelligent traffic disaster recovery platform for emergency traffic switching according to claim 1, characterized in that: The specific content of step S1.1 is: S1.1.1: Merchants configure working hours and working days in the visual front-end configuration and report display module, and configure working hours navigation templates and non-working hours navigation templates according to working hours and working days. The working hours navigation template and non-working hours navigation template both contain the corresponding merchant ID and merchant platform code; S1.1.2: Initial navigation is configured for the working hours navigation template and the non-working hours navigation template respectively. The initial navigation includes the corresponding initial navigation content and initial navigation type. The initial navigation type includes welcome navigation, flowchart navigation, and knowledge base navigation. S1.1.3: The dialing navigation of each dialing button 0-9 is configured for the working hours navigation template and the non-working hours navigation template respectively. The dialing navigation includes the corresponding dialing navigation content and dialing navigation type, wherein the dialing navigation type includes welcome message navigation, flowchart navigation, knowledge base navigation, and manual transfer navigation; S1.1.4: Set a first-level submenu for each dial button, and configure dial navigation for each dial button 0-9 in the first-level submenu; after the configuration is completed, set a second-level submenu for each dial button, and configure dial navigation for each dial button 0-9 in the second-level submenu; set multiple layers of submenus in this way, and the dial buttons in each layer of submenus have corresponding dial navigation content and dial navigation type; wherein, the dial buttons in step S1.1.3 and the dial buttons in each menu in S1.1.4 have their own button IDs; S1.1.5: Complete the configuration of the working hours navigation template and the non-working hours navigation template through steps S1.1.1-S1.1.4, and store them in the database.
3. The method for building an intelligent traffic disaster recovery platform for emergency traffic switching according to claim 2, characterized in that: The specific content of step S1.2 is: S1.2.1: Merchants use recorded audio files as customer service voice, or fill in text content and synthesize customer service voice through TTS; S1.2.2: Match the customer service voice with the button ID in the working hours navigation template or non-working hours navigation template of the corresponding merchant, so that each button ID has its own corresponding customer service voice, and the configuration of the customer service voice is completed.
4. The method for building an intelligent traffic disaster recovery platform for emergency traffic switching according to claim 2, characterized in that: The specific content of step S2.1 is: Select the merchant ID and create the corresponding flowchart template. The merchant edits and defines the node content, node type and connection relationship between nodes of each node in the flowchart template to create and update the flowchart template and store it in the database. The node types include: start node type, end node type, playback node type, keyword matching node type, intelligent semantic matching node type, question and answer knowledge base node type, transfer number node type, key processing node type, key node type, recording node type, and SMS node type, and the entire flowchart is a closed loop.
5. The method for building an intelligent traffic disaster recovery platform for emergency traffic switching according to claim 4, characterized in that: The specific content of step S2.2 is: The nodes in the flowchart template that belong to the intelligent semantic matching node type are trained through the flowchart template training and recording generation module to make the node's recognition of semantics more accurate, and the corresponding customer service voice is recorded for the nodes in the flowchart template that need to play the customer service voice; thereby completing the training of the flowchart and the configuration of the flowchart customer service voice; the customer service voice uses the recording file recorded by the merchant or fills in the text content and synthesizes the customer service voice through TTS.
6. The method for building an intelligent traffic disaster recovery platform for emergency traffic switching according to claim 4, characterized in that: The specific content of step S3.1 is: Select the merchant ID and establish the corresponding knowledge base template. The merchant configures the basic data of the knowledge base template, including: welcome words, inquiry words, number of cycles, matching rate threshold, words of misunderstanding, words for manual inquiry, words for re-inquiry, and closing words. After the basic data configuration is completed, import the data of standard questions and answers and the data of similar questions and answers contained in the corresponding standard questions and answers into the knowledge base template to establish an updated knowledge base template and store it in the database.
7. A method for building an intelligent traffic disaster recovery platform for emergency traffic switching according to claim 6, characterized in that: The specific content of step S3.2 is: The standard questions and answers and similar questions and answers in the knowledge base are trained through the knowledge base template training and recording generation module to modify similar questions and answers or add similar questions and answers corresponding to the standard questions and answers, so that the content of similar questions and answers is richer and more closely connected with the standard questions and answers; After the training is completed, the corresponding customer service voice is recorded for each standard question and answer, where the customer service voice for similar questions and answers is consistent with their corresponding standard questions and answers; then the training of the knowledge base template and the configuration of the knowledge base customer service voice are completed, where the customer service voice uses the recording file recorded by the merchant or fills in the text content and synthesizes the customer service voice through TTS.
Citation Information
Patent Citations
Intelligent response method and system based on context dialogue semantic recognition
CN106357942A
Intelligent agent system and method
CN109829046A
