Method and system for triggering early warning notification based on real-time monitoring information

By triggering early warning notifications through real-time monitoring information, and utilizing data collection, early warning thresholds, and role-based permission configuration, an automated process from data collection to notification sending has been achieved. This solves the problems of low operation and maintenance efficiency and errors caused by manual inspections, and improves operation and maintenance efficiency and accuracy.

CN120896843APending Publication Date: 2025-11-04SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202511026048.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-24
Publication Date
2025-11-04

AI Technical Summary

Technical Problem

In existing technologies, the reliance on manual inspections for enterprise system maintenance leads to delayed response times, low maintenance efficiency, and the ease with which data can be missed or incorrect when processed manually.

Method used

The system collects monitoring information in real time through the data acquisition layer, uses early warning thresholds to determine triggering conditions, identifies target recipients based on role and permission configurations, and automatically generates early warning notifications through preset notification methods, thus achieving an automated process from data collection to notification sending.

Benefits of technology

It significantly reduces reliance on manual maintenance, improves the efficiency of maintenance work, ensures that early warning notifications are accurately delivered to responsible personnel, and reduces errors and delays.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120896843A_ABST
    Figure CN120896843A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a method and system for triggering an early warning notification based on real-time monitoring information. According to the method, monitoring information of pressure, flow, network states, system performance indexes and disk performance indexes is collected in real time through a data collection layer, and the tedious work of checking and recording all the monitoring indexes one by one through manual inspection is replaced; then, the service processing layer calls the monitoring information, judges whether an early warning triggering condition is met or not based on a preset early warning threshold value, and determines a target receiving object based on role permission configuration of the association relationship of the user table, the role table and the menu table when the early warning triggering condition is met, so that an early warning notification receiver is accurately positioned; and finally, calling a template in a preset template table by an early warning notification module, automatically generating an early warning notification through a preset notification mode, and sending the early warning notification to the target receiving object. According to the process, automation from data acquisition, trigger condition judgment, target receiving object determination to early warning notification sending is realized, and the efficiency of operation and maintenance work can be remarkably improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of computer, in particular to a method and system for triggering early warning notification based on real-time monitoring information. BACKGROUND

[0002] With the rapid development of computer technology and information system field, the number of business systems independently built by enterprises and various units continues to grow, and the occupancy of server disk space also increases sharply, and the complexity of system operation and maintenance increases day by day. Therefore, the real-time monitoring and abnormal early warning of system running state are more and more urgent.

[0003] At present, most enterprises still rely on manual inspection to find system abnormalities and report them in stages, and at the same time, operation and maintenance personnel need to manually check server performance, disk space, network status and other indicators regularly, and then feedback the problems to the relevant processing personnel through manual transmission.

[0004] However, the existing abnormal handling method relying on manual discovery and reporting will greatly delay the response time of the problem, thereby reducing the efficiency of operation and maintenance work. SUMMARY

[0005] The embodiments of the present application provide an interface authentication method and system based on a large model, which can improve the efficiency of operation and maintenance work.

[0006] In a first aspect, the embodiments of the present application provide a method for triggering early warning notification based on real-time monitoring information, which comprises:

[0007] A1: real-time collecting monitoring information of a monitoring object by using a data collection layer, wherein the monitoring information comprises pressure, flow, network status, system performance indicators and disk performance indicators;

[0008] A2: calling the monitoring information by using a business processing layer, and determining whether the monitoring information reaches an early warning trigger condition based on a preset early warning threshold;

[0009] A3: determining a target receiving object based on role permission configuration when the monitoring information reaches the early warning trigger condition, wherein the role permission configuration limits the permission range of the target receiving object based on the association relationship of a user table, a role table and a menu table;

[0010] A4: generating an early warning notification by using an early warning notification module based on a preset notification mode, calling a template in a preset notification template table, and sending the early warning notification to the target receiving object.

[0011] Preferably,

[0012] After the A1 and before the A2, further comprising:

[0013] transmit the monitoring information to a data processing layer, perform a data preprocessing operation on the monitoring information by using the data processing layer to generate target monitoring information, wherein the data preprocessing operation comprises data cleaning, format conversion, and data integration;

[0014] store the target monitoring information into a target data table of the database layer, wherein the target data table comprises a system performance monitoring related table, a notification related table, a user table, a role table, and a menu table;

[0015] the A2 comprises:

[0016] invoke the target monitoring information by using a business processing layer, and determine whether the monitoring information preprocessed by the data processing layer reaches a warning triggering condition based on a preset warning threshold.

[0017] preferably,

[0018] the A3 comprises:

[0019] D1: associate the role table with the user table and the menu table respectively by using foreign keys to construct a mapping relationship of roles, users, and menus;

[0020] D2: when the monitoring information reaches the warning triggering condition, verify whether a current user has a corresponding business menu permission based on a role permission configuration, if yes, perform step D3, otherwise, perform step D4;

[0021] D3: determine that the current user is a target receiving object of the warning notification;

[0022] D4: push a preset message prompt without the business menu permission to the current user, and reset the role permission.

[0023] preferably,

[0024] the A4 comprises:

[0025] invoke the user table of the database layer by using the warning notification module, analyze target receiving object information of the user table to obtain a preset notification preference in a preset notification mode corresponding to the target receiving object;

