Speech semantic platform abnormal alarm method, equipment, storage medium and device

By sending anomaly detection instructions to the speech semantic platform, combined with debugging logs and running scene information, multiple detections and alarms are performed, which solves the problem of incomplete detection in the existing technology and realizes multi-scenario and multi-functional exception detection on the speech semantic platform. Detection and alarm.

CN114024872BActive Publication Date: 2024-10-29BEIJING QIHOOD TECHNOLOGY CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202010695882.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-07-17
Publication Date
2024-10-29
Estimated Expiration
2040-07-17

AI Technical Summary

Technical Problem

Existing technology cannot effectively perform multi-scenario, multi-function, and multi-error type anomaly detection and alarm on the speech semantic platform, resulting in incomplete detection.

Method used

By sending anomaly detection instructions to the speech semantic platform to be detected, and feeding back the target field information and current running scenario information according to the platform debugging log, text reply detection, full value matching detection and return value matching detection are performed to generate anomaly detection results and based on the running scenario Information abnormality alarm.

Benefits of technology

It realizes a variety of abnormality detection and alarms for the speech semantic platform, improves the accuracy and comprehensiveness of detection, and can provide personalized abnormality alarms based on operating scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114024872B_ABST
    Figure CN114024872B_ABST
Patent Text Reader

Abstract

The present invention discloses a method, equipment, storage medium and device for abnormal alarm of a speech semantic platform. The method comprises: sending an abnormal detection instruction to a speech semantic platform to be detected, so that the speech semantic platform to be detected feeds back target field information and current operation scene information according to a platform debugging log when receiving the abnormal detection instruction; performing abnormal detection on the speech semantic platform to be detected according to the target field information to obtain an abnormal detection result; performing an abnormal alarm based on the current operation scene information and the abnormal detection result; the present invention performs abnormal detection on the speech semantic platform to be detected according to the target field information to obtain an abnormal detection result, and performs an abnormal alarm according to the current operation scene information and the abnormal detection result, thereby being able to realize multiple abnormal detections on the speech semantic platform, and performing abnormal alarm according to the operation scene.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of abnormal alarm technology, and in particular to a method, equipment, storage medium and device for abnormal alarm of a speech semantic platform. Background Art

[0002] The speech semantic platform is a multi-scenario, multi-function platform that supports user request input and responds to corresponding requests. Currently, the anomaly detection of the speech semantic platform is very simple and cannot cover multiple scenarios, multiple functions, and multiple error types.

[0003] The above contents are only used to assist in understanding the technical solution of the present invention and do not constitute an admission that the above contents are prior art. Summary of the invention

[0004] The main purpose of the present invention is to provide a method, device, storage medium and apparatus for abnormal alarm of a speech semantic platform, aiming to solve the technical problem of how to perform multiple abnormal detections on a speech semantic platform and perform abnormal alarms in the prior art.

[0005] To achieve the above object, the present invention provides a method for abnormal alarm of a speech semantic platform, and the method for abnormal alarm of a speech semantic platform comprises the following steps:

[0006] Sending an anomaly detection instruction to the speech semantic platform to be detected, so that the speech semantic platform to be detected, when receiving the anomaly detection instruction, feeds back target field information and current running scenario information according to the platform debugging log;

[0007] Performing anomaly detection on the speech semantic platform to be detected according to the target field information to obtain an anomaly detection result;

[0008] An abnormality alarm is issued based on the current operating scenario information and the abnormality detection result.

[0009] Preferably, the step of performing anomaly detection on the speech semantic platform to be detected according to the target field information to obtain anomaly detection results specifically includes:

[0010] Performing text reply detection on the speech semantic platform to be detected according to the target field information to obtain a text reply detection result;

[0011] Acquire current slot information, and perform full value matching detection on the target field information according to the current slot information to obtain a full value matching result;

[0012] An anomaly detection result is generated based on the text reply detection result and the full value matching result.

[0013] Preferably, before the step of generating an abnormal detection result according to the text reply detection result and the full value matching result, the speech semantic platform abnormal alarm method further includes:

[0014] Obtaining an error log of the speech semantic platform to be detected;

[0015] Performing a return value matching test on the error log to obtain a return value matching result;

[0016] Accordingly, the step of generating an anomaly detection result according to the text reply detection result and the full value matching result specifically includes:

[0017] An anomaly detection result is generated based on the text reply detection result, the full value matching result and the return value matching result.

[0018] Preferably, the step of performing return value matching detection on the error log to obtain a return value matching result specifically includes:

[0019] Generate a list type result according to the error log, and determine a return value according to the list type result;

[0020] The return value is matched with a preset expected value to obtain a return value matching result.

[0021] Preferably, the step of performing text reply detection on the speech semantic platform to be detected according to the target field information to obtain the text reply detection result specifically includes:

[0022] Determine a text annotation value according to the target field information;

[0023] The target field information is detected according to the text annotation value to obtain a text reply detection result.

[0024] Preferably, the step of detecting the target field information according to the text annotation value to obtain a text reply detection result specifically includes:

[0025] Determine a text reply detection type according to the text annotation value, and search for a text detection strategy corresponding to the text reply detection type;

[0026] The target field information is detected using the text detection strategy to obtain a text reply detection result.

[0027] Preferably, the step of acquiring the current slot information, and performing a full value matching test on the target field information according to the current slot information to obtain a full value matching result specifically includes:

[0028] Obtaining current slot information, and determining a current slot identifier according to the current slot information;

[0029] A target verification strategy is determined according to the current slot identifier, and a full value matching test is performed on the target field information using the target verification strategy to obtain a full value matching result.

[0030] Preferably, the step of determining a target verification strategy according to the current slot identifier, and performing a full value matching test on the target field information by using the target verification strategy to obtain a full value matching result specifically includes:

[0031] Determine whether the current slot identifier is a preset identifier;

[0032] When the current slot identifier is the preset identifier, determining the target verification relationship according to the current slot identifier;

[0033] A target verification strategy is determined according to the target verification relationship, and a full value matching test is performed on the target field information through the target verification strategy to obtain a full value matching result.

[0034] Preferably, after the step of determining whether the current slot identifier is a preset identifier, the speech semantic platform abnormality alarm method further includes:

[0035] When the current slot identifier is not the preset identifier, using the preset inspection strategy as the target detection strategy;

[0036] The target field information is subjected to full value matching detection through the target verification strategy to obtain a full value matching result.

