Alarm rule adjustment method, cloud management platform, storage medium and program product
By directly modifying and reversely correcting the cloud-side alarm rules on edge devices, timely adjustment and unified update of alarm rules are achieved, solving the problems of lag in the adjustment of alarm rules and frequent false alarms in the existing technology, and improving the accuracy of alarms and operation and maintenance efficiency.
Patent Information
- Application Number
- CN202310952546.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-05-04
- Filing Date
- 2023-07-31
- Publication Date
- 2024-11-05
AI Technical Summary
In the prior art, in business monitoring and alarm, there is a lag in the adjustment of alarm rules, resulting in frequent false alarms and high calibration costs, which affects the accuracy of alarms.
Provide an alarm rule adjustment method, allowing users to directly modify alarm rules on edge devices and feedback adjustments to the cloud management platform to achieve timely updates and unified adjustments of alarm rules and improve alarm accuracy.
Through real-time adjustments on edge devices and synchronous updates of cloud platforms, the accuracy of alarm rules is significantly improved, centralized operation and maintenance management costs are reduced, and the timeliness and accuracy of alarm information is improved.
Smart Images

Figure CN118900236A_ABST
Abstract
Description
[0001] This application claims the priority of the Chinese patent application filed with the State Intellectual Property Office on May 4, 2023, with application number 202310492568.9 and application name “A rule update method and cloud management platform based on cloud-edge collaborative technology”, all contents of which are incorporated by reference in this application. Technical Field
[0002] The present application relates to the field of cloud computing technology, and in particular to an alarm rule adjustment method, a cloud management platform, a device, a storage medium, and a program product. Background Art
[0003] At present, more and more companies are beginning to realize the importance of monitoring and alarming their businesses. By monitoring and alarming their businesses, companies can locate and handle faults in a timely manner, thereby helping their businesses to operate continuously. Among them, when monitoring and alarming their businesses, enterprise users can pre-set the alarm rules corresponding to the monitored objects in the cloud data center. The cloud data center can send the alarm rules to the edge devices. Subsequently, the data source devices in the enterprise can upload the monitoring data of the monitored objects to the edge devices. The edge devices determine whether the monitoring data meets the corresponding alarm rules, and then generate alarm information if the alarm rules are met, and report the alarm information to the cloud data center. It can be seen that the accuracy of the alarm rules directly affects the accuracy of the alarm information.
[0004] In the related art, the technicians can collect information of multiple false alarms, and then adjust the alarm rules preset in the cloud data center according to the false alarm information. This adjustment method has a certain lag, and the adjustment is not timely, which leads to a high calibration cost of the alarm rules. Summary of the invention
[0005] The present application provides an alarm rule adjustment method, a cloud management platform, a storage medium and a program product, which can realize timely adjustment of alarm rules and improve alarm accuracy.
[0006] In order to achieve the above objectives, this application adopts the following technical solutions:
[0007] In a first aspect, a method for adjusting an alarm rule is provided, which can be applied to a cloud management platform, wherein the cloud management platform is used to manage an infrastructure, wherein the infrastructure stores alarm rules corresponding to multiple monitoring objects, and the cloud management platform is used to issue corresponding alarm rules to edge devices that monitor each monitoring object, and each edge device is used to monitor at least one monitoring object based on the alarm rules issued by the cloud management platform. The method comprises: receiving a second alarm rule sent by a first edge device, wherein the second alarm rule is generated by the first edge device based on a modification operation of a first alarm rule of a first monitoring object by a user; updating the alarm rule corresponding to the first monitoring object stored in the infrastructure based on the second alarm rule to obtain a third alarm rule, synchronizing the second edge device of the third alarm rule, and the second edge device is used to monitor the second monitoring object according to the third alarm rule.
[0008] In this application, users can adjust the alarm rules on the edge device, and the edge device will feed back the adjusted alarm rules to the cloud management platform. The cloud management platform will update the alarm rules stored in the infrastructure it manages based on the adjusted alarm rules fed back by the edge device, and synchronize the updated alarm rules to other edge devices. That is, in this application, the alarm rules can be directly modified on the edge device and the alarm rules on the cloud side can be reversed to achieve timely adjustment of the alarm rules and improve the accuracy of the alarm. In addition, this application can use the user's experience advantage to jointly adjust the alarm rules on each edge device. In this way, in the case of different users corresponding to different edge devices, the experience of different users can be fed back to each edge device. Finally, through mutual adjustment, the accuracy of the alarm rules can be maximized, thereby saving the cost of centralized operation and maintenance management.
[0009] Optionally, the method further includes: determining the second monitoring object in the infrastructure that has the same alarm rule as the first monitoring object; and determining the second edge device based on the second monitoring object. That is, the cloud management platform can synchronize the updated alarm rules to the second edge device corresponding to the second monitoring object that has the same alarm rule as the first monitoring object, so as to achieve unified adjustment of the alarm rules in the edge devices and improve the adjustment efficiency.
[0010] Optionally, the first monitored object and the second monitored object are monitored objects of the same type in the same business scenario.
[0011] In the present application, since the monitoring requirements of the same type of monitoring objects with the same alarm rules in the same business scenario are usually the same, the cloud management platform can synchronize the updated alarm rules to the second edge device corresponding to the second monitoring object of the same type in the same business scenario with the same alarm rules as the first monitoring object, so as to achieve unified adjustment of the alarm rules in the edge devices and improve adjustment efficiency and accuracy.
[0012] Optionally, the implementation process of synchronizing the third alarm rule to the second edge device may include: sending the third alarm rule to the second edge device, and the second edge device is used to update the alarm rule of the second monitored object to the third alarm rule when detecting a user's confirmation update operation.
[0013] In the present application, after the cloud management platform sends the updated alarm rules to the second edge device, the user of the second edge device can confirm whether to update, which is more flexible and can make the alarm rules on each edge device more accurately applicable.
[0014] Optionally, the method further includes: synchronizing the third alarm rule to the first edge device, wherein the first edge device is configured to monitor the first monitoring object according to the third alarm rule.
[0015] In the present application, after the cloud management platform adjusts the alarm rules stored in the infrastructure to obtain the third alarm rules based on the second alarm rules adjusted by the first edge device, the third alarm rules can also be synchronously updated to the first edge device. In this way, the uniformity of the alarm rules for the same monitoring object in the cloud side and the edge device can be ensured.
[0016] Optionally, the method further includes: receiving alarm information of the first monitored object sent by the first edge device; and sending an alarm notification to a user terminal based on the alarm information of the first monitored object.
[0017] Optionally, the method further includes: receiving alarm processing information for alarm information of the first monitored object sent by the first edge device; and synchronizing the alarm processing information to the second edge device.
[0018] In the present application, the cloud management platform can synchronize the alarm processing information for the first monitoring object fed back by the first edge device to other edge devices, so that it can help users quickly locate and handle problems when other edge devices generate the same alarm information.
[0019] In a second aspect, a method for adjusting an alarm rule is provided, which is applied to a first edge device, wherein the first edge device is used to monitor the first monitoring object based on the alarm rule of the first monitoring object issued by a cloud management platform, and the cloud management platform is used to manage infrastructure, in which alarm rules corresponding to multiple monitoring objects are stored. The method includes: displaying a first alarm rule for the first monitoring object; generating a second alarm rule based on a user's modification operation on the first alarm rule; and sending the second alarm rule to the cloud management platform, wherein the cloud management platform is used to update the alarm rule corresponding to the first monitoring object stored in the infrastructure based on the second alarm rule.
[0020] In this application, the edge device can display the alarm rules for users to modify, and update the alarm rules on the cloud side through the alarm rules modified by the user. That is, in this application, the alarm rules can be directly modified on the edge device and the alarm rules in the cloud management platform can be reversed to achieve timely adjustment of the alarm rules and improve the accuracy of the alarm.
[0021] Optionally, the method also includes: receiving a third alarm rule sent by the cloud management platform, the third alarm rule being an alarm rule after the cloud management platform updates the alarm rule corresponding to the first monitoring object based on the second alarm rule, and the third alarm rule is different from the second alarm rule; updating the alarm rule of the first monitoring object to the third alarm rule.
[0022] In this application, the first edge device can receive the updated alarm rules synchronized by the cloud management platform, so that the alarm rules on the first edge device can be adjusted in conjunction with the experience advantages of users of other edge devices. On this basis, when different edge devices correspond to different users, the experience of different users can be fed back to each edge device, and ultimately through mutual adjustment, the accuracy of the alarm rules can be maximized, thereby saving the cost of centralized operation and maintenance management.
[0023] Optionally, updating the alarm rule of the first monitored object to the third alarm rule includes: in response to the user's confirmation update operation on the third alarm rule, updating the alarm rule of the first monitored object to the third alarm rule.
[0024] In the present application, after the first edge device receives the updated alarm rules issued by the cloud management platform, the user can confirm whether to update it. This is more flexible and can make the alarm rules on the first edge device more accurately applicable.
[0025] Optionally, the first alarm rule includes at least one alarm condition, and the modification operation includes: at least one of an alarm condition modification operation, an alarm condition deletion operation and an alarm condition addition operation.
[0026] Optionally, the method also includes: if the monitoring data of the first monitored object satisfies the first alarm rule, displaying a first alarm message; in response to the user's first operation on the first alarm message, executing the step of displaying the first alarm rule, the first operation being used to confirm that the first alarm message is a false alarm message.
[0027] In this application, after the edge device displays the alarm information based on the alarm rules, the user can confirm whether the alarm information is accurate. If the user confirms that the alarm information is incorrect, the corresponding alarm rules can be adjusted directly on the edge device and the alarm rules on the cloud side can be updated, so that the alarm rules can be adjusted more timely.
[0028] Optionally, the method also includes: if the monitoring data of the first monitoring object satisfies the second alarm rule, displaying a second alarm message; in response to the user's second operation on the second alarm message, receiving alarm processing information for the second alarm message input by the user, the second operation being used to confirm that the second alarm message is correct alarm information; and sending the second alarm message and the alarm processing information to the cloud management platform.
[0029] In this application, after displaying the alarm information, the edge device can also receive the alarm processing information for the alarm information fed back by the user, and feed the alarm processing information back to the cloud management platform. In this way, the cloud management platform can distribute the alarm processing information to other edge devices used to monitor the same type of monitoring objects in the same business scenario, thereby helping users to quickly locate and handle problems when other edge devices generate the same alarm information.
[0030] In a third aspect, a cloud management platform is provided, the cloud management platform comprising at least one module, and the at least one module is used to execute the alarm rule adjustment method described in the first aspect.
[0031] In a fourth aspect, an edge device is provided, the edge device comprising at least one module, and the at least one module is used to execute the alarm rule adjustment method described in the second aspect.
[0032] In a fifth aspect, an alarm rule adjustment system is provided, the alarm rule adjustment system comprising a cloud management platform and a plurality of edge devices. The cloud management platform is used to manage the infrastructure, the infrastructure stores alarm rules corresponding to a plurality of monitoring objects, the cloud management platform is used to issue corresponding alarm rules to the edge devices that monitor each monitoring object, each edge device is used to monitor at least one monitoring object based on the alarm rules issued by the cloud management platform, on this basis, the cloud management platform is used to execute the alarm rule adjustment method described in the first aspect above, and each edge device can be used to execute the alarm rule adjustment method described in the second aspect above.
[0033] Optionally, the alarm rule adjustment system further includes a data source device corresponding to each edge device, wherein each data source device is used to provide monitoring data of a monitored object to the corresponding edge device.
[0034] In a sixth aspect, a computing device is provided, comprising a processor. When the computing device is a cloud management platform, the processor is used to execute at least one program instruction or code stored in a memory to implement the alarm rule adjustment method described in the first aspect; when the computing device is an edge device, the processor is used to execute at least one program instruction or code stored in the memory to implement the alarm rules described in the second aspect.
[0035] In a seventh aspect, a computer-readable storage medium is provided, wherein instructions are stored in the computer-readable storage medium. When the instructions are executed on a computing device, the computing device executes the alarm rule adjustment method described in the first aspect or the second aspect.
[0036] In an eighth aspect, a computer program product comprising instructions is provided. When the computer program product is run on a computer, the computer executes the alarm rule adjustment method described in the first aspect or the second aspect.
[0037] The technical effects obtained in the above-mentioned third to eighth aspects are similar to the technical effects obtained by the corresponding technical means in the first and second aspects, and will not be repeated here.
[0038] In an embodiment of the present application, the cloud management platform can receive the second alarm rule sent by the first edge device, and based on the second alarm rule, update the alarm rule corresponding to the first monitoring object stored in the infrastructure to obtain a third alarm rule, and then synchronize the third alarm rule to other edge devices. Among them, the second alarm rule is generated by the first edge device based on the user's modification operation on the first alarm rule of the first monitoring object. It can be seen that in the embodiment of the present application, the alarm rules can be directly modified on the edge device and the alarm rules on the cloud side can be reversed, and then the alarm rules on each edge device can be adjusted in a linked manner. In this way, not only can the alarm rules be adjusted in a timely manner, but also the user experience can be used to link and adjust the alarm rules on each edge device, which can maximize the accuracy of the alarm rules, thereby saving the cost of centralized operation and maintenance management. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 An architecture diagram of a network system involved in an alarm rule adjustment method provided in an embodiment of the present application;
[0040] Figure 2 A schematic diagram of the structure of a computing device provided in an embodiment of the present application;
[0041] Figure 3 A flowchart of a method for formulating alarm rules for a cloud management platform provided in an embodiment of the present application;
[0042] Figure 4 A flowchart of an alarm rule adjustment method provided in an embodiment of the present application;
[0043] Figure 5 A schematic diagram of displaying an alarm rule based on a user's operation on an alarm message provided in an embodiment of the present application;
[0044] Figure 6 An example diagram of a process for adjusting alarm rules provided in an embodiment of the present application;
[0045] Figure 7 A schematic diagram of the structure of a cloud management platform provided in an embodiment of the present application;
[0046] Figure 8 A schematic diagram of the structure of an edge device provided in an embodiment of the present application;
[0047] Fig. 9 A schematic diagram of a software system for adjusting alarm rules provided in an embodiment of the present application. DETAILED DESCRIPTION
[0048] In order to make the objectives, technical solutions and advantages of the embodiments of the present application clearer, the implementation methods of the present application will be further described in detail below in conjunction with the accompanying drawings.
[0049] Before explaining the embodiments of the present application in detail, the application scenarios involved in the embodiments of the present application are first introduced.
[0050] At present, more and more enterprises are beginning to realize the importance of monitoring and alarming services. By monitoring and alarming services, enterprises can locate and handle faults in a timely manner, thereby helping enterprises to operate their businesses continuously. For example, in industrial production scenarios, various production data such as hardware data of equipment at the production site, software running data on the equipment, environmental data, and product data can be collected, and whether to trigger an alarm is determined by judging whether the production data meets the preset alarm rules, so as to promptly remind users to handle the problem and ensure normal production. For another example, in a network operation and maintenance scenario, performance data of network devices in a specified network can be collected, and whether to trigger an alarm is determined by judging whether the performance data of the network devices meets the preset alarm rules, so as to remind operation and maintenance personnel to perform network maintenance. In scenarios such as these, the accuracy of the alarm rules directly affects the accuracy of the alarm. The alarm rule adjustment method provided in the embodiment of the present application can be applied to various possible monitoring and alarm scenarios such as the above to achieve timely adjustment of the alarm rules, thereby improving the accuracy of the alarm.
[0051] Next, the nouns involved in the embodiments of the present application are explained.
[0052] (1) Monitoring objects
[0053] The monitoring object refers to the object to be monitored. In the embodiment of the present application, the monitoring object may be hardware equipment, software, production data, network, etc.
[0054] (2) Alarm rules
[0055] An alarm rule may refer to an alarm strategy set for a monitored object. Among them, an alarm rule may include at least one alarm condition, and in addition, may also include alarm information. An alarm condition may refer to a condition set for a certain monitoring parameter of a monitored object, and an alarm may be triggered when the collected data of the monitoring parameter meets the alarm condition.
[0056] (3) Cloud Management Platform
[0057] The cloud management platform is deployed in the cloud data center to uniformly manage the cloud data center infrastructure. The cloud data center refers to an entity that uses infrastructure to provide cloud services to users in the cloud computing model. The cloud management platform can be used to provide users with access interfaces to access the infrastructure in the cloud data center. For example, users can purchase and use the resources provided by the cloud data center infrastructure through the cloud management platform.
[0058] (4) Infrastructure
[0059] Infrastructure refers to the facilities deployed in the cloud data center to provide computing resources, storage resources, network resources, etc. For example, the infrastructure used to provide computing resources and storage resources can be a large number of servers.
[0060] (5) Edge devices
[0061] Edge devices refer to devices deployed in edge environments. The so-called edge environment refers to a data center or a collection of multiple computing devices in a specific application scenario. For example, an edge device can be a computing device deployed in a data center of an enterprise.
[0062] Next, the system architecture involved in the alarm rule adjustment method provided in the embodiment of the present application is introduced.
[0063] Figure 1 1 is an architecture diagram of a network system involved in an alarm rule adjustment method provided in an embodiment of the present application. Figure 1 As shown, the network system includes a cloud management platform 101, an infrastructure 102, and multiple edge devices (such as Figure 1 ) and multiple data source devices (such as edge devices 103a to 103c shown in FIG. Figure 1 The cloud management platform 101 is used to manage the infrastructure 102, and the cloud management platform 101 can communicate with each edge device, and each edge device can communicate with the corresponding data source device. Figure 1 As shown, the edge device 103a can communicate with the data source device 104a, the edge device 103b can communicate with the data source device 104b, and the edge device 103c can communicate with the data source device 104c.
[0064] In an embodiment of the present application, the cloud management platform 101 is used to receive the alarm rules set by the user for the monitoring object, store the alarm rules in the infrastructure 102, and issue the alarm rules to the edge device that monitors the monitoring object. The data source device is used to provide the monitoring data of the monitoring object to the corresponding edge device. The edge device is used to determine whether to trigger an alarm based on the alarm rules of the monitoring object issued by the cloud management platform 101 and the monitoring data reported by the corresponding data source device, so as to realize the monitoring of the corresponding monitoring object.
[0065] For example, Figure 1As shown, it is assumed that edge devices 103a to 103c are used to monitor the operating conditions of data source devices 104a to 104c in the same scene, that is, data source devices 104a to 104c are monitoring objects. In this case, the cloud management platform 101 can send the alarm rules pre-set by the user for data source devices 104a to 104c to the corresponding edge devices, so that each edge device can determine whether to alarm the corresponding data source device based on the alarm rules and the monitoring data reported by the corresponding data source device. For example, taking edge device 103a as an example, edge device 103a can receive the monitoring data reported by data source device 104a, and determine whether the monitoring data meets the alarm rules. If the alarm rules are met, edge device 103a generates alarm information for the data source device 104a.
[0066] It should be noted that, in an embodiment of the present application, alarm rules corresponding to multiple monitoring objects are stored in the infrastructure. After the cloud management platform 101 sends the alarm rules to the edge device, the edge device can display the alarm rules for the user to modify, and update the alarm rules stored in the infrastructure 102 through the alarm rules modified by the user. For example, after the edge device 103a generates the alarm information of the data source device 104a, the edge device 103a can display the alarm information for the user to confirm. If the edge device 103a detects that the user confirms that the alarm information is incorrect, the alarm rules can be displayed for the user to modify. That is, in an embodiment of the present application, the user can directly modify the alarm rules on the edge device and reversely correct the alarm rules in the infrastructure 102 managed by the cloud management platform 101, so as to achieve timely adjustment of the alarm rules and improve the accuracy of the alarm.
[0067] Optionally, in an embodiment of the present application, after any edge device updates the alarm rules through the alarm rules modified by the user, the cloud management platform 101 can also synchronously update the updated alarm rules to other edge devices.
[0068] Optionally, in the embodiment of the present application, the network system may further include a user terminal 105, and the user terminal 105 may communicate with the cloud management platform 101. In this way, after generating the alarm information, the edge device may report the alarm information to the cloud management platform 101, and the cloud management platform 101 may send an alarm notification to the user terminal 105 based on the alarm information.
[0069] It should be noted that the above-mentioned cloud management platform is deployed in a cloud data center and is used to uniformly manage the infrastructure of the cloud data center. Among them, a cloud data center refers to an entity that uses infrastructure to provide cloud services to users in a cloud computing model. The infrastructure of a cloud data center may include facilities for providing computing resources, storage resources, and network resources. Among them, the facilities for providing computing resources may be a large number of computing devices, such as servers. Among them, multiple virtual machines may be deployed on each server. The cloud management platform is used to provide users with an access interface to access the infrastructure in the cloud data center. For example, users can purchase resources provided by the infrastructure of the cloud data center through the cloud management platform. For example, after purchasing virtual machine resources, users can create, manage, log in, and operate virtual machines on servers in the cloud data center through the cloud management platform.
[0070] The above-mentioned edge devices may be devices deployed in an edge environment. The so-called edge environment refers to a set of devices including one or more computing devices in a certain application scenario. Among them, the one or more computing devices may be computing devices in a data center or computing devices in multiple data centers. For example, the above-mentioned edge devices 103a to 103c may be computing devices deployed in a data center of an enterprise.
[0071] The above-mentioned data source device can be a terminal device deployed in an enterprise for providing monitoring data of a monitoring object, such as an Internet of Things device. Among them, the data source device can be the device to be monitored, that is, the data source device is the monitoring object. For example, the data source device is a production device located at the production site of the enterprise to be monitored. Alternatively, the monitoring object can be running on the data source device, for example, if the monitoring object is an application software, the application software can be running on the data source device. Alternatively, the data source device can be a device deployed in an enterprise for collecting monitoring data of a monitoring object, for example, a sensor deployed at a production site for collecting environmental data, etc. The embodiments of the present application do not limit the specific type of the data source device.
[0072] In addition, the user terminal may be a user device such as a smart phone, a tablet computer, a personal computer, etc. The user terminal may be installed with a cloud service client, through which the user can remotely access the cloud management platform, log in to the virtual machine created by the user in the cloud data center through the cloud management platform, and then configure and run his own application on the virtual machine. For example, the user can log in to the virtual machine created by the user in the cloud data center through the cloud service client, and set alarm rules for the monitored object. In addition, the user can also receive alarm notifications sent by the cloud management platform through the cloud service client.
[0073] Figure 2Schematic diagram of a computing device shown in an embodiment of the present application. Figure 1 The edge device or cloud management platform shown in Figure 2 The computing device shown is implemented. Figure 2 As shown, the computing device may include at least one processor 201, a communication bus 202, a memory 203, and at least one communication interface 204. It should be noted that: Figure 2 The device structure shown does not constitute a limitation on the computing device. The computing device may include more or fewer components than shown, or combine certain components, or arrange the components differently, which is not limited in the embodiments of the present application. Figure 2 A detailed introduction to the various components of a computing device:
[0074] Processor 201 is the control center of the computing device, which can be a processor or a general term for multiple processing elements. For example, processor 201 can be a general-purpose central processing unit (CPU), or an application-specific integrated circuit (ASIC), or one or more integrated circuits used to control the execution of the program of the present application, such as: one or more microprocessors (digital signal processor, DSP), or, one or more field programmable gate arrays (field programmable gate array, FPGA). Among them, processor 201 can perform various functions of the computing device by running or executing software programs stored in memory 203, and calling data stored in memory 203. For example, Figures 3 to 6 In the illustrated embodiment, the actions of the edge device or the cloud management platform can be executed by the processor of the corresponding device calling the data in the memory.
[0075] As an embodiment, the processor 201 may include one or more CPUs, such as Figure 2 CPU0 and CPU1 are shown in the figure.
[0076] As an example, a computing device may include multiple processors, such as Figure 2 201 and processor 205 shown in FIG. Each of these processors may be a single-CPU processor or a multi-CPU processor. A processor herein may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).
[0077] The communication bus 202 may include a path to transmit information between the above components. The communication bus 202 may be an industry standard architecture (ISA) bus, a peripheral component interconnect (PCI) bus, or an extended industry standard architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 2 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0078] The memory 203 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of an instruction or data structure and can be accessed by a computer, but is not limited thereto. The memory 203 may exist independently and be connected to the processor 201 via the communication bus 202. The memory 203 may also be integrated with the processor 201. Among them, the memory 203 is used to store the software program that executes the solution provided in the embodiment of the present application, and is controlled and executed by the processor 201.
[0079] The communication interface 204 is used to communicate with other devices or communication networks, such as Ethernet, RAN, wireless local area networks (WLAN), etc. The communication interface 204 may include a receiving unit to implement a receiving function, and a sending unit to implement a sending function.
[0080] As an embodiment, the computing device may further include an output device 206 and an input device 207. The output device 206 communicates with the processor 201 and may display information in a variety of ways. For example, the output device 206 may be a liquid crystal display (LCD), a light emitting diode (LED) display device, a cathode ray tube (CRT) display device, or a projector. The input device 207 communicates with the processor 201 and may receive input in a variety of ways. For example, the input device 207 may be a mouse, a keyboard, a touch screen device, or a sensor device.
[0081] The computing device mentioned above may be a general computing device or a special computing device, for example, a desktop computer, a portable computer, a network server, etc., which is not limited in the embodiments of the present application.
[0082] In the embodiment of the present application, the user can set alarm rules for the monitored object in advance through the cloud management platform. Afterwards, the cloud management platform can send the alarm rules set by the user to the edge device, so that the edge device can monitor and alarm the monitoring data of the monitored object based on the alarm rules, and adjust the alarm rules based on user operations. Based on this, before introducing the alarm rule adjustment method provided in the embodiment of the present application, the process of generating and sending alarm rules by the cloud management platform is first introduced. Figure 3 , the process may include the following steps:
[0083] Step 301: Receive alarm rule configuration parameters corresponding to a first monitoring object and a second monitoring object.
[0084] In an embodiment of the present application, a user can set the same alarm rules for multiple monitoring objects of the same type in the same scenario. The so-called same scenario may refer to the same business scenario, and the monitoring object may be hardware equipment, software, etc. For example, for multiple production equipment of the same type that perform the same operation in the same or different production workshops in an enterprise, such as multiple CNC machine tools, since the multiple CNC machine tools have the same equipment attributes, and the equipment attributes of the multiple CNC machine tools will have the same impact on the business data of production volume, the same alarm rules can be set for the multiple CNC machine tools.
[0085] Taking the case where multiple monitoring objects of the same type in the same business scenario are the first monitoring object and the second monitoring object as an example, the user can input the alarm rule configuration parameters corresponding to the first monitoring object and the second monitoring object on the user terminal. After receiving the alarm rule configuration parameters, the user terminal sends the alarm rule configuration parameters to the cloud management platform.
[0086] A cloud service client may be installed on the user terminal, and an alarm rule configuration page provided by the cloud management platform may be displayed in the cloud service client. The user may input alarm rule configuration parameters in the alarm rule configuration page.
[0087] Exemplarily, the alarm rule configuration parameter may include an object identifier of a first monitoring object and an object identifier of a second monitoring object, wherein each object identifier may be used to identify a corresponding monitoring object. For example, when the monitoring object is a hardware device, the object identifier of the monitoring object may be a device identifier of the hardware device.
[0088] In addition, the alarm rule configuration parameters may also include at least one set of condition configuration parameters, wherein each set of condition configuration parameters is used to generate an alarm condition, and each set of condition configuration parameters includes at least one monitoring parameter and a threshold value corresponding to each monitoring parameter. Among them, the monitoring parameters can be set according to the attributes of the monitored object and the business requirements. For example, when the first monitoring object and the second monitoring object are two CNC machine tools, the device temperature and the rotation speed are both device attributes of the CNC machine tools, and the device temperature and the rotation speed will work together to affect the production volume. Based on this, the device temperature and the rotation speed can be used as two monitoring parameters in a set of condition configuration parameters. The threshold value corresponding to the monitoring parameter can also be set according to the business requirements and the attributes of the monitored object. For example, the temperature threshold value corresponding to the device temperature of the CNC machine tool can be set according to the device temperature required under the specified business requirements and the device temperature allowed by the CNC machine tool. Among them, the threshold value corresponding to the monitoring parameter may include the maximum threshold value and / or the minimum threshold value corresponding to the monitoring parameter.
[0089] Optionally, the alarm rule configuration parameter may further include alarm description information corresponding to each group of condition configuration parameters. The alarm description information may be set according to the business affected by the corresponding condition configuration parameter. For example, if the equipment temperature and rotation speed affect the production volume, the alarm description information corresponding to the group of condition configuration parameters may be used to describe the impact on the production volume. Optionally, the alarm description information may further include alarm level information, which may be used to indicate the severity of the alarm. For example, the alarm level information may include severe alarm, normal alarm, etc.
[0090] Optionally, since different users may set the same condition configuration parameters for the same type of monitoring objects in different business scenarios, the alarm rules generated in the end may be the same. Therefore, in order to distinguish the alarm rules of monitoring objects in different business scenarios, the alarm rule configuration parameters input by the user may also include a business scenario identifier. The business scenario identifier is used to identify a certain business scenario, for example, the business scenario identifier may be an enterprise identifier, an identifier of the environment in which the monitoring object is located, and the like.
[0091] Optionally, the alarm rule configuration parameters may also include a type identifier of the first monitoring object and the second monitoring object, and the type identifier is used to identify the object type of the monitoring object. For example, when the first monitoring object and the second monitoring object are two CNC machine tools, the type identifier of the first monitoring object and the second monitoring object may be identification information indicating that the first monitoring object and the second monitoring object are CNC machine tools.
[0092] Step 302: Based on the alarm rule configuration parameters, generate alarm rules corresponding to the first monitoring object and the second monitoring object.
[0093] After receiving the alarm rule configuration parameters, the cloud management platform generates corresponding alarm conditions according to each group of condition configuration parameters included in the alarm rule configuration parameters, and then generates alarm rules based on the generated alarm conditions.
[0094] Among them, taking any group of conditional configuration parameters as an example, the cloud management platform can generate corresponding conditional expressions based on each monitoring parameter in the group of conditional configuration parameters and the threshold value corresponding to the monitoring parameter, and generate alarm conditions based on the generated conditional expressions. For example, the monitoring parameters included in the conditional configuration parameters are device temperature and rotation speed, the temperature threshold corresponding to the device temperature is the maximum temperature threshold of 50°C, and the rotation speed threshold corresponding to the rotation speed is the minimum rotation speed threshold of 10 revolutions per minute (r / min), then the alarm condition generated by the cloud management platform based on the conditional configuration parameters can be T>50°C and R<10r / min. That is, if the device temperature monitoring value is greater than 50°C and the rotation speed monitoring value is less than 10r / min, an alarm is triggered.
[0095] After generating alarm conditions corresponding to each group of condition configuration parameters, the cloud management platform can use the at least one alarm condition as the alarm rule corresponding to the first monitoring object and the second monitoring object, and store the object identifier of the first monitoring object, the object identifier of the second monitoring object and the alarm rule included in the alarm rule configuration parameters in the infrastructure.
[0096] Optionally, when the alarm rule configuration parameters also include type identifiers of the first monitoring object and the second monitoring object, the cloud management platform may also store the type identifier, the object identifier of the first monitoring object, the object identifier of the second monitoring object and the alarm rule correspondingly in the infrastructure.
[0097] Optionally, when the alarm rule configuration parameters also include a business scenario identifier, the cloud management platform may also store the business scenario identifier, the object identifier of the first monitoring object, the object identifier of the second monitoring object, and the alarm rule in the infrastructure accordingly.
[0098] Optionally, when the alarm rule configuration parameters also include alarm description information corresponding to each group of condition configuration parameters, the cloud management platform can also generate alarm information corresponding to the group of condition configuration parameters according to the alarm description information corresponding to each group of condition configuration parameters, and the alarm information is the alarm information of the alarm condition corresponding to the group of condition configuration parameters. In this case, the alarm rule can also include alarm information corresponding to each alarm condition.
[0099] Step 303: Send alarm rules corresponding to the first monitoring object and the second monitoring object to the first edge device and the second edge device.
[0100] After generating alarm rules corresponding to the first monitoring object and the second monitoring object, the cloud management platform may send the alarm rules to a first edge device for monitoring the first monitoring object and a second edge device for monitoring the second monitoring object.
[0101] Among them, the cloud management platform or infrastructure may store a mapping relationship between the object identification of the monitored object and the device information of the corresponding edge device. Among them, the device information of the edge device may include the identification information of the edge device, for example, the device identification, network address, etc. of the edge device. The mapping relationship may be pre-configured, or each alarm rule configuration parameter received by the cloud management platform may include the object identification of the monitored object and the device information of the corresponding edge device, and the mapping relationship is obtained based on each alarm rule configuration parameter. Based on this, the cloud management platform can obtain the device information of the first edge device corresponding to the object identification of the first monitored object from the above-mentioned mapping relationship. Afterwards, the cloud management platform can send the alarm rule to the first edge device based on the device information of the first edge device. Similarly, the cloud management platform can obtain the device information of the second edge device, and send the alarm rule to the second edge device based on the device information of the second edge device.
[0102] It should be noted that when sending the alarm rules corresponding to the first monitoring object and the second monitoring object to the first edge device and the second edge device, the cloud management platform can also send the object identifier of the first monitoring object and the alarm rule to the first edge device, so that the first edge device can store the object identifier of the first monitoring object and the alarm rule accordingly. The object identifier of the second monitoring object and the alarm rule are sent to the second edge device together, so that the second edge device can store the object identifier of the second monitoring object and the alarm rule accordingly.
[0103] The above is a possible implementation method for the cloud management platform to generate alarm rules based on the user's alarm rule configuration parameters given in the embodiment of the present application. Of course, the alarm rule configuration parameters can also include more information, and the cloud management platform can also adopt other implementation methods to formulate alarm rules, which is not limited by the embodiment of the present application. In addition, the above embodiment is introduced by taking the example of the user setting the same alarm rules for the first monitoring object and the second monitoring object. In some possible situations, the user can input different alarm rule configuration parameters for the first monitoring object and the second monitoring object, so that the alarm rules corresponding to the first monitoring object and the alarm rules corresponding to the second monitoring object generated by the cloud management platform may also be different.
[0104] After the cloud management platform sends the alarm rules corresponding to the first monitoring object and the second monitoring object to the first edge device and the second edge device, the first edge device and the second edge device can adjust the alarm rules based on user operations. Next, taking the first edge device adjusting the alarm rules of the first monitoring object and updating the alarm rules in the cloud management platform, and then synchronizing the updated alarm rules from the cloud management platform to the second edge device as an example, the alarm rule adjustment method provided in the embodiment of the present application is explained in detail. Figure 4 As shown, the method comprises the following steps:
[0105] Step 401: The first edge device displays a first alarm rule of a first monitoring object.
[0106] In the embodiment of the present application, the first monitoring object refers to the object to be monitored by the first edge device. For example, the first monitoring object may be a device or software to be monitored by the first edge device.
[0107] The first edge device may store the first alarm rule of the first monitoring object. The first alarm rule may be the alarm rule initially set by the user for the first monitoring object issued by the cloud management platform introduced in the aforementioned embodiment, or it may be the alarm rule of the first monitoring object that has been updated by the cloud management platform.
[0108] The alarm rule may include at least one alarm condition. For example, when the monitored object is a production device, the alarm rule of the monitored object may include an alarm condition that the device temperature is higher than a temperature threshold and the rotation speed is higher than a rotation speed threshold. That is, if the device temperature monitoring value of the production device is higher than the temperature threshold and the rotation speed monitoring value is higher than the rotation speed threshold, an alarm is triggered.
[0109] Optionally, the alarm rule may also include alarm information corresponding to the alarm condition, which is information output for alarm when the monitoring data meets the alarm condition. For example, when the alarm condition of the production equipment is that the equipment temperature is higher than the temperature threshold and the rotation speed is lower than the rotation speed threshold, the alarm information corresponding to the alarm condition may be alarm information of production volume reduction. In this way, when the equipment temperature monitoring value of the production equipment is higher than the temperature threshold and the rotation speed monitoring value is lower than the rotation speed threshold, alarm information of production volume reduction may be output.
[0110] It should be noted that, in an embodiment of the present application, the first edge device can display the first alarm rule of the first monitoring object based on the user operation, so that the user can view and / or modify the first alarm rule.
[0111] In one possible scenario, the first edge device may display the first alarm rule when detecting a user operation confirming that the first alarm information is a false alarm information, wherein the first alarm information is alarm information triggered based on the first alarm rule, and the false alarm information refers to erroneous alarm information.
[0112] Exemplarily, the first edge device can receive the monitoring data of the first monitoring object reported by the data source device, and determine whether the monitoring data of the first monitoring object meets the first alarm rule. If the monitoring data of the first monitoring object meets the first alarm rule, the first alarm information is displayed; in response to the user's first operation on the first alarm information, the first alarm rule of the first monitoring object is displayed, wherein the first operation is used to confirm that the first alarm information is a false alarm information.
[0113] Among them, the data source device corresponding to the first edge device can collect and report the monitoring data of the first monitoring object, and the monitoring data of the first monitoring object may include the monitoring values of various monitoring parameters included in each alarm condition in the first alarm rule. For example, if the monitoring parameters included in an alarm condition in the first alarm rule are device temperature and rotation speed, the monitoring data of the first monitoring object may include the device temperature monitoring value and the rotation speed monitoring value.
[0114] After receiving the monitoring data of the first monitoring object, the first edge device determines whether each monitoring value in the monitoring data satisfies the corresponding alarm condition. If the monitoring value in the monitoring data satisfies the corresponding alarm condition, the first edge device can determine that the monitoring data of the first monitoring object satisfies the first alarm rule. In this case, the first edge device can display the alarm information corresponding to the alarm condition satisfied by the monitoring value, that is, the first alarm information.
[0115] For example, the monitoring data includes device temperature monitoring values and rotational speed monitoring values, and the first alarm rule includes an alarm condition that the device temperature is higher than a temperature threshold and the rotational speed is lower than a rotational speed threshold. The first edge device can determine whether the temperature monitoring value and the rotational speed monitoring value meet the alarm condition. If the alarm condition is met, the first edge device can display the alarm information corresponding to the alarm condition.
[0116] It should be noted that, in a possible implementation, see Figure 5 , the first edge device can display the first alarm information 50 in the interactive interface, and display the confirmation option 51 and the cancel option 52 corresponding to the first alarm information. Among them, the confirmation option 51 is used to confirm that the first alarm information 50 is correct alarm information, and the cancel option 52 is used to confirm that the first alarm information 50 is false alarm information. Based on this, after the user views the first alarm information 50 displayed by the first edge device, if the user confirms that the first alarm information 50 is a false alarm information, the user can click the cancel option 52. In response to the user's click operation on the cancel option 52, the first edge device can display the first alarm rule 53 in the interactive interface for the user to view and modify. At this time, the user's click operation on the cancel option 52 is the user's operation of confirming that the first alarm information is a false alarm information, that is, the user's first operation on the first alarm information.
[0117] If the user confirms that the first alarm information is correct alarm information, the user can click the confirmation option. In response to the user's click operation on the confirmation option, the first edge device can report the first alarm information to the cloud management platform so that the cloud management platform sends an alarm notification to the user terminal based on the first alarm information. At this time, the user's click operation on the confirmation option is the user's operation of confirming that the first alarm information is correct alarm information, that is, the user's second operation on the first alarm information.
[0118] Optionally, after detecting the user's second operation on the first alarm information, the first edge device can also receive the alarm processing information for the first alarm information input by the user. For example, the first edge device can display a text input box in the interactive interface, and the user can enter the alarm processing information for the first alarm information in the text input box. Among them, the alarm processing information can be used to indicate the processing plan and suggestions for the problem indicated by the first alarm information. In this case, after receiving the alarm processing information of the first alarm information, the first edge device can send the alarm processing information together with the first alarm information to the cloud management platform. In this way, the cloud management platform can send the alarm processing information and the first alarm information to other edge devices that trigger the same alarm information, or to the edge device corresponding to the monitoring object that has the same alarm rule as the first monitoring object, for example, the second edge device corresponding to the second monitoring object introduced in the aforementioned embodiment, so as to help users at other edge devices quickly handle problems.
[0119] In another possible implementation, after the first edge device displays the first alarm information in the interactive interface, it can also determine whether to display the first alarm rule by detecting the user's gesture operation in the interactive interface. For example, if the user confirms that the first alarm information is a false alarm information, a sliding operation can be performed in the display area of the first alarm information, that is, the user's first operation on the first alarm information can be a sliding operation of the user in the display area of the first alarm information. Among them, the sliding operation can be a sliding operation from left to right, or a sliding operation from top to bottom. The display area of the first alarm information can be a display area specified in the interactive interface. In response to the user's sliding operation on the first alarm information, the first edge device can display the first alarm rule. Optionally, if the user confirms that the first alarm information is correct alarm information, a double-click operation can be performed on the displayed first alarm information, that is, the user's second operation on the first alarm information can be a double-click operation of the user on the first alarm information. In response to the user's double-click operation on the first alarm information, the first edge device can report the first alarm information to the cloud management platform.
[0120] The above mainly introduces the situation that after the first edge device displays the first alarm information based on the first alarm rule, it displays the first alarm rule after detecting the user operation that confirms that the first alarm information is a false alarm information. In another possible situation, in some scenarios, the user may directly query the alarm rule to modify it. For example, when the user inspects and finds that the device is abnormal but the edge device does not alarm, the user can directly query the alarm rule to decide whether to modify it. In this case, the first edge device can directly display the first alarm rule based on the user's rule query operation.
[0121] Exemplarily, the first edge device may store a mapping relationship between the object identifier of the monitored object and the alarm rule. Based on this, the first edge device may receive the object identifier of the first monitored object input by the user, and search for the first alarm rule corresponding to the object identifier of the first monitored object from the above mapping relationship. Then, the first alarm rule is displayed.
[0122] For example, the first edge device may display a search bar in the interactive interface, and the user may enter the object identifier of the first monitored object in the search bar. After receiving the object identifier of the first monitored object, the first edge device searches for and displays the first alarm rule. Alternatively, the first edge device may display a list of object identifiers of monitored objects in the interactive interface, and the user may select the object identifier of the first monitored object in the list of object identifiers to input the object identifier of the first monitored object. Accordingly, in response to the user's selection operation of the object identifier of the first monitored object, the first edge device searches for and displays the first alarm rule corresponding to the object identifier of the first monitored object.
[0123] Step 402: The first edge device generates a second alarm rule based on a user's modification operation on the first alarm rule.
[0124] In an embodiment of the present application, after the first edge device displays the first alarm rule in the interactive interface, the user can perform a modification operation on the first alarm rule. Accordingly, the first edge device can generate a second alarm rule based on the user's modification operation on the first alarm rule. The modification operation may include at least one of an alarm condition modification operation, an alarm condition deletion operation, and an alarm condition addition operation.
[0125] Exemplarily, the first edge device may display the first alarm rule in the interactive interface, and display the operation options corresponding to the first alarm rule. The operation options may include a modification option, a deletion option, an addition option, and a confirmation option. The user may perform a selection operation on any operation option. In response to the selection operation, the first edge device may detect the user's modification operation on the first alarm rule based on the operation option selected by the user, and then generate a second alarm rule based on the modification operation.
[0126] For example, when the user wants to modify the first alarm rule, the user can perform a selection operation on the modification option. In response to the user's selection operation on the modification option, the first edge device can change the first alarm rule from a non-editable state to an editable state. When the first alarm rule is in an editable state, the user can modify the parameters, thresholds, logical symbols, etc. included in any alarm condition in the first alarm rule. In addition, the user can also add or delete conditional expressions in any alarm condition in the first alarm rule. Accordingly, the first edge device can update the first alarm rule based on the user's modification operation on each alarm condition. Optionally, when the alarm condition also corresponds to alarm information, the user can also modify the alarm information. Accordingly, the first edge device can update the first alarm rule based on the user's modification operation on the alarm information.
[0127] Alternatively, in response to the user's selection of the modification option, the first edge device may display the modification sub-option and confirmation sub-option corresponding to each alarm condition in the first alarm rule. For any alarm condition, if the user confirms to modify the alarm condition, the modification sub-option corresponding to the alarm condition may be selected. In response to the selection of the modification sub-option corresponding to the alarm condition, the first edge device may change the alarm condition from an uneditable state to an editable state. Afterwards, the user may modify the parameters, thresholds, logical symbols, etc. included in the alarm condition, and may also add or delete conditional expressions in the alarm condition. After the modification is completed, the user may select the confirmation sub-option corresponding to the alarm condition. In response to the user's selection of the confirmation sub-option, the first edge device may update the first alarm rule based on the user's modification operation on the alarm condition.
[0128] Optionally, when the user wants to delete an alarm condition in the first alarm rule, the user can select the delete option. In response to the user's selection of the delete option, the first edge device can display the deletion sub-options corresponding to the various alarm conditions included in the first alarm rule. The user can select the deletion sub-option corresponding to the alarm condition to be deleted, and accordingly, in response to the selection operation, the first edge device can delete the alarm condition. In addition, when the alarm condition corresponds to alarm information, the first edge device can also delete the alarm information corresponding to the alarm condition.
[0129] Optionally, when the user wants to add a new alarm condition to the first alarm rule, the user can select the add option. In response to the user selecting the add option, the first edge device can display a condition editing bar. The user can enter a new alarm condition in the condition editing bar. The first edge device updates the first alarm rule based on the new alarm condition.
[0130] After the user completes the modification of the first alarm rule, the user can select the confirmation option. In response to the selection of the confirmation option, the first edge device can use the first alarm rule after the last update as the adjusted alarm rule, that is, the second alarm rule. If the second alarm rule is in an editable state, the first edge device can also change the second alarm rule from an editable state to a non-editable state.
[0131] It should be noted that the above is a possible implementation method for a user to interact with an edge device to modify the alarm rules given in an embodiment of the present application. Among them, the operation options displayed in the interactive interface may include more or fewer options than those described above, or the user and the edge device may also use other implementation methods, as long as the modification of the alarm rules can be achieved, and the embodiment of the present application does not limit this.
[0132] Step 403: The first edge device sends the second alarm rule to the cloud management platform, and the cloud management platform receives the second alarm rule.
[0133] After obtaining the second alarm rule adjusted by the user, the first edge device may send the object identifier of the first monitoring object together with the second alarm rule to the cloud management platform.
[0134] Optionally, after obtaining the second alarm rule, the first edge device can also replace the first alarm rule stored in itself with the second alarm rule, and use the second alarm rule to monitor the first monitoring object. Subsequently, if the monitoring data of the first monitoring object meets the second alarm rule, the first edge device can display the second alarm information; thereafter, if the first edge device detects the user's second operation on the second alarm information, it receives the alarm processing information for the second alarm information input by the user with reference to the method described above, and sends the second alarm information and the corresponding alarm processing information to the cloud management platform. If the user's first operation on the second alarm information is detected, the second alarm rule is displayed with reference to the method described above for the user to view and modify.
[0135] Step 404: The cloud management platform updates the alarm rule corresponding to the first monitoring object stored in the infrastructure based on the second alarm rule to obtain a third alarm rule.
[0136] If the alarm rule corresponding to the first monitoring object stored in the infrastructure managed by the cloud management platform does not correspond to other monitoring objects, in this case, the cloud management platform can directly replace the alarm rule corresponding to the first monitoring object stored in the infrastructure with the second alarm rule. At this time, the third alarm rule is the second alarm rule.
[0137] Among them, as can be seen from the above introduction, the first edge device can send the object identifier of the first monitoring object together with the second alarm rule to the cloud management platform. Based on this, the cloud management platform can search for the alarm rule corresponding to the first monitoring object stored in the infrastructure according to the object identifier of the first monitoring object, and replace the alarm rule corresponding to the first monitoring object with the second alarm rule.
[0138] Optionally, the alarm rule corresponding to the first monitoring object stored in the infrastructure may also correspond to other monitoring objects of the same type in the same business scenario as the first monitoring object. For example, the alarm rule corresponding to the first monitoring object also corresponds to the second monitoring object. Based on this, in one possible scenario, if the cloud management platform receives the second alarm rule adjusted by the first edge device, but does not receive the alarm rule of the second monitoring object adjusted by the second edge device, the cloud management platform can refer to the method described above to directly replace the alarm rule corresponding to the first monitoring object stored in the infrastructure with the second alarm rule. At this time, the third alarm rule is the second alarm rule. Among them, the second edge device refers to an edge device used to monitor the second monitoring object.
[0139] In another possible situation, if the cloud management platform receives the second alarm rule and the second monitoring object adjusted by the second edge device at the same time, such as the fourth alarm rule, the cloud management platform can update the alarm rules corresponding to the first monitoring object and the second monitoring object stored in the infrastructure based on the second alarm rule and the fourth alarm rule, thereby obtaining the third alarm rule. At this time, the third alarm rule may be the same as or different from the second alarm rule, and the third alarm rule may be the same as or different from the fourth alarm rule.
[0140] The cloud management platform can obtain the first modification information by comparing the second alarm rule with the alarm rule corresponding to the first monitoring object stored in the infrastructure, and obtain the second modification information by comparing the fourth alarm rule with the alarm rule corresponding to the first monitoring object stored in the infrastructure. Afterwards, the alarm rules corresponding to the first monitoring object and the second monitoring object stored in the infrastructure are modified based on the first modification information and the second modification information, thereby obtaining the third alarm rule.
[0141] Exemplarily, if there is no conflict between the first modification information and the second modification information, for example, the first modification information and the second modification information are modification information for different information items in the alarm rule, such as modification information for different monitoring parameters, or modification information for different alarm information, or one modification information is modification information for a certain monitoring parameter, and the other modification information is modification information for the alarm information, in this case, the cloud management platform can directly update the first modification information and the second modification information to the alarm rule corresponding to the first monitoring object.
[0142] For example, the first modification information is to change the temperature threshold T>50℃ in the alarm condition to 40℃, and the second modification information is to change the speed threshold R>10r / min in the alarm condition to 9r / min. Then the cloud management platform changes T>50℃ in the alarm rule to T>40℃ based on the first modification information, and changes R>10r / min in the alarm rule to R>9r / min based on the second modification information.
[0143] Optionally, if there is a conflict between the first modification information and the second modification information, for example, the first modification information and the second modification information are modification information for the same information item in the alarm rule, such as modification information for the threshold corresponding to the same monitoring parameter in the same alarm condition, then the cloud management platform can select a modification information from the first modification information and the second modification information according to a preset modification rule, and update the alarm rule corresponding to the first monitoring object stored in the infrastructure based on the selected modification information. The preset modification rule may include selecting the minimum value of the changed threshold when the threshold corresponding to the monitoring parameter is the maximum threshold, selecting the maximum value of the changed threshold when the threshold corresponding to the monitoring parameter is the minimum threshold, etc.
[0144] For example, the first modification information is to change the temperature threshold in the alarm condition T>50℃ to 45℃, and the second modification information is to change the temperature threshold in the alarm condition T>50℃ to 40℃. The cloud management platform can select the second modification information to update the alarm rules corresponding to the first monitoring object stored in the infrastructure.
[0145] Step 405: The cloud management platform synchronizes the third alarm rule to the second edge device.
[0146] After the cloud management platform updates the alarm rule corresponding to the first monitoring object stored in the infrastructure to the third alarm rule based on the second alarm rule, it can also synchronize the updated third alarm rule to other edge devices.
[0147] Exemplarily, the cloud management platform can determine a second monitoring object in the infrastructure that corresponds to the same alarm rule as the first monitoring object, and then determine a second edge device for monitoring the second monitoring object based on the second monitoring object, and then synchronize the third alarm rule to the second edge device.
[0148] In the first possible implementation, as described in the aforementioned step 302, the infrastructure may store a mapping relationship between a business scenario identifier, an object identifier of a monitored object and an alarm rule, and a mapping relationship between an object identifier of a monitored object and device information of an edge device. Based on this, the cloud management platform may obtain an object identifier corresponding to the same alarm rule and the same business scenario identifier as the object identifier of the first monitored object from the mapping relationship between the business scenario identifier, the object identifier of the monitored object and the alarm rule, and the obtained object identifier is the object identifier of the second monitored object. Since the second monitored object corresponds to the same alarm rule and business scenario identifier as the first monitored object, the second monitored object and the first monitored object are monitored objects of the same type in the same business scenario. Afterwards, the cloud management platform may obtain device information corresponding to the object identifier of the second monitored object from the mapping relationship between the object identifier and the device information of the edge device, and the obtained device information is the device information of the second edge device. Afterwards, the cloud management platform may send a third alarm rule to the second edge device based on the device information of the second edge device, so that the second edge device updates the alarm rule of the second monitored object stored in itself based on the third alarm rule.
[0149] Among them, the cloud management platform can send the object identifier of the second monitoring object and the third alarm rule to the second edge device. After receiving the object identifier of the second monitoring object and the third alarm rule, the second edge device searches for the alarm rule of the second monitoring object stored in itself based on the object identifier of the second monitoring object, and replaces the alarm rule of the second monitoring object found with the third alarm rule.
[0150] It should be noted that the cloud management platform can carry the object identifier of the second monitoring object and the third alarm rule in the first synchronization message and send it to the second edge device, wherein the first synchronization message can be a forced synchronization message, which is used to force the second edge device to update the alarm rule of the second monitoring object to the third alarm rule. In this way, after receiving the first synchronization message, the second edge device can directly update the alarm rule of the second monitoring object to the third alarm rule.
[0151] In the second possible implementation, it can be seen from the introduction in the aforementioned step 302 that the alarm rules corresponding to the same type of monitoring objects in different business scenarios may also be the same. Therefore, before executing step 404, the cloud management platform can determine the monitoring object with the same alarm rule corresponding to the first monitoring object but in a different business scenario. For example, the cloud management platform can determine other monitoring objects with the same alarm rule corresponding to the first monitoring object but different business scenario identifiers from the mapping relationship between the business scenario identifier stored in the infrastructure, the object identifier of the monitoring object, and the alarm rule. In this case, after the cloud management platform updates the alarm rule corresponding to the first monitoring object to the third alarm rule, it can also send the third alarm rule to the edge devices corresponding to other monitoring objects with the same alarm rule corresponding to the first monitoring object but in different business scenarios. Since the alarm requirements of other monitoring objects in different business scenarios from the first monitoring object may be different, the edge devices corresponding to these monitoring objects can update their own stored alarm rules based on the user's confirmation update operation after receiving the third alarm rule.
[0152] Exemplarily, taking a third monitoring object that is in a different business scenario from the first monitoring object but has the same corresponding alarm rules as an example, the cloud management platform can send a second synchronization message to a third edge device corresponding to the third monitoring object, the second synchronization message carries the object identifier of the third monitoring object and the third alarm rule, and the second synchronization message is an optional synchronization message, which is used to instruct the edge device to update its own stored alarm rules based on the user's confirmation update operation. After receiving the second synchronization message, the third edge device can detect the user's confirmation update operation on the third alarm rule, and in response to the user's confirmation update operation on the third alarm rule, update the alarm rules of the third monitoring object stored in its own storage to the third alarm rule.
[0153] Among them, the third edge device can display the third alarm rule in the interactive interface, and display an update option and a cancel option in the interactive interface. Optionally, the third edge device can also display the alarm rules of the third monitoring object stored in itself in the interactive interface. If the user determines to update the alarm rules of the third monitoring object stored in the third edge device after viewing the third alarm rule, the update option can be selected. In response to the user's selection operation on the update option, the third edge device updates the alarm rules of the third monitoring object stored in itself to the third alarm rule. At this time, the user's selection operation on the update option is the user's confirmation update operation on the third alarm rule.
[0154] After the third edge device updates the alarm rules of the third monitoring object stored in itself to the third alarm rules, it can also send an update success response to the cloud management platform, so that the cloud management platform can update the alarm rules corresponding to the third monitoring object stored in the infrastructure to the third alarm rules based on the update success response.
[0155] Optionally, if the user determines not to update the alarm rules of the third monitoring object stored in the third edge device after viewing the third alarm rule, the user can select the cancel option. In response to the user's selection of the cancel option, the third edge device can feedback an update failure response to the cloud management platform to notify the cloud management platform that the synchronization update of the alarm rules of the third monitoring object in the third edge device has failed. After receiving the update failure response, the cloud management platform can keep the alarm rules corresponding to the third monitoring object stored in the infrastructure unchanged.
[0156] In a third possible implementation, it can be seen from the introduction in step 302 of the aforementioned embodiment that the infrastructure may also store a mapping relationship between the type identifier of the monitored object, the object identifier of the monitored object, and the alarm rule. Based on this, after the cloud management platform updates the alarm rule corresponding to the first monitored object stored in the infrastructure to the third alarm rule based on the second alarm rule, it may send the third alarm rule and the corresponding object identifier of the monitored object to the edge devices corresponding to other monitored objects with the same type identifier as the first monitored object. In this case, since these monitored objects of the same type may be in the same business scenario or in different business scenarios, after receiving the third alarm rule, each edge device may refer to the aforementioned method and update its own stored alarm rule based on the third alarm rule when detecting the user's confirmation update operation on the third alarm rule.
[0157] Optionally, the cloud management platform can not only synchronously update the third alarm rule to other edge devices, but also synchronously update the third alarm rule to the first edge device, so as to ensure the unification of alarm rules for the same monitoring object in the infrastructure and the first edge device.
[0158] Among them, the cloud management platform can send the third alarm rule and the object identifier of the first monitoring object to the first edge device. The first edge device can refer to the method of updating the alarm rule of the second monitoring object introduced above by the second edge device to update the alarm rule of the first monitoring object stored in itself, and the embodiments of this application will not be repeated here.
[0159] Optionally, in a possible situation, as described in step 403, after the first edge device adjusts the first alarm rule to the second alarm rule based on the user's modification operation, it can directly replace the first alarm rule stored in itself with the second alarm rule to update the alarm rule. Based on this, after the cloud management platform obtains the third alarm rule based on the second alarm rule, it can compare the third alarm rule with the second alarm rule. If the third alarm rule is the same as the second alarm rule, the third alarm rule may not be sent to the first edge device. If the third alarm rule is different from the second alarm rule, the cloud management platform can send the third alarm rule and the object identifier of the first monitoring object to the first edge device. After receiving the third alarm rule and the object identifier of the first monitoring object, the first edge device can update the alarm rule of the first monitoring object stored in itself (that is, the second alarm rule) to the third alarm rule.
[0160] It should be noted that the above are some possible implementation methods of the cloud management platform to synchronize the updated alarm rules to other edge devices given in the embodiments of the present application, and do not constitute a limitation on the implementation method of synchronously updating the alarm rules. For example, in some possible implementation methods, the cloud management platform can also directly send the updated alarm rules to each edge device in the same project managed by itself, and the users of each edge device can choose whether to update, where the same project here can refer to edge devices deployed in the same edge environment. For another example, for a monitoring object of the same type in the same business scenario as the first monitoring object, regardless of whether the alarm rules corresponding to the monitoring object are the same as the alarm rules corresponding to the first monitoring object, after the cloud management platform sends the updated alarm rules to the edge device corresponding to the monitoring object, the user of the edge device can also decide whether to update. Correspondingly, the cloud management platform can decide whether to update the alarm rules of the monitoring object monitored by the edge device stored in the infrastructure based on the update response fed back by the edge device. For another example, for a monitoring object of the same type that has the same alarm rules as the first monitoring object and is in the same business scenario, the cloud management platform may also obtain a third alarm rule based on the second alarm rule and the alarm rule corresponding to the first monitoring object stored in the infrastructure after receiving the second alarm rule. Afterwards, the third alarm rule is sent to the edge devices corresponding to each corresponding monitoring object. After each edge device detects the user's confirmation update operation, each edge device updates the alarm rule corresponding to the monitoring object stored in itself to the third alarm rule, and returns an update success response to the cloud management platform. Correspondingly, the cloud management platform may update the alarm rule corresponding to the first monitoring object stored in the infrastructure to the third alarm rule after receiving the update success response returned by the edge devices corresponding to each monitoring object corresponding to the third alarm rule. Among them, the detailed implementation details of the above-mentioned various implementation methods can refer to the relevant introduction of the aforementioned embodiments, and the embodiments of the present application will not be repeated here.
[0161] In addition, it is worth noting that the above steps 403 and 404 are an implementation method given in an embodiment of the present application for updating the alarm rules corresponding to the first monitoring object in the infrastructure based on the second alarm rules. Optionally, in another possible implementation method, the first edge device may also send modification information of the second alarm rule compared to the first alarm rule to the cloud management platform to reduce the amount of data transmission. In this way, after receiving the modification information, the cloud management platform can directly update the alarm rules corresponding to the first monitoring object stored in the infrastructure based on the modification information.
[0162] For example, if the second alarm rule modifies the temperature threshold corresponding to the device temperature compared to the first alarm rule, the first edge device can directly send the object identifier of the first monitoring object and the modified temperature threshold to the cloud management platform. In this way, after receiving the temperature threshold, the cloud management platform changes the temperature threshold in the alarm rule corresponding to the first monitoring object stored in the infrastructure to the received temperature threshold to update the alarm rule. Subsequently, the cloud management platform can still use the implementation method in step 405 to synchronize the updated alarm rules to other edge devices.
[0163] In the embodiment of the present application, the edge device can display the alarm rules for the user to modify, and feed back the user-modified alarm rules to the cloud management platform. After receiving the adjusted alarm rules fed back by the edge device, the cloud management platform can update the alarm rules stored in the infrastructure based on the adjusted alarm rules. That is, in the embodiment of the present application, the alarm rules can be directly modified on the edge device and the alarm rules on the cloud side can be reversely corrected, so as to achieve timely adjustment of the alarm rules and improve the accuracy of the alarm.
[0164] In addition, in an embodiment of the present application, after the edge device displays the alarm information based on the alarm rules, the user can confirm whether the alarm information is accurate. If the user confirms that the alarm information is incorrect, the corresponding alarm rules can be adjusted directly on the edge device, and the adjusted alarm rules can be sent to the cloud management platform. The cloud management platform then updates the alarm rules in the infrastructure based on the adjusted alarm rules, and synchronizes the updated alarm rules to other edge devices used to monitor the same type of monitoring objects in the same scene. That is, the embodiment of the present application can use the user's experience advantage to adjust the alarm rules on each edge device in a linked manner. In this way, in the case of different users corresponding to different edge devices, the experience of different users can be fed back to each edge device, and ultimately through mutual adjustment, the accuracy of the alarm rules can be maximized, thereby saving the cost of centralized operation and maintenance management.
[0165] Finally, in the embodiment of the present application, after displaying the alarm information, the edge device can also receive the alarm processing information for the alarm information fed back by the user, and feed the alarm processing information back to the cloud management platform. The cloud management platform can synchronize the alarm processing information to other edge devices, for example, it can be synchronized to the edge devices used to monitor the same type of monitoring objects in the same business scenario, so that it can help users quickly locate and handle problems when other edge devices generate the same alarm information.
[0166] Next, we will use a detailed example to illustrate the above-mentioned alarm rule adjustment method. In this example, Figure 6As shown, the monitoring objects are three production equipment of the same type in the same business scenario, namely production equipment 1, production equipment 2 and production equipment 3. Edge device 1 is used to monitor production equipment 1, edge device 2 is used to monitor production equipment 2, and edge device 3 is used to monitor production equipment 3. The user sets alarm rule 1 for the above three production equipment. The alarm rule 1 triggers an alarm when T>50℃ and R<10r / min, that is, the alarm is triggered when the device temperature monitoring value is greater than 50℃ and the speed is less than 10r / min. The cloud management platform can send the alarm rule 1 to edge devices 1 to 3.
[0167] After receiving the alarm rule 1, the edge device 1 and the edge device 3 respectively execute the alarm rule.
[0168] Among them, when edge device 1 executes alarm rule 1, it receives monitoring data from production equipment 1, in which the equipment temperature monitoring value is 60°C and the speed monitoring value is 0. Edge device 1 determines that the monitoring data meets alarm rule 1, so it triggers the alarm information. After seeing the alarm information, the user checks production equipment 1 and finds that when the speed monitoring value is 0, the equipment has not yet started, so the alarm information is a false alarm information. Based on this, the user adjusts alarm rule 1 and adds the conditional expression of R≠0 to alarm rule 1, and obtains alarm rule 2, that is, alarm rule 2 triggers an alarm when T>50℃ and R<10r / min and R≠0.
[0169] At the same time, when edge device 2 executes alarm rule 1, it receives monitoring data from production equipment 2, where the equipment temperature monitoring value is 45°C and the speed monitoring value is 5. Therefore, alarm rule 1 is not met and no alarm information is triggered. However, when the user inspects production equipment 2, he finds that production equipment 2 is abnormal. By checking alarm rule 1, the user finds that the temperature threshold of 50°C in alarm rule 1 is set unreasonably, resulting in missed reports. Therefore, the user adjusts the temperature threshold of 50°C in alarm rule 1 in edge device 2 to 40°C, and obtains alarm rule 3, that is, alarm rule 3 triggers an alarm when T>40°C and R<10r / min.
[0170] Edge device 3 does not trigger an alarm message when executing alarm rule 1, and the user does not find any abnormality in the device. Therefore, alarm rule 1 on edge device 3 is not adjusted.
[0171] Edge device 1 reports alarm rule 2 to the cloud management platform, and edge device 2 reports alarm rule 3 to the cloud management platform. After receiving alarm rule 2 and alarm rule 3, the cloud management platform updates alarm rule 1 to alarm rule 4 based on alarm rule 2 and alarm rule 3. Alarm rule 4 triggers an alarm when T>40℃, R<10r / min, and R≠0. At this time, since production equipment 1, production equipment 2, and production equipment 3 all correspond to alarm rule 4, the cloud management platform can synchronously update alarm rule 4 to edge devices 1 to 3.
[0172] It should be noted that the size of the sequence number of each step in the above embodiment does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the embodiments of the present application. In addition, the various steps and various implementations introduced in the above embodiments can be split and combined to obtain new implementations under logical conditions, and these implementations should not be considered to exceed the scope of the embodiments of the present application.
[0173] Figure 7 Schematic diagram of the structure of a cloud management platform 700 provided in an embodiment of the present application. Figure 7 As shown, the cloud management platform 700 includes a receiving module 701 , an updating module 702 and a synchronization module 703 .
[0174] The receiving module 701 is used to perform the operation of receiving the second alarm rule in step 403 of the above embodiment;
[0175] An updating module 702, configured to execute step 404 in the above-mentioned embodiment;
[0176] The synchronization module 703 is used to execute step 405 in the above embodiment.
[0177] Optionally, the synchronization module 703 is further used to: determine a second monitoring object in the infrastructure managed by the cloud management platform that has the same alarm rule as the first monitoring object; and determine a second edge device based on the second monitoring object.
[0178] Optionally, the first monitoring object and the second monitoring object are monitoring objects of the same type in the same business scenario.
[0179] Optionally, the synchronization module 703 is specifically used to: send the third alarm rule to the second edge device, and the second edge device is used to update the alarm rule of the second monitoring object to the third alarm rule when detecting a confirmation update operation of the user.
[0180] Optionally, the synchronization module 703 is further used to: synchronize the third alarm rule to the first edge device, and the first edge device is used to monitor the first monitoring object based on the third alarm rule.
[0181] Optionally, the cloud management platform 700 also includes: an alarm module 704; on this basis, the receiving module 701 is also used to receive the alarm information of the first monitored object sent by the first edge device; the alarm module 704 is used to send an alarm notification to the user terminal based on the alarm information of the first monitored object.
[0182] Optionally, the receiving module 701 is further used to receive alarm processing information for the alarm information of the first monitoring object sent by the first edge device; the synchronization module 703 is further used to synchronize the alarm processing information to the second edge device.
[0183] In an embodiment of the present application, the cloud management platform can receive the second alarm rule sent by the first edge device, and based on the second alarm rule, update the alarm rule corresponding to the first monitoring object stored in the infrastructure to obtain a third alarm rule, and then synchronize the third alarm rule to other edge devices. Among them, the second alarm rule is generated by the first edge device based on the user's modification operation on the first alarm rule of the first monitoring object. It can be seen that in the embodiment of the present application, the alarm rules can be directly modified on the edge device and the alarm rules on the cloud side can be reversed, and then the alarm rules on each edge device can be adjusted in a linked manner. In this way, not only can the alarm rules be adjusted in a timely manner, but also the user experience can be used to link and adjust the alarm rules on each edge device, which can maximize the accuracy of the alarm rules, thereby saving the cost of centralized operation and maintenance management.
[0184] Figure 8 800 is a schematic diagram of the structure of an edge device 800 provided in an embodiment of the present application. Figure 8 As shown, the edge device 800 includes a display module 801 , a generation module 802 and a sending module 803 .
[0185] Display module 801, used to execute step 401 in the above embodiment;
[0186] A generating module 802, used to execute step 402 in the above embodiment;
[0187] The sending module 803 is used to execute the operation of sending the second alarm rule to the cloud management platform in step 403 of the above-mentioned embodiment.
[0188] Optionally, the edge device 800 also includes: a receiving module 804 and an updating module 805; wherein, the receiving module 804 is used to receive the third alarm rule sent by the cloud management platform, the third alarm rule is the alarm rule after the cloud management platform updates the alarm rule corresponding to the first monitoring object based on the second alarm rule, and the third alarm rule is different from the second alarm rule; the updating module 805 is used to update the alarm rule of the first monitoring object to the third alarm rule.
[0189] Optionally, the updating module 805 is specifically configured to: in response to a user's confirmation update operation on the third alarm rule, update the alarm rule of the first monitoring object to the third alarm rule.
[0190] Optionally, the first alarm rule includes at least one alarm condition, and the modification operation includes: at least one of an alarm condition modification operation, an alarm condition deletion operation, and an alarm condition addition operation.
[0191] Optionally, the display module 801 is specifically used to: display the first alarm information if the monitoring data of the first monitored object meets the first alarm rule; display the first alarm rule in response to the user's first operation on the first alarm information, and the first operation is used to confirm that the first alarm information is a false alarm information.
[0192] Optionally, the display module 801 is also used to display the second alarm information if the monitoring data of the first monitoring object meets the second alarm rule; the receiving module 804 is also used to receive the alarm processing information for the second alarm information input by the user in response to the user's second operation on the second alarm information, and the second operation is used to confirm that the second alarm information is correct alarm information; the sending module 803 is also used to send the second alarm information and alarm processing information to the cloud management platform.
[0193] In the embodiment of the present application, the edge device can display the alarm rules for the user to modify, and update the alarm rules stored in the infrastructure managed by the cloud management platform through the alarm rules modified by the user. That is, in the embodiment of the present application, the alarm rules can be directly modified on the edge device and the alarm rules on the cloud side can be reversely corrected, so as to achieve timely adjustment of the alarm rules and improve the accuracy of the alarm.
[0194] Based on the above Figure 7 and Figure 8 The alarm rule adjustment device provided, the embodiment of the present application also provides a software system for adjusting the alarm rules. Fig. 9 As shown, the software system 90 includes a cloud management platform 700 and an edge device 800 .
[0195] For example, see Fig. 9 The cloud management platform 700 may include a receiving module 701, an updating module 702 and a synchronization module 703. The receiving module 701 is used to receive the adjusted alarm rules sent by the edge device 800, the updating module 702 is used to update the alarm rules stored in the infrastructure based on the received adjusted alarm rules, and the synchronization module 703 is used to synchronize the updated alarm rules to the edge device.
[0196] The edge device 800 may include a display module 801, a generation module 802, and a sending module 803. The display module 801 is used to display the alarm rules stored in the edge device, the generation module 802 is used to generate the adjusted alarm rules based on the user's modification operation on the displayed alarm rules, and the sending module 803 is used to send the adjusted alarm rules to the cloud management platform 700.
[0197] Optionally, the edge device 800 may further include a receiving module 804 and an updating module 805. The receiving module 804 is used to receive the updated alarm rules synchronized by the synchronization module 703, and the updating module 805 is used to update the alarm rules stored in the edge device based on the received updated alarm rules.
[0198] Optionally, the edge device 800 may further include a storage module 806 and a rule execution module 807 . The storage module 806 is used to store the alarm rules received by the receiving module 804 , and the rule execution module 807 is used to execute the alarm rules stored in the storage module 806 .
[0199] It should be noted that the division of modules in the cloud management platform and edge devices provided in the above embodiments is schematic and is only a logical function division. There may be other division methods in actual implementation. In addition, each functional module in each embodiment of the present application may be integrated into a processor, or may exist physically separately, or two or more modules may be integrated into one module. The above integrated modules may be implemented in the form of hardware or in the form of software functional modules.
[0200] If the integrated module is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computing device (such as a server) or a processor (processor) to perform all or part of the steps of the method of each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.
[0201] In addition, the cloud management platform and edge device provided in the above embodiments belong to the same concept as the alarm rule adjustment method embodiment. The specific implementation process and the technical effects that can be achieved are detailed in the method embodiment and will not be repeated here.
[0202] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a digital versatile disc (DVD)), or a semiconductor medium (eg, a solid state disk (SSD)).
Claims
1. A method for adjusting an alarm rule, characterized in that: The method is applied to a cloud management platform, the cloud management platform is used to manage infrastructure, the infrastructure stores alarm rules corresponding to multiple monitoring objects, the cloud management platform is used to send corresponding alarm rules to edge devices that monitor each monitoring object, and each edge device is used to monitor at least one monitoring object based on the alarm rules sent by the cloud management platform. The method includes: receiving a second alarm rule sent by the first edge device, where the second alarm rule is generated by the first edge device based on a modification operation of a user on a first alarm rule of a first monitoring object; Based on the second alarm rule, the alarm rule corresponding to the first monitoring object stored in the infrastructure is updated to obtain a third alarm rule; The third alarm rule is synchronized to a second edge device, and the second edge device is used to monitor the second monitoring object according to the third alarm rule.
2. The method according to claim 1, characterized in that The method further comprises: Determine the second monitoring object in the infrastructure that has the same alarm rule as the first monitoring object; The second edge device is determined based on the second monitoring object.
3. The method according to claim 2, characterized in that The first monitoring object and the second monitoring object are monitoring objects of the same type in the same business scenario.
4. The method according to claim 2 or 3, characterized in that: The synchronizing the third alarm rule to the second edge device includes: The third alarm rule is sent to the second edge device, and the second edge device is used to update the alarm rule of the second monitoring object to the third alarm rule when a confirmation update operation of the user is detected.
5. The method according to any one of claims 2 to 4, characterized in that: The method further comprises: The third alarm rule is synchronized to the first edge device, and the first edge device is used to monitor the first monitoring object according to the third alarm rule.
6. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: Receiving alarm information of the first monitored object sent by the first edge device; Based on the alarm information of the first monitored object, an alarm notification is sent to the user terminal.
7. The method according to claim 6, characterized in that The method further comprises: Receiving alarm processing information for the alarm information of the first monitoring object sent by the first edge device; Synchronize the alarm processing information to the second edge device.
8. A method for adjusting an alarm rule, characterized in that: Applied to a first edge device, the first edge device is used to monitor the first monitoring object based on an alarm rule of the first monitoring object issued by a cloud management platform, the cloud management platform is used to manage an infrastructure, and the infrastructure stores alarm rules corresponding to multiple monitoring objects, the method includes: Displaying a first alarm rule for the first monitoring object; Generate a second alarm rule based on the user's modification operation on the first alarm rule; The second alarm rule is sent to the cloud management platform, and the cloud management platform is used to update the alarm rule corresponding to the first monitoring object stored in the infrastructure based on the second alarm rule.
9. The method according to claim 8, characterized in that The method further comprises: receiving a third alarm rule sent by the cloud management platform, wherein the third alarm rule is an alarm rule after the cloud management platform updates the alarm rule corresponding to the first monitoring object based on the second alarm rule, and the third alarm rule is different from the second alarm rule; The alarm rule of the first monitoring object is updated to the third alarm rule.
10. The method according to claim 9, characterized in that The updating of the alarm rule of the first monitoring object to the third alarm rule includes: In response to the user's confirmation update operation on the third alarm rule, the alarm rule of the first monitoring object is updated to the third alarm rule.
11. The method according to any one of claims 8 to 10, characterized in that: The first alarm rule includes at least one alarm condition, and the modification operation includes at least one of an alarm condition modification operation, an alarm condition deletion operation, and an alarm condition addition operation.
12. The method according to any one of claims 8 to 11, characterized in that: The method further comprises: If the monitoring data of the first monitoring object meets the first alarm rule, displaying the first alarm information; In response to a first operation of the user on the first alarm information, the step of displaying the first alarm rule is performed, and the first operation is used to confirm that the first alarm information is false alarm information.
13. The method according to any one of claims 8 to 12, characterized in that: The method further comprises: If the monitoring data of the first monitoring object meets the second alarm rule, display the second alarm information; In response to a second operation of the user on the second alarm information, receiving alarm processing information for the second alarm information input by the user, wherein the second operation is used to confirm that the second alarm information is correct alarm information; The second alarm information and the alarm processing information are sent to the cloud management platform.
14. A cloud management platform, characterized in that: The cloud management platform is used to manage infrastructure, and the infrastructure stores alarm rules corresponding to multiple monitoring objects. The cloud management platform is used to send corresponding alarm rules to edge devices that monitor each monitoring object, and each edge device is used to monitor at least one monitoring object based on the alarm rules sent by the cloud management platform. The device includes: A receiving module, configured to receive a second alarm rule sent by a first edge device, where the second alarm rule is generated by the first edge device based on a modification operation of a user on a first alarm rule of a first monitoring object; An updating module, configured to update the alarm rule corresponding to the first monitoring object stored in the infrastructure based on the second alarm rule to obtain a third alarm rule; A synchronization module is used to synchronize the third alarm rule to a second edge device, and the second edge device is used to monitor the second monitoring object according to the third alarm rule.
15. The cloud management platform according to claim 14, characterized in that: The synchronization module is also used for: Determine the second monitoring object in the infrastructure that has the same alarm rule as the first monitoring object; The second edge device is determined based on the second monitoring object.
16. The cloud management platform according to claim 15, characterized in that: The first monitoring object and the second monitoring object are monitoring objects of the same type in the same business scenario.
17. The cloud management platform according to claim 15 or 16, characterized in that: The synchronization module is specifically used for: The third alarm rule is sent to the second edge device, and the second edge device is used to update the alarm rule of the second monitoring object to the third alarm rule when a confirmation update operation of the user is detected.
18. The cloud management platform according to any one of claims 15 to 17, characterized in that: The synchronization module is also used for: The third alarm rule is synchronized to the first edge device, and the first edge device is used to monitor the first monitoring object according to the third alarm rule.
19. The cloud management platform according to any one of claims 14 to 18, characterized in that: The cloud management platform also includes: an alarm module; The receiving module is further used to receive the alarm information of the first monitoring object sent by the first edge device; The alarm module is used to send an alarm notification to a user terminal based on the alarm information of the first monitored object.
20. The cloud management platform according to claim 19, characterized in that: The receiving module is further configured to receive alarm processing information for the alarm information of the first monitoring object sent by the first edge device; The synchronization module is also used to synchronize the alarm processing information to the second edge device.
21. A cloud management platform, characterized in that: The cloud management platform includes a processor, which is used to execute at least one program instruction or code stored in a memory to implement the alarm rule adjustment method described in any one of claims 1 to 7.
22. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed on a computing device, the computing device executes the alarm rule adjustment method according to any one of claims 1 to 7 or claims 8 to 13.
23. A computer program product, characterized in that The computer program product includes instructions, and when the computer program product is run on a computing device, the computing device executes the alarm rule adjustment method according to any one of claims 1 to 7 or claims 8 to 13.