[0026] verify whether invalid information exists in a contact mode corresponding to the preset notification preference;

[0027] when the invalid information exists in the contact mode corresponding to the preset notification preference, degrade to a secondary preference of the target receiving object, and perform an effectiveness verification on the secondary preference;

[0028] When the secondary selection preference validity check passes, a preset notification template table is called based on a preset early warning notification priority rule to generate the early warning notification, and the early warning notification is sent to the target receiving object.

[0029] Preferably,

[0030] After the A4, further comprising:

[0031] The early warning notification is stored in a notification history record table of the database layer;

[0032] A system management module is used to record user operation logs and data exception records in real time, wherein the user operation logs include user operation time, user operation content, and user operation state, and the data exception records include process exception approval information and notification exception response information.

[0033] In a second aspect, an embodiment of the present application provides a system for triggering an early warning notification based on real-time monitoring information, and the system comprises:

[0034] A data collection module is used to collect monitoring information of a monitoring object in real time by using a data collection layer, wherein the monitoring information includes pressure, flow, network state, system performance indicators, and disk performance indicators;

[0035] A first determination module is used to determine whether the monitoring information reaches an early warning triggering condition based on a preset early warning threshold by using the monitoring information collected by the data collection module;

[0036] A second determination module is used to determine a target receiving object based on a role permission configuration when the first determination module determines that the monitoring information reaches the early warning triggering condition, wherein the role permission configuration is used to limit a permission range of the target receiving object based on an association relationship among a user table, a role table, and a menu table;

[0037] An early warning notification module is used to generate an early warning notification based on a preset notification mode by calling a template in a preset notification template table, and the early warning notification is sent to the target receiving object determined by the second determination module.

[0038] Preferably,

[0039] After the data collection module and before the first determination module, a data processing module is further included.

[0040] The data processing module is used to perform:

[0041] transmit the monitoring information to a data processing layer, perform a data preprocessing operation on the monitoring information by using the data processing layer to generate target monitoring information, wherein the data preprocessing operation comprises data cleaning, format conversion, and data integration;

[0042] store the target monitoring information into a target data table of the database layer, wherein the target data table comprises a system performance monitoring related table, a notification related table, a user table, a role table, and a menu table;

[0043] The first determining module is further configured to call the target monitoring information by using a business processing layer, and determine whether the monitoring information preprocessed by the data processing layer reaches a warning triggering condition based on a preset warning threshold.

[0044] Preferably,

[0045] The second determining module is further configured to perform:

[0046] D1: associating the role table with the user table and the menu table respectively by using foreign keys to construct a mapping relationship among roles, users, and menus;

[0047] D2: when the monitoring information reaches the warning triggering condition, verifying whether a current user has a corresponding business menu permission based on a role permission configuration, if yes, performing step D3, otherwise, performing step D4;

[0048] D3: determining that the current user is a target receiving object of the warning notification;

[0049] D4: pushing a preset message prompt without the business menu permission to the current user, and resetting a role permission.

[0050] Preferably,

[0051] The warning notification module is further configured to perform:

[0052] retrieve the user table of the database layer, parse target receiving object information of the user table to obtain a preset notification preference in a preset notification mode corresponding to the target receiving object;

[0053] verify whether an invalid information exists in a contact mode corresponding to the preset notification preference;

[0054] when the invalid information exists in the contact mode corresponding to the preset notification preference, degrade to a secondary preference of the target receiving object, and perform an effectiveness verification on the secondary preference;

[0055] When the secondary selection preference validity check passes, a preset notification template table is called based on a preset early warning notification priority rule to generate the early warning notification, and the early warning notification is sent to the target receiving object.

[0056] Preferably,

[0057] After the early warning notification module, further comprising: a system management module;

[0058] The system management module is used for performing:

[0059] The early warning notification is stored in a notification history record table of the database layer;

[0060] Real-time user operation logs and data exception records are recorded, wherein the user operation logs include user operation time, user operation content and user operation state, and the data exception records include process exception approval information and notification exception response information.

[0061] In a third aspect, an embodiment of the present application provides a system for triggering an early warning notification based on real-time monitoring information, comprising: at least one memory and at least one processor;

[0062] The at least one memory is used for storing machine readable programs;

[0063] The at least one processor is used for calling the machine readable programs and executing the method in any one of the first aspect.

[0064] In a fourth aspect, an embodiment of the present application provides a computer readable medium, and the computer readable medium stores computer instructions, and the computer instructions make the processor execute the method in any one of the first aspect when the processor executes the computer instructions.

[0065] The embodiment of the present application provides a method and system for triggering early warning notification based on real-time monitoring information. The method collects monitoring information such as pressure, flow, network state, system performance index and disk performance index through a data collection layer in real time, replaces the tedious work of checking and recording each monitoring index one by one during manual inspection, and thus can avoid the omission and lag that may occur during manual collection. Then, a business processing layer calls the monitoring information, judges whether a warning triggering condition is reached based on a preset warning threshold, determines a target receiving object based on the role permission configuration of the association relationship among a user table, a role table and a menu table, and thus accurately locates the early warning notification receiver, replaces the time for manually comparing data with a threshold, and reduces the error of manual judgment. Finally, an early warning notification module calls a template in a preset template table, automatically generates early warning notification through a preset notification mode, and sends the early warning notification to the target receiving object. The above process realizes the automation from data collection, triggering condition judgment, target receiving object determination to early warning notification sending, greatly reduces the dependence on manual operation and maintenance, and thus significantly improves the efficiency of operation and maintenance. BRIEF DESCRIPTION OF DRAWINGS