[0037] Preferably, the step of performing an abnormality alarm based on the current operation scenario information and the abnormality detection result specifically includes:

[0038] Determine the current failure rate, cumulative number of failures and error log content according to the anomaly detection result;

[0039] An abnormality alarm is issued based on the current operation scenario information, the current failure rate, the cumulative number of failures and the current error log content.

[0040] Preferably, the step of performing an abnormal alarm according to the current operation scenario information, the current failure rate, the cumulative number of failures and the current error log content specifically includes:

[0041] Respectively search for the failure rate threshold, cumulative failure count threshold, and important error log content corresponding to the current running scenario;

[0042] Determine whether the current failure rate is greater than the failure rate threshold, and obtain a first determination result;

[0043] Determine whether the cumulative number of failures is greater than the cumulative number of failures threshold, and obtain a second determination result;

[0044] Determine whether the current error log content is the important error log content, and obtain a third determination result;

[0045] An abnormality alarm is issued according to the current operating scenario, the first judgment result, the second judgment result and the third judgment result.

[0046] Preferably, the step of performing an abnormal alarm according to the current operating scenario, the first judgment result, the second judgment result and the third judgment result specifically includes:

[0047] Finding a target warning strategy corresponding to the current operation scenario, the first judgment result, the second judgment result, and the third judgment result;

[0048] An abnormal warning is performed according to the target warning strategy.

[0049] In addition, to achieve the above-mentioned purpose, the present invention also proposes a speech semantics platform abnormality alarm device, which includes a memory, a processor, and a speech semantics platform abnormality alarm program stored in the memory and executable on the processor, and the speech semantics platform abnormality alarm program is configured to implement the steps of the speech semantics platform abnormality alarm method described above.

[0050] In addition, to achieve the above-mentioned purpose, the present invention also proposes a storage medium, on which a speech semantics platform abnormality alarm program is stored. When the speech semantics platform abnormality alarm program is executed by a processor, the steps of the speech semantics platform abnormality alarm method described above are implemented.

[0051] In addition, to achieve the above-mentioned purpose, the present invention also proposes a speech semantic platform abnormality alarm device, the speech semantic platform abnormality alarm device comprises: a sending module, a detection module and an alarm module;

[0052] The sending module is used to send an abnormality detection instruction to the speech semantic platform to be detected, so that the speech semantic platform to be detected, when receiving the abnormality detection instruction, feeds back target field information and current running scenario information according to the platform debugging log;

[0053] The detection module is used to perform anomaly detection on the speech semantic platform to be detected according to the target field information to obtain anomaly detection results;

[0054] The alarm module is used to issue an abnormality alarm based on the current operation scenario information and the abnormality detection result.

[0055] Preferably, the detection module is further used to perform text reply detection on the speech semantic platform to be detected according to the target field information to obtain a text reply detection result;

[0056] The detection module is further used to obtain current slot information, and perform full value matching detection on the target field information according to the current slot information to obtain a full value matching result;

[0057] The detection module is also used to generate an abnormal detection result based on the text reply detection result and the full value matching result.

[0058] Preferably, the speech semantic platform abnormality alarm device further comprises: a matching module;

[0059] The matching module is used to obtain the error log of the speech semantic platform to be detected;

[0060] The matching module is further used to perform return value matching detection on the error log to obtain a return value matching result;

[0061] Correspondingly, the detection module is also used to generate an abnormality detection result based on the text reply detection result, the full value matching result and the return value matching result.

[0062] Preferably, the matching module is further used to generate a list type result according to the error log, and determine a return value according to the list type result;

[0063] The matching module is further used to match the return value with a preset expected value to obtain a return value matching result.

[0064] Preferably, the detection module is further used to determine a text annotation value according to the target field information;

[0065] The detection module is further used to detect the target field information according to the text annotation value to obtain a text reply detection result.

[0066] Preferably, the detection module is further used to determine a text reply detection type according to the text annotation value, and to search for a text detection strategy corresponding to the text reply detection type;

[0067] The detection module is further used to detect the target field information through the text detection strategy to obtain a text reply detection result.

[0068] In the present invention, an exception detection instruction is sent to the speech semantic platform to be detected, so that when the speech semantic platform to be detected receives the exception detection instruction, it feeds back target field information and current operating scenario information according to the platform debugging log; the speech semantic platform to be detected is subjected to exception detection according to the target field information to obtain an exception detection result; an exception alarm is performed based on the current operating scenario information and the exception detection result; the present invention performs an exception detection on the speech semantic platform to be detected according to the target field information to obtain an exception detection result, and performs an exception alarm based on the current operating scenario information and the exception detection result, thereby being able to realize multiple exception detections on the speech semantic platform and perform exception alarms according to the operating scenario. BRIEF DESCRIPTION OF THE DRAWINGS

[0069] Figure 1 It is a structural diagram of a speech semantic platform abnormality alarm device in a hardware operating environment involved in an embodiment of the present invention;

[0070] Figure 2 It is a flowchart of the first embodiment of the abnormal alarm method of the speech semantic platform of the present invention;

[0071] Figure 3 It is a flow chart of the second embodiment of the abnormal alarm method of the speech semantic platform of the present invention;

[0072] Figure 4 It is a flowchart of the third embodiment of the abnormal alarm method of the speech semantic platform of the present invention;

[0073] Figure 5 It is a flowchart of the fourth embodiment of the abnormal alarm method of the speech semantic platform of the present invention;

[0074] Figure 6 This is a structural block diagram of the first embodiment of the abnormal alarm device for the speech and semantic platform of the present invention.

[0075] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0076] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0077] Reference Figure 1 , Figure 1 The present invention is a schematic diagram of the structure of a speech and semantic platform abnormality alarm device in a hardware operating environment according to an embodiment of the present invention.

[0078] like Figure 1As shown, the speech semantic platform abnormal alarm device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), and the user interface 1003 may optionally include a standard wired interface and a wireless interface. The wired interface of the user interface 1003 may be a USB interface in the present invention. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (WIreless-FIdelity, WI-FI) interface). The memory 1005 may be a high-speed random access memory (Random Access Memory, RAM) memory, or a stable memory (Non-volatile Memory, NVM), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.

[0079] Those skilled in the art will understand that Figure 1 The structure shown in does not constitute a limitation on the abnormal alarm device of the speech semantic platform, and may include more or fewer components than shown in the figure, or a combination of certain components, or a different arrangement of components.

