CN110502368B - Dialogue fault tolerance method, central control equipment, system and readable storage medium - Google Patents

Dialogue fault tolerance method, central control equipment, system and readable storage medium Download PDF

Info

Publication number
CN110502368B
CN110502368B CN201910749547.4A CN201910749547A CN110502368B CN 110502368 B CN110502368 B CN 110502368B CN 201910749547 A CN201910749547 A CN 201910749547A CN 110502368 B CN110502368 B CN 110502368B
Authority
CN
China
Prior art keywords
user
request
representing
response result
reply information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910749547.4A
Other languages
Chinese (zh)
Other versions
CN110502368A (en
Inventor
张瀚
雷欣
李志飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Go Out And Ask Wuhan Information Technology Co ltd
Original Assignee
Go Out And Ask Wuhan Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Go Out And Ask Wuhan Information Technology Co ltd filed Critical Go Out And Ask Wuhan Information Technology Co ltd
Priority to CN201910749547.4A priority Critical patent/CN110502368B/en
Publication of CN110502368A publication Critical patent/CN110502368A/en
Application granted granted Critical
Publication of CN110502368B publication Critical patent/CN110502368B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1479Generic software techniques for error detection or fault masking
    • G06F11/1489Generic software techniques for error detection or fault masking through recovery blocks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2201/00Indexing scheme relating to error detection, to error correction, and to monitoring
    • G06F2201/80Database-specific techniques

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a dialogue fault-tolerant method, a central control device, a system and a readable storage medium, which are applied to the central control device, wherein the central control device is arranged between a user or a user terminal and a dialogue system, and comprises the following steps: receiving a user request from a user or a user terminal; forwarding the user request to the dialog system to instruct the dialog system to respond to the user request; if the reply information used for representing the first response result is not received within the preset time period, the received user request is forwarded to the backup system again to indicate the backup system to respond to the user request; and receiving reply information used for representing the second response result, and forwarding the reply information used for representing the second response result to the user or the user terminal. Therefore, when the communication between the central control device and the dialog system fails, the backup system can still respond to the user request and feed the reply information back to the user or the user terminal, so that the whole dialog system can be normally used.

Description

Dialogue fault tolerance method, central control equipment, system and readable storage medium
Technical Field
The invention relates to the technical field of computers, in particular to a conversation fault tolerance method, a central control device, a conversation fault tolerance system and a readable storage medium.
Background
The existing dialog system is usually a huge and complex pipeline system, after being processed for many times by each module in the pipeline, the final result is generated, and the sound or signal and the like are played to a user, and the failure of any one of the modules can cause the whole dialog system to be incapable of being used normally.
Disclosure of Invention
The embodiment of the invention provides a conversation fault tolerance method, a central control device, a system and a readable storage medium, wherein when a conversation system fails, the system can still give effective response to a user request.
One aspect of the present invention provides a dialog fault tolerance method, which is applied to a central control device, where the central control device is disposed between a user or a user terminal and a dialog system, and the method includes: receiving a user request from a user or a user terminal, wherein the user request is used for requesting a dialog system to execute corresponding control operation based on request information of the user request; forwarding the user request to a dialog system to indicate the dialog system to respond to the user request within a preset time period, executing corresponding control operation according to the analyzed request information and feeding back reply information for representing a first response result; if reply information used for representing the first response result is not received within a preset time period, the received user request is forwarded to a backup system to indicate the backup system to respond to the user request, corresponding control operation is executed according to the analyzed request information, and reply information used for representing a second response result is fed back; and receiving reply information used for representing the second response result, and forwarding the reply information used for representing the second response result to the user or the user terminal.
In one embodiment, the method further comprises: if the reply information used for representing the first response result is received within the preset time period; judging the type of the first response result according to the reply information for representing the first response result to obtain a judgment result; it is determined whether a corresponding control operation is to be performed by means of the backup system in dependence on the result of said determination.
In an embodiment, the determining whether to perform the corresponding control operation by means of the backup system according to the determination result includes: if the judgment result is used for representing that the type of the first response result is response failure, the received user request is forwarded to a backup system to indicate the backup system to respond to the user request, corresponding control operation is executed according to the analyzed request information, and reply information used for representing a second response result is fed back; and receiving reply information used for representing the second response result, and forwarding the reply information used for representing the second response result to the user or the user terminal.
In an embodiment, the determining whether to perform the corresponding control operation by means of the backup system according to the determination result includes: and if the judgment result is used for representing that the type of the first response result is response success, forwarding the reply information used for representing the first response result to the user or the user terminal.
In one implementation, the user request is a voice request; correspondingly, after receiving a user request from a user or a user terminal, the method further comprises: and converting the voice information of the voice request into corresponding text information.
In an implementation, the instructing the dialog system to respond to the user request within a preset time period includes: parsing, by the dialog system, request information requested by the user to identify an intent of the request information; generating, by the dialog system, a first operating instruction for performing the intent according to the intent information.
In an embodiment, said instructing said backup system to respond to said user request comprises: analyzing the request information obtained by the user request by the backup system to judge whether the request information exists in the backup system; and if the backup system judges that the request information exists in the backup system, generating a second operation instruction for executing the request information by the backup system.
Another aspect of the present invention provides a central control apparatus, which is disposed between a user or a user terminal and a dialog system, and includes: the system comprises a receiving module, a processing module and a processing module, wherein the receiving module is used for receiving a user request from a user or a user terminal, and the user request is used for requesting a dialog system to execute corresponding control operation based on request information of the user request; the forwarding module is used for forwarding the user request to a dialog system so as to indicate the dialog system to respond to the user request within a preset time period, execute corresponding control operation according to the analyzed request information and feed back reply information used for representing a first response result; if reply information used for representing the first response result is not received within a preset time period, the received user request is forwarded to a backup system to indicate the backup system to respond to the user request, corresponding control operation is executed according to the analyzed request information, and reply information used for representing a second response result is fed back; and the reply module is used for receiving reply information used for representing the second response result and forwarding the reply information used for representing the second response result to the user or the user terminal.
In another aspect, the present invention provides a computer-readable storage medium comprising a set of computer-executable instructions, which when executed, perform a dialog fault tolerance method as described above.
The invention provides a dialogue fault-tolerant system on the other hand, which at least comprises a user or a user terminal, a dialogue system, a central control device arranged between the user or the user terminal and the dialogue system, and a backup system; the central control equipment is used for receiving a user request from a user or a user terminal, wherein the user request is used for requesting the dialog system to execute corresponding control operation based on request information of the user request; the dialogue system is used for receiving and analyzing a user request of the central control equipment, executing corresponding control operation according to the analyzed request information and feeding back reply information for representing a first response result; the central control device is further configured to receive reply information used for representing the first response result in a preset time period, and if the reply information used for representing the first response result is not received in the preset time period, forward the received user request to the backup system again; the backup system is used for receiving and analyzing a user request of the central control equipment, executing corresponding control operation according to the analyzed request information and feeding back reply information for representing a second response result; the central control device is further configured to receive reply information used for representing the second response result, and forward the reply information used for representing the second response result to the user or the user terminal.
In the embodiment of the invention, in the using process, when the central control device does not receive the response of the dialog system within the preset time period, the user request is forwarded to the backup system to request the response of the backup system. Therefore, when the communication between the central control device and the dialog system fails or the dialog system fails, the backup system plays a role in remediation, can still respond to the user request, and finally feeds back the reply information to the user or the user terminal through the central control device, so that the whole dialog system can be normally used.
Drawings
The above and other objects, features and advantages of exemplary embodiments of the present invention will become readily apparent from the following detailed description, which proceeds with reference to the accompanying drawings. Several embodiments of the invention are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which:
in the drawings, the same or corresponding reference numerals indicate the same or corresponding parts.
Fig. 1 is a schematic flow chart illustrating an implementation of a dialog fault tolerance method according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a specific implementation of a dialog fault tolerance method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a central control device according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a dialog fault tolerant system according to an embodiment of the present invention.
Detailed Description
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
Fig. 1 is a schematic flow chart illustrating an implementation of a dialog fault tolerance method according to an embodiment of the present invention; fig. 2 is a schematic diagram illustrating a specific implementation flow of a dialog fault tolerance method according to an embodiment of the present invention; please refer to fig. 1 and fig. 2.
The invention provides a dialogue fault-tolerant method, which is applied to a central control device, wherein the central control device is arranged between a user or a user terminal and a dialogue system, and comprises the following steps:
step 101, receiving a user request from a user or a user terminal, where the user request is used to request a dialog system to execute a corresponding control operation based on request information of the user request.
And 102, forwarding the user request to the dialog system to indicate the dialog system to respond to the user request within a preset time period, executing corresponding control operation according to the analyzed request information, and feeding back reply information for representing a first response result.
Step 103, if the reply information for representing the first response result is not received within the preset time period, the received user request is forwarded to the backup system again to indicate the backup system to respond to the user request, execute corresponding control operation according to the analyzed request information, and feed back the reply information for representing the second response result.
And 104, receiving reply information used for representing the second response result, and forwarding the reply information used for representing the second response result to the user or the user terminal.
In the embodiment of the invention, in the using process, when the central control device does not receive the response of the dialogue system within the preset time period, the user request is forwarded to the backup system to request the response of the backup system. Therefore, when the communication between the central control device and the dialog system fails or the dialog system fails, the backup system plays a role in remediation, can still respond to the user request, and finally feeds back the reply information to the user or the user terminal through the central control device, so that the whole dialog system can be normally used.
In one embodiment, the method further comprises:
and if the reply information used for representing the first response result is received within the preset time period.
And judging the type of the first response result according to the reply information for representing the first response result to obtain a judgment result.
It is determined whether a corresponding control operation is to be performed by means of the backup system in dependence on the decision result.
In the embodiment of the present invention, there may be abnormal information in the reply information responded by the dialog system, such as error information or an abnormal stack. Therefore, when the central control device receives the reply information of the dialog system within the preset time period, the central control device needs to further judge the type of the reply information, and then determines whether to execute the corresponding control operation by means of the backup system according to the judgment result.
In an embodiment, determining whether to perform the corresponding control operation by means of the backup system according to the determination result includes:
and if the judgment result is used for representing that the type of the first response result is response failure, the received user request is forwarded to the backup system again to indicate the backup system to respond to the user request, corresponding control operation is executed according to the analyzed request information, and reply information used for representing a second response result is fed back.
And receiving reply information used for representing the second response result, and forwarding the reply information used for representing the second response result to the user or the user terminal.
In the embodiment of the invention, when the reply information of the dialog system contains abnormal information, the type of the reply information is represented as response failure, the reply information cannot be sent to the user or the user terminal, the user request needs to be forwarded to the backup system to request the backup system to execute the user request and feed back the response result, and finally the reply information responded by the backup system is forwarded to the user or the user terminal.
In an embodiment, determining whether to perform the corresponding control operation by means of the backup system according to the determination result includes: and if the judgment result is used for representing that the type of the first response result is response success, forwarding reply information used for representing the first response result to the user or the user terminal.
In the embodiment of the invention, when the reply information of the dialog system does not contain abnormal information, the type of the reply information is indicated as successful response, the user request does not need to be forwarded to a backup system, and the reply information of the dialog system is directly forwarded to the user or the user terminal.
In one possible embodiment, the user request is a voice request. Accordingly, after receiving a user request from a user or a user terminal, the method further comprises: and converting the voice information of the voice request into corresponding text information.
In the embodiment of the invention, after receiving the voice request, the central control equipment converts the voice into the text information by the character voice conversion technology and then distributes the text information to the conversation system/backup system.
In one embodiment, instructing the dialog system to respond to the user request within a preset time period comprises: analyzing the request information requested by the user by the dialog system to identify the intention of the request information; generating, by the dialog system, a first operating instruction for executing the intent from the intent information.
In the embodiment of the invention, after receiving a user request, a Dialog system performs intention identification on user request information through a Natural Language Understanding (NLU) technology, inputs the intention identification information into Dialog Management (Dialog Management), and the Dialog Management is used for generating a first operation instruction corresponding to the request information by combining Dialog history information. The first operation instruction may execute an instruction for performing a system action, such as turning up the volume, or may be a resource search, such as reporting a weather condition. And finally, generating corresponding reply information from the execution result or the resource search result through natural language synthesis (NLG), transmitting the reply information to the central control equipment, receiving the reply information by the central control equipment, converting the reply information into voice information through a text-to-speech conversion technology, and finally transmitting the voice information to the user or the user terminal.
In one possible embodiment, instructing the backup system to respond to a user request includes:
the backup system analyzes the request information obtained by the user request to judge whether the request information exists in the backup system.
And if the backup system judges that the request information exists in the backup system, generating a second operation instruction for executing the request information by the backup system.
In the embodiment of the invention, the backup system stores the resource library with fixed response, namely key value pair information, wherein the key is request information, and the value is reply information and a second operation instruction corresponding to the request information. After receiving the user request information, the backup system judges whether a key in the key-value pair resource library hits the request information, if yes, the backup system takes out the value information corresponding to the key, wherein the second operation instruction is used for executing the system behavior, and the reply information is transmitted to the central control device; if not, the reply message is a universal reply message, and the reply message is also transmitted to the central control device.
The central control equipment converts the reply information/universal reply information into voice information through a voice-to-text conversion technology and transmits the voice information to a user or a user terminal.
Fig. 3 is a schematic structural diagram of a central control device according to an embodiment of the present invention; please refer to fig. 3.
Based on the above-mentioned dialog fault tolerance method, the present invention further provides a central control device, where the central control device is disposed between a user or a user terminal and a dialog system, and the central control device includes:
a receiving module 201, configured to receive a user request from a user or a user terminal, where the user request is used to request a dialog system to execute a corresponding control operation based on request information of the user request.
A forwarding module 202, configured to forward the user request to the dialog system, so as to instruct the dialog system to respond to the user request within a preset time period, execute corresponding control operation according to the parsed request information, and feed back reply information used for representing a first response result; and if the reply information used for representing the first response result is not received within the preset time period, the received user request is forwarded to the backup system so as to indicate the backup system to respond to the user request, corresponding control operation is executed according to the analyzed request information, and the reply information used for representing the second response result is fed back.
And the reply module 203 is configured to receive reply information used for representing the second response result, and forward the reply information used for representing the second response result to the user or the user terminal.
In the embodiment of the present invention, in the using process of the present invention, when the forwarding module 202 does not receive the response of the dialog system within the preset time period, the user request is forwarded to the backup system to request the response of the backup system. Therefore, when the communication between the central control device and the dialog system fails or the dialog system fails, the backup system plays a role in remediation, can still respond to the user request, and finally feeds back the reply information to the user or the user terminal through the reply module 203, so that the whole dialog system can be normally used.
Further, the user request is a voice request, and after receiving the user request of the user or the user terminal, the receiving module 201 first converts the voice request into text information through a voice-to-text conversion technology, and then forwards the text information to the dialog system/backup system through the forwarding module 202.
Further, after receiving the user request, the dialogue system first performs intention recognition on the user request information through a Natural Language Understanding (NLU) technology, and inputs the intention recognition information into a dialogue management, and the dialogue management is used for generating a first operation instruction corresponding to the request information in combination with dialogue history information. The first operation instruction may execute an instruction for performing a system action, such as turning up the volume, or a resource search, such as reporting weather conditions. Finally, the execution result or the resource search result is processed through natural language synthesis (NLG) to generate corresponding reply information, and the reply information is transmitted to the reply module 203.
Further, when the forwarding module 202 receives the reply message of the dialog system within the preset time period and has abnormal information, the user request still needs to be forwarded to the backup system to instruct the backup system to respond to the user request. When the forwarding module 202 receives the reply message of the dialog system within the preset time period and no abnormal message exists, the user request does not need to be forwarded to the backup system.
Further, the backup system stores a resource library with fixed responses, i.e. key value pair information, where the key is the request information, and the value is the reply information corresponding to the request information and the second operation instruction. After receiving the user request information, the backup system determines whether a key in the key-value pair resource library hits the request information, and if the key hits the request information, the backup system takes out the value information corresponding to the key, wherein the second operation instruction is used for executing the system behavior, and the reply information is transmitted to the reply module 203; if not, the reply message is a universal reply message, which is also transmitted to the reply module 203.
The reply module 203 receives the reply message, converts the reply message into a voice message through a text-to-speech conversion technology, and finally transmits the voice message to the user or the user terminal.
Fig. 4 is a schematic structural diagram of a dialog fault tolerant system according to an embodiment of the present invention, and refer to fig. 4.
Based on the above-mentioned dialog fault-tolerant method and central control device, the present invention further provides a dialog fault-tolerant system, which at least includes a user or user terminal 301, a dialog system 303, a central control device 302 disposed between the user or user terminal 301 and the dialog system 303, and a backup system 304; wherein the content of the first and second substances,
the central control device 302 is configured to receive a user request from a user or the user terminal 301, where the user request is used to request the dialog system 303 to perform a corresponding control operation based on request information requested by the user.
And the dialog system 303 is configured to receive and parse a user request of the central control device 302, execute a corresponding control operation according to the parsed request information, and feed back reply information used for representing a first response result.
The central control device 302 is further configured to receive reply information used for characterizing the first response result in a preset time period, and forward the received user request to the backup system 304 if the reply information used for characterizing the first response result is not received in the preset time period.
And the backup system 304 is configured to receive and parse the user request of the central control device 302, execute a corresponding control operation according to the parsed request information, and feed back reply information used for representing a second response result.
The central control device 302 is further configured to receive reply information used for characterizing the second response result, and forward the reply information used for characterizing the second response result to the user or the user terminal 301.
In the embodiment of the present invention, in the using process of the present invention, when the central control device 302 does not receive the response of the dialog system 303 within the preset time period, the user request is forwarded to the backup system 304 to request the response of the backup system 304. Therefore, when the communication between the central control device 302 and the dialog system 303 fails or the dialog system 303 itself fails, the backup system 304 plays a role of remediation, can still respond to the user request, and finally feeds back the reply information to the user or the user terminal 301 through the central control device, so that the whole system can be normally used.
Further, the user request is a voice request, and after receiving the user request of the user or the user terminal 301, the central control device 302 firstly converts the voice request into text information through a voice-to-text conversion technology, and then forwards the text information to the dialog system 303/backup system 304.
Further, after receiving the user request, the Dialog system 303 first performs intent recognition on the user request information by a Natural Language Understanding (NLU) technique, and inputs the intent recognition information into Dialog Management (Dialog Management) for generating a first operation instruction corresponding to the request information in combination with the Dialog history information. The first operation instruction may execute an instruction for performing a system action, such as turning up the volume, or may be a resource search, such as reporting a weather condition. Finally, the execution result or the resource search result is synthesized through Natural Language (NLG) to generate corresponding reply information, and the reply information is transmitted to the central control device 302.
Further, when the central control device 302 receives the reply message of the dialog system 303 within the preset time period and there is abnormal information, the user request still needs to be forwarded to the backup system 304 to instruct the backup system 304 to respond to the user request. When the central control device 302 receives the reply message of the dialog system 303 within the preset time period and there is no abnormal message, the user request does not need to be forwarded to the backup system 304.
Further, the backup system 304 stores a fixed response pair resource library, i.e. key value pair information, where the key is the request information, and the value is the reply information corresponding to the request information and the second operation instruction. After receiving the user request information, the backup system 304 determines whether a key in the key-value pair resource library hits the request information, and if the key hits the request information, the backup system takes out value information corresponding to the key, wherein the second operation instruction is used for executing system behavior, and reply information is transmitted to the central control device 302; if not, the reply message is a master reply message, which is also transmitted to the central control apparatus 302.
The central control device 302 receives the reply message, converts the reply message into a voice message through a text-to-speech technology, and finally transmits the voice message to the user or the user terminal 301.
Based on the above-mentioned session fault tolerance method, the present invention also provides a computer-readable storage medium, which includes a set of computer-executable instructions, when executed, for receiving a user request from a user or a user terminal, the user request requesting a dialog system to perform a corresponding control operation based on request information of the user request; forwarding the user request to a dialogue system to indicate the dialogue system to respond to the user request within a preset time period, executing corresponding control operation according to the analyzed request information and feeding back reply information for representing a first response result; if reply information used for representing the first response result is not received within a preset time period, the received user request is forwarded to the backup system so as to indicate the backup system to respond to the user request, corresponding control operation is executed according to the analyzed request information, and reply information used for representing a second response result is fed back; and receiving reply information used for representing the second response result, and forwarding the reply information used for representing the second response result to the user or the user terminal.
In the using process of the scheme, when the central control equipment does not receive the response of the dialogue system within the preset time period, the user request is forwarded to the backup system to request the response of the backup system. Therefore, when the communication between the central control device and the dialogue system fails or the dialogue system fails, the backup system plays a role in remediation, can still respond to the user request, and finally feeds back the reply information to the user or the user terminal through the central control device, so that the whole system can be normally used.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means two or more unless specifically defined otherwise.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of the changes or substitutions within the technical scope of the present invention, and shall cover the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A dialogue fault-tolerant method is applied to central control equipment which is arranged between a user or a user terminal and a dialogue system, and is characterized by comprising the following steps:
receiving a user request from a user or a user terminal, wherein the user request is used for requesting a dialog system to execute corresponding control operation based on request information of the user request;
forwarding the user request to a dialog system to indicate the dialog system to respond to the user request within a preset time period, executing corresponding control operation according to the analyzed request information and feeding back reply information for representing a first response result;
if reply information used for representing the first response result is not received within a preset time period, the received user request is forwarded to a backup system to indicate the backup system to respond to the user request, corresponding control operation is executed according to the analyzed request information, and reply information used for representing a second response result is fed back; wherein, the situation that the reply information used for representing the first response result is not received within the preset time period comprises the following steps: when the communication between the central control device and the dialogue system fails or the dialogue system itself fails;
and receiving reply information used for representing the second response result, and forwarding the reply information used for representing the second response result to the user or the user terminal.
2. The method of claim 1, further comprising:
if the reply information used for representing the first response result is received within the preset time period;
judging the type of the first response result according to the reply information for representing the first response result to obtain a judgment result;
it is determined whether a corresponding control operation is to be performed by means of the backup system in dependence on the result of said determination.
3. The method of claim 2, wherein said determining whether to perform a corresponding control operation by means of a backup system based on said determination comprises:
if the judgment result is used for representing that the type of the first response result is response failure, the received user request is forwarded to a backup system to indicate the backup system to respond to the user request, corresponding control operation is executed according to the analyzed request information, and reply information used for representing a second response result is fed back;
and receiving reply information used for representing the second response result, and forwarding the reply information used for representing the second response result to the user or the user terminal.
4. The method of claim 2, wherein determining whether to perform the corresponding control operation by means of a backup system according to the determination result comprises:
and if the judgment result is used for representing that the type of the first response result is response success, forwarding the reply information used for representing the first response result to the user or the user terminal.
5. The method of claim 1, wherein the user request is a voice request;
correspondingly, after receiving a user request from a user or a user terminal, the method further comprises:
and converting the voice information of the voice request into corresponding text information.
6. The method of claim 1, wherein said instructing the dialog system to respond to the user request within a preset time period comprises:
analyzing, by the dialog system, request information requested by the user to identify an intent of the request information;
generating, by the dialog system, a first operating instruction for executing the intent from the intent information.
7. The method of claim 1, wherein said instructing the backup system to respond to the user request comprises:
analyzing the request information obtained by the user request by the backup system to judge whether the request information exists in the backup system;
and if the backup system judges that the request information exists in the backup system, generating a second operation instruction for executing the request information by the backup system.
8. A central control device, which is disposed between a user or a user terminal and a dialog system, the central control device comprising:
the system comprises a receiving module, a processing module and a processing module, wherein the receiving module is used for receiving a user request from a user or a user terminal, and the user request is used for requesting a dialog system to execute corresponding control operation based on request information of the user request;
the forwarding module is used for forwarding the user request to a dialog system so as to indicate the dialog system to respond to the user request within a preset time period, execute corresponding control operation according to the analyzed request information and feed back reply information used for representing a first response result;
if reply information used for representing the first response result is not received within a preset time period, the received user request is forwarded to a backup system to indicate the backup system to respond to the user request, corresponding control operation is executed according to the analyzed request information, and reply information used for representing a second response result is fed back; wherein, the situation that the reply information used for representing the first response result is not received within the preset time period comprises the following steps: when the communication between the central control device and the dialogue system fails or the dialogue system itself fails;
and the reply module is used for receiving reply information used for representing the second response result and forwarding the reply information used for representing the second response result to the user or the user terminal.
9. A computer-readable storage medium comprising a set of computer-executable instructions that, when executed, perform the dialog fault tolerance method of any one of claims 1-7.
10. A dialogue fault-tolerant system is characterized in that the system at least comprises a user or a user terminal, a dialogue system, a central control device arranged between the user or the user terminal and the dialogue system, and a backup system; wherein the content of the first and second substances,
the central control device is used for receiving a user request from a user or a user terminal, wherein the user request is used for requesting the dialog system to execute corresponding control operation based on request information of the user request;
the dialogue system is used for receiving and analyzing a user request of the central control equipment, executing corresponding control operation according to the analyzed request information and feeding back reply information for representing a first response result;
the central control device is further configured to receive reply information used for representing the first response result in a preset time period, and if the reply information used for representing the first response result is not received in the preset time period, forward the received user request to the backup system again; wherein, the situation that the reply information used for representing the first response result is not received in the preset time period comprises the following steps: when the communication between the central control device and the dialogue system fails or the dialogue system itself fails;
the backup system is used for receiving and analyzing a user request of the central control equipment, executing corresponding control operation according to the analyzed request information and feeding back reply information for representing a second response result;
the central control device is further configured to receive reply information used for representing the second response result, and forward the reply information used for representing the second response result to the user or the user terminal.
CN201910749547.4A 2019-08-14 2019-08-14 Dialogue fault tolerance method, central control equipment, system and readable storage medium Active CN110502368B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910749547.4A CN110502368B (en) 2019-08-14 2019-08-14 Dialogue fault tolerance method, central control equipment, system and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910749547.4A CN110502368B (en) 2019-08-14 2019-08-14 Dialogue fault tolerance method, central control equipment, system and readable storage medium

Publications (2)

Publication Number Publication Date
CN110502368A CN110502368A (en) 2019-11-26
CN110502368B true CN110502368B (en) 2022-07-26

Family

ID=68587492

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910749547.4A Active CN110502368B (en) 2019-08-14 2019-08-14 Dialogue fault tolerance method, central control equipment, system and readable storage medium

Country Status (1)

Country Link
CN (1) CN110502368B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102348291A (en) * 2010-07-28 2012-02-08 中兴通讯股份有限公司 Dialogue establishing method and system based on dialogue correlation identifier
CN106230689A (en) * 2016-07-25 2016-12-14 北京奇虎科技有限公司 Method, device and the server that a kind of voice messaging is mutual
CN107452383A (en) * 2016-05-31 2017-12-08 华为终端(东莞)有限公司 A kind of information processing method, server, terminal and information processing system
CN107623620A (en) * 2016-07-14 2018-01-23 腾讯科技(深圳)有限公司 Processing method, the webserver and the Intelligent dialogue system of randomness interaction data
CN109257444A (en) * 2018-11-12 2019-01-22 迈普通信技术股份有限公司 A kind of load sharing method, apparatus and system

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101051883B (en) * 2007-05-11 2011-04-20 杭州华三通信技术有限公司 Service switching method and system after main voice server fault restoring
US8934618B2 (en) * 2008-12-29 2015-01-13 Avaya Inc. Method for analysing an interactive voice response system
KR101765317B1 (en) * 2015-09-24 2017-08-04 주식회사 브리지텍 Ip ivr duplication system and mtehod
CN105630960B (en) * 2015-12-24 2019-02-12 百度在线网络技术(北京)有限公司 The method and apparatus of testing field Task conversational system
JP6686226B2 (en) * 2016-04-18 2020-04-22 グーグル エルエルシー Call the appropriate agent automation assistant
JP6416175B2 (en) * 2016-12-01 2018-10-31 東芝三菱電機産業システム株式会社 Call system
CN108257590B (en) * 2018-01-05 2020-10-02 携程旅游信息技术(上海)有限公司 Voice interaction method and device, electronic equipment and storage medium
CN110085237B (en) * 2019-04-29 2022-01-07 大众问问(北京)信息科技有限公司 Recovery method, device and equipment of interactive process

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102348291A (en) * 2010-07-28 2012-02-08 中兴通讯股份有限公司 Dialogue establishing method and system based on dialogue correlation identifier
CN107452383A (en) * 2016-05-31 2017-12-08 华为终端(东莞)有限公司 A kind of information processing method, server, terminal and information processing system
CN107623620A (en) * 2016-07-14 2018-01-23 腾讯科技(深圳)有限公司 Processing method, the webserver and the Intelligent dialogue system of randomness interaction data
CN106230689A (en) * 2016-07-25 2016-12-14 北京奇虎科技有限公司 Method, device and the server that a kind of voice messaging is mutual
CN109257444A (en) * 2018-11-12 2019-01-22 迈普通信技术股份有限公司 A kind of load sharing method, apparatus and system

Also Published As

Publication number Publication date
CN110502368A (en) 2019-11-26

Similar Documents

Publication Publication Date Title
CN110557451B (en) Dialogue interaction processing method and device, electronic equipment and storage medium
US11417331B2 (en) Method and device for controlling terminal, and computer readable storage medium
CN106503046B (en) Interaction method and system based on intelligent robot
CN111694797B (en) File uploading and analyzing method, device, server and medium
US9781266B1 (en) Functions and associated communication capabilities for a speech analytics component to support agent compliance in a contact center
CN112637431A (en) Voice interaction method and device and computer readable storage medium
CN110502368B (en) Dialogue fault tolerance method, central control equipment, system and readable storage medium
CN111161704A (en) Control method of electronic equipment and electronic equipment
CN114678029B (en) Speech processing method, system, computer readable storage medium and program product
CN111367934A (en) Data consistency checking method, device, server and medium
CN111225115A (en) Information providing method and device
CN112199470B (en) Customer complaint service method based on session, intelligent terminal and storage medium
CN112532794B (en) Voice outbound method, system, equipment and storage medium
CN112073236B (en) Fault processing method of stacking system, frame type switch, stacking system and medium
KR102243258B1 (en) Apparatus and method for performing debugging text and keyword mining
CN113852835A (en) Live broadcast audio processing method and device, electronic equipment and storage medium
CN110119400B (en) Unique identifier generation method and device suitable for logic operation
KR20220048263A (en) Method and system for collecting vehicle information
CN113392028A (en) Distributed test system and control method
CN110990553A (en) Coupling method and system of intelligent sound box voice interaction system and insurance agent
CN111858100A (en) BMC message transmission method and related device
EP3985950B1 (en) Data processing method, electronic device and medium
CN114500237B (en) Communication method and system
CN113949715B (en) PI system-based data transmission method and device
EP3916724B1 (en) Compensating for hardware disparities when determining whether to offload assistant-related processing tasks from certain client devices

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant