Alarm method and system, electronic equipment and computer storage medium

By burying point processing and real-time data calculation of the target business link of the Internet of Vehicles business system, and processing business data in combination with alarm rules, the problem of inefficiency of traditional log analysis methods is solved, and the effect of quickly locate fault points and improving troubleshooting efficiency is achieved.

CN119996151APending Publication Date: 2025-05-13Z-ONE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311502777.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-10
Publication Date
2025-05-13

AI Technical Summary

Technical Problem

Traditional log analysis methods are inefficient and cannot adapt to the rapid development and changes of the Internet of Vehicles business system, and it is difficult to quickly locate fault points.

Method used

By burying the target business link, burying the point data is obtained, and alarm rules are configured, service data is received in real time for calculation, and comparison with rule configuration data is compared, and service data is processed based on the comparison results and alarm rules.

Benefits of technology

Real-time status monitoring of the target business link is realized, problems existing during operation are quickly discovered, problems are investigated, and problem response speed is improved through automated processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119996151A_ABST
    Figure CN119996151A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an alarm method and system, electronic equipment and a computer storage medium, and the alarm method comprises the steps: carrying out buried point processing on a target service link to obtain corresponding buried point data, and configuring an alarm rule for the target service link to obtain rule configuration data; performing real-time calculation on the service data of the target service link to obtain a real-time calculation result, and comparing the real-time calculation result with the rule configuration data to obtain comparison result data; and processing the service data based on the comparison result data and the alarm rule. According to the alarm method provided by the embodiment of the invention, the occurred problems can be effectively, automatically and quickly processed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of computer system development, and in particular to an alarm method, system, electronic device and computer storage medium. Background Art

[0002] With the rapid development of Internet of Vehicles technology, Internet of Vehicles business systems are becoming increasingly complex. In many business systems, the traditional log analysis method is generally to find relevant logs based on relevant business identifiers, then search for upstream and downstream related business logs based on known logs, and finally summarize the relevant logs to analyze the business system and gradually locate the problem. The traditional log troubleshooting method is inefficient. In order to locate the problem, many logs need to be summarized and queried, and the response is slow. Therefore, it cannot adapt to the rapid development and changes of Internet of Vehicles business systems.

[0003] How to use real-time computing technology to efficiently analyze business system logs and quickly locate fault points is very important. Using real-time computing technology to analyze business logs in real time and generate corresponding alarm information can effectively reduce the intensity of manual intervention and manual troubleshooting, and improve the efficiency of business system problem troubleshooting. Summary of the invention

[0004] In view of this, an embodiment of the present application provides an alarm method to at least partially solve the above-mentioned problem.

[0005] According to a first aspect of an embodiment of the present application, there is provided an alarm method, the method comprising:

[0006] Performing tracking processing on the target service link to obtain corresponding tracking data, and configuring alarm rules for the target service link to obtain rule configuration data;

[0007] receiving the service data of the target service link in real time to obtain a real-time calculation result, and comparing the real-time calculation result with the rule configuration data to obtain comparison result data;

[0008] Based on the comparison result data and the alarm rule, the business data is processed.

[0009] According to a second aspect of an embodiment of the present application, an alarm system is provided, which is used in the alarm method according to any one of claims 1 to 4, and the alarm system comprises:

[0010] A configuration module, used to perform tracking processing on the target service link to obtain corresponding tracking data, and configure corresponding alarm rules for the target service link to obtain rule configuration data;

[0011] A real-time processing module, used for performing real-time calculation on the service data of the target service link to obtain a real-time calculation result, and comparing the real-time calculation result with the rule configuration data to obtain comparison result data;

[0012] An alarm module is used to process the business data based on the comparison result data and the alarm rules.

[0013] According to the third aspect of an embodiment of the present application, there is provided an electronic device, comprising: a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; the memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform an operation corresponding to the alarm method described in the first aspect.