[0066] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or the prior art description. Obviously, the drawings in the following description are some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.

[0067] Figure 1 is a flow chart of the method for triggering early warning notification based on real-time monitoring information provided by an embodiment of the present application;

[0068] Figure 2 is a flow chart of another method for triggering early warning notification based on real-time monitoring information provided by an embodiment of the present application;

[0069] Figure 3 is a schematic diagram of a system for triggering early warning notification based on real-time monitoring information provided by an embodiment of the present application;

[0070] Figure 4 is a schematic diagram of another system for triggering early warning notification based on real-time monitoring information provided by an embodiment of the present application;

[0071] Figure 5 is a schematic diagram of still another system for triggering early warning notification based on real-time monitoring information provided by an embodiment of the present application. DETAILED DESCRIPTION

[0072] In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are some but not all of the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art without creative work fall within the protection scope of the present application.

[0073] As shown in Figure 1 The embodiments of the present application provide a method for triggering early warning notification based on real-time monitoring information, which can include the following steps:

[0074] Step 101: Real-time collection of monitoring information of a monitoring object by using a data collection layer, wherein the monitoring information includes pressure, flow, network status, system performance indicators and disk performance indicators;

[0075] Step 102: Calling of the monitoring information by using a business processing layer, and determination of whether the monitoring information reaches an early warning triggering condition based on a preset early warning threshold;

[0076] Step 103: Determination of a target receiving object based on role permission configuration when the monitoring information reaches the early warning triggering condition, wherein the role permission configuration limits the permission range of the target receiving object based on the association relationship of a user table, a role table and a menu table;

[0077] Step 104: Generation of early warning notification by using an early warning notification module to call a template in a preset notification template table based on a preset notification mode, and sending to the target receiving object.

[0078] In the embodiments of the present application, a method for triggering early warning notification based on real-time monitoring information is provided. The method collects monitoring information including pressure, flow, network status, system performance indicators and disk performance indicators in real time by using a data collection layer, which replaces the tedious work of checking and recording each monitoring indicator one by one during manual inspection, thereby avoiding possible omissions and delays in manual collection. Then, the business processing layer calls the monitoring information, and judges whether the early warning triggering condition is reached based on a preset early warning threshold. When the early warning triggering condition is reached, the target receiving object is determined based on the role permission configuration of the association relationship of the user table, the role table and the menu table, thereby accurately positioning the early warning notification receiver, replacing the time for manually comparing data with the threshold, and reducing the error of human judgment. Finally, the early warning notification module calls the template in the preset template table, automatically generates early warning notification through a preset notification mode, and sends it to the target receiving object. The above process realizes the automation from data collection, triggering condition judgment, target receiving object determination to early warning notification sending, greatly reduces the dependence on manual operation and maintenance, and significantly improves the efficiency of operation and maintenance.

[0079] In order to realize the standardization of monitoring information data, in an embodiment of the present application, after the step 101 and before the step 102 in the above embodiment, further comprising:

[0080] transmitting the monitoring information to a data processing layer, performing data preprocessing operations on the monitoring information by using the data processing layer to generate target monitoring information, wherein the data preprocessing operations include data cleaning, format conversion, and data integration;

[0081] storing the target monitoring information into a target data table of the database layer, wherein the target data table includes a system performance monitoring related table, a notification related table, a user table, a role table, and a menu table;

[0082] The step 102 in the above embodiment can specifically include the following steps:

[0083] calling the target monitoring information by using a business processing layer, and determining whether the monitoring information preprocessed by the data processing layer reaches an early warning triggering condition based on a preset early warning threshold.

[0084] In an embodiment of the present application, in order to realize the standardized processing of monitoring information, after transmitting the monitoring information to the data processing layer, the target monitoring information is generated through data preprocessing operations such as data cleaning, format conversion, and data integration, so as to remove redundancy, correct errors, and unify formats, thereby laying a reliable foundation for subsequent storage and analysis and avoiding the problems of omissions and format confusion that are prone to occur when manually processing data. Then, the target monitoring information is stored into a target data table such as a system performance monitoring related table, a notification related table, a user table, a role table, and a menu table of a database layer (such as a MariaDB database). The tables achieve the ordered storage and management of data through the association relationship. The system performance monitoring related table can clearly record the performance indicators such as the memory, CPU, and disk of the running virtual machine. The notification related table can store notification records and templates. The user table, the role table, and the menu table maintain the role permissions and user information, thereby ensuring the integrity and correlation of data. Compared with the case that data is manually recorded and is prone to loss and difficult to associate, the above structured storage manner can make the data query, trace, and calling more efficient, thereby providing accurate data support for subsequent early warning notification and other operations based on data, and further ensuring the smooth operation of the entire monitoring and early warning process. In the system design of real-time collection of monitoring information and triggering of early warning notification, by decoupling the business logic and data processing, the flexibility, maintainability, and scalability of the system can be improved, thereby improving the overall efficiency of system operation and maintenance.