[0080] like Figure 1 As shown, the memory 1005 identified as a computer storage medium may include an operating system, a network communication module, a user interface module, and a speech semantic platform abnormality alarm program.

[0081] exist Figure 1 In the speech and semantics platform abnormality alarm device shown, the network interface 1004 is mainly used to connect to the background server and communicate data with the background server; the user interface 1003 is mainly used to connect to the user device; the speech and semantics platform abnormality alarm device calls the speech and semantics platform abnormality alarm program stored in the memory 1005 through the processor 1001, and executes the speech and semantics platform abnormality alarm method provided in the embodiment of the present invention.

[0082] Based on the above hardware structure, an embodiment of the abnormal alarm method of the speech semantic platform of the present invention is proposed.

[0083] Reference Figure 2 , Figure 2 It is a flow chart of the first embodiment of the abnormal alarm method of the speech and semantic platform of the present invention, and proposes the first embodiment of the abnormal alarm method of the speech and semantic platform of the present invention.

[0084] In a first embodiment, the speech semantic platform abnormality alarm method comprises the following steps:

[0085] Step S10: Send an exception detection instruction to the speech semantic platform to be detected, so that the speech semantic platform to be detected, when receiving the exception detection instruction, feeds back target field information and current running scenario information according to the platform debugging log.

[0086] It should be understood that the executor of this embodiment is the speech and semantics platform abnormality alarm device, wherein the speech and semantics platform abnormality alarm device can be an electronic device such as a personal computer or a server, or other devices that can achieve the same or similar functions. This embodiment does not limit this. In this embodiment, the speech and semantics platform abnormality alarm device is taken as an example.

[0087] It can be understood that sending the abnormality detection instruction to the speech semantic platform to be detected can be through a wireless network, such as 5G, 4G and WIFI, etc.; it can also be through a wired network, such as optical fiber, etc., sending the abnormality detection instruction to the speech semantic platform to be detected, and this embodiment does not limit this.

[0088] It should be understood that the speech semantic platform to be detected can obtain the target field information from the platform debug log through two methods: precise acquisition and path naming resolution according to the target field information and current running scenario information fed back by the platform debug log. Precise acquisition, that is, for those fields that will definitely be returned in the Debug log, adopt a fixed JSON nested content parsing method to obtain the field value; path naming resolution, that is, for those fields that may not be returned in the Debug log, adopt the JSON hierarchical nesting rules to name the field in an underscore cascading manner, such as Errors_NLU, which means the NLU field under Errors, and obtain the expected field value from the platform Debug log by parsing the field name. The obtained field values ​​are stored in the structure of Pandas Series to facilitate subsequent result detection.

[0089] Step S20: performing anomaly detection on the speech semantic platform to be detected according to the target field information to obtain anomaly detection results.

[0090] It can be understood that performing anomaly detection on the speech semantic platform to be detected according to the target field information and obtaining the anomaly detection result can be performing text reply detection on the speech semantic platform to be detected according to the target field information to obtain the text reply detection result; obtaining the current slot information, and performing full value matching detection on the target field information according to the current slot information to obtain the full value matching result; generating the anomaly detection result according to the text reply detection result and the full value matching result;

[0091] It can also be that a text reply detection is performed on the speech semantic platform to be detected according to the target field information to obtain a text reply detection result; the current slot information is obtained, and a full value matching detection is performed on the target field information according to the current slot information to obtain a full value matching result; the error log of the speech semantic platform to be detected is obtained; a return value matching detection is performed on the error log to obtain a return value matching result; and an abnormality detection result is generated according to the text reply detection result, the full value matching result and the return value matching result.

[0092] It should be noted that the text annotation value can be a numerical value used to mark the text reply detection type; the current slot information can be the key information of the user request at the current moment, for example, the user request type (type), the user request resource (resource), the user request album, and the current slot identifier, etc.; the current slot identifier can be the identification information used to mark the verification strategy; the error log is a text file used to record runtime error information, and programmers and maintenance personnel can use the error log to debug and maintain the system; the list type result can be a List type result, and the return value can be the numerical value returned by the List type result; the preset expected value can be the expected value corresponding to each item in the List type result.

[0093] Step S30: issuing an abnormality alarm based on the current operating scenario information and the abnormality detection result.

[0094] It can be understood that the abnormal alarm based on the current operating scenario information and the abnormal detection result can be to determine the current failure rate, the cumulative number of failures and the error log content according to the abnormal detection result, and to make an abnormal alarm based on the current operating scenario information, the current failure rate, the cumulative number of failures and the current error log content.

[0095] It should be noted that the current failure rate is the ratio between the number of failures at the current moment and the total number of failures; the cumulative number of failures can be the total number of failures from the start of operation of the speech semantic platform abnormality alarm device to the current moment.

[0096] It can be understood that the abnormal alarm based on the current operating scenario information, the current failure rate, the cumulative number of failures and the current error log content can be to respectively search the failure rate threshold, the cumulative number of failures threshold and the important error log content corresponding to the current operating scenario, judge whether the current failure rate is greater than the failure rate threshold, and obtain a first judgment result, judge whether the cumulative number of failures is greater than the cumulative number of failures threshold, and obtain a second judgment result, judge whether the current error log content is the important error log content, and obtain a third judgment result, and make an abnormal alarm based on the current operating scenario, the first judgment result, the second judgment result and the third judgment result.

[0097] In the first embodiment, an exception detection instruction is sent to the speech semantic platform to be detected, so that when the speech semantic platform to be detected receives the exception detection instruction, it will feedback the target field information and the current operating scenario information according to the platform debugging log; the speech semantic platform to be detected is detected for exceptions according to the target field information to obtain the exception detection result; an exception alarm is made based on the current operating scenario information and the exception detection result; this embodiment performs an exception detection on the speech semantic platform to be detected according to the target field information, obtains the exception detection result, and makes an exception alarm according to the current operating scenario information and the exception detection result, thereby realizing multiple exception detections on the speech semantic platform and making exception alarms according to the operating scenario.

[0098] Reference Figure 3 , Figure 3 This is a flow chart of the second embodiment of the abnormal alarm method of the speech semantic platform of the present invention. Figure 2 The first embodiment shown proposes a second embodiment of the abnormal alarm method of the speech semantic platform of the present invention.

[0099] In the second embodiment, the step S20 includes:

[0100] Step S201: Perform text reply detection on the speech semantic platform to be detected according to the target field information to obtain a text reply detection result.