[0014] According to a fourth aspect of an embodiment of the present application, a computer storage medium is provided, on which a computer program is stored. When the program is executed by a processor, the alarm method as described in the first aspect is implemented.

[0015] According to the alarm method provided in the embodiment of the present application, by performing point-of-care processing on the target business link and obtaining point-of-care data, and combining the real-time calculation results of the business data of the target business link, by comparing the real-time business data with the rule configuration data, it is possible to understand whether the current operating status of the target business link meets the requirements, and to quickly discover problems existing in the operation process of the target business link, so as to facilitate rapid response and location of problems, and improve the efficiency of rapid troubleshooting of problems of the target business link. Combined with the alarm rules, the problems that arise can be effectively and automatically handled quickly. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the embodiments of the present application. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.

[0017] Figure 1 This is a flowchart of the steps of the alarm method according to Embodiment 1 of the present application;

[0018] Figure 2 is a distribution flow chart of step S1 of the alarm method according to the first embodiment of the present application;

[0019] Figure 3 is a distribution flow chart of step S2 of the alarm method according to the first embodiment of the present application;

[0020] Figure 4is a distribution flow chart of step S3 of the alarm method according to the first embodiment of the present application;

[0021] Figure 5 A structural diagram of an alarm system according to the second aspect of the present application;

[0022] Figure 6 is a schematic diagram of the structure of an electronic device according to Embodiment 3 of the present application;

[0023] Figure 7 A framework diagram of a target service link of an alarm method according to Embodiment 1 of the present application;

[0024] Figure 8 A framework diagram of a real-time computing service for a target service link according to an alarm method according to Embodiment 1 of the present application;

[0025] Fig. 9 A diagram of a service link management module of a target service link of an alarm method according to Embodiment 1 of the present application;

[0026] Fig.10 An alarm rule management module for a target service link of the alarm method according to the first embodiment of the present application;

[0027] Fig.11 It is an alarm background management module of the target service link of the alarm method according to the first embodiment of the present application. DETAILED DESCRIPTION

[0028] In order to enable those skilled in the art to better understand the technical solutions in the embodiments of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the embodiments of the present application should fall within the scope of protection of the embodiments of the present application.

[0029] The following is combined with the embodiment of the present application Figure 1-Figure 4 The specific implementation of the alarm method in the embodiment of the present application is further explained.

[0030] In conjunction with the instruction manual Figure 1 An alarm method is described, including:

[0031] Step S1: performing tracking processing on the target service link to obtain corresponding tracking data, and configuring alarm rules for the target service link to obtain rule configuration data;

[0032] Specifically, in this step, the target business link is determined based on the target business to be achieved. And the process steps of the determined target business need to be monitored. And the business process is tracked. Through the tracking operation, certain points in the target business link can be monitored, so as to monitor certain points of the overall process of the alarm method.

[0033] At the same time, the alarm rules can be configured for the process in the target business link to obtain rule configuration data. The alarm rules are the rules that trigger alarms when the target business link is running. Through the alarm rules, problems generated when the target business link is running can be handled according to the rules.

[0034] Step S2: performing real-time calculation on the service data of the target service link to obtain a real-time calculation result, and comparing the real-time calculation result with the rule configuration data to obtain comparison result data;

[0035] Specifically, in this step, business data is generated when the target business link is running. By receiving the business data in real time, the running status of the target business link can be obtained in real time. This is to facilitate monitoring the running status of the target business link. Then, the real-time calculation result is obtained by real-time calculation of the business data, and the real-time calculation result is compared with the rule configuration data to understand whether the target business link is running correctly. In other words, the business data represents the state of the target business link during the actual operation process, and the rule configuration data is the requirement for the theoretical running state of the target business link. By comparing the business data representing the real-time state of the target business link with the rule configuration data, the real-time state result of the current target business link operation, that is, the comparison result data, can be obtained.