[0085] In order to ensure that the responsible personnel is accurately delivered with the early warning notification, in an embodiment of the present application, the step 103 in the above embodiment can specifically include the following steps:

[0086] D1: the role table is associated with the user table and the menu table respectively by using an external key, and a mapping relationship of roles, users and menus is constructed;

[0087] D2: when the monitoring information reaches the early warning trigger condition, it is checked based on the role permission configuration whether the current user has the corresponding business menu permission, if yes, step D3 is executed, otherwise, step D4 is executed;

[0088] D3: it is determined that the current user is the target receiving object of the early warning notification;

[0089] D4: a preset message prompt without the business menu permission is pushed to the current user, and the role permission is reset.

[0090] In the embodiment of the application, the role table is associated with the user table and the menu table respectively by using an external key, and a mapping relationship of roles, users and menus is constructed, which clearly defines the users corresponding to different roles and the menu permissions that can be operated, providing a clear basis for permission verification. When the monitoring information reaches the early warning trigger condition, it can be checked based on the role permission configuration whether the current user has the corresponding business menu permission. If yes, it is directly determined as the target receiving object, ensuring that the early warning notification is accurately delivered to the responsible personnel and avoiding interference from irrelevant personnel. If not, a preset message prompt (such as "the user does not have the menu permission, please go to the role permission page to configure and confirm!") is pushed and the role permission is reset, ensuring the accuracy and flexibility of permission management. This permission verification and processing mechanism based on the associated table structure realizes the accurate binding and automatic verification of role, user and menu permissions. Compared with the manual judgment of user permissions and the allocation of notification objects, this mechanism reduces the notification delay or mismatch caused by permission confusion, makes the object determination process of the early warning notification more efficient, further improves the timeliness and accuracy of operation and maintenance response, and ensures the orderly operation of system permission management and early warning notification process.

[0091] In order to realize the automation of the early warning notification process, in an embodiment of the application, the step 104 in the above embodiment can specifically include the following steps:

[0092] The user table of the database layer is called by the early warning notification module, the target receiving object information of the user table is parsed, and a preset notification preference in a preset notification mode corresponding to the target receiving object is obtained;

[0093] It is checked whether the contact mode corresponding to the preset notification preference has invalid information;

[0094] When the contact mode corresponding to the preset notification preference has the invalid information, the secondary preference of the target receiving object is degraded, and the validity of the secondary preference is checked;

[0095] When the secondary selection preference validity check passes, the preset notification template table is called based on a preset early warning notification priority rule to generate the early warning notification, and the early warning notification is sent to the target receiving object.

[0096] In the embodiment of the application, the user table of the database layer is called by the early warning notification module, the target receiving object information is parsed to obtain the preset notification preference thereof, and the basic information (such as a user name, a login account, an email address, and a mobile phone number) stored in the user table is relied on to ensure that the corresponding preset notification preference can be accurately obtained; then, it is checked whether the contact information corresponding to the preset notification preference has invalid information, and when there is invalid information, the secondary selection preference is degraded and the validity check is performed, so that the reliability of the notification channel is ensured and notification failure caused by invalid contact information is avoided; after the secondary selection preference check passes, the early warning notification is generated and sent based on the preset priority rule and the template in the notification template table, wherein the notification template is mainly used to maintain template notification information, a fixed template corresponding to each approval process, and template content corresponding to a node, etc., the fixed template maintained in the notification template table can quickly generate standard notification content, and the notification template is configurable, which facilitates dynamic adjustment, is decoupled from the business logic layer, and realizes asynchronous notification through event driving or a message queue. Meanwhile, a variety of preset notification modes such as intelligent voice telephone (for example, voice synthesis is performed by using the FreeTTS voice synthesis technology, voice processes and analyzes input text, extracts important linguistic features such as syllables, tones, and speech rates, etc.), email (for example, the SMTP protocol is used to provide information transmission of the email and ensure the accuracy and confidentiality of the data), and short message are combined. The above three powerful modes improve the response speed, when the monitoring information exceeds the preset threshold, the early warning is automatically triggered, so that the relevant departments or individuals can quickly respond and timely handle the problem, and reduce potential losses. In particular, in the manufacturing industry, real-time monitoring and early warning can effectively prevent production accidents, protect the safety of employees and the integrity of production facilities, thereby greatly reducing the risks and security risks brought by the operation business system.

[0097] In order to realize complete retention and efficient query of data, in an embodiment of the application, the above embodiment further comprises the following steps after the step 104:

[0098] The early warning notification is stored in the notification history record table of the database layer;

[0099] The system management module is used to record user operation logs and data exception records in real time, wherein the user operation logs include user operation time, user operation content, and user operation state, and the data exception records include process exception approval information and notification exception response information.

[0100] In the embodiment of the present application, the early warning notification is stored in the notification history record table of the database layer, the notification record can be retained, the historical data can be reviewed subsequently, the content accuracy can be checked, the early warning processing process can be traced, the system management module is used to record the user operation log (such as user operation time, content and state) and data exception record (such as process exception approval information and notification exception response information) in real time, the administrator or the authorized personnel can understand the user operation condition and the exception information by checking the records, the relevant processing personnel can locate the problem and solve the problem more quickly by checking, and the system operation is more stable. The system operation stability and the data integrity can be ensured, and the administrator user can check the system operation state and perform some simple configuration processing.

