Custom alarm monitoring method, device, equipment and medium

Through custom alarm monitoring methods, custom alarm plug-ins are generated and saved, which solves the problem of poor flexibility of traditional alarm systems, personalized monitoring and flexible expansion of user needs, and improves the adaptability and user experience of the alarm system.

CN118939514APending Publication Date: 2024-11-12BEIJING YOUTEJIE INFORMATION TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410991925.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-23
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

Traditional alarm systems require a lot of manual configuration and adjustment when dealing with complex alarm logic, and do not support plug-in expansion, making it difficult to customize according to user needs, and have poor flexibility.

Method used

Provide a custom alarm monitoring method, by obtaining the alarm monitoring information input by the user and the selected target alarm plug-in template, generate a visual alarm custom interface, generate and save custom alarm plug-ins, and perform alarm operations when the trigger conditions are met. , supports timed monitoring and notification.

Benefits of technology

It improves the flexibility of using alarm plug-ins, meets users' personalized alarm monitoring needs, reduces the complexity of system maintenance and updates, provides intuitive modification pages, and facilitates users to establish customized alarm plug-ins.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118939514A_ABST
    Figure CN118939514A_ABST
Patent Text Reader

Abstract

The invention discloses a custom alarm monitoring method and device, equipment and a medium. The method comprises the following steps: when a user newly creates a custom plug-in in an alarm system, obtaining alarm monitoring information input by the user, and generating a visual alarm custom interface according to a target alarm plug-in template selected by the user; after determining that the user completes alarm content configuration in the alarm custom interface, generating a custom alarm plug-in according to alarm content configuration information, alarm monitoring information and a target alarm plug-in template input by the user, and storing the custom alarm plug-in into a target memory; and according to the alarm monitoring information, carrying out timing monitoring on the user-defined alarm plug-in, and when it is detected that a triggering condition of the user-defined alarm plug-in is satisfied, triggering the user-defined alarm plug-in to execute an alarm operation according to the alarm content configuration information. By adopting the technical scheme, the alarm plug-in can be self-defined according to user requirements, and the use flexibility of the alarm plug-in is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of alarm management, and in particular to a user-defined alarm monitoring method, device, equipment and medium. Background Art

[0002] With the development of information technology and the increasing demand for business system monitoring in enterprises, alarm systems are often used to monitor business systems in order to detect and solve problems in a timely manner.

[0003] Traditional alarm systems require users to perform a lot of manual configuration and adjustment when processing complex alarm logic. Their alarm and notification functions are usually fixed and difficult to customize according to user needs. Traditional alarm systems generally do not support plug-in expansion. Users need to continuously update and maintain the system to adapt to the needs of different application scenarios, and their flexibility is poor. Summary of the invention

[0004] The present invention provides a user-defined alarm monitoring method, device, equipment and medium, which can customize an alarm plug-in according to user needs, improve the use flexibility of the alarm plug-in, and meet the user's personalized alarm monitoring needs.

[0005] According to one aspect of the present invention, a custom alarm monitoring method is provided, comprising:

[0006] When a user creates a custom plug-in in the alarm system, the alarm monitoring information entered by the user is obtained, and a visual alarm custom interface is generated according to the target alarm plug-in template selected by the user;

[0007] After determining that the user has completed the alarm content configuration in the alarm customization interface, generating a custom alarm plug-in according to the alarm content configuration information, alarm monitoring information and the target alarm plug-in template input by the user, and saving the custom alarm plug-in to the target storage;

[0008] According to the alarm monitoring information, the custom alarm plug-in is monitored regularly, and when it is detected that the triggering condition of the custom alarm plug-in is met, the custom alarm plug-in is triggered to perform an alarm operation according to the alarm content configuration information.

[0009] According to another aspect of the present invention, a user-defined alarm monitoring device is provided, comprising:

[0010] The custom interface generation module is used to obtain the alarm monitoring information input by the user when the user creates a new custom plug-in in the alarm system, and generate a visual alarm custom interface according to the target alarm plug-in template selected by the user;

[0011] An alarm plug-in generation module is used to generate a custom alarm plug-in according to the alarm content configuration information, alarm monitoring information and the target alarm plug-in template input by the user after determining that the user has completed the alarm content configuration in the alarm customization interface, and save the custom alarm plug-in to the target storage;

[0012] The alarm plug-in execution module is used to periodically monitor the custom alarm plug-in according to the alarm monitoring information, and when it is detected that the trigger condition of the custom alarm plug-in is met, trigger the custom alarm plug-in to perform an alarm operation according to the alarm content configuration information.

[0013] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0014] at least one processor; and

[0015] a memory communicatively connected to the at least one processor; wherein,

[0016] The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the custom alarm monitoring method described in any embodiment of the present invention.

[0017] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the custom alarm monitoring method described in any embodiment of the present invention when executed.

[0018] The technical solution of the embodiment of the present invention obtains the alarm monitoring information input by the user for the newly created custom plug-in, and generates a visual alarm customization interface according to the target alarm plug-in template selected by the user. After determining that the user has completed the alarm content configuration in the alarm customization interface, a custom alarm plug-in is generated according to the alarm content configuration information, alarm monitoring information and the target alarm plug-in template input by the user, and the custom alarm plug-in is saved in the target storage device. According to the alarm monitoring information, the custom alarm plug-in is monitored regularly, and when it is detected that the trigger condition of the custom alarm plug-in is met, the custom alarm plug-in is triggered to perform an alarm operation according to the alarm content configuration information. A customizable and extensible plug-in template is provided, so that the user can quickly obtain different plug-in templates after simply updating or extending the plug-in template, and a variety of alarm content configuration items are configured in the plug-in template to meet the needs of different users, and can provide users with an intuitive modification page through visual display, so that users can easily establish custom alarm plug-ins.

[0019] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0021] Figure 1 This is a flow chart of a custom alarm monitoring method provided according to Embodiment 1 of the present invention;

[0022] Figure 2 is a schematic diagram of an alarm customization interface provided according to an embodiment of the present invention;

[0023] Figure 3 is a flow chart of another custom alarm monitoring method provided according to the second embodiment of the present invention;

[0024] Figure 4 This is a schematic diagram of the structure of a custom alarm monitoring device provided according to Embodiment 3 of the present invention;

[0025] Figure 5 It is a structural schematic diagram of an electronic device for implementing the user-defined alarm monitoring method according to an embodiment of the present invention. DETAILED DESCRIPTION

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

[0027] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0028] Embodiment 1

[0029] Figure 1 This is a flow chart of a customized alarm monitoring method provided in the first embodiment of the present invention. This embodiment can be applied to customize the alarm plug-in in the alarm system to monitor the alarm according to the customized alarm plug-in. The method can be executed by a customized alarm monitoring device. The customized alarm monitoring device can be implemented in the form of hardware and / or software, and can generally be configured in an alarm system with data processing function. Figure 1 As shown, the method includes:

[0030] S110. When a user creates a new custom plug-in in the alarm system, the alarm monitoring information input by the user is obtained, and a visual alarm custom interface is generated according to a target alarm plug-in template selected by the user.

[0031] Optionally, the alarm system can be configured inside business systems, log management systems and other systems. Multiple different alarm plug-ins can be stored in the alarm system for monitoring and alarming these systems. Different alarm plug-ins can monitor different information and have different alarm forms, which can be personalized according to user needs.

[0032] Optionally, users can pre-store multiple alarm plug-in templates in the alarm system, such as email alarm plug-ins, SMS alarm plug-ins, reminder box alarm plug-ins, etc. Then, when creating a new custom plug-in, they only need to call the pre-stored alarm plug-in template and perform simple configuration to generate a custom alarm plug-in, without the need for a lot of manual configuration and adjustment.

[0033] Optionally, the alarm monitoring information may include information such as the alarm name, triggering conditions, and scheduled execution status.