[0101] It should be understood that, performing text reply detection on the speech semantic platform to be detected according to the target field information, and obtaining the text reply detection result can be performed by determining a text annotation value according to the target field information, detecting the target field information according to the text annotation value, and obtaining the text reply detection result.

[0102] It should be noted that the text annotation value may be a numerical value used to mark the text reply detection type.

[0103] Step S202: Acquire current slot information, and perform full value matching detection on the target field information according to the current slot information to obtain a full value matching result.

[0104] It can be understood that obtaining the current slot information and performing a full-value match test on the target field information based on the current slot information to obtain the full-value match result can be to obtain the current slot information, determine the current slot identifier based on the current slot information, determine the target verification strategy based on the current slot identifier, and perform a full-value match test on the target field information through the target verification strategy to obtain the full-value match result.

[0105] It should be noted that the current slot information may be key information of the user request at the current moment, such as the user request type (type), user request resource (resource), user request album (album) and current slot identifier, etc. The current slot identifier may be identification information used to mark the verification strategy.

[0106] Step S203: Obtain the error log of the speech semantic platform to be detected.

[0107] It should be noted that the error log is a text file used to record runtime error information. Programmers and maintenance personnel can use the error log to debug and maintain the system.

[0108] It should be understood that obtaining the error log of the speech semantic platform to be detected may be directly extracting the error log from the speech semantic platform to be detected.

[0109] Step S204: Perform a return value matching check on the error log to obtain a return value matching result.

[0110] It is understandable that performing a return value matching check on the error log and obtaining a return value matching result can be to generate a list type result based on the error log, and determine the return value based on the list type result, match the return value with a preset expected value, and obtain a return value matching result.

[0111] It should be noted that the list type result may be a List type result, the return value may be the numerical value returned by the List type result; and the preset expected value may be the expected value corresponding to each item in the List type result.

[0112] Step S205: Generate an abnormality detection result according to the text reply detection result, the full value matching result and the return value matching result.

[0113] It should be understood that generating an anomaly detection result based on the text reply detection result, the full value matching result and the return value matching result may be directly generating an anomaly detection result from the text reply detection result, the full value matching result and the return value matching result.

[0114] In the second embodiment, the step S30 includes:

[0115] Step S301: Determine the current failure rate, cumulative number of failures and error log content according to the abnormality detection result.

[0116] It should be noted that the current failure rate is the ratio between the number of failures at the current moment and the total number of failures; the cumulative number of failures can be the total number of failures from the start of operation of the speech semantic platform abnormality alarm device to the current moment.

[0117] It should be understood that determining the current failure rate, cumulative number of failures and error log content based on the abnormal detection results can be to perform statistics on the abnormal detection results, obtain statistical results, and determine the current failure rate, cumulative number of failures, and error log content based on the statistical results.

[0118] Step S302: an abnormality alarm is issued according to the current operation scenario information, the current failure rate, the accumulated number of failures and the current error log content.

[0119] It can be understood that the abnormal alarm based on the current operating scenario information, the current failure rate, the cumulative number of failures and the current error log content can be to respectively search the failure rate threshold, the cumulative number of failures threshold and the important error log content corresponding to the current operating scenario, judge whether the current failure rate is greater than the failure rate threshold, and obtain a first judgment result, judge whether the cumulative number of failures is greater than the cumulative number of failures threshold, and obtain a second judgment result, judge whether the current error log content is the important error log content, and obtain a third judgment result, and make an abnormal alarm based on the current operating scenario, the first judgment result, the second judgment result and the third judgment result.

[0120] In a second embodiment, a text reply detection is performed on the speech semantic platform to be detected according to the target field information to obtain a text reply detection result; the current slot information is obtained, and the target field information is subjected to a full value matching detection according to the current slot information to obtain a full value matching result; the error log of the speech semantic platform to be detected is obtained; a return value matching detection is performed on the error log to obtain a return value matching result; an anomaly detection result is generated according to the text reply detection result, the full value matching result and the return value matching result; this embodiment generates an anomaly detection result by text reply detection, full value matching detection and return value matching detection, thereby being able to realize anomaly detection in multiple scenarios, multiple functions and multiple error types;

[0121] In a second embodiment, the current failure rate, the cumulative number of failures and the error log content are determined based on the abnormal detection results, and an abnormal alarm is performed based on the current operating scenario information, the current failure rate, the cumulative number of failures and the current error log content, thereby improving the accuracy of the abnormal alarm.

[0122] Reference Figure 4 , Figure 4 This is a flow chart of the third embodiment of the abnormal alarm method of the speech semantic platform of the present invention. Figure 3 The second embodiment shown proposes the third embodiment of the abnormal alarm method of the speech and semantic platform of the present invention.

[0123] In the third embodiment, the step S201 includes:

[0124] Step S2011: Determine a text annotation value according to the target field information.

[0125] It should be noted that the text annotation value may be a numerical value used to mark the text reply detection type.

[0126] It should be understood that determining the text annotation value according to the target field information may be to analyze the target field information, obtain an analysis result, and determine the text annotation value according to the analysis result.

[0127] Step S2012: Detect the target field information according to the text annotation value to obtain a text reply detection result.

[0128] It can be understood that the target field information is detected according to the text annotation value, and obtaining the text reply detection result can be determined according to the text annotation value. The text reply detection type is determined, and the text detection strategy corresponding to the text reply detection type is searched, and the target field information is detected by the text detection strategy to obtain the text reply detection result.

[0129] Furthermore, the step S2012 includes:

[0130] Determine a text reply detection type according to the text annotation value, and search for a text detection strategy corresponding to the text reply detection type;

[0131] The target field information is detected using the text detection strategy to obtain a text reply detection result.

[0132] It should be noted that the text reply detection type may be at least one of a non-empty text reply detection type, an expected value text reply detection type, and a non-expected value text reply detection type.

[0133] It should be understood that determining the text reply detection type according to the text annotation value may be to search for the text reply detection type corresponding to the text annotation value.

[0134] In a specific implementation, for example, a text annotation value of 0 corresponds to a non-empty text reply detection type; a text annotation value of 1 corresponds to an expected value text reply detection type; and a text annotation value of 2 corresponds to a non-expected value text reply detection type.

[0135] It can be understood that searching for the text detection strategy corresponding to the text reply detection type may be searching for the text detection strategy corresponding to the text reply type in a preset mapping relationship table, wherein the preset mapping relationship table contains the correspondence between the text reply type and the text detection strategy.

