Monitoring alarm method and device, electronic equipment and storage medium

By determining the data alarm processing end based on the monitoring standard level and performing data preprocessing and abnormal analysis on the client, the alarm delay problem caused by monitoring data transmission delay is solved, and the real-timeness of monitoring alarms and the response speed are improved.

CN120429205APending Publication Date: 2025-08-05CISDI INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510515881.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-23
Publication Date
2025-08-05

AI Technical Summary

Technical Problem

In the prior art, alarm delays due to the delay in transmission of a large number of original monitoring data, affecting the immediate response capability of emergency events.

Method used

Through the monitoring standard level, determine the client or cloud server as the data alarm processing end, and migrate the preset monitoring processing code to the client, especially use WebAssembly to implement data preprocessing and abnormal analysis, reducing the burden on cloud servers.

Benefits of technology

It improves the real-time and response speed of monitoring and alarms, allocates the pressure on cloud servers, and ensures timely response to emergencies.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120429205A_ABST
    Figure CN120429205A_ABST
Patent Text Reader

Abstract

The invention provides a monitoring alarm method and device, electronic equipment and a storage medium, and the method comprises the steps: obtaining a monitoring standard of a target data type, enabling the monitoring standard to comprise at least one of data processing difficulty, monitoring time delay and monitoring frequency, and according to the level of the monitoring standard, carrying out the monitoring of the target data type; determining the client or the cloud server as a data alarm processing end of the target data type, and if the data alarm processing end is the client, transplanting a preset monitoring processing code corresponding to the target data type to the client so as to perform monitoring alarm on collected target monitoring data corresponding to the target data type; according to the method, the client or the cloud server is determined to be the data alarm processing end of the target data type through the level of the monitoring standard, and the client has an alarm monitoring function through transplantation of the preset monitoring processing code, so that the pressure of the cloud server is shared, and the real-time performance and the response speed of monitoring alarm are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of monitoring alarm technology, and in particular to a monitoring alarm method, device, electronic device and storage medium. Background Art

[0002] With the development of internet technology, real-time monitoring and alarm systems have been widely used in various fields. Related technologies typically require transmitting large amounts of raw monitoring data from the client to cloud servers for analysis and processing. This not only increases network latency but can also cause delays in the transmission of alarm information, hindering the ability to respond immediately to emergencies. Summary of the Invention

[0003] The present application provides a monitoring alarm method, device, electronic device and storage medium to solve the above-mentioned technical problem of alarm delay caused by transmission delay of a large amount of original monitoring data.

[0004] In one embodiment of the present application, the present application provides a monitoring and alarm method, including: obtaining a monitoring standard for a target data type, the monitoring standard including at least one of data processing difficulty, monitoring delay, and monitoring frequency; according to the level of the monitoring standard, determining a client or a cloud server as a data alarm processing end for the target data type; if the data alarm processing end is a client, then transplanting a preset monitoring processing code corresponding to the target data type to the client to perform monitoring and alarm on the collected target monitoring data corresponding to the target data type.

[0005] In one embodiment of the present application, based on the level of the monitoring standard, the client or cloud server is determined as the data alarm processing end of the target data type, including: if it is monitored that the monitoring standard includes at least one of the level of data processing difficulty being simple, the level of monitoring delay being small, and the level of monitoring frequency being high frequency, then the client is determined as the data alarm processing end of the target data type; if it is monitored that the monitoring standard includes at least one of the level of data processing difficulty being complex, the level of monitoring delay being large, and the level of monitoring frequency being low frequency, then the cloud server is determined as the data alarm processing end of the target data type.

[0006] In one embodiment of the present application, the preset monitoring processing code corresponding to the target data type is transplanted to the client, including: transplanting the first code corresponding to data preprocessing to the client; transplanting the second code corresponding to data anomaly analysis to the client; wherein the preset monitoring processing code corresponding to the target data type includes the first code and the second code, the data preprocessing includes at least one of data cleaning, denoising, format conversion and data exploration, and the data anomaly analysis includes at least one of time series feature extraction, exponentially weighted moving average, isolation forest, time series anomaly detection, and decision learning classification.