[0034] Optionally, a list of pre-stored alarm plug-in templates can be displayed to the user in the display page of the alarm system, so that the user can select the target alarm plug-in template that needs to be personalized in the list. After determining the target alarm plug-in template, a visual alarm customization page can be generated according to the pre-configured plug-in code in the target alarm plug-in template, so that the user can fill in the alarm content configuration information in the alarm customization page.

[0035] Optionally, the plug-in code of the alarm plug-in template may include the plug-in name, version, author and configuration information. The configuration information may be generated by online coding. The configuration information may include multiple alarm content configuration items. The alarm content configuration item may be an array. Each alarm content configuration item may include multiple configuration properties. According to the configuration information, an alarm custom page may be generated.

[0036] Figure 2 The following is a schematic diagram of an optional alarm customization interface. Figure 2 As shown, in the visualization page generated by the email alert plug-in template, the displayed content may include title, recipient, cc, bcc and sending conditions. Users only need to perform corresponding operations such as clicking and filling in the visualization page to complete the alarm content configuration.

[0037] Optionally, when the target alarm plug-in template is an email alarm plug-in template, the alarm content configuration items may include email title, recipient, cc, bcc and email content template, but the email content template may be pre-written in the plug-in code of the alarm plug-in template. It may be a default item that is not visually displayed, but it may also be set as a non-default item and customized by the user, and there is no limitation on this.

[0038] Optionally, the configuration properties of each configuration item may include Chinese name, English name, placeholder prompt information, display configuration, value type, input type, default value, and display style.

[0039] In an optional example, in the plug-in code of the alarm plug-in template, "name" can be used to represent the Chinese name identifier of the configuration item, "alias" can represent the English name identifier of the configuration item, "value_type" can represent the value type identifier of the configuration item, and "style" can represent the display style identifier of the configuration item. The Chinese name, English name, value type and display style can be configured as required items, among which the value type can be filled in with character type, numeric type, Boolean type, etc. Different value types make the user input content type for the configuration item in the visualization page different; the display style can change the row and column display of the configuration item in the visualization page. For example, it can be configured to be in the form of 1 row and 15 columns. This is only an exemplary explanation here.

[0040] Continuing with the previous example, in the plugin code of the alarm plugin template, "placeholder" can be used to indicate the placeholder prompt information identifier of the configuration item, "presence" indicates the display configuration identifier of the configuration item, "input_type" indicates the input type identifier of the configuration item, and "default_value" indicates the default value identifier of the configuration item. The above can be configured as non-mandatory items, and users can fill in or not fill in. The placeholder prompt identifier can be used to set whether to prompt the default configuration content in the visualization page. The placeholder prompt identifier is empty by default. If the user fills in this item, the default prompt is based on the content filled in by the user. If it is not filled in, it will not be displayed in the visualization page. The page will be prompted; the default value of the display configuration flag is true, that is, the configuration item is displayed. If it is false, the configuration item is not displayed in the visualization page, and the user is not allowed to customize the configuration permission; the input type can include a drop-down box, a multiple-choice box, attachment upload, character input and other types, and can default to character input; the default value is the default value of the configuration attribute. If the default value is filled in, the default value can be directly displayed in the visualization page, and the user can fill it out based on the default value. For example, when the configuration item is a recipient, the default value can be filled in with a default mailbox, which can be directly displayed in the item in the visualization page, and the user can also modify the mailbox.

[0041] Furthermore, according to the configuration attributes of each configuration item, it is possible to determine whether each configuration item in the visualization page is displayed, the display content, the display form, the user's operation form on the item, and other information, and then generate a visualization page.

[0042] The advantages of this setting are: the plug-in system supports multiple configuration items, making the plug-in function more flexible, the plug-in template is concise and clear, and it is easy to configure the required different visualization pages. The system graphically displays the configuration information of the plug-in on the page, which is easy for users to use and modify.