[0136] It should be understood that the text detection strategy corresponding to the non-empty text reply detection type is the non-empty text detection strategy; the text detection strategy corresponding to the expected value text reply detection type is the expected value text detection strategy; and the text detection strategy corresponding to the non-expected value text reply detection type is the non-expected value text detection strategy.

[0137] In a specific implementation, for example, the non-empty text detection strategy can be to perform a non-empty judgment on the text reply, that is, the text reply must have content, otherwise it is regarded as an incorrect text reply; the expected value text reply detection type can be that the text content corresponding to the text annotation value should not appear in the text reply, otherwise it is regarded as an incorrect text reply; the non-expected value text reply detection type can be that the text content corresponding to the text annotation value should appear in the text reply, otherwise it is regarded as an incorrect text reply.

[0138] It can be understood that the target field information is detected through the text detection strategy, and obtaining the text reply detection result can be to determine the text reply based on the target field information, and detect the text reply through the text detection strategy. The specific detection method is as described above to obtain the text reply detection result.

[0139] In the third embodiment, the step S202 includes:

[0140] Step S2021: Acquire current slot information, and determine a current slot identifier according to the current slot information.

[0141] It should be noted that the current slot information may be key information of the user request at the current moment, such as the user request type (type), user request resource (resource), user request album (album) and current slot identifier, etc. The current slot identifier may be identification information used to mark the verification strategy.

[0142] It should be understood that determining the current slot identifier according to the current slot information may be extracting the current slot information to obtain the current slot identifier.

[0143] Step S2022: determining a target verification strategy according to the current slot identifier, and performing a full value matching test on the target field information using the target verification strategy to obtain a full value matching result.

[0144] It should be understood that determining the target verification strategy according to the current slot identifier, and performing a full-value match detection on the target field information through the target verification strategy, and obtaining the full-value match result may be to determine whether the current slot identifier is a preset identifier, and when the current slot identifier is the preset identifier, determine a target verification relationship according to the current slot identifier, determine a target verification strategy according to the target verification relationship, and perform a full-value match detection on the target field information through the target verification strategy to obtain a full-value match result;

[0145] It is also possible to determine whether the current slot identifier is a preset identifier. When the current slot identifier is not the preset identifier, the preset inspection strategy is used as the target detection strategy, and the target field information is subjected to a full value matching detection through the target verification strategy to obtain a full value matching result.

[0146] Furthermore, the step S2022 includes:

[0147] Determine whether the current slot identifier is a preset identifier;

[0148] When the current slot identifier is the preset identifier, determining the target verification relationship according to the current slot identifier;

[0149] A target verification strategy is determined according to the target verification relationship, and a full value matching test is performed on the target field information through the target verification strategy to obtain a full value matching result.

[0150] It should be noted that the preset identifier may be a joint verification identifier, etc., which is not limited in this embodiment.

[0151] It should be understood that when the current slot identifier is the preset identifier, it means that a joint verification is required at this time. At this time, it is necessary to determine the target verification relationship based on the current slot identifier. For example, if the current slot identifier is type|album / type|resource, the target verification relationship is that "type" and "album" meet the conditions at the same time or "type" and "resource" meet the conditions at the same time.

[0152] It can be understood that determining the target inspection strategy according to the target inspection relationship may be to use the slots in the target inspection relationship as the slots to be inspected, and to inspect the slots to be inspected as the target inspection strategy.

[0153] It should be understood that the target field information is subjected to full value matching detection through the target verification strategy, and obtaining a full value matching result can be performed by determining the user request information based on the target field information, and matching the current slot information with the user request information through the target verification strategy to obtain a full value matching result.

[0154] Furthermore, after determining whether the current slot identifier is a preset identifier, the method further includes:

[0155] When the current slot identifier is not the preset identifier, using the preset inspection strategy as the target detection strategy;

[0156] The target field information is subjected to full value matching detection through the target verification strategy to obtain a full value matching result.

[0157] It should be noted that the preset verification strategy may be an independent verification strategy, and the independent verification strategy may be an independent verification of the current slot information.

[0158] It should be understood that when the current slot identifier is not the preset identifier, it indicates that an independent verification is required at this time. At this time, the independent verification strategy needs to be used as the target verification strategy.

[0159] It can be understood that the target field information is fully matched through the target verification strategy, and the full value matching result can be obtained by determining the user request information based on the target field information, and matching the current slot information with the user request information through the target verification strategy to obtain the full value matching result.

[0160] In addition, for ease of understanding, an example is given with reference to Table 1:

[0161] As shown in Table 1, type, resource and album are the current slot information. When no information is marked in the current slot identifier, all slots are independently verified. For example, in Case 1, for the user's request to "play a healthy song", it is necessary to verify whether the return value of the "resource" slot is "healthy song". If it is, it means that the verification is successful; when the current slot identifier is a preset identifier, all marked slots need to be jointly verified. For example, in Case 2, for the user's request to "play the carrot pulling nursery rhyme", the target verification relationship is parsed according to the content of the current slot identifier, that is, "type" and "album" meet the conditions at the same time or "type" and "resource" meet the conditions at the same time, and the slots are jointly verified according to the parsed target verification relationship. When the verification result meets the target verification relationship, it means that the verification is successful, otherwise the verification fails; in addition, the verification of the slot supports multiple result matching, that is, a slot can have multiple expected results. As long as the test result completely matches one of the values, it means that the result meets the requirements. For example, in Case 3, for the detection of "album", as long as the value of "album" is "Baby Bus", Or "Theme Song" means the verification is successful.

[0162] Table 1 Full value matching table

[0163]

[0164] In the third embodiment, the step S204 includes:

[0165] Step S2041: Generate a list type result according to the error log, and determine a return value according to the list type result.

[0166] It should be noted that the list type result can be a List type result, and the return value can be the value returned by the List type result.

[0167] It should be understood that generating a list type result according to the error log and determining a return value according to the list type result may be extracting the error log, obtaining a List type result, and receiving a return value returned by the List type result.

[0168] Step S2042: Match the return value with a preset expected value to obtain a return value matching result.

[0169] It should be noted that the preset expected value may be the expected value corresponding to each item in the List type result.

[0170] It should be understood that when the return value matches the preset expected value successfully, it means that there is no error in the content corresponding to the preset expected value, and the return value matching result is normal; when the return value fails to match the preset expected value, it means that there is an error in the content corresponding to the preset expected value, and the return value matching result is abnormal.