[0101] Specifically, the operation log record: the administrator or the authorized personnel can check the operation processing and the operation state record of the user at a certain time by checking the record; the data exception record: the administrator or the authorized personnel can check the corresponding process exception approval information or the notification exception response information by checking the data exception record.

[0102] As shown in Figure 2 To more clearly illustrate the technical solutions and advantages of the present application, the method for triggering an early warning notification based on real-time monitoring information is described in detail below, which can specifically include the following steps:

[0103] Step 201: real-time collection of monitoring information of a monitoring object by using a data collection layer, wherein the monitoring information includes pressure, flow, network state, system performance index and disk performance index;

[0104] For example, an efficient data collection tool (such as Fluentd, Logstash, Telegraf, etc.) can be used to send the original monitoring information data to the intermediate layer (such as a message queue or a data bus).

[0105] Step 202: transmission of the monitoring information to a data processing layer, and execution of a data preprocessing operation on the monitoring information by using the data processing layer to generate target monitoring information, wherein the data preprocessing operation includes data cleaning, format conversion and data integration.

[0106] For example, the data format can be standardized as JSON or Protobuf, real-time data preprocessing can be performed using a stream processing framework (such as Apache Kafka, Apache Flink, Spark Streaming), the processed data can be stored in a suitable database (such as a time series database InfluxDB, a relational database MySQL, a NoSQL database MongoDB, etc.), data storage and business logic decoupling can be achieved, and the independence of the data layer can be ensured.

[0107] Step 203: store the target monitoring information into a target data table of the database layer, wherein the target data table comprises: a system performance monitoring related table, a notification related table, a user table, a role table, and a menu table;

[0108] Step 204: call the target monitoring information by using the business processing layer, and determine whether the monitoring information preprocessed by the data processing layer reaches a warning triggering condition based on a preset warning threshold;

[0109] Specifically, the business processing layer can also analyze and process the target monitoring information and generate corresponding tables, charts and line graphs, and utilize the display layer to display the use of the system in real time, so as to provide a visual interface for users, monitor the overall operation of various systems through the visual interface, analyze data, monitor abnormal conditions of the system in real time, give early warning and timely notify relevant handlers and the system and make effective response and processing.

[0110] Step 205: associate the role table with the user table and the menu table respectively by using foreign keys, and construct a mapping relationship of the role, the user and the menu;

[0111] Step 206: when the monitoring information reaches the warning triggering condition, verify whether the current user has corresponding business menu permissions based on role permission configuration, if yes, execute step 207, otherwise, execute step 214;

[0112] Step 207: determine that the current user is a target receiving object of the warning notification;

[0113] Step 208: call the user table of the database layer by using the warning notification module, analyze the target receiving object information of the user table, and obtain a preset notification preference in a preset notification mode corresponding to the target receiving object;

[0114] Step 209: verify whether the contact mode corresponding to the preset notification preference has invalid information;

[0115] Step 210: when the contact mode corresponding to the preset notification preference has invalid information, degrade to a second selection preference of the target receiving object, and perform validity verification on the second selection preference;

[0116] Step 211: when the secondary selection preference validity check passes, generate an early warning notification based on a preset early warning notification priority rule and a preset notification template table, and send to the target receiving object;

[0117] For example, the business logic can be implemented by using independent services or microservices, and the early warning rules can be configured (for example, by using a rule engine such as Drools, Easy Rules, etc.); the business logic layer interacts with the data processing layer through an API or a message queue, thereby avoiding direct dependence.

[0118] Step 212: store the early warning notification in a notification history record table in the database layer;

[0119] Step 213: use the system management module to record user operation logs and data exception records in real time, wherein the user operation logs include user operation time, user operation content, and user operation state, and the data exception records include process exception approval information and notification exception response information;

[0120] Step 214: push a preset message prompt without business menu permission to the current user, and reset the role permission.

[0121] As shown in Figure 3 The embodiment of the application provides a system for triggering an early warning notification based on real-time monitoring information, which comprises:

[0122] A data acquisition module 301 is configured to acquire monitoring information of a monitoring object in real time by using a data acquisition layer, wherein the monitoring information comprises pressure, flow, network status, system performance indicators, and disk performance indicators;

[0123] A first determination module 302 is configured to determine whether the monitoring information reaches an early warning triggering condition based on a preset early warning threshold by using a business processing layer to call the monitoring information acquired by the data acquisition module 301;

[0124] A second determination module 303 is configured to determine a target receiving object based on a role permission configuration when the first determination module 302 determines that the monitoring information reaches the early warning triggering condition, wherein the role permission configuration is used to limit the permission range of the target receiving object based on an association relationship among a user table, a role table, and a menu table;

[0125] An early warning notification module 304 is configured to generate an early warning notification based on a preset notification mode by calling a template in a preset notification template table, and send the early warning notification to the target receiving object determined by the second determination module 303.

[0126] Based on Figure 3 The system for triggering an early warning notification based on real-time monitoring information, as shown in Figure 4As shown, the data processing module 305 is further arranged between the data collection module 301 and the first determination module 302.