[0007] In one embodiment of the present application, monitoring and alarming are performed on the target monitoring data corresponding to the collected target data type, including: obtaining the target monitoring data corresponding to the target data type; if the data alarm processing end of the target data type is a client, then pre-processing and data anomaly analysis are performed on the target monitoring data through the preset monitoring processing code transplanted in the client to obtain abnormal diagnosis information; if the abnormal diagnosis information is alarm information, then uploading the alarm information to the cloud server to send the alarm information to the preset user terminal through the cloud server.

[0008] In one embodiment of the present application, the data transmission of the target monitoring data includes: collecting the target monitoring data corresponding to the target data type and uploading it to the client; if the data alarm processing end of the target data type is a cloud server, then directly uploading the target monitoring data to the cloud server; if the data alarm processing end of the target data type is a client, then after obtaining the first abnormal diagnosis information, uploading the target monitoring data to the cloud server.

[0009] In one embodiment of the present application, the target monitoring data is collected through a target sensor, which is a temperature sensor, a humidity sensor, a pressure sensor or a motion sensor, and the target sensor is installed in industrial equipment, smart buildings or medical equipment.

[0010] In one embodiment of the present application, monitoring and alarming are performed on the target monitoring data corresponding to the collected target data type, and also include: monitoring the computing resource occupancy rate of the client; if the computing resource occupancy rate is greater than or equal to a preset first threshold, or the computing resource occupancy rate is less than a preset second threshold, then adjusting the processing priority of the target monitoring data, the data alarm processing end and at least one of the preset alarm rules according to the monitoring standard.

[0011] In one embodiment of the present application, the present application provides a monitoring and alarm device, including: a standard acquisition module, used to obtain the monitoring standard of the target data type, the monitoring standard including at least one of data processing difficulty, monitoring delay and monitoring frequency; a processing end determination module, used to determine the client or cloud server as the data alarm processing end of the target data type according to the level of the monitoring standard; a code transplantation module, used to transplant the preset monitoring processing code corresponding to the target data type to the client if the data alarm processing end is the client, so as to monitor and alarm the collected target monitoring data corresponding to the target data type.

[0012] In one embodiment of the present application, the present application provides an electronic device, which includes: one or more processors; a storage device for storing one or more programs, and when the one or more programs are executed by the one or more processors, the electronic device implements the monitoring and alarm method described in any of the above embodiments.

[0013] In one embodiment of the present application, the present application provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor of a computer, the computer executes the monitoring and alarm method described in any one of the above embodiments.

[0014] Beneficial effects of the embodiments of the present application: The present application provides a monitoring alarm method, device, electronic device and storage medium. The embodiments of the present application determine the client or cloud server as the data alarm processing end of the target data type through the level of monitoring standards, and enable the client to have an alarm monitoring function through the transplantation of preset monitoring processing code, thereby sharing the pressure of the cloud server and improving the real-time nature and response speed of the monitoring alarm.

[0015] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The accompanying drawings are incorporated into and constitute a part of the specification, showing embodiments consistent with the present application and, together with the specification, used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without inventive effort. In the drawings:

[0017] Figure 1 A schematic diagram showing an exemplary system architecture to which the technical solutions of the embodiments of the present application can be applied;

[0018] Figure 2A flow chart of a monitoring alarm method according to an embodiment of the present application is shown;

[0019] Figure 3 A schematic diagram of a monitoring alarm method according to another embodiment of the present application is shown;

[0020] Figure 4 A block diagram of a monitoring and alarm device according to an embodiment of the present application is shown;

[0021] Figure 5 A schematic diagram of the structure of a computer system suitable for implementing an electronic device according to an embodiment of the present application is shown. DETAILED DESCRIPTION

[0022] The following describes the embodiments of the present application through specific examples. Those skilled in the art can easily understand other advantages and effects of the present application from the content disclosed in this specification. The present application can also be implemented or applied through other different specific embodiments. The details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of the present application. It should be noted that the following embodiments and features in the embodiments can be combined with each other unless they conflict.

[0023] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present application. Therefore, the drawings only show components related to the present application rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the shape, quantity and proportion of each component may be changed at will, and the component layout may also be more complicated.

[0024] In the following description, a large number of details are discussed to provide a more thorough explanation of the embodiments of the present application. However, it is obvious to those skilled in the art that the embodiments of the present application can be implemented without these specific details. In other embodiments, well-known structures and devices are shown in the form of block diagrams rather than in detail to avoid making the embodiments of the present application difficult to understand.