[0171] In the third embodiment, a text annotation value is determined according to the target field information, and the target field information is detected according to the text annotation value to obtain a text reply detection result; this embodiment performs text reply detection by extracting the text annotation value in the target field information, thereby making the text reply detection more accurate;

[0172] In a third embodiment, the text reply detection type is determined according to the text annotation value, and the text detection strategy corresponding to the text reply detection type is searched; the target field information is detected by the text detection strategy to obtain the text reply detection result; this embodiment determines the text detection strategy by the text annotation value, and detects the target field information by the text detection strategy, so that the text reply detection can be more reasonable and meet the user needs;

[0173] In the third embodiment, the current slot information is obtained, and the current slot identifier is determined according to the current slot information, the target verification strategy is determined according to the current slot identifier, and the target field information is subjected to full value matching detection through the target verification strategy to obtain a full value matching result; this embodiment determines the target verification strategy through the previous slot identifier, and performs full value matching detection on the target field information through the target verification strategy, so that the full value matching detection can be made more accurate;

[0174] In the third embodiment, it is determined whether the current slot identifier is a preset identifier; when the current slot identifier is the preset identifier, a target verification relationship is determined according to the current slot identifier; a target verification strategy is determined according to the target verification relationship, and a full-value matching test is performed on the target field information through the target verification strategy to obtain a full-value matching result; this embodiment determines the target verification strategy by comparing the current slot identifier with the preset identifier, and performs a full-value matching test through the target verification strategy, thereby improving the speed of the full-value matching test;

[0175] In a third embodiment, a list type result is generated according to the error log, and a return value is determined according to the list type result. The return value is matched with a preset expected value to obtain a return value matching result, thereby enabling return value matching to be more accurate.

[0176] Reference Figure 5 , Figure 5 This is a flow chart of the fourth embodiment of the abnormal alarm method of the speech semantic platform of the present invention. Figure 3 The second embodiment shown proposes the fourth embodiment of the abnormal alarm method of the speech and semantic platform of the present invention.

[0177] In the fourth embodiment, the step S302 includes:

[0178] Step S3021: respectively searching for the failure rate threshold, cumulative failure count threshold, and important error log content corresponding to the current running scenario.

[0179] It should be understood that respectively searching for the failure rate threshold, the cumulative failure number threshold, and the important error log content corresponding to the current operating scenario can be searching for the failure rate threshold corresponding to the current operating scenario, searching for the cumulative failure number threshold corresponding to the current operating scenario, and searching for the important error log content corresponding to the current operating scenario.

[0180] It should be noted that the failure rate threshold corresponding to the current running scenario can be a value set by the user according to actual needs; the cumulative failure number threshold corresponding to the current running scenario can be a value set by the user according to actual needs; the important error log content corresponding to the current running scenario can be the log content set by the user according to actual needs, and this embodiment does not limit this.

[0181] Step S3022: Determine whether the current failure rate is greater than the failure rate threshold, and obtain a first determination result.

[0182] It should be understood that when the current failure rate is greater than the failure rate threshold, it means that the current failure rate is too high; when the current failure rate is less than or equal to the failure rate threshold, it means that the current failure rate meets the condition.

[0183] Step S3023: Determine whether the cumulative number of failures is greater than the cumulative number of failures threshold, and obtain a second determination result.

[0184] It can be understood that when the cumulative number of failures is greater than the cumulative number of failures threshold, it means that the cumulative number of failures is too high; when the cumulative number of failures is less than or equal to the cumulative number of failures threshold, it means that the cumulative number of failures meets the conditions.

[0185] Step S3024: Determine whether the current error log content is the important error log content, and obtain a third determination result.

[0186] It should be understood that determining whether the current error log content is the important error log content may be to match the current log content with the important error log content to obtain a matching result, and determine whether the current error log content is the important error log content based on the matching result.

[0187] Step S3025: issuing an abnormality alarm according to the current operating scenario, the first judgment result, the second judgment result and the third judgment result.

[0188] It can be understood that issuing an abnormal alarm based on the current operating scenario, the first judgment result, the second judgment result and the third judgment result can be to search for the target warning strategy corresponding to the current operating scenario, the first judgment result, the second judgment result and the third judgment result, and issue an abnormal warning based on the target warning strategy.

[0189] Furthermore, the step S3023 includes:

[0190] Finding a target warning strategy corresponding to the current operation scenario, the first judgment result, the second judgment result, and the third judgment result;

[0191] An abnormal warning is performed according to the target warning strategy.

[0192] It should be noted that the target alarm strategy can be to issue an alarm notification according to the corresponding email or blue letter group pre-configured by the user.

[0193] It should be understood that searching for the target warning strategy corresponding to the current operating scenario, the first judgment result, the second judgment result, and the third judgment result can be to determine the warning strategy to be selected based on the current operating scenario, and to determine the target warning strategy from the warning strategies to be selected based on the first judgment result, the second judgment result, and the third judgment result.

[0194] In the fourth embodiment, the failure rate threshold, cumulative failure number threshold and important error log content corresponding to the current operation scenario are searched respectively; whether the current failure rate is greater than the failure rate threshold is determined to obtain a first judgment result; whether the cumulative failure number is greater than the cumulative failure number threshold is determined to obtain a second judgment result; whether the current error log content is the important error log content is determined to obtain a third judgment result; an abnormal alarm is performed according to the current operation scenario, the first judgment result, the second judgment result and the third judgment result; this embodiment performs an abnormal alarm according to the matching result by matching the current failure rate, the cumulative failure number and the current error log content with the failure rate threshold, the failure number threshold and the important error log content, thereby generating personalized alarm information to avoid interference to irrelevant personnel.

[0195] In addition, an embodiment of the present invention also proposes a storage medium, on which a speech semantics platform abnormality alarm program is stored. When the speech semantics platform abnormality alarm program is executed by a processor, the steps of the speech semantics platform abnormality alarm method described above are implemented.

[0196] In addition, refer to Figure 6 , the embodiment of the present invention also proposes a speech semantic platform abnormality alarm device, the speech semantic platform abnormality alarm device comprises: a sending module 10, a detection module 20 and an alarm module 30;

[0197] The sending module 10 is used to send an exception detection instruction to the speech semantic platform to be detected, so that when the speech semantic platform to be detected receives the exception detection instruction, it feeds back target field information and current operation scenario information according to the platform debugging log.