[0127] The data processing module 305 is configured to perform:

[0128] transmit the monitoring information to a data processing layer, perform a data preprocessing operation on the monitoring information by using the data processing layer to generate target monitoring information, wherein the data preprocessing operation comprises data cleaning, format conversion, and data integration;

[0129] store the target monitoring information into a target data table of the database layer, wherein the target data table comprises a system performance monitoring related table, a notification related table, a user table, a role table, and a menu table.

[0130] The first determination module 302 is further configured to call the target monitoring information by using a business processing layer, and determine whether the monitoring information preprocessed by the data processing layer reaches an early warning triggering condition based on a preset early warning threshold.

[0131] As shown in the first aspect, Figure 4 The second determination module 303 is further configured to perform:

[0132] D1: associate the role table with the user table and the menu table respectively by using foreign keys to construct a mapping relationship among roles, users, and menus;

[0133] D2: when the monitoring information reaches the early warning triggering condition, verify whether a current user has a corresponding business menu permission based on a role permission configuration, if yes, perform step D3, otherwise, perform step D4;

[0134] D3: determine that the current user is a target receiving object of the early warning notification;

[0135] D4: push a preset message prompt without the business menu permission to the current user, and reset the role permission.

[0136] As shown in the first aspect, Figure 4 The early warning notification module 304 is further configured to perform:

[0137] invoke the user table of the database layer, parse target receiving object information of the user table to obtain a preset notification preference in a preset notification mode corresponding to the target receiving object;

[0138] verify whether invalid information exists in a contact mode corresponding to the preset notification preference;

[0139] When invalid information exists in the contact information corresponding to the preset notification preference, it is downgraded to the secondary preference of the target recipient, and a validity check is performed on the secondary preference;

[0140] When the validity verification of the secondary preference passes, the warning notification is generated by calling the template in the preset notification template table based on the preset warning notification priority rules, and sent to the target receiving object.

[0141] based on Figure 4 The system shown triggers early warning notifications based on real-time monitoring information, such as... Figure 5 As shown, after the early warning notification module 304, a system management module 306 is further included;

[0142] The system management module 306 is used to perform:

[0143] The warning notification is stored in the notification history table of the database layer;

[0144] Real-time recording of user operation logs and data anomaly records, wherein the user operation logs include: user operation time, user operation content, and user operation status, and the data anomaly records include: abnormal process approval information and abnormal notification response information.

[0145] It is understood that the structures illustrated in the embodiments of the present invention do not constitute a specific limitation on the system for triggering early warning notifications based on real-time monitoring information. In other embodiments of the present invention, the system for triggering early warning notifications based on real-time monitoring information may include more or fewer components than illustrated, or combine some components, split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0146] The information interaction and execution process between the various units in the above-mentioned device are based on the same concept as the method embodiment of the present invention, and the specific details can be found in the description of the method embodiment of the present invention, and will not be repeated here.

[0147] This invention also provides a system for triggering early warning notifications based on real-time monitoring information, comprising: at least one memory and at least one processor;

[0148] At least one memory for storing machine-readable programs;

[0149] At least one processor is configured to invoke a machine-readable program to execute the method for triggering early warning notifications based on real-time monitoring information in any embodiment of the present invention.

[0150] The embodiment of the present application further provides a computer readable medium, and the computer readable medium stores computer instructions, and the computer instructions enable the processor to execute the method for triggering the early warning notification based on the real-time monitoring information according to any one of the embodiments of the present application when executed by the processor.

[0151] Specifically, a system or device provided with a storage medium storing software program codes for realizing the functions of any one of the above embodiments can be provided, and the computer (or CPU or MPU) of the system or device reads and executes the program codes stored in the storage medium.

[0152] In this case, the program codes read from the storage medium can realize the functions of any one of the above embodiments by themselves, and thus the program codes and the storage medium storing the program codes constitute a part of the present application.

[0153] The embodiments of the storage medium for providing the program codes include floppy disks, hard disks, magneto-optical disks, optical disks (such as CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD+RW), magnetic tapes, nonvolatile memory cards and ROMs. Alternatively, the program codes can be downloaded from a server computer through a communication network.

[0154] In addition, it should be clear that not only the program codes read by the computer can be executed, but also the operating system and the like operating on the computer can be caused to perform part or all of the actual operations based on the instructions of the program codes, so as to realize the functions of any one of the above embodiments.

[0155] In addition, it should be understood that the program codes read from the storage medium can be written into the memory provided in the expansion board inserted into the computer or the memory provided in the expansion unit connected to the computer, and then part or all of the actual operations can be performed based on the instructions of the program codes by the CPU and the like installed on the expansion board or the expansion unit, so as to realize the functions of any one of the above embodiments.

[0156] The various embodiments of the present application have at least the following beneficial effects:

[0157] 1. In this embodiment of the invention, a method for triggering early warning notifications based on real-time monitoring information is provided. This method collects monitoring information, including pressure, traffic, network status, system performance indicators, and disk performance indicators, in real time through a data acquisition layer. This replaces the tedious work of manually checking and recording each monitoring indicator one by one during manual inspections, thus avoiding omissions and delays that may occur during manual collection. Then, the business processing layer calls the monitoring information and determines whether the early warning triggering condition has been met based on a preset early warning threshold. When the early warning triggering condition is met, the target recipient is determined based on the role permission configuration of the user table, role table, and menu table, thereby accurately locating the recipient of the early warning notification. This replaces the time spent manually comparing data with thresholds one by one and reduces errors in human judgment. Finally, the early warning notification module calls a template from a preset template table, automatically generates an early warning notification through a preset notification method, and sends it to the target recipient. The above process automates the entire process from data collection, triggering condition judgment, target recipient determination to early warning notification sending, significantly reducing reliance on manual operation and maintenance, and thus significantly improving the efficiency of operation and maintenance work.

[0158] 2. In this embodiment of the invention, to achieve standardized processing of monitoring information, after the monitoring information is transmitted to the data processing layer, target monitoring information is generated through data preprocessing operations such as data cleaning, format conversion, and data integration. Redundancy is removed, errors are corrected, and the format is unified, laying a reliable foundation for subsequent storage and analysis and avoiding omissions and format confusion that are prone to occur when manually processing data. Subsequently, the target monitoring information is stored in target data tables such as system performance monitoring related tables, notification related tables, user tables, role tables, and menu tables in the database layer. Each table achieves orderly storage and management of data through association relationships. The system performance monitoring related tables can clearly record the memory and CPU of the running virtual machine. Performance metrics such as U and disk are monitored. Notification-related tables can retain notification records and templates. User tables, role tables, and menu tables maintain role permissions and user information, ensuring data integrity and relevance. Compared to manual data recording, which is prone to loss and difficult to correlate, the above-mentioned structured storage method makes data querying, tracing, and retrieval more efficient. It provides accurate data support for subsequent data-based early warning notifications and other operations, thereby ensuring the smooth operation of the entire monitoring and early warning process. In the system design that collects monitoring information in real time and triggers early warning notifications, by decoupling business logic from data processing, the system's flexibility, maintainability, and scalability can be improved, thereby enhancing the overall efficiency of system operation and maintenance.

[0159] 3. In the embodiment of the present application, by using foreign keys to associate the role table with the user table and the menu table respectively, the mapping relationship of roles, users and menus is constructed, and the corresponding users and operable menu permissions of different roles are clarified, providing a clear basis for permission checking; when the monitoring information reaches the early warning trigger condition, based on the role permission configuration, it is checked whether the current user has the corresponding business menu permission, if yes, it is directly determined as the target receiving object, ensuring that the early warning notification is accurately delivered to the responsible person, avoiding interference by irrelevant personnel; if not, a preset message prompt without permission is pushed and the role permission is reset, ensuring the accuracy and flexibility of permission management. This permission checking and processing mechanism based on the associated table structure realizes the accurate binding and automatic checking of role, user and menu permissions, compared with the manual judgment of user permissions and the allocation of notification objects, reduces the notification delay or mismatch caused by permission confusion, makes the object determination process of early warning notification more efficient, further improves the timeliness and accuracy of operation and maintenance response, and ensures the orderly operation of system permission management and early warning notification process.

[0160] It should be noted that not all steps and modules in the above processes and system structure diagrams are necessary, and some steps or modules can be ignored according to actual needs. The execution order of each step is not fixed and can be adjusted as needed. The system structure described in each of the above embodiments can be a physical structure or a logical structure, that is, some modules can be implemented by the same physical entity, or some modules can be implemented by multiple physical entities, or can be implemented by some components in multiple independent devices.

[0161] In each of the above embodiments, a hardware unit can be implemented mechanically or electrically. For example, a hardware unit can include permanent dedicated circuitry or logic (such as a dedicated processor, FPGA, or ASIC) to complete the corresponding operation. The hardware unit can also include programmable logic or circuitry (such as a general-purpose processor or other programmable processor), which can be temporarily set by software to complete the corresponding operation. The specific implementation method (mechanical method, or dedicated permanent circuit, or temporarily set circuit) can be determined based on cost and time considerations.

[0162] The above only describes the preferred embodiments of the present application and is not intended to limit the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.

Claims

1. A method for triggering an early warning notification based on real-time monitoring information, characterized in that, The method comprises: A1: collecting monitoring information of a monitoring object in real time by using a data collection layer, wherein the monitoring information comprises pressure, flow, network status, system performance indicators and disk performance indicators; A2: calling the monitoring information by using a business processing layer, and determining whether the monitoring information reaches an early warning trigger condition based on a preset early warning threshold; A3: determining a target receiving object based on role permission configuration when the monitoring information reaches the early warning trigger condition, wherein the role permission configuration limits the permission range of the target receiving object based on the association relationship of a user table, a role table and a menu table; A4: generating an early warning notification by calling a template in a preset notification template table by using a warning notification module based on a preset notification method, and sending the early warning notification to the target receiving object.

2. The method of claim 1, wherein, after A1 and before A2, further comprising: transmitting the monitoring information to a data processing layer, performing data preprocessing operations on the monitoring information by using the data processing layer to generate target monitoring information, wherein the data preprocessing operations include data cleaning, format conversion and data integration; storing the target monitoring information into a target data table of the database layer, wherein the target data table includes system performance monitoring related tables, notification related tables, a user table, a role table and a menu table; A2, comprising: calling the target monitoring information by using the business processing layer, and determining whether the monitoring information preprocessed by the data processing layer reaches an early warning trigger condition based on a preset early warning threshold.