[0036] When the real-time calculation result of the business data matches the rule configuration data, it can be understood that the target business link is running normally. Correspondingly, when the real-time calculation result of the business data does not match the rule configuration data, it can be understood that the running state of the target business link at the process node is abnormal. At this time, the process node with problems in the target business link can be quickly located.

[0037] It should be noted that when the real-time calculation results of the business data do not match the rule configuration data, the corresponding comparison result data will be obtained and recorded.

[0038] Step S3: Process the business data based on the comparison result data and alarm rules.

[0039] Specifically, in this step, by comparing the data records and according to the alarm rules, a method for processing the result data can be selected.

[0040] According to the alarm method provided in the embodiment of the present application, by performing point-of-care processing on the target business link and obtaining point-of-care data, and combining the real-time calculation results of the business data of the target business link, by comparing the real-time business data with the rule configuration data, it is possible to understand whether the current operating status of the target business link meets the requirements, and to quickly discover problems existing in the operation process of the target business link, so as to facilitate rapid response and location of problems, and improve the efficiency of rapid troubleshooting of problems of the target business link. Combined with the alarm rules, the problems that arise can be effectively and automatically handled quickly.

[0041] Furthermore, if Figure 2 As shown, in step S1, the following steps are also included:

[0042] Step S101: Perform point configuration on the target point of the target service link to obtain corresponding point data.

[0043] Specifically, the target business link includes multiple process nodes, namely, target points. The positioning or setting of the target points can be manually allocated and set. In other words, the setting or selection of the target points can be set for important nodes in the target business link. That is, the points to be focused on. Thus, the target business link can be monitored in a targeted manner.

[0044] Furthermore, if Figure 3 As shown, in step S2, the following steps are also included:

[0045] Step S201: receiving the business data of the target business link in real time, and storing the business data in the message middleware for real-time calculation to obtain real-time calculation results;

[0046] Specifically, in this step, the business data received in real time is stored in the message middleware, which can facilitate the subsequent consumption of the business data, that is, real-time processing to obtain real-time calculation results. It should be noted that although the message middleware is set, the processing of the business data is real-time to ensure the rapid response capability of the alarm method of the present invention to problems.

[0047] In some embodiments of the present invention, the message middleware may be Kafka message middleware. Kafka, as a message middleware, is a buffer for business data and provides data for real-time processing of business data in the alarm method of the embodiment of the present invention.

[0048] Step S202: Compare the real-time calculation result with the rule configuration data to obtain comparison result data.

[0049] Specifically, in this step, the real-time calculation results can be quickly compared with the rule configuration data through real-time processing, so that the comparison result data can be obtained effectively and in real time, which is conducive to rapid response and rapid processing of problems.

[0050] Furthermore, if Figure 4 As shown, in step S3, the following steps are also included:

[0051] Step S301: If the comparison result does not meet the alarm rule, the comparison result is discarded;

[0052] Specifically, after obtaining the service data, real-time calculation is performed, and the real-time calculation result is compared with the alarm rule of the link. At this time, if the comparison result does not meet the alarm rule, that is, the service data and the rule configuration data are consistent. Then the comparison result does not meet the alarm requirements, so it can be considered that the operation status of the target service link displayed by the comparison result is stable and safe, so there is no need to alarm the service data, so the comparison result can be discarded.

[0053] Step S302: If the comparison result meets the alarm rule, the corresponding alarm information is generated, and the alarm information is stored and sent to the client and the server.

[0054] Specifically, after obtaining the business data, real-time calculation is performed, the real-time calculation result is compared with the rule configuration data, and the comparison result is processed according to the alarm rule. At this time, if the comparison result meets the alarm rule, that is, the real-time calculation result of the business data does not match the rule configuration data, or the real-time calculation result of the business data does not meet the rule configuration data. Then the comparison result meets the alarm requirements, so it can be considered that the operating status of the target business link displayed by the comparison result is unstable and there is a problem at the point of the business data. Therefore, it is necessary to alarm the business data to quickly respond to and handle the problem.