[0198] It can be understood that sending the abnormality detection instruction to the speech semantic platform to be detected can be through a wireless network, such as 5G, 4G and WIFI, etc.; it can also be through a wired network, such as optical fiber, etc., sending the abnormality detection instruction to the speech semantic platform to be detected, and this embodiment does not limit this.

[0199] It should be understood that the speech semantic platform to be detected can obtain the target field information from the platform debug log through two methods: precise acquisition and path naming resolution according to the target field information and current running scenario information fed back by the platform debug log. Precise acquisition, that is, for those fields that will definitely be returned in the Debug log, adopt a fixed JSON nested content parsing method to obtain the field value; path naming resolution, that is, for those fields that may not be returned in the Debug log, adopt the JSON hierarchical nesting rules to name the field in an underscore cascading manner, such as Errors_NLU, which means the NLU field under Errors, and obtain the expected field value from the platform Debug log by parsing the field name. The obtained field values ​​are stored in the structure of Pandas Series to facilitate subsequent result detection.

[0200] The detection module 20 is used to perform anomaly detection on the speech semantic platform to be detected according to the target field information to obtain anomaly detection results.

[0201] It can be understood that performing anomaly detection on the speech semantic platform to be detected according to the target field information and obtaining the anomaly detection result can be performing text reply detection on the speech semantic platform to be detected according to the target field information to obtain the text reply detection result; obtaining the current slot information, and performing full value matching detection on the target field information according to the current slot information to obtain the full value matching result; generating the anomaly detection result according to the text reply detection result and the full value matching result;

[0202] It can also be that a text reply detection is performed on the speech semantic platform to be detected according to the target field information to obtain a text reply detection result; the current slot information is obtained, and a full value matching detection is performed on the target field information according to the current slot information to obtain a full value matching result; the error log of the speech semantic platform to be detected is obtained; a return value matching detection is performed on the error log to obtain a return value matching result; and an abnormality detection result is generated according to the text reply detection result, the full value matching result and the return value matching result.

[0203] It should be noted that the text annotation value can be a numerical value used to mark the text reply detection type; the current slot information can be the key information of the user request at the current moment, for example, the user request type (type), the user request resource (resource), the user request album, and the current slot identifier, etc.; the current slot identifier can be the identification information used to mark the verification strategy; the error log is a text file used to record runtime error information, and programmers and maintenance personnel can use the error log to debug and maintain the system; the list type result can be a List type result, and the return value can be the numerical value returned by the List type result; the preset expected value can be the expected value corresponding to each item in the List type result.

[0204] The alarm module 30 is used to generate an abnormality alarm based on the current operation scenario information and the abnormality detection result.

[0205] It can be understood that the abnormal alarm based on the current operating scenario information and the abnormal detection result can be to determine the current failure rate, the cumulative number of failures and the error log content according to the abnormal detection result, and to make an abnormal alarm based on the current operating scenario information, the current failure rate, the cumulative number of failures and the current error log content.

[0206] It should be noted that the current failure rate is the ratio between the number of failures at the current moment and the total number of failures; the cumulative number of failures can be the total number of failures from the start of operation of the speech semantic platform abnormality alarm device to the current moment.

[0207] It can be understood that the abnormal alarm based on the current operating scenario information, the current failure rate, the cumulative number of failures and the current error log content can be to respectively search the failure rate threshold, the cumulative number of failures threshold and the important error log content corresponding to the current operating scenario, judge whether the current failure rate is greater than the failure rate threshold, and obtain a first judgment result, judge whether the cumulative number of failures is greater than the cumulative number of failures threshold, and obtain a second judgment result, judge whether the current error log content is the important error log content, and obtain a third judgment result, and make an abnormal alarm based on the current operating scenario, the first judgment result, the second judgment result and the third judgment result.

[0208] In this embodiment, an exception detection instruction is sent to the speech semantic platform to be detected, so that when the speech semantic platform to be detected receives the exception detection instruction, it will feedback the target field information and the current operating scenario information according to the platform debugging log; the speech semantic platform to be detected is detected for exceptions according to the target field information to obtain the exception detection result; an exception alarm is made based on the current operating scenario information and the exception detection result; this embodiment performs an exception detection on the speech semantic platform to be detected according to the target field information to obtain the exception detection result, and makes an exception alarm according to the current operating scenario information and the exception detection result, thereby realizing multiple exception detections on the speech semantic platform and making exception alarms according to the operating scenario.

[0209] Other embodiments or specific implementations of the speech semantic platform abnormality alarm device described in the present invention can refer to the above-mentioned method embodiments and will not be repeated here.

[0210] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.

[0211] The serial numbers of the embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments. In a unit claim that lists several means, several of these means may be embodied by the same hardware item. The use of the words first, second, and third, etc. does not indicate any order and these words may be interpreted as names.

[0212] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as a read-only memory image (ROM) / random access memory (RAM), a disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0213] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A method for abnormal alarm of speech semantic platform, characterized in that: The speech semantic platform abnormal alarm method comprises the following steps: Sending an anomaly detection instruction to the speech semantic platform to be detected, so that the speech semantic platform to be detected, when receiving the anomaly detection instruction, feeds back target field information and current running scenario information according to the platform debugging log; Performing anomaly detection on the speech semantic platform to be detected according to the target field information to obtain an anomaly detection result; Performing an abnormality alarm based on the current operation scenario information and the abnormality detection result; The step of performing anomaly detection on the speech semantic platform to be detected according to the target field information to obtain anomaly detection results specifically includes: Performing text reply detection on the speech semantic platform to be detected according to the target field information to obtain a text reply detection result; Acquire current slot information, and perform full value matching detection on the target field information according to the current slot information to obtain a full value matching result; An anomaly detection result is generated based on the text reply detection result and the full value matching result.

2. The abnormal alarm method of the speech semantic platform according to claim 1, characterized in that: Before the step of generating an abnormal detection result according to the text reply detection result and the full value matching result, the speech semantic platform abnormal alarm method also includes: Obtaining an error log of the speech semantic platform to be detected; Performing a return value matching test on the error log to obtain a return value matching result; Accordingly, the step of generating an anomaly detection result according to the text reply detection result and the full value matching result specifically includes: An anomaly detection result is generated based on the text reply detection result, the full value matching result and the return value matching result.