[0025] See also Figure 1 , Figure 1 Schematic diagram showing an exemplary system architecture to which the technical solution of the embodiment of the present application can be applied. Figure 1 As shown, the system architecture may include a client 101, a cloud server 102, and a configuration terminal 103. The configuration terminal 103 may be located within the client 101 or within another computer device. The configuration terminal 103 is used to determine the data alarm processing terminal and to port the preset monitoring processing code to the client.

[0026] Exemplarily, the configuration terminal 103 obtains the monitoring standards of the target data type, which include at least one of data processing difficulty, monitoring delay and monitoring frequency; according to the level of the monitoring standards, the client 101 or the cloud server 102 is determined as the data alarm processing terminal of the target data type; if the data alarm processing terminal is the client, the preset monitoring processing code corresponding to the target data type is transplanted to the client to monitor and alarm the target monitoring data corresponding to the collected target data type.

[0027] In the related art, there is a technical problem that the transmission delay of a large amount of original monitoring data causes an alarm delay, thereby affecting the ability to respond immediately to emergency events.

[0028] In order to solve the above technical problems, the present application provides a monitoring alarm method, device, electronic device and storage medium. The implementation details of the technical solution of the embodiment of the present application are elaborated in detail below.

[0029] See also Figure 2 , Figure 2 FIG. 1 shows a flow chart of a monitoring alarm method according to an embodiment of the present application. Figure 2 As shown, in an exemplary embodiment, the monitoring alarm method includes at least steps S210 to S230, which are described in detail as follows:

[0030] Step S210: Acquire monitoring standards for target data types.

[0031] Among them, the monitoring criteria include at least one of data processing difficulty, monitoring delay and monitoring frequency.

[0032] In one embodiment of the present application, the target data type is used to represent a data attribute type or a data source type.

[0033] In one embodiment of the present application, the data attribute type includes at least one of temperature, pressure, vibration, humidity, carbon dioxide concentration, heart rate, and blood pressure.

[0034] In one embodiment of the present application, the data source types include industrial equipment such as CNC machine tools, conveyor belts, generators, smart buildings such as security systems and elevator systems, and at least one of medical devices such as vital signs monitoring equipment, imaging equipment, and wearable devices.

[0035] In step S220 , the cloud server or client is determined as a data alarm processing terminal of the target data type according to the level of the monitoring standard.

[0036] In one embodiment of the present application, the client or cloud server is determined as the data alarm processing end of the target data type according to the level of the monitoring standard, including: if it is monitored that the monitoring standard includes at least one of the level of data processing difficulty being simple, the level of monitoring delay being small, and the level of monitoring frequency being high frequency, the client is determined as the data alarm processing end of the target data type; if it is monitored that the monitoring standard includes at least one of the level of data processing difficulty being complex, the level of monitoring delay being large, and the level of monitoring frequency being low frequency, the cloud server is determined as the data alarm processing end of the target data type.

[0037] In one embodiment of the present application, the client is a browser or a desktop application.

[0038] In one embodiment of the present application, the browser is the World Wide Web (Web), and the desktop application is a Web desktop program.

[0039] In one embodiment of the present application, the data processing difficulty may be determined by at least one of the amount of data collected, data quality, data diversity, and complexity of the data processing method corresponding to the target data type.

[0040] In one embodiment of the present application, the data alarm processing end is a device end that monitors and issues alarms on the target monitoring data corresponding to the collected target data type.

[0041] In one embodiment of the present application, the present application can process target data types that are easy to process, have high real-time performance, and have high monitoring frequency through the client through the level of monitoring standards, which can share a lot of pressure for the cloud server and improve the real-time performance and response speed of monitoring alarms.

[0042] Step S230: If the data alarm processing end is a client, a preset monitoring processing code corresponding to the target data type is transplanted to the client to perform monitoring alarm on the collected target monitoring data corresponding to the target data type.

[0043] In one embodiment of the present application, the cloud server is deployed with preset monitoring processing codes corresponding to the target data type.

[0044] In one embodiment of the present application, the preset monitoring processing code is transplanted to the client through conversion of the binary instruction set, so that the client can quickly decode and compile it.