[0055] In some embodiments of the present invention, the alarm rules can be reconfigured according to a plurality of comparison result data.

[0056] As mentioned above, the processing of the comparison result is to check whether it meets the requirements of the alarm rules. If the comparison result meets the requirements of the alarm rules, an alarm is issued and stored. If the comparison result does not meet the requirements of the alarm rules, the business data can be stored.

[0057] It can be understood that, as mentioned above, the rule configuration data of the target business link represents the theoretical data of the operating status of the target point, or can be understood as the state requirement that the operator who configures the rule configuration data wants the target business link to achieve when running to that point.

[0058] Therefore, the configuration of the alarm rules may be too strict. For example, when a target business link is run for the first time, since there is no demonstration of previous data, the operator may be more strict when configuring the rule configuration data, which results in the target business link being run for the first time at multiple target points or multiple times at certain target points. The business data generated does not match the rule configuration data. For example, the business data of ninety times out of a hundred runs does not match the rule configuration data. Therefore, 90% of the data show that the target business link has problems at the target point, so multiple alarms are issued according to the setting of the alarm rules. Therefore, in order to address this problem, the alarm rules can be readjusted in real time to make the setting of the rule configuration data more reasonable. It also enables the alarm method of the embodiment of the present invention to be improved in real time to achieve greater intelligence.

[0059] In some embodiments of the present invention, the alarm rule includes at least one of an alarm calculation rule, an alarm threshold, and an alarm mode.

[0060] Specifically, the alarm rule may include at least one of the three methods mentioned above to implement the alarm.

[0061] Furthermore, the alarm rule can be processed by comparing the result, that is, the alarm method can be to send the alarm information to the operation terminal of the user of the target service link through a message reminder, such as a mobile phone or a computer, etc. The user can also receive the alarm information through software such as real-time communication software such as DingTalk or email, etc.

[0062] Similarly, developers or operators of the target business link can also view alarm information through clients such as DingTalk and email.

[0063] In summary, the alarm method of the embodiment of the present invention is based on the real-time data of the target business link, that is, the business data. The main principle of the real-time alarm method based on business data is to access each business system and perform point-burying processing. Point-burying processing can provide a unified and standardized point-buying method and business data containing real-time business logs. Therefore, the corresponding business data can be dynamically collected as needed during the operation of the target business link, and the collected business data can be forwarded to the message middleware, and then the collected business data can be calculated in real time through real-time computing related technologies, and the corresponding business alarm can be triggered according to the corresponding alarm rules, thereby achieving the purpose of real-time monitoring and alarm of business data.

[0064] In short, business data is collected and gathered in a unified and standardized manner, and real-time calculations are performed on the business data. Based on the results of the real-time calculations and the user's alarm rules, the alarm information is pushed to the user end in real time, so as to achieve the purpose of quickly analyzing, diagnosing, and locating faults in the target business link.

[0065] The following is a detailed description of one embodiment of the present invention in conjunction with the accompanying drawings. Figure 7 The figure shows the framework diagram of the target business link, from which it can be understood that the alarm method can specifically obtain the business data of the target business link in real time, and store the business data in the kafka cluster, that is, in the message middleware. The business data in the message middleware is processed in real time through the log real-time computing service. And the comparison results are generated according to the rule configuration data comparison. And the alarm rules configured in the mysql rule library process the comparison results. That is, when an alarm message needs to be sent, the alarm message notification is sent to the client, which can also be the user end (such as DingTalk). And the alarm message is written to the ES cluster (Elastic search, search engine server).

[0066] In other words, the process of the alarm method in the above embodiment can be summarized as follows: the business party buries the key business process of the target business link according to actual needs, and can display the actual business link diagram according to actual needs. Therefore, by displaying the actual business link diagram, the purpose is to visualize the monitoring status of the target business link, and the user can directly see the operation status of the target business link.