[0043] S120. After determining that the user has completed the alarm content configuration in the alarm customization interface, generate a custom alarm plug-in according to the alarm content configuration information, alarm monitoring information and target alarm plug-in template input by the user, and save the custom alarm plug-in to the target storage.

[0044] Optionally, according to the alarm content configuration information and the alarm monitoring information, the target alarm plug-in template may be updated and extended to generate a custom alarm plug-in.

[0045] Optionally, after generating a custom alarm plugin, also include:

[0046] When it is detected that the user initiates an online verification request, the plug-in code of the custom alarm plug-in is verified online through the code analysis tool;

[0047] When it is determined based on the online verification result that there is at least one problem in the plug-in code of the custom alarm plug-in, a verification details page is generated based on the online verification result and displayed to the user, so that the user can modify the plug-in code of the custom alarm plug-in based on the verification details page until the custom alarm plug-in passes the online verification.

[0048] Optionally, the online verification may include checking whether the plug-in name, version number, author, and plug-in content are empty, and may also include code quality checking, code vulnerability detection, code security checking, etc. of the plug-in code of the custom alarm plug-in.

[0049] Optionally, a plurality of custom alarm plug-ins may be stored in the target storage, and each custom alarm plug-in in the target storage may perform alarm monitoring at the same time.

[0050] S130. Perform regular monitoring on the custom alarm plug-in according to the alarm monitoring information, and when it is detected that the triggering condition of the custom alarm plug-in is met, trigger the custom alarm plug-in to perform an alarm operation according to the alarm content configuration information.

[0051] Optionally, based on the alarm content configuration information, the form of sending the alarm can be determined, such as SMS, pop-up window, email, etc. The target device, target mailbox, target mobile phone number, etc. of the alarm can also be determined. The specific content of the alarm can also be determined, which is not limited here.

[0052] The technical solution of the embodiment of the present invention obtains the alarm monitoring information input by the user for the newly created custom plug-in, and generates a visual alarm customization interface according to the target alarm plug-in template selected by the user. After determining that the user has completed the alarm content configuration in the alarm customization interface, a custom alarm plug-in is generated according to the alarm content configuration information, alarm monitoring information and the target alarm plug-in template input by the user, and the custom alarm plug-in is saved in the target storage device. According to the alarm monitoring information, the custom alarm plug-in is monitored regularly, and when it is detected that the trigger condition of the custom alarm plug-in is met, the custom alarm plug-in is triggered to perform an alarm operation according to the alarm content configuration information. A customizable and extensible plug-in template is provided, so that the user can quickly obtain different plug-in templates after simply updating or extending the plug-in template, and a variety of alarm content configuration items are configured in the plug-in template to meet the needs of different users, and can provide users with an intuitive modification page through visual display, so that users can easily establish custom alarm plug-ins.

[0053] Embodiment 2

[0054] Figure 3This is a flow chart of a custom alarm monitoring method provided by Embodiment 2 of the present invention. This embodiment specifically describes the custom alarm monitoring method based on the above embodiment. Figure 3 As shown, the method includes:

[0055] S210: When a user creates a new custom plug-in in the alarm system, the alarm monitoring information input by the user is obtained.

[0056] S220. Obtain multiple alarm content configuration items according to the target alarm plug-in template.

[0057] Each alarm content configuration item includes multiple configuration attributes.

[0058] S230: Generate a visual alarm customization interface according to the configuration attributes of each alarm content configuration item.

[0059] S240. After determining that the user has completed the alarm content configuration in the alarm customization interface, the target alarm plug-in template is expanded according to the alarm monitoring information, and the corresponding alarm content configuration items in the target alarm plug-in template are updated according to the alarm content configuration information, a custom alarm plug-in is generated, and the custom alarm plug-in is saved in the target storage.

[0060] S250. Performing regular monitoring on the alarm data according to the regular execution status through the regular task component, and sending the alarm data to the alarm component when it is determined that the alarm data matches the alarm name and satisfies the trigger condition at the same time.