3. The method of claim 2, wherein A3 comprises: D1: associating the role table with the user table and the menu table respectively by using foreign keys to construct a mapping relationship of roles, users and menus; D2: when the monitoring information reaches the early warning trigger condition, verifying whether the current user has corresponding business menu permissions based on role permission configuration, if yes, performing step D3, otherwise, performing step D4; D3: determining that the current user is the target receiving object of the early warning notification; D4: pushing a preset message prompt without the business menu permissions to the current user, and resetting the role permissions.

4. The method of any one of claims 1-3, wherein A4 comprises: using the warning notification module to call the user table of the database layer, parsing the target receiving object information of the user table to obtain a preset notification preference in the preset notification method corresponding to the target receiving object; verifying whether the contact information corresponding to the preset notification preference has invalid information; when the contact information corresponding to the preset notification preference has the invalid information, degrading to a secondary preference of the target receiving object, and performing validity verification on the secondary preference; when the secondary preference validity verification passes, generating the early warning notification based on a preset early warning notification priority rule by calling a template in a preset notification template table, and sending the early warning notification to the target receiving object; and / or, after A4, further comprising: ​ ​ ​ ​ store the early warning notification into a notification history record table of the database layer; record user operation logs and data exception records in real time by using a system management module, wherein the user operation logs include user operation time, user operation content and user operation state, and the data exception records include process exception approval information and notification exception response information.

5. A system for triggering an early warning notification based on real-time monitoring information, characterized in that, The system comprises: a data acquisition module configured to acquire monitoring information of a monitoring object in real time by using a data acquisition layer, wherein the monitoring information includes pressure, flow, network status, system performance indicators and disk performance indicators; a first determination module configured to determine whether the monitoring information reaches an early warning trigger condition based on a preset early warning threshold by using a business processing layer to call the monitoring information acquired by the data acquisition module; a second determination module configured to determine a target receiving object based on role permission configuration when the first determination module determines that the monitoring information reaches the early warning trigger condition, wherein the role permission configuration is used to limit a permission range of the target receiving object based on an association relationship among a user table, a role table and a menu table; an early warning notification module configured to generate an early warning notification based on a preset notification mode by calling a template in a preset notification template table and send the early warning notification to the target receiving object determined by the second determination module.

6. The system of claim 5, further comprising a data processing module between the data acquisition module and the first determination module. The data processing module is configured to perform: transmit the monitoring information to a data processing layer, perform a data preprocessing operation on the monitoring information by using the data processing layer to generate target monitoring information, wherein the data preprocessing operation includes data cleaning, format conversion and data integration; store the target monitoring information into a target data table of the database layer, wherein the target data table includes system performance monitoring related tables, notification related tables, a user table, a role table and a menu table; the first determination module is further configured to call the target monitoring information by using a business processing layer and determine whether the monitoring information preprocessed by the data processing layer reaches an early warning trigger condition based on a preset early warning threshold.

7. The system of claim 6, wherein the second determination module is further configured to perform: D1: associate the role table with the user table and the menu table respectively by using a foreign key to construct a mapping relationship among roles, users and menus; D2: when the monitoring information reaches the early warning trigger condition, verify whether a current user has a corresponding business menu permission based on role permission configuration, if yes, perform step D3, otherwise, perform step D4; D3: determine that the current user is a target receiving object of the early warning notification; D4: push a preset message prompt without the business menu permission to the current user and reset the role permission. the early warning notification module is further configured to perform: retrieve the user table of the database layer, parse target receiving object information of the user table to obtain a preset notification preference in a preset notification mode corresponding to the target receiving object.

8. The system of any of claims 5-7, wherein, ​ ​ checking whether invalid information exists in the contact information corresponding to the preset notification preference; when the invalid information exists in the contact information corresponding to the preset notification preference, degrading to a second selection preference of the target receiving object, and performing validity checking on the second selection preference; when the validity checking on the second selection preference is passed, generating the early warning notification based on a preset early warning notification priority rule and a preset notification template table, and sending the early warning notification to the target receiving object; and / or, after the early warning notification module, further comprising a system management module; the system management module is used for performing: storing the early warning notification into a notification history record table of the database layer; real-time recording of user operation logs and data exception records, wherein the user operation logs include user operation time, user operation content and user operation state, and the data exception records include process exception approval information and notification exception response information.

9. A system for triggering an early warning notification based on real-time monitoring information, characterized in that, comprise: at least one memory and at least one processor; the at least one memory is used for storing machine readable programs; the at least one processor is used for calling the machine readable programs and executing the method in any one of claims 1 to 4.

10. A computer readable medium characterized by The computer readable medium stores computer instructions, and the computer instructions make the processor execute the method in any one of claims 1 to 4 when executed by the processor. The computer readable medium stores computer instructions, and the computer instructions make the processor execute the method in any one of claims 1 to 4 when executed by the processor.

Citation Information

Patent Citations

  • Early warning method with identity recognition function

    CN115758302A

  • Service system monitoring method, equipment and medium

    CN116737493A