[0067] Furthermore, the business party configures corresponding alarm rules according to the needs of the target business. The alarm rules can mainly configure the corresponding alarm category, severity, triggering method, time interval and frequency. Thus, the business data is written to the message middleware, which is responsible for receiving the business data and transferring the business data to the specified topic.

[0068] This allows the log real-time computing service to perform real-time computing on the received business data according to the business rule configuration and alarm rules, and store the real-time computing results in ES, the search engine server, for later query.

[0069] Therefore, the business party can view the alarm status in real time through the client, and the backend administrator of the alarm system can view the current alarm and historical alarm as needed and process the alarm information according to actual needs.

[0070] According to an alarm system of the second aspect of the present application, Figure 5 As shown, the alarm method used in the first aspect embodiment above, the alarm system includes:

[0071] Configuration module 501, used to perform tracking processing on the target service link to obtain corresponding tracking data, and configure alarm rules for the target service link to obtain rule configuration data;

[0072] The real-time processing module 503 is used to perform real-time calculation on the service data of the target service link to obtain a real-time calculation result, and compare the real-time calculation result with the rule configuration data to obtain comparison result data;

[0073] The alarm module 502 is used to process the business data based on the comparison result data and the alarm rules.

[0074] According to the alarm system provided by the embodiment of the present application, a configuration module 501, a real-time processing module 503 and an alarm module 502 are set. By performing point-of-care processing on the target business link and obtaining point-of-care data, and combining the real-time calculation results of the business data of the target business link, by comparing the real-time business data with the rule configuration data, it is possible to understand whether the current operating status of the target business link meets the requirements, and to quickly discover problems in the operation process of the target business link, so as to facilitate rapid response and location of problems, and improve the efficiency of rapid troubleshooting of problems in the target business link. Combined with the alarm rules, the problems that arise can be effectively and automatically handled quickly.

[0075] The following is attached to the instruction manual Figure 7-Figure 11 , a target service link of an alarm system according to one embodiment of the present invention is specifically described, such as Figure 7 The figure shows the framework diagram of the target service link of the alarm system. Fig. 9 The figure shows the business link management module diagram of the target business link. It can be understood that the alarm method can specifically obtain the business data of the target business link in real time, and store the business data in the kafka cluster, that is, in the message middleware. The business data in the message middleware is processed in real time through the log real-time computing service. And the comparison result is generated according to the rule configuration data comparison. And the comparison result is processed in combination with the alarm rules configured in the mysql rule library. That is, when an alarm message needs to be sent, the alarm message notification is sent to the client, which can also be the user end (such as DingTalk). After receiving the alarm information, the business party takes corresponding measures according to the category and severity of the alarm. And the alarm message is written to the ES cluster (Elastic search, search engine server) for recording.

[0076] The framework diagram of the log real-time computing service is as follows: Figure 8 As shown in the figure, the log data source is the business data generated by the operation of the target business link. The log real-time computing service can convert the data source operator and combine it with the MySQL rule base to generate a sink operator that can be stored in the ES cluster. In other words, the log real-time computing service adds the corresponding business process to the log computing service and implements the alarm business function according to the configuration of the alarm rules.

[0077] At the same time, the entire target business link can also include configuration query services and user interfaces. The user interface provides static and dynamic point configuration for the business party. Each business party can perform point tracking processing on the key process nodes of each target business link according to business needs. Existing alarm information can be managed through the user interface. The MySQL rule library provides various alarm rules for the business party. The business party can configure the corresponding alarm rules through the user interface and support the function of changing the alarm rule library in real time. Users can operate the query system through the user interface to query the alarm records.

[0078] Among them, the configuration of alarm rules and background management. Fig.10 and Fig.11 The alarm rule management module and the alarm background management module shown configure the alarm rules. The backend configuration service of the existing target business link adds an interface for configuring alarm rules and an interface for querying alarm rules to implement the configuration management function of alarm rules.