[0061] Optionally, the alarm detection time can be pre-defined in the scheduled execution status configured in the custom alarm plug-in. The scheduled task component can be set according to the time in the scheduled execution status. Every time the specified time is reached, it is checked once whether the alarm data meets the triggering conditions of the custom alarm plug-in. If so, the alarm data will be sent to the alarm component.

[0062] Optionally, the alarm data may include information such as the alarm name, alarm level, alarm occurrence time, and alarm result, which is not limited here.

[0063] Optionally, when the alarm name in the alarm data matches the alarm name in the target custom alarm plug-in and the alarm data meets the triggering condition of the target custom alarm plug-in, the alarm data is sent to the alarm component so that the alarm component triggers the target custom alarm plug-in.

[0064] S260. Call the execution interface exposed by the custom alarm plug-in through the alarm component to trigger the custom alarm plug-in to perform an alarm operation according to the alarm content configuration information.

[0065] Optionally, after the alarm component receives the alarm data, it can call the execution interface exposed by the target custom alarm plug-in to perform the alarm operation according to the alarm content configuration item in the target custom alarm plug-in.

[0066] Optionally, the custom alarm monitoring method may further include:

[0067] When it is detected that the user initiates an alarm data statistics request for the custom alarm plug-in, at least one target alarm content input by the user is obtained, and the execution interface exposed by the custom alarm plug-in is called to generate statistical data matching the target alarm content.

[0068] Optionally, the execution interface exposed by the custom alarm plug-in also has a data statistics function. When it is detected that the user initiates an alarm data statistics request for the custom alarm plug-in, statistics can be performed based on the target alarm content entered by the user, and statistical data can be generated. The target alarm content can refer to the content that the user needs to count, for example, how many log exception-related alarms have been sent, or how many alarms have been sent to a certain person, etc., which are not limited here.

[0069] The technical solution of the embodiment of the present invention obtains the alarm monitoring information input by the user for the newly created custom plug-in, and generates a visual alarm customization interface according to the target alarm plug-in template selected by the user. After determining that the user completes the alarm content configuration in the alarm customization interface, a custom alarm plug-in is generated according to the alarm content configuration information, alarm monitoring information and the target alarm plug-in template input by the user, and the custom alarm plug-in is saved in the target storage device. According to the alarm monitoring information, the custom alarm plug-in is regularly monitored, and when it is detected that the trigger condition of the custom alarm plug-in is met, the custom alarm plug-in is triggered to perform an alarm operation according to the alarm content configuration information. A customizable and extensible plug-in template is provided, so that the user can quickly obtain different plug-in templates after simply updating or extending the plug-in template, and a variety of alarm content configuration items are configured in the plug-in template to meet the needs of different users, and can provide users with an intuitive modification page through visual display, which is convenient for users to establish custom alarm plug-ins, and also realizes automatic processing and notification of alarm information through the combination of scheduled task components and alarm components.

[0070] Embodiment 3

[0071] Figure 4 This is a schematic diagram of the structure of a custom alarm monitoring device provided by Embodiment 3 of the present invention. Figure 4 As shown, the device includes: a custom interface generation module 310, an alarm plug-in generation module 320 and an alarm plug-in execution module 330.

[0072] The custom interface generation module 310 is used to obtain the alarm monitoring information input by the user when the user creates a new custom plug-in in the alarm system, and generate a visual alarm custom interface according to the target alarm plug-in template selected by the user.

[0073] The alarm plug-in generation module 320 is used to generate a custom alarm plug-in according to the alarm content configuration information, alarm monitoring information and the target alarm plug-in template input by the user after determining that the user has completed the alarm content configuration in the alarm customization interface, and save the custom alarm plug-in to the target storage.

[0074] The alarm plug-in execution module 330 is used to periodically monitor the custom alarm plug-in according to the alarm monitoring information, and when it is detected that the trigger condition of the custom alarm plug-in is met, trigger the custom alarm plug-in to perform an alarm operation according to the alarm content configuration information.