[0045] In one embodiment of the present application, the conversion of binary instruction sets has cross-platform characteristics, such as WebAssembly (a binary format for the Web); WebAssembly allows developers to run high-performance applications in Web desktop programs or Web browsers, thereby utilizing the efficiency and cross-platform characteristics of WebAssembly to significantly improve the real-time and response speed of monitoring alarms.

[0046] In one embodiment of the present application, the preset monitoring processing code corresponding to the target data type is transplanted to the client, including: transplanting the first code corresponding to the data preprocessing to the client; transplanting the second code corresponding to the data anomaly analysis to the client; wherein the preset monitoring processing code corresponding to the target data type includes the first code and the second code, the data preprocessing includes at least one of data cleaning, denoising, format conversion and data exploration, and the data anomaly analysis includes at least one of time series feature extraction, exponentially weighted moving average, isolation forest, time series anomaly detection, and decision learning classification.

[0047] In one embodiment of the present application, the first code and the second code are run in a WebAssembly-based application on the client.

[0048] In one embodiment of the present application, data exploration includes at least one of outlier detection and missing value detection.

[0049] In one embodiment of the present application, monitoring and alarming are performed on target monitoring data corresponding to the collected target data type, including: obtaining target monitoring data corresponding to the target data type; if the data alarm processing end of the target data type is a client, preprocessing and data anomaly analysis are performed on the target monitoring data through the preset monitoring processing code transplanted in the client to obtain abnormal diagnosis information; if the abnormal diagnosis information is alarm information, uploading the alarm information to the cloud server to send the alarm information to the preset user terminal through the cloud server.

[0050] In one embodiment of the present application, the target monitoring data is used to represent the original monitoring data corresponding to the target data type collected in real time.

[0051] In one embodiment of the present application, WebAssembly can be used to implement preprocessing steps such as cleaning, denoising, format conversion, and outlier filtering of target monitoring data. Due to the efficient operation of WebAssembly on the client side, these preprocessing operations can be completed quickly, reducing the burden on the cloud server.

[0052] In one embodiment of the present application, real-time data anomaly analysis is implemented through WebAssembly. Using a data anomaly analysis algorithm based on at least one of time series feature extraction, exponentially weighted moving average, isolation forest, time series anomaly detection, and decision learning classification, pre-processed target monitoring data can be analyzed in real time to detect anomalies such as excessive temperature, excessive pressure, or abnormal heart rate. Once an anomaly is detected, an alert is immediately generated through WebAssembly.

[0053] In one embodiment of the present application, the warning information includes at least one of a text message, a graphical display, and a sound prompt.

[0054] In one embodiment of the present application, upon detecting an abnormal situation, the client sends an alert message to a cloud server via the network. Upon receiving the alert message, the cloud server can send the alert message to a pre-defined user terminal via at least one of a variety of methods, such as text message, email, and phone call, thereby immediately notifying relevant personnel to ensure a timely response and address the abnormal situation.

[0055] In one embodiment of the present application, the data transmission of target monitoring data includes: collecting target monitoring data corresponding to the target data type and uploading it to the client; if the data alarm processing end of the target data type is a cloud server, the target monitoring data is directly uploaded to the cloud server; if the data alarm processing end of the target data type is a client, after obtaining the first abnormal diagnosis information, the target monitoring data is uploaded to the cloud server.

[0056] In one embodiment of the present application, target monitoring data is collected through a target sensor, which is a temperature sensor, a humidity sensor, a pressure sensor, or a motion sensor, and the target sensor is installed in industrial equipment, smart buildings, or medical equipment.

[0057] In one embodiment of the present application, after the target sensor collects the target monitoring data, it transmits it to the client via the network.

[0058] In one embodiment of the present application, the client receives target monitoring data transmitted from the target sensor through WebAssembly.

[0059] In one embodiment of the present application, target monitoring data corresponding to multiple types of target data types can be processed through code transplantation, which improves scalability and eases maintenance; and preset monitoring processing codes can be run on different operating systems through cross-platform code transplantation, thereby improving compatibility.

[0060] In one embodiment of the present application, monitoring and alarming of target monitoring data corresponding to the collected target data type also includes: monitoring the computing resource occupancy rate of the client; if the computing resource occupancy rate is greater than or equal to a preset first threshold, or the computing resource occupancy rate is less than a preset second threshold, then adjusting the processing priority of the target monitoring data, the data alarm processing end and at least one of the preset alarm rules according to the monitoring standard.