[0079] It should be noted that the target business link type supports static business links and dynamic business links. Both static business links and dynamic business links can support single primary keys and multiple primary keys. Point tracking can be performed at the key process nodes of each target business link, and then all log information of a business request can be queried through the primary key. The business data of the target business link can display the upstream and downstream relationships and call relationships between each target business link in real time, and quickly locate the fault point.

[0080] In some embodiments of the present application, the configuration module 501 is also used to perform point-burying configuration on the target point of the target service link to obtain corresponding point-burying data.

[0081] In some embodiments of the present application, the real-time processing module 503 is further used to receive the service data of the target service link in real time, and store the service data in the message middleware for real-time calculation to obtain the real-time calculation result;

[0082] The real-time calculation results are compared with the rule configuration data to obtain comparison result data.

[0083] In some embodiments of the present application, the alarm module 502 is further configured to discard the comparison result if the comparison result does not meet the alarm rule;

[0084] The alarm module 502 is also used to generate corresponding alarm information if the comparison result meets the alarm rule, and store and send the alarm information to the client and the server.

[0085] An electronic device according to an embodiment of the third aspect of the present application includes: a processor, a memory, a communication interface and a communication bus, and the processor, the memory and the communication interface communicate with each other through the communication bus; the memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform operations corresponding to the alarm method of the embodiment of the first aspect.

[0086] Reference Figure 6 , shows a schematic diagram of the structure of an electronic device according to an embodiment of the third aspect of the present application. The specific embodiments of the present application do not limit the specific implementation of the electronic device.

[0087] like Figure 6 As shown, the electronic device may include: a processor (processor) 602 , a communication interface (Communications Interface) 604 , a memory (memory) 606 , and a communication bus 608 .

[0088] in:

[0089] The processor 602 , the communication interface 604 , and the memory 606 communicate with each other via a communication bus 608 .

[0090] The communication interface 604 is used to communicate with other electronic devices or servers.

[0091] The processor 602 is used to execute the program 610, and specifically can execute the relevant steps in the above-mentioned alarm method embodiment.

[0092] Specifically, the program 610 may include program codes, which include computer operation instructions.

[0093] The processor 602 may be a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application. The one or more processors included in the smart device may be processors of the same type, such as one or more CPUs; or processors of different types, such as one or more CPUs and one or more ASICs.

[0094] The memory 606 is used to store the program 610. The memory 606 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.

[0095] The program 610 may be specifically configured to enable the processor 602 to perform the following operations:

[0096] The specific implementation of each step in program 610 can refer to the corresponding description of the corresponding steps and units in the above-mentioned alarm method embodiment, which will not be repeated here. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process of the above-described devices and modules can refer to the corresponding process description in the above-mentioned method embodiment, which will not be repeated here.

[0097] The above alarm method can be effectively implemented through the electronic device of this embodiment. The target business link can be processed and the buried data can be obtained, and the business data of the target business link can be calculated in real time. By comparing the real-time business data with the rule configuration data, it can be understood whether the current operating status of the target business link meets the requirements, and problems in the operation of the target business link can be quickly discovered, which is convenient for rapid response and location of problems, and improves the efficiency of rapid troubleshooting of problems in the target business link. Combined with the alarm rules, the problems that arise can be quickly and effectively handled automatically.

[0098] The alarm method of this embodiment can be executed by any appropriate electronic device with data processing capability, including but not limited to: a server, a mobile terminal (such as a mobile phone, a PAD, etc.) and a PC, etc.

[0099] According to a computer storage medium of the fourth aspect embodiment of the present application, a computer program is stored thereon, and when the program is executed by a processor, the alarm method of the first aspect embodiment of the present application is implemented.

[0100] It should be pointed out that, according to the needs of implementation, the various components / steps described in the embodiments of the present application can be split into more components / steps, or two or more components / steps or partial operations of components / steps can be combined into new components / steps to achieve the purpose of the embodiments of the present application.