[0075] The technical solution of the embodiment of the present invention obtains the alarm monitoring information input by the user for the newly created custom plug-in, and generates a visual alarm customization interface according to the target alarm plug-in template selected by the user. After determining that the user has completed the alarm content configuration in the alarm customization interface, a custom alarm plug-in is generated according to the alarm content configuration information, alarm monitoring information and the target alarm plug-in template input by the user, and the custom alarm plug-in is saved in the target storage device. According to the alarm monitoring information, the custom alarm plug-in is monitored regularly, and when it is detected that the trigger condition of the custom alarm plug-in is met, the custom alarm plug-in is triggered to perform an alarm operation according to the alarm content configuration information. A customizable and extensible plug-in template is provided, so that the user can quickly obtain different plug-in templates after simply updating or extending the plug-in template, and a variety of alarm content configuration items are configured in the plug-in template to meet the needs of different users, and can provide users with an intuitive modification page through visual display, so that users can easily establish custom alarm plug-ins.

[0076] Based on the above embodiments, the custom interface generation module 310 can be specifically used for:

[0077] According to the target alarm plug-in template, a plurality of alarm content configuration items are obtained; wherein each alarm content configuration item includes a plurality of configuration attributes;

[0078] Generate a visual alarm customization interface based on the configuration properties of each alarm content configuration item.

[0079] Based on the above embodiments, the configuration attributes include Chinese name, English name, placeholder prompt information, display configuration, value type, input type, default value and display style;

[0080] When the target alarm plug-in template is an email alarm plug-in template, the alarm content configuration items include an email title, a recipient, a carbon copy, a blind copy, and an email content template.

[0081] Based on the above embodiments, the alarm plug-in generation module 320 can be specifically used for:

[0082] According to the alarm monitoring information, the target alarm plug-in template is expanded, and according to the alarm content configuration information, the corresponding alarm content configuration item in the target alarm plug-in template is updated to generate a custom alarm plug-in.

[0083] Based on the above embodiments, the alarm monitoring information includes the alarm name, triggering conditions and timing execution status.

[0084] Based on the above embodiments, the alarm plug-in execution module 330 can be specifically used for:

[0085] By means of a timed task component, the alarm data is regularly monitored according to the timing execution status, and when it is determined that the alarm data matches the alarm name and satisfies the trigger condition at the same time, the alarm data is sent to the alarm component;

[0086] The execution interface exposed by the custom alarm plug-in is called through the alarm component to trigger the custom alarm plug-in to perform an alarm operation according to the alarm content configuration information.

[0087] On the basis of the above embodiments, a data statistics module may also be included, which is specifically used for:

[0088] When it is detected that the user initiates an alarm data statistics request for the custom alarm plug-in, at least one target alarm content input by the user is obtained, and the execution interface exposed by the custom alarm plug-in is called to generate statistical data matching the target alarm content.

[0089] The user-defined alarm monitoring device provided in the embodiment of the present invention can execute the user-defined alarm monitoring method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0090] Embodiment 4

[0091] Figure 5A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0092] like Figure 5 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0093] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0094] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The processor 11 executes the various methods and processes described above, such as the custom alarm monitoring method described in an embodiment of the present invention. That is:

[0095] When a user creates a custom plug-in in the alarm system, the alarm monitoring information entered by the user is obtained, and a visual alarm custom interface is generated according to the target alarm plug-in template selected by the user;

[0096] After determining that the user has completed the alarm content configuration in the alarm customization interface, generating a custom alarm plug-in according to the alarm content configuration information, alarm monitoring information and the target alarm plug-in template input by the user, and saving the custom alarm plug-in to the target storage;

[0097] According to the alarm monitoring information, the custom alarm plug-in is monitored regularly, and when it is detected that the triggering condition of the custom alarm plug-in is met, the custom alarm plug-in is triggered to perform an alarm operation according to the alarm content configuration information.