[0061] In one embodiment of the present application, processing priorities are set in advance for all target monitoring data to give priority to receiving and processing high-priority target monitoring data; and a preemptive task scheduling mechanism is used to handle multi-source data concurrency conflicts, thereby ensuring that high-priority target monitoring data always occupies computing resources first, ensuring that the delay of key data strictly meets real-time requirements.

[0062] In one embodiment of the present application, a calculation resource occupancy rate greater than or equal to a preset first threshold indicates that the client load is high; a calculation resource occupancy rate less than a preset second threshold indicates that the client load is low.

[0063] In one embodiment of the present application, the preset first threshold and the preset second threshold may be equal or different.

[0064] In one embodiment of the present application, when the load of the client is high, the processing priority of the target monitoring data may be lowered; when the load of the client is low, the processing priority of the target monitoring data may be increased.

[0065] In one embodiment of the present application, when the load on the client is high, the data alarm processing end is changed from the client to a cloud server or a backup client; when the load on the client is low, the data alarm processing end is changed from the cloud server or the backup client to the client.

[0066] In one embodiment of the present application, when uploading target monitoring data to a client, the target monitoring data may be uploaded to a standby client synchronously or asynchronously.

[0067] In one embodiment of the present application, the preset alarm rules include setting a preset condition threshold for generating alarm information, adjusting data processing accuracy, and at least one of a monitoring period of target monitoring data.

[0068] In one embodiment of the present application, the present application can transmit alarm information redundantly through multiple channels. For example, alarm information can be transmitted between the client and the cloud server via a primary warning channel and a backup warning channel; and alarm information can be transmitted between the client and the on-site alarm device corresponding to the target sensor via a local broadcast channel.

[0069] In one embodiment of the present application, the primary warning channel utilizes the Message Queuing Telemetry Transport (MQTT) protocol, which uses the Transmission Control Protocol (TCP) / Internet Protocol (IP) as its underlying transport protocol; the backup warning channel utilizes satellite communications. At least one channel can be selected to transmit warning information based on configured channel selection information.

[0070] In one embodiment of the present application, the cloud server stores the received target monitoring data and alarm information in a database of the cloud server for persistent storage of the data and overall statistical analysis.

[0071] In one embodiment of the present application, data storage is implemented through a relational database or a non-relational database.

[0072] In one embodiment of the present application, target monitoring data and alarm information are viewed in real time through the client's Web interface.

[0073] In one embodiment of the present application, see Figure 3 , Figure 3 FIG. 1 shows a flow chart of a monitoring alarm method according to another embodiment of the present application. Figure 3 As shown, step S310, data collection: target monitoring data is collected through the target sensor and uploaded to the client through the network; step S320, data preprocessing: after the client receives the target monitoring data, the target monitoring data is preprocessed through the first code; step S3330, data anomaly analysis: the preprocessed target monitoring data is analyzed for data anomaly through the second code to obtain abnormal diagnosis information; step S340, alarm triggering: if the abnormal diagnosis information is alarm information, the alarm information is uploaded to the cloud server, and the alarm information is sent to the preset user terminal through the cloud server, thereby realizing alarm notification; step S350, data storage and display: the client uploads the target monitoring data to the cloud server, the cloud server stores the target monitoring data and alarm information, and displays the alarm information and target monitoring data through the client.

[0074] See also Figure 4 , Figure 4 A block diagram of a monitoring alarm device according to an embodiment of the present application is shown. The device can be applied to Figure 1 The implementation environment shown is specifically configured in the configuration terminal 103. The apparatus may also be applicable to other exemplary implementation environments and specifically configured in other devices. This embodiment does not limit the implementation environment to which the apparatus is applicable.

[0075] like Figure 4As shown, a monitoring alarm device 400 according to an embodiment of the present application includes: a standard acquisition module 401, a processing end determination module 402 and a code transplantation module 403.

[0076] The standard acquisition module 401 is used to acquire the monitoring standard of the target data type, where the monitoring standard includes at least one of data processing difficulty, monitoring delay, and monitoring frequency;

[0077] a processing end determination module 402 for determining, based on the level of the monitoring standard, a client or a cloud server as a data alarm processing end for the target data type;