[0101] The above-mentioned method according to the embodiment of the present application can be implemented in hardware, firmware, or implemented as software or computer code that can be stored in a recording medium (such as a CDROM, RAM, floppy disk, hard disk or magneto-optical disk), or implemented as a computer code originally stored in a remote recording medium or a non-temporary machine-readable medium downloaded through a network and to be stored in a local recording medium, so that the method described herein can be stored in such software processing on a recording medium using a general-purpose computer, a dedicated processor or programmable or dedicated hardware (such as an ASIC or FPGA). It can be understood that a computer, a processor, a microprocessor controller or programmable hardware includes a storage component (e.g., RAM, ROM, flash memory, etc.) that can store or receive software or computer code, and when the software or computer code is accessed and executed by a computer, a processor or hardware, the alarm method described herein is implemented. In addition, when a general-purpose computer accesses the code for implementing the alarm method shown herein, the execution of the code converts the general-purpose computer into a dedicated computer for executing the alarm method shown herein.

[0102] Those of ordinary skill in the art will appreciate that the units and method steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the embodiments of the present application.

[0103] The above implementation methods are only used to illustrate the embodiments of the present application, and are not limitations on the embodiments of the present application. Ordinary technicians in the relevant technical field can make various changes and modifications without departing from the spirit and scope of the embodiments of the present application. Therefore, all equivalent technical solutions also belong to the scope of the embodiments of the present application. The scope of patent protection of the embodiments of the present application should be limited by the claims.

Claims

1. An alarm method, characterized in that: The method comprises: Performing tracking processing on the target service link to obtain corresponding tracking data, and configuring alarm rules for the target service link to obtain rule configuration data; Performing real-time calculation on the service data of the target service link to obtain a real-time calculation result, and comparing the real-time calculation result with the rule configuration data to obtain comparison result data; Based on the comparison result data and the alarm rule, the business data is processed.

2. The method according to claim 1, characterized in that The step of performing tracking processing on the target service link to obtain corresponding tracking data includes: The target points of the target service link are configured to obtain corresponding point data.

3. The method according to claim 1, characterized in that The process of performing real-time calculation on the service data of the target service link to obtain a real-time calculation result, and comparing the real-time calculation result with the rule configuration data to obtain comparison result data includes: receiving the service data of the target service link in real time, and storing the service data in a message middleware for real-time calculation to obtain the real-time calculation result; The real-time calculation result is compared with the rule configuration data to obtain the comparison result data.

4. The method according to claim 1, characterized in that The processing of the business data based on the comparison result data and the alarm rule includes: If the comparison result does not meet the alarm rule, the comparison result is discarded; If the comparison result meets the alarm rule, a corresponding alarm message is generated, and the alarm message is stored and sent to the client and the server.

5. An alarm system, characterized in that: The alarm method according to any one of claims 1 to 4, wherein the alarm system comprises: A configuration module, used to perform tracking processing on the target service link to obtain corresponding tracking data, and configure corresponding alarm rules for the target service link to obtain rule configuration data; A real-time processing module, used for performing real-time calculation on the service data of the target service link to obtain a real-time calculation result, and comparing the real-time calculation result with the rule configuration data to obtain comparison result data; An alarm module is used to process the business data based on the comparison result data and the alarm rules.

6. The system according to claim 5, characterized in that The configuration module is also used to perform point configuration on the target point of the target service link to obtain corresponding point data.

7. The system according to claim 5, characterized in that The real-time processing module is also used to receive the service data of the target service link in real time, and store the service data in the message middleware for real-time calculation to obtain the real-time calculation result; The real-time calculation result is compared with the rule configuration data to obtain the comparison result data.

8. The system according to claim 5, characterized in that The alarm module is further configured to discard the comparison result if the comparison result does not meet the alarm rule; The alarm module is also used to generate corresponding alarm information if the comparison result meets the alarm rule, and store and send the alarm information to the client and the server.

9. An electronic device, comprising: A processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; The memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform an operation corresponding to the alarm method according to any one of claims 1-4.

10. A computer storage medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the alarm method according to any one of claims 1 to 4.