3. The abnormal alarm method of the speech semantic platform according to claim 2, characterized in that: The step of performing return value matching detection on the error log to obtain a return value matching result specifically includes: Generate a list type result according to the error log, and determine a return value according to the list type result; The return value is matched with a preset expected value to obtain a return value matching result.

4. The abnormal alarm method of the speech semantic platform according to claim 2, characterized in that: The step of performing text reply detection on the speech semantic platform to be detected according to the target field information to obtain the text reply detection result specifically includes: Determine a text annotation value according to the target field information; The target field information is detected according to the text annotation value to obtain a text reply detection result.

5. The abnormal alarm method of the speech semantic platform according to claim 4, characterized in that: The step of detecting the target field information according to the text annotation value to obtain a text reply detection result specifically includes: Determine a text reply detection type according to the text annotation value, and search for a text detection strategy corresponding to the text reply detection type; The target field information is detected using the text detection strategy to obtain a text reply detection result.

6. The abnormal alarm method of the speech semantic platform according to claim 2, characterized in that: The step of obtaining the current slot information, and performing a full value matching test on the target field information according to the current slot information to obtain a full value matching result specifically includes: Obtaining current slot information, and determining a current slot identifier according to the current slot information; A target verification strategy is determined according to the current slot identifier, and a full value matching test is performed on the target field information using the target verification strategy to obtain a full value matching result.

7. The abnormal alarm method of the speech semantic platform according to claim 6, characterized in that: The step of determining a target verification strategy according to the current slot identifier, and performing a full value matching test on the target field information through the target verification strategy to obtain a full value matching result specifically includes: Determine whether the current slot identifier is a preset identifier; When the current slot identifier is the preset identifier, determining the target verification relationship according to the current slot identifier; A target verification strategy is determined according to the target verification relationship, and a full value matching test is performed on the target field information through the target verification strategy to obtain a full value matching result.

8. The abnormal alarm method of the speech semantic platform according to claim 7, characterized in that: After the step of determining whether the current slot identifier is a preset identifier, the voice semantic platform abnormality alarm method further includes: When the current slot identifier is not the preset identifier, using the preset inspection strategy as the target detection strategy; The target field information is subjected to full value matching detection through the target verification strategy to obtain a full value matching result.

9. The abnormal alarm method of the speech semantic platform according to any one of claims 1 to 8, characterized in that: The step of performing an abnormality alarm based on the current operation scenario information and the abnormality detection result specifically includes: Determine the current failure rate, cumulative number of failures and error log content according to the anomaly detection result; An abnormality alarm is issued based on the current operation scenario information, the current failure rate, the cumulative number of failures and the current error log content.

10. The abnormal alarm method of the speech semantic platform according to claim 9, characterized in that: The step of performing an abnormal alarm according to the current operation scenario information, the current failure rate, the cumulative number of failures and the current error log content specifically includes: Respectively search for the failure rate threshold, cumulative failure count threshold, and important error log content corresponding to the current running scenario; Determine whether the current failure rate is greater than the failure rate threshold, and obtain a first determination result; Determine whether the cumulative number of failures is greater than the cumulative number of failures threshold, and obtain a second determination result; Determine whether the current error log content is the important error log content, and obtain a third determination result; An abnormality alarm is issued according to the current operating scenario, the first judgment result, the second judgment result and the third judgment result.

11. The abnormal alarm method of the speech semantic platform according to claim 10, characterized in that: The step of performing an abnormal alarm according to the current operation scenario, the first judgment result, the second judgment result, and the third judgment result specifically includes: Finding a target warning strategy corresponding to the current operation scenario, the first judgment result, the second judgment result, and the third judgment result; An abnormal warning is performed according to the target warning strategy.

12. A speech semantic platform abnormality alarm device, characterized in that: The speech semantics platform abnormality alarm device includes: a memory, a processor, and a speech semantics platform abnormality alarm program stored in the memory and executable on the processor. When the speech semantics platform abnormality alarm program is executed by the processor, the steps of the speech semantics platform abnormality alarm method as described in any one of claims 1 to 11 are implemented.

13. A storage medium, characterized in that: The storage medium stores a speech and semantics platform abnormality alarm program, which, when executed by a processor, implements the steps of the speech and semantics platform abnormality alarm method as described in any one of claims 1 to 11.

14. A speech semantic platform abnormality alarm device, characterized in that: The speech semantic platform abnormality alarm device comprises: a sending module, a detection module and an alarm module; The sending module is used to send an abnormality detection instruction to the speech semantic platform to be detected, so that the speech semantic platform to be detected, when receiving the abnormality detection instruction, feeds back target field information and current running scenario information according to the platform debugging log; The detection module is used to perform anomaly detection on the speech semantic platform to be detected according to the target field information to obtain anomaly detection results; The alarm module is used to issue an abnormality alarm based on the current operation scenario information and the abnormality detection result; The detection module is further used to perform text reply detection on the speech semantic platform to be detected according to the target field information to obtain a text reply detection result; The detection module is further used to obtain current slot information, and perform full value matching detection on the target field information according to the current slot information to obtain a full value matching result; The detection module is also used to generate an abnormal detection result based on the text reply detection result and the full value matching result.

15. The abnormality alarm device for the speech semantic platform according to claim 14, characterized in that: The speech semantic platform abnormality alarm device also includes: a matching module; The matching module is used to obtain the error log of the speech semantic platform to be detected; The matching module is further used to perform return value matching detection on the error log to obtain a return value matching result; Correspondingly, the detection module is also used to generate an abnormality detection result based on the text reply detection result, the full value matching result and the return value matching result.

16. The abnormality alarm device for the speech semantic platform according to claim 15, characterized in that: The matching module is further used to generate a list type result according to the error log, and determine a return value according to the list type result; The matching module is further used to match the return value with a preset expected value to obtain a return value matching result.

17. The abnormality alarm device for the speech semantic platform according to claim 15, characterized in that: The detection module is further used to determine the text annotation value according to the target field information; The detection module is further used to detect the target field information according to the text annotation value to obtain a text reply detection result.

18. The abnormality alarm device for the speech semantic platform according to claim 17, characterized in that: The detection module is further used to determine a text reply detection type according to the text annotation value, and to search for a text detection strategy corresponding to the text reply detection type; The detection module is further used to detect the target field information through the text detection strategy to obtain a text reply detection result.

Citation Information

Patent Citations

  • Voice recognition abnormity warning method and device, computer equipment and storage medium

    CN111415683A