[0078] The code transplantation module 403 is used to transplant the preset monitoring processing code corresponding to the target data type to the client if the data alarm processing end is a client, so as to perform monitoring and alarm on the collected target monitoring data corresponding to the target data type.

[0079] It should be noted that the monitoring and alarm device provided in the above embodiment and the monitoring and alarm method provided in the above embodiment are based on the same concept. The specific manner in which each module and unit performs operations has been described in detail in the method embodiment and will not be repeated here. In actual applications, the monitoring and alarm device provided in the above embodiment can, as needed, allocate the above functions to different functional modules, that is, divide the internal structure of the device into different functional modules to complete all or part of the functions described above, and this is not limited here.

[0080] An embodiment of the present application also provides an electronic device, comprising: one or more processors; a storage device for storing one or more programs, which, when executed by one or more processors, enables the electronic device to implement the monitoring and alarm methods provided in the above-mentioned embodiments.

[0081] See also Figure 5 , Figure 5 The following is a schematic diagram showing the structure of a computer system suitable for implementing an electronic device according to an embodiment of the present application. Figure 5 The computer system 500 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0082] like Figure 5As shown, the computer system 500 includes a central processing unit (CPU) 501, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 502 or the program loaded from the storage part 508 into the random access memory (RAM) 503, such as executing the method in the above embodiment. Various programs and data required for system operation are also stored in the RAM 503. The CPU 501, ROM 502 and RAM 503 are connected to each other via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.

[0083] The following components are connected to the I / O interface 505: an input section 506 including a keyboard, a mouse, and the like; an output section 507 including devices such as a cathode ray tube (CRT), a liquid crystal display (LCD), and a speaker; a storage section 508 including a hard disk; and a communication section 509 including a network interface card such as a LAN (Local Area Network) card or a modem. The communication section 509 performs communication processing via a network such as the Internet. A drive 510 is also connected to the I / O interface 505 as needed. Removable media 511, such as a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor memory, is installed in the drive 510 as needed, so that computer programs read therefrom can be installed into the storage section 508 as needed.

[0084] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network via the communication section 509, and / or installed from a removable medium 511. When the computer program is executed by the central processing unit (CPU) 501, the various functions defined in the system of the present application are executed.

[0085] It should be noted that the computer-readable medium shown in the embodiments of the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the two. The computer-readable storage medium may be, for example, an electrical, magnetic, optical, electromagnetic, infrared or semiconductor system, device or component, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries a computer-readable computer program. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. A computer program embodied on a computer-readable medium may be transmitted using any suitable medium, including but not limited to wireless, wired, or any suitable combination thereof.

[0086] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. Each box in the flowchart or block diagram can represent a module, program segment or part of the code, and the above-mentioned module, program segment or part of the code contains one or more executable instructions for implementing the specified logical functions. It should also be noted that in some alternative implementations, the functions marked in the boxes can also occur in an order different from that marked in the accompanying drawings. For example, two boxes shown in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart and the combination of boxes in the block diagram or flowchart can be implemented using a dedicated hardware-based system that performs the specified functions or operations, or can be implemented using a combination of dedicated hardware and computer instructions.

[0087] The units involved in the embodiments described in the present application can be implemented by software or by hardware, and the units described can also be set in a processor. Among them, the names of these units do not constitute a limitation on the units themselves under certain circumstances. Therefore, the technical solution according to the embodiment of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the embodiment of the present application.

[0088] Another aspect of the present application provides a computer-readable storage medium having a computer program stored thereon. When executed by a computer processor, the computer program causes the computer to perform the monitoring and alarm methods provided in the above embodiments. The computer-readable storage medium may be included in the electronic device described in the above embodiments, or may exist independently and not be incorporated into the electronic device.

[0089] In the above embodiments, unless otherwise specified, the use of serial numbers such as "first" and "second" to describe common objects only indicates that they refer to different instances of the same object, rather than indicating that the objects being described must adopt a given order, whether in time, space, sorting or any other way.

[0090] The above embodiments are merely illustrative of the principles and effects of this application and are not intended to limit this application. Anyone skilled in the art may modify or alter the above embodiments without departing from the spirit and scope of this application. Therefore, any equivalent modifications or alterations accomplished by a person of ordinary skill in the art without departing from the spirit and technical concepts disclosed in this application shall be covered by the claims of this application.