[0098] In some embodiments, the custom alarm monitoring method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the custom alarm monitoring method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute the custom alarm monitoring method in any other appropriate manner (e.g., by means of firmware).

[0099] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0100] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0101] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0102] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0103] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0104] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0105] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0106] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A custom alarm monitoring method, characterized in that: include: When a user creates a custom plug-in in the alarm system, the alarm monitoring information entered by the user is obtained, and a visual alarm custom interface is generated according to the target alarm plug-in template selected by the user; After determining that the user has completed the alarm content configuration in the alarm customization interface, generating a custom alarm plug-in according to the alarm content configuration information, alarm monitoring information and the target alarm plug-in template input by the user, and saving the custom alarm plug-in to the target storage; According to the alarm monitoring information, the custom alarm plug-in is monitored regularly, and when it is detected that the triggering condition of the custom alarm plug-in is met, the custom alarm plug-in is triggered to perform an alarm operation according to the alarm content configuration information.

2. The method according to claim 1, characterized in that Generate a visual alarm custom interface based on the target alarm plug-in template selected by the user, including: According to the target alarm plug-in template, a plurality of alarm content configuration items are obtained; wherein each alarm content configuration item includes a plurality of configuration attributes; Generate a visual alarm customization interface based on the configuration properties of each alarm content configuration item.

3. The method according to claim 2, characterized in that The configuration attributes include Chinese name, English name, placeholder prompt information, display configuration, value type, input type, default value and display style; When the target alarm plug-in template is an email alarm plug-in template, the alarm content configuration items include an email title, a recipient, a carbon copy, a blind copy, and an email content template.

4. The method according to claim 2, characterized in that: Generate a custom alarm plug-in based on the alarm content configuration information, alarm monitoring information and the target alarm plug-in template input by the user, including: According to the alarm monitoring information, the target alarm plug-in template is expanded, and according to the alarm content configuration information, the corresponding alarm content configuration item in the target alarm plug-in template is updated to generate a custom alarm plug-in.

5. The method according to claim 4, characterized in that The alarm monitoring information includes the alarm name, triggering conditions and timing execution status.

6. The method according to claim 5, characterized in that According to the alarm monitoring information, the custom alarm plug-in is monitored regularly, and when it is detected that the triggering condition of the custom alarm plug-in is met, the custom alarm plug-in is triggered to perform an alarm operation according to the alarm content configuration information, including: By means of a timed task component, the alarm data is regularly monitored according to the timing execution status, and when it is determined that the alarm data matches the alarm name and satisfies the trigger condition at the same time, the alarm data is sent to the alarm component; The execution interface exposed by the custom alarm plug-in is called through the alarm component to trigger the custom alarm plug-in to perform an alarm operation according to the alarm content configuration information.

7. The method according to claim 6, characterized in that Also includes: When it is detected that the user initiates an alarm data statistics request for the custom alarm plug-in, at least one target alarm content input by the user is obtained, and the execution interface exposed by the custom alarm plug-in is called to generate statistical data matching the target alarm content.

8. A custom alarm monitoring device, characterized in that: include: The custom interface generation module is used to obtain the alarm monitoring information input by the user when the user creates a new custom plug-in in the alarm system, and generate a visual alarm custom interface according to the target alarm plug-in template selected by the user; An alarm plug-in generation module is used to generate a custom alarm plug-in according to the alarm content configuration information, alarm monitoring information and the target alarm plug-in template input by the user after determining that the user has completed the alarm content configuration in the alarm customization interface, and save the custom alarm plug-in to the target storage; The alarm plug-in execution module is used to periodically monitor the custom alarm plug-in according to the alarm monitoring information, and when it is detected that the trigger condition of the custom alarm plug-in is met, trigger the custom alarm plug-in to perform an alarm operation according to the alarm content configuration information.

9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the custom alarm monitoring method described in any one of claims 1 to 7 of the present invention.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the custom alarm monitoring method according to any one of claims 1 to 7 when executed.