Claims

1. A monitoring alarm method, characterized in that: The method comprises: Acquiring monitoring criteria for the target data type, the monitoring criteria comprising at least one of data processing difficulty, monitoring latency, and monitoring frequency; According to the level of the monitoring standard, the client or cloud server is determined as the data alarm processing end of the target data type; If the data alarm processing end is a client, the preset monitoring processing code corresponding to the target data type is transplanted to the client to perform monitoring and alarm on the collected target monitoring data corresponding to the target data type.

2. The monitoring alarm method according to claim 1, characterized in that: According to the level of the monitoring standard, determining the client or cloud server as the data alarm processing end of the target data type includes: If it is detected that the monitoring criteria include at least one of the data processing difficulty level being simple, the monitoring delay level being small, and the monitoring frequency level being high, the client is determined as a data alarm processing terminal for the target data type; If it is detected that the monitoring standards include at least one of the data processing difficulty level being complex, the monitoring delay level being large, and the monitoring frequency level being low, the cloud server is determined as the data alarm processing end for the target data type.

3. The monitoring alarm method according to claim 1, characterized in that: Transplanting the preset monitoring processing code corresponding to the target data type to the client includes: transplanting the first code corresponding to the data preprocessing to the client; Transplanting the second code corresponding to the data anomaly analysis to the client; Among them, the preset monitoring processing code corresponding to the target data type includes the first code and the second code, the data preprocessing includes at least one of data cleaning, denoising, format conversion and data exploration, and the data anomaly analysis includes at least one of time series feature extraction, exponentially weighted moving average, isolation forest, time series anomaly detection, and decision learning classification.

4. The monitoring alarm method according to claim 3, characterized in that: Performing monitoring and alarming on the collected target monitoring data corresponding to the target data type includes: Obtain target monitoring data corresponding to the target data type; If the data alarm processing end of the target data type is a client, the target monitoring data is pre-processed and analyzed for data anomalies by using the preset monitoring processing code transplanted in the client to obtain abnormality diagnosis information; If the abnormal diagnosis information is alarm information, the alarm information is uploaded to the cloud server, so as to send the alarm information to a preset user terminal through the cloud server.

5. The monitoring alarm method according to any one of claims 1 to 4, characterized in that: The data transmission of the target monitoring data includes: Collecting target monitoring data corresponding to the target data type and uploading it to the client; If the data alarm processing end of the target data type is a cloud server, the target monitoring data is directly uploaded to the cloud server; If the data alarm processing end of the target data type is a client, then after obtaining the first abnormality diagnosis information, the target monitoring data is uploaded to the cloud server.

6. The monitoring alarm method according to claim 5, characterized in that: The target monitoring data is collected through a target sensor, which is a temperature sensor, a humidity sensor, a pressure sensor or a motion sensor. The target sensor is installed in industrial equipment, smart buildings or medical equipment.

7. The monitoring alarm method according to any one of claims 1 to 4, characterized in that: Monitoring and alarming the collected target monitoring data corresponding to the target data type also includes: Monitoring the computing resource occupancy rate of the client; If the computing resource occupancy rate is greater than or equal to the preset first threshold, or the computing resource occupancy rate is less than the preset second threshold, then according to the monitoring standard, adjust at least one of the processing priority, data alarm processing end and preset alarm rules of the target monitoring data.

8. A monitoring alarm device, characterized in that: The device comprises: a standard acquisition module, configured to acquire a monitoring standard for a target data type, wherein the monitoring standard includes at least one of data processing difficulty, monitoring delay, and monitoring frequency; a processing end determination module, configured to determine, based on the level of the monitoring standard, a client or a cloud server as a data alarm processing end for the target data type; A code transplantation module is used to transplant the preset monitoring processing code corresponding to the target data type to the client if the data alarm processing end is a client, so as to monitor and alarm the target monitoring data corresponding to the collected target data type.

9. An electronic device, characterized in that: The electronic device comprises: one or more processors; A storage device for storing one or more programs, which, when executed by the one or more processors, enables the electronic device to implement the monitoring and alarm method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that A computer program is stored thereon, and when the computer program is executed by a processor of a computer, the computer is caused to execute the monitoring and alarm method according to any one of claims 1 to 7.