Power monitoring alert system, method, apparatus, and storage medium
By introducing a high-security third security room into the power monitoring and alarm system, and aggregating the operational status information of the low-security first and second security rooms, the alarm storm problem caused by multi-room deployment is solved, and timely fault detection and handling are achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHINA SOUTHERN POWER GRID COMPANY
- Filing Date
- 2022-06-24
- Publication Date
- 2026-05-05
AI Technical Summary
When a large number of existing power monitoring and alarm systems are deployed in a computer room, they can easily trigger an alarm storm, making it impossible for the central computer room to handle faults in a timely manner.
A high-security third-level secure data center is used to aggregate the operational status information of the low-security first and second-level secure data centers. Data center detection is performed through preset detection rules, and alarm information is output when anomalies occur, thereby achieving network isolation and centralized monitoring and management between data centers.
It enables timely detection and troubleshooting of faults in power trading systems deployed in multiple data centers, avoiding alarm storms and meeting network security requirements.
Smart Images

Figure CN115276221B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of power monitoring technology, and in particular to a power monitoring alarm system, method, device and storage medium. Background Technology
[0002] With the reform and development of the power market, the business needs of power monitoring and alarm systems are becoming increasingly diverse. Currently, most power monitoring and alarm systems are deployed in a distributed manner. When a sub-datacenter experiences an abnormal operating status, the central datacenter directly determines the abnormal status of the sub-datacenter and issues an alarm.
[0003] When the aforementioned technologies are deployed in a large number of data centers, the number of connected services also increases, requiring more modules to execute these services and thus more modules to be monitored. If a module malfunctions, it can cause errors in multiple data centers, leading to an alarm storm and making it difficult for the central data center to respond to faults promptly and efficiently. Summary of the Invention
[0004] Therefore, it is necessary to provide a power monitoring and alarm system, method, device, and storage medium to address the aforementioned technical problems.
[0005] Firstly, this application provides a power trading monitoring and alarm system, comprising:
[0006] Several first-security data centers are used to perform data center detection according to preset detection rules and output first operational status information; the preset detection rules include performing operational status detection on applications executing target services;
[0007] Several secondary security computer rooms are used to perform computer room detection according to preset detection rules and output secondary operating status information.
[0008] The third security room is connected to each of the first and second security rooms. The security of the third security room is higher than or equal to that of the second security room, and the security of the second security room is higher than that of the first security room. The third security room is used to receive the first and second operating status information, summarize and analyze the first and second operating status information, and output alarm information.
[0009] In one embodiment, the target service includes communication services;
[0010] The first secure data center is equipped with the first node; the first node is used to run applications that execute target services; the first operational status information includes operational status data that characterizes whether the first node is operating normally;
[0011] The second secure data center is equipped with a second node; the second node is used to run applications that execute target business; the second operational status information includes operational status data used to characterize whether the second node is operating normally.
[0012] In one embodiment, the preset detection rules also include detecting at least one of file stagnation status, connection status, and data synchronization status;
[0013] The first secure server room is used to connect to the file server; the first secure server room is used to receive synchronized files from the file server, process the synchronized files, determine the retention time of the processed synchronized files, and output first running status information carrying abnormal data of file retention status when the retention time is greater than a first preset time threshold.
[0014] The first secure server room is used to connect to third-party servers; the first secure server room is used to access third-party servers, and if no response is received from the third-party server for access feedback within a second preset time threshold, it outputs first running status information carrying connection status abnormality data.
[0015] Any first secure computer room is used to connect to another first secure computer room; any first secure computer room is used to perform heartbeat service detection on another first secure computer room, and if an abnormal heartbeat service is detected, output first running status information carrying connection status abnormal data;
[0016] The first security room is used to transmit the disclosure data to be synchronized and displayed to the third security room. If the third security room does not receive the disclosure data within the third preset time threshold, it outputs the first running status information carrying the abnormal data synchronization status.
[0017] In one embodiment, the preset detection rules also include detecting at least one of file stagnation status, connection status, and data synchronization status;
[0018] The second secure server room is used to connect to the file server; the second secure server room is used to receive synchronized files from the file server, process the synchronized files, determine the retention time of the processed synchronized files, and output second running status information carrying abnormal data of file retention status when the retention time is greater than the first preset time threshold.
[0019] The second secure server room is used to connect to third-party servers; the second secure server room is used to access third-party servers, and if no response is received from the third-party server for access feedback within the second preset time threshold, it outputs second running status information carrying connection status abnormality data;
[0020] Any second secure server room is used to connect to another second secure server room; any second secure server room is used to perform heartbeat service detection on another second secure server room, and if an abnormal heartbeat service is detected, outputs second running status information carrying abnormal connection status data;
[0021] The second security room is used to transmit the disclosure data to be synchronized and displayed to the third security room. If it is determined that the third security room has not received the disclosure data within the third preset time threshold, the second operating status information carrying abnormal data of data synchronization status will be output.
[0022] In one embodiment, the third secure data center is used to perform heartbeat service detection on the first secure data center and the second secure data center respectively, in order to determine whether the network link status of the first secure data center and the second secure data center is abnormal.
[0023] Secondly, this application also provides a power monitoring and alarm method, which is applied to a third security room in a power monitoring and alarm system; the power monitoring and alarm system further includes a first security room connected to the third security room, and a second security room connected to the third security room; wherein the security of the third security room is higher than or equal to that of the second security room, and the security of the second security room is higher than that of the first security room; the method includes:
[0024] Receive first operational status information transmitted from the first secure data center; the first operational status information is obtained by the first secure data center through data center detection using preset detection rules; the preset detection rules include performing operational status detection on applications executing target services;
[0025] Receive the second operational status information transmitted from the second secure computer room; the second operational status information is obtained by the second secure computer room through computer room detection using preset detection rules.
[0026] The first and second operating status information are summarized and analyzed to output alarm information.
[0027] Thirdly, this application also provides a power monitoring and alarm device, which is applied to a third security room in a power monitoring and alarm system; the power monitoring and alarm system further includes a first security room connected to the third security room, and a second security room connected to the third security room; wherein, the security of the third security room is higher than or equal to that of the second security room, and the security of the second security room is higher than that of the first security room; the device includes:
[0028] The first information receiving module is used to receive the first operating status information transmitted by the first secure computer room; the first operating status information is obtained by the first secure computer room through computer room detection according to preset detection rules; the preset detection rules include performing operating status detection on the application executing the target business.
[0029] The second information receiving module is used to receive the second operating status information transmitted by the second security room; the second operating status information is obtained by the second security room through room detection according to preset detection rules.
[0030] The summary analysis module is used to summarize and analyze the first and second running status information and output alarm information.
[0031] Fourthly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements any of the power monitoring and alarm methods described above.
[0032] Fifthly, this application also provides a computer program product, including a computer program that, when executed by a processor, implements any of the power monitoring and alarm methods described above.
[0033] In the aforementioned power monitoring and alarm system, method, device, and storage medium, the third security room is connected to each of the first and second security rooms. The first and second security rooms monitor the operational status of applications executing target services within their respective rooms and output operational status information. The third security room receives this operational status information, summarizes and analyzes it, and outputs alarm information. In this application, the security level of the third security room is higher than or equal to that of the second security room, and the security level of the second security room is higher than that of the first security room. Therefore, this application can meet network security requirements by dividing the rooms according to their security levels, achieving network isolation between the rooms. The highly secure third security room can summarize the operational status information of all rooms, centrally monitor and manage system operational status messages, thereby enabling timely detection of anomalies and troubleshooting of faults. Attached Figure Description
[0034] To more clearly illustrate the technical solutions in the embodiments of this application or the conventional technology, the drawings used in the description of the embodiments or the conventional technology will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0035] Figure 1 This is an application environment diagram of a power monitoring and alarm system in one embodiment;
[0036] Figure 2 This is a schematic diagram of the internal structure of a power monitoring and alarm system in one embodiment;
[0037] Figure 3 This is a schematic diagram of the internal structure of the computer room in a power monitoring and alarm system in one embodiment;
[0038] Figure 4 This is a schematic diagram of the internal structure of the power monitoring and alarm system in another embodiment;
[0039] Figure 5 This is a schematic diagram of a power monitoring and alarm system in one embodiment;
[0040] Figure 6 Here is a logic block diagram of a power monitoring and alarm system in one embodiment;
[0041] Figure 7 This is a schematic diagram of a power monitoring and alarm method in one embodiment;
[0042] Figure 8 This is a schematic diagram of a power monitoring and alarm device in one embodiment;
[0043] Figure 9 This is a schematic diagram of a server in one embodiment;
[0044] Figure 10 This is a schematic diagram of the terminal structure in one embodiment. Detailed Implementation
[0045] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0046] It is understood that the terms "first," "second," etc., used in this application may be used to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another. It should be noted that when an element is considered to be "connected" to another element, it can be directly connected to the other element or connected to the other element through an intermediary element. Furthermore, in the following embodiments, "connection" should be understood as "electrical connection," "communication connection," etc., if there is transmission of electrical signals or data between the connected objects.
[0047] When used herein, the singular forms of “a,” “an,” and “ / the” may also include the plural forms unless the context clearly indicates otherwise. It should also be understood that the terms “comprising / including” or “having,” etc., specify the presence of the stated features, wholes, steps, operations, components, parts, or combinations thereof, but do not preclude the possibility of the presence or addition of one or more other features, wholes, steps, operations, components, parts, or combinations thereof. Meanwhile, the term “and / or” as used in this specification includes any and all combinations of the associated listed items.
[0048] The power monitoring and alarm system provided in this application embodiment can be applied to, for example... Figure 1 The application environment is shown. Taking the application of this application to a power trading system as an example, the power trading system may include several data centers. In some examples, the power trading system may adopt a multi-data center distributed deployment and connect to multiple business systems. Furthermore, this application proposes that data centers in the power trading system can be divided into high-security data centers and low-security data centers based on their security levels. Utilizing a mechanism where low-security data centers cannot access high-security data centers, while high-security data centers can unidirectionally access low-security data centers, high-security data centers can aggregate information from all data centers and centrally monitor and manage the system's operational status.
[0049] Among them, such as Figure 1 As shown, the application environment includes a server 110, a power monitoring and alarm system 130, and a terminal 150, wherein the server 110, the power monitoring and alarm system 130, and the terminal 150 communicate via a network. The power monitoring and alarm system 130 can interact with the server 110 to transmit data and perform system self-monitoring, and transmit monitoring information to the terminal 150.
[0050] Among them, terminal 150 can be a smartphone and a central monitoring screen, but is not limited to smartphones and central monitoring screens. It can be various personal computers, laptops, tablets, IoT devices, and portable wearable devices. IoT devices can be smart speakers, smart TVs, smart air conditioners, smart in-vehicle devices, etc. Portable wearable devices can be smartwatches, smart bracelets, head-mounted devices, etc. Server 110 can be implemented using a standalone server or a server cluster composed of multiple servers.
[0051] In one embodiment, such as Figure 2 As shown, a power monitoring and alarm system is provided, which can be applied to... Figure 1 Taking the China Power Trading System as an example, the system includes:
[0052] Several first security computer rooms 220 are used to perform computer room detection according to preset detection rules and output first operating status information; the preset detection rules include performing operating status detection on applications executing target services;
[0053] Several second security computer rooms 240 are provided, which are used to perform computer room detection according to preset detection rules and output second operating status information.
[0054] The third security room 260 is connected to each of the first security rooms 220 and each of the second security rooms 240. The security of the third security room 260 is higher than or equal to that of the second security room 240, and the security of the second security room 240 is higher than that of the first security room 220. The third security room 260 is used to receive the first and second operating status information, summarize and analyze the first and second operating status information, and output alarm information.
[0055] Specifically, the power monitoring and alarm system in this application includes a plurality of first security rooms 220, a plurality of second security rooms 240, and a third security room 260. The third security room 260 is connected to each of the first security rooms 220 and each of the second security rooms 240. The first security room 220 performs room detection on itself (first security room 220) using preset detection rules and outputs first operating status information, which includes the operating status data of the application executing the target business in the first security room 220. The second security room 240 performs room detection on itself (second security room 240) using the same preset detection rules and outputs second operating status information, which includes the operating status data of the application executing the target business in the second security room 240.
[0056] The security of the third secure server room 260 is higher than or equal to that of the second secure server room 240, and the security of the second secure server room 240 is higher than that of the first secure server room 220. Therefore, this application can meet network security requirements by dividing server rooms according to their security levels to achieve network isolation between server rooms. The highly secure third secure server room 260 can aggregate the operating status information of all server rooms and centrally monitor and manage system operating status messages, thereby enabling timely detection of anomalies and troubleshooting of faults. Specifically, the third secure server room 260 and the second secure server room 240 can refer to high-security server rooms, and the first secure server room 220 can refer to low-security server rooms.
[0057] In one embodiment, the target service includes communication services;
[0058] The first secure data center 220 is equipped with a first node 320; the first node 320 is used to run applications that execute target services; the first operational status information includes operational status data that characterizes whether the first node 320 is operating normally;
[0059] The second secure data center 240 is equipped with a second node 340; the second node 340 is used to run applications that perform target services; the second operational status information includes operational status data that characterizes whether the second node 340 is operating normally.
[0060] Specifically, such as Figure 3 As shown, the first secure data center 220 may include a first node 320, which may be a server or other equipment in the data center (first secure data center). The first node 320 is used to run applications executing target business within the data center (first secure data center). The second secure data center 240 includes a second node 340, which may be a server or other equipment in the data center (second secure data center). The second node 340 is used to run applications executing target business within the data center (second secure data center). The target business may also include market application services, market information release services, etc.
[0061] In this application, nodes deployed in the first security data center 220 and the second security data center 240 can detect core applications that affect the daily operations of the power trading system. When one of the application nodes malfunctions, the abnormality can be accurately located, and the fault can be handled in a timely manner.
[0062] In one embodiment, the preset detection rules further include detecting at least one of file stagnation status, connection status, and data synchronization status;
[0063] The first secure server room 220 is used to connect to the file server; the first secure server room 220 is used to receive synchronized files from the file server, process the synchronized files, determine the retention time of the processed synchronized files, and output first running status information carrying abnormal data of file retention status when the retention time is greater than a first preset time threshold.
[0064] The first secure server room 220 is used to connect to a third-party server; the first secure server room 220 is used to access the third-party server, and if no response is received from the third-party server for the access feedback within a second preset time threshold, it outputs the first running status information carrying connection status abnormal data.
[0065] Any first security room 220 is used to connect to another first security room 220; any first security room 220 is used to perform heartbeat service detection on another first security room 220, and outputs first running status information carrying connection status abnormality data when an abnormal heartbeat service is detected;
[0066] The first security room 220 is used to transmit the disclosure data to be synchronized and displayed to the third security room 260, and if it is determined that the third security room 260 has not received the disclosure data within the third preset time threshold, it outputs the first running status information carrying the abnormal data synchronization status.
[0067] Specifically, the first secure server room 220 is used to connect to a file server and receive synchronized files from the file server. The file server can be a node of another first secure server room 220, a node of a second secure server room 240, or a third-party server. The synchronized files include computer files such as transfer protocol files, document files, pictures, and programs.
[0068] After receiving synchronized files from the aforementioned file server and performing operations such as viewing, classifying, and modifying them, the first secure data center 220 must delete them and cannot allow them to remain in the local data center. Therefore, it is necessary to determine the time during which synchronized files remain in the local data center. If the time during which synchronized files remain in the local data center exceeds a first preset time threshold, first operating status information carrying abnormal data on file retention status is output. The retention time of synchronized files is calculated by subtracting the modification time of the synchronized files in the local data center from the time of the current data center server. In some examples, the first preset time threshold can be set to 30-50 minutes. Furthermore, in order not to affect the performance of the data center, the first time threshold can be 30 minutes. It should be noted that this application does not limit the setting of the first preset time threshold.
[0069] The first secure server room 220 is also used to connect to a third-party server and simulate access to the third-party server by means of heartbeat detection. If no response is received from the third-party server for access feedback within a second preset time threshold, the first running status information carrying connection status abnormality data is output. In some examples, the second preset time threshold can be set to 1 to 10 seconds. Furthermore, in order not to affect the performance of the server room, the second preset time threshold can be 1 second. It should be noted that this application does not limit the setting of the second preset time threshold.
[0070] Any first security room 220 is also used to connect to another first security room 220; any first security room 220 is used to perform heartbeat service detection on another first security room 220, and if an abnormal heartbeat service is detected, output first running status information carrying connection status abnormality data.
[0071] The first security data room 220 is also used to transmit disclosure data to be synchronized and displayed to the third security data room 260. For disclosure data with a regular synchronization time pattern, synchronization needs to be performed at a specific frequency, such as once a day or once an hour. If the third security data room 260 does not receive the disclosure data within a third preset time threshold, it outputs first operating status information carrying abnormal data synchronization status. In some examples, the third preset time threshold can be set to 30 to 50 minutes. Furthermore, to avoid affecting the performance of the data room, the third time threshold can be 30 minutes. It should be noted that this application does not limit the setting of the third preset time threshold. The disclosed data can include electricity consumption, etc.
[0072] The first security data center 220 connects to the aforementioned data centers and servers, and from the perspective of its impact on the actual operation of the data center, it performs pre-detection of the data center's file retention status, connection status, and data synchronization status. The third security data center 260 only needs to summarize and analyze the results of the above-mentioned operational status detection to quickly output alarm information, thus avoiding the processing burden of the third security data center 260.
[0073] In one embodiment, the preset detection rules also include detecting at least one of file stagnation status, connection status, and data synchronization status;
[0074] The second secure server room 240 is used to connect to the file server; the second secure server room 240 is used to receive synchronized files from the file server, process the synchronized files, determine the retention time of the processed synchronized files, and output first running status information carrying abnormal data of file retention status when the retention time is greater than the first preset time threshold.
[0075] The second secure server room 240 is used to connect to a third-party server; the second secure server room 240 is used to access the third-party server, and if no response is received from the third-party server for access feedback within a second preset time threshold, it outputs first running status information carrying connection status abnormal data.
[0076] Any second security room 240 is used to connect to another second security room 240; any second security room 240 is used to perform heartbeat service detection on another second security room 240, and outputs first running status information carrying connection status abnormality data when an abnormal heartbeat service is detected.
[0077] The second security room 240 is used to transmit the disclosure data to be synchronized and displayed to the third security room 260, and if it is determined that the third security room 260 has not received the disclosure data within the third preset time threshold, it outputs the first running status information carrying the abnormal data synchronization status.
[0078] Specifically, such as Figure 3 As shown, the second secure server room 240 is used to connect to a file server and receive synchronized files from the file server. The file server can be a node of another second secure server room 240, a node of the second secure server room 240, or a third-party server. The synchronized files include computer files such as transfer protocol files, file documents, pictures, and programs.
[0079] After receiving synchronized files from the aforementioned file server and performing operations such as viewing, classifying, and modifying them, the second secure data center 240 must delete them and cannot allow them to remain in the local data center. Therefore, it is necessary to determine the time during which synchronized files remain in the local data center. If the time during which synchronized files remain in the local data center exceeds a first preset time threshold, first operating status information carrying abnormal data on file retention status is output. The retention time of synchronized files is calculated by subtracting the modification time of the synchronized files in the local data center from the time of the current data center server. In some examples, the first preset time threshold can be set to 30-50 minutes. Furthermore, in order not to affect the performance of the data center, the first time threshold can be 30 minutes. It should be noted that this application does not limit the setting of the first preset time threshold.
[0080] The second secure server room 240 is also used to connect to a third-party server and simulate access to the third-party server by means of heartbeat detection. If no response is received from the third-party server for access feedback within a second preset time threshold, the first running status information carrying connection status abnormality data is output. In some examples, the second preset time threshold can be set to 1 to 10 seconds. Furthermore, in order not to affect the performance of the server room, the second preset time threshold can be 1 second. It should be noted that this application does not limit the setting of the second preset time threshold.
[0081] Any second security room 240 is also used to connect to another second security room 240; any second security room 240 is used to perform heartbeat service detection on another second security room 240, and if an abnormal heartbeat service is detected, output first running status information carrying connection status abnormality data.
[0082] The second secure data room 240 is also used to transmit disclosure data to be synchronized and displayed to the third secure data room 260. For disclosure data with a regular synchronization time pattern, synchronization needs to be performed at a specific frequency, such as once a day or once an hour. If the third secure data room 260 does not receive the disclosure data within a third preset time threshold, it outputs first operating status information carrying abnormal data synchronization status. In some examples, the third preset time threshold can be set to 30 to 50 minutes. Furthermore, to avoid affecting the performance of the data room, the third time threshold can be 30 minutes. It should be noted that this application does not limit the setting of the third preset time threshold. The disclosed data can include electricity consumption, etc.
[0083] The second security room 240 connects to the aforementioned computer rooms and servers, and from the perspective of its impact on the actual operation of the computer room, it performs pre-detection of the file retention status, connection status, and data synchronization status of the computer room itself. The third security room 260 only needs to summarize and analyze the results of the above-mentioned operation status detection to quickly output alarm information, thus avoiding the processing burden of the third security room 260.
[0084] In one embodiment, the third secure data center 260 is used to perform heartbeat service detection on the first secure data center 220 and the second secure data center 240 respectively, in order to determine whether the network link status of the first secure data center 220 and the second secure data center 240 is abnormal.
[0085] Specifically, such as Figure 2 As shown, the third security room 260 is connected to the first security room 220 and the second security room 240 respectively; the third security room 260 uses heartbeat detection to detect the network link status of the connected rooms, ensuring that the operating status information output by the first security room 220 and the second security room 240 is transmitted to the third security room 260 in real time.
[0086] In one embodiment, the first secure server room 220, the second secure server room 240, and the third secure server room 260 are also used to connect to a message server. The third secure server room 260 is used to receive first operating status information and second operating status information through the message server.
[0087] Specifically, such as Figure 4 As shown, the first security room 220, the second security room 240 and the third security room 260 are also connected to the message server. The first security room 220 and the second security room 240 store the output operation status information in the message server, and the third security room 260 directly obtains the above operation status information from the message server, thereby ensuring efficient information transmission.
[0088] To further illustrate this application, a specific example is provided below, using an electricity trading system as an example. Figure 5 The diagram shown illustrates a centralized alarm monitoring structure for a cross-data center system, comprising one high-security data center (third-security data center), multiple high-security data centers (second-security data centers), and multiple low-security data centers (first-security data centers).
[0089] Among them, the high-security computer room includes a sub-computer room for performing system status detection (second security computer room) and a central processing computer room for centralized processing of alarm messages (third security computer room), while the low-security computer room (first security computer room) only serves as a sub-computer room for performing system detection. Based on actual business needs and the security level of the computer room, the specific functions of the computer room are classified to meet the actual maintenance and alarm needs of the power trading system.
[0090] Specifically, the system detection content for the aforementioned low-security data centers (first-security data centers) and high-security data centers (second-security data centers) includes: core application status alarms, which monitor the operational status of deployment nodes for all applications affecting daily business in each data center, and issue an alarm when any application node malfunctions; file backlog alarms, which require that files (including file transfer protocols) synchronized with third-party servers or servers in other data centers must be deleted, and issue an alarm if synchronized files have not disappeared after more than 30 minutes; and third-party service status warnings. The heartbeat detection method simulates access to a third-party server. If there is no response after a specified time (default 1 second), an abnormal alarm is triggered. The data synchronization timeout alarm is for data disclosure with a regular synchronization time (e.g., once a day, once an hour). Data synchronization detection is performed. If the recipient does not receive new disclosure data for a specified time interval (default 30 minutes), an abnormal alarm is triggered. The cross-data center network link status alarm is for data centers that interact on the network to access another data center using a heartbeat detection method. If the access from the other data center providing the heartbeat service is abnormal, an abnormal alarm is triggered.
[0091] Furthermore, this application enables centralized monitoring of alarms across data center systems; such as Figure 6 As shown, the specific execution process for system status detection in low-security data centers (first-security data center) and high-security data centers (second-security data centers) may include: each data center (including low-security and high-security data centers) begins alarm status detection for its own data center and resets the alarm status according to the status judgment rules; core application status detection, and alarm status detection results are recorded; file backlog detection (synchronized files between the server local and FTP), and alarm status detection results are recorded; third-party service status detection (services provided by cloud services and third-party applications), and alarm status detection results are recorded; detection of data disclosure timeouts without receipt, and alarm status detection results are recorded; cross-data center network link status detection, and alarm status detection results are recorded; and the alarm messages recorded in the above steps are sent to the alarm message bus.
[0092] For the alarm messages recorded after the above detection steps, the high-security data center (third security data center 260) begins to centrally consume the alarm messages of the low-security data center (first security data center) and high-security data center (second security data center) where the application is deployed; it determines whether there are alarms with abnormal status. If there are alarms with abnormal status, it updates the alarm message status on the large screen and notifies the on-duty personnel and management personnel by SMS, email or telephone; otherwise, it ends the alarm status detection without abnormal handling.
[0093] The numerous alarm systems within the power trading system are categorized and consolidated according to data center and business needs, making the alarms of the entire distributed system clearer. A mechanism is implemented where low-security data centers cannot access high-security data centers. Each data center is configured to monitor the status of its own related system applications and services. Ultimately, the high-security data center aggregates alarms from all application deployment data centers for centralized monitoring and processing. This satisfies network security requirements while ensuring that the distributed system deployed across multiple data centers can promptly detect operational anomalies, allowing for timely troubleshooting.
[0094] In one embodiment, such as Figure 8 As shown, a power monitoring and alarm method is provided, which is applied to a third security room in a power monitoring and alarm system. The power monitoring and alarm system also includes a first security room connected to the third security room and a second security room connected to the third security room. The security level of the third security room is higher than or equal to that of the second security room, and the security level of the second security room is higher than that of the first security room. The method includes:
[0095] Step S720: Receive first operating status information transmitted by the first secure data center; the first operating status information is obtained by the first secure data center through data center detection using preset detection rules; the preset detection rules include operating status detection of applications executing target services.
[0096] Step S740: Receive the second operating status information transmitted by the second security room; the second operating status information is obtained by the second security room through room detection using preset detection rules.
[0097] Step S760: Summarize and analyze the first and second operating status information, and output alarm information.
[0098] The third security room summarizes and centrally analyzes the first and second operating status information, enabling it to quickly output alarm information and promptly notify on-duty personnel for timely handling.
[0099] Specifically, the aforementioned preset detection rules may include: application running status detection, file retention detection, connection status detection, and data synchronization detection, to detect the running status of the computer room and output running status information; among them, based on the level of security, the computer room in the power trading system is divided into high-security computer room and low-security computer room. Utilizing the mechanism that low-security computer room cannot access high-security computer room, while high-security computer room can unidirectionally access low-security computer room, a high-security third-party computer room is used to aggregate information from all computer rooms and centrally monitor and manage the system running status. By aggregating and centrally analyzing the above running status information, the third-party computer room can quickly output alarm information and promptly notify on-duty personnel for timely handling.
[0100] It should be understood that, although Figure 7 The steps in the flowchart are shown sequentially as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order in which these steps are executed, and they can be performed in other orders. Figure 7 At least some of the steps in the process may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but may be executed at different times. The execution order of these steps or stages is not necessarily sequential, but may be executed in turn or alternately with other steps or at least some of the steps or stages in other steps.
[0101] In one embodiment, such as Figure 8 As shown, a power monitoring and alarm device is provided, which is applied to a third security room in a power monitoring and alarm system. The power monitoring and alarm system also includes a first security room connected to the third security room and a second security room connected to the third security room. The security level of the third security room is higher than or equal to that of the second security room, and the security level of the second security room is higher than that of the first security room. The device includes:
[0102] The first information receiving module 820 is used to receive the first operating status information transmitted by the first secure computer room; the first operating status information is obtained by the first secure computer room through computer room detection according to preset detection rules; the preset detection rules include performing operating status detection on the application executing the target business.
[0103] The second information receiving module 840 is used to receive the second operating status information transmitted by the second security room; the second operating status information is obtained by the second security room through room detection according to preset detection rules.
[0104] The summary analysis module 860 is used to summarize and analyze the first and second running status information and output alarm information.
[0105] Specific limitations regarding the power monitoring and alarm device can be found in the limitations of the power monitoring and alarm method described above, and will not be repeated here. Each module in the aforementioned power monitoring and alarm device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device in hardware form, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module. It should be noted that the module division in this embodiment is illustrative and only represents a logical functional division; other division methods may be used in actual implementation.
[0106] In one embodiment, the internal structure diagram of the server involved in this application can be as follows: Figure 9 As shown, this computer device includes a processor, memory, and a network interface connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides the environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The database stores data such as synchronized files. The network interface allows communication with external terminals via a network connection.
[0107] In one embodiment, the internal structure diagram of the terminal involved in this application can be as follows: Figure 10 As shown, the computer device includes a processor, memory, communication interface, display screen, and input devices connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. The display screen can be an LCD screen or an e-ink screen. The input devices can be a touch layer covering the display screen, buttons, a trackball, or a touchpad on the computer device's casing, or an external keyboard, touchpad, or mouse.
[0108] Those skilled in the art will understand that Figure 10 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0109] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the steps of any of the methods described above.
[0110] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps of any of the methods described above.
[0111] In the description of this specification, references to terms such as "some embodiments," "other embodiments," and "ideal embodiments" indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the invention. In this specification, the illustrative descriptions of the above terms do not necessarily refer to the same embodiments or examples.
[0112] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0113] The above embodiments merely illustrate several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.
Claims
1. A power monitoring and alarm system, characterized in that, The system includes: Several first-security data centers are used to perform data center detection according to preset detection rules and output first operating status information; the preset detection rules include performing operating status detection on applications executing target services. Several second security computer rooms are used to perform computer room detection according to the preset detection rules and output second operating status information. A third security room is connected to each of the first security rooms and each of the second security rooms; wherein the security of the third security room is higher than or equal to that of the second security room, and the security of the second security room is higher than that of the first security room; the third security room is used to receive the first operating status information and the second operating status information, and to summarize and analyze the first operating status information and the second operating status information to output alarm information. The preset detection rules also include detecting at least one of the following: file retention status, connection status, and data synchronization status. The first secure server room is used to connect to the file server; the first secure server room is used to receive synchronized files from the file server, process the synchronized files, determine the retention time of the processed synchronized files, and output the first running status information carrying abnormal data of file retention status when the retention time is greater than a first preset time threshold. The first secure server room is used to connect to a third-party server; the first secure server room is used to access the third-party server, and if no response is received from the third-party server for the access feedback within a second preset time threshold, the first operating status information carrying connection status abnormal data is output. Any of the first security data centers is used to connect to another first security data center; any of the first security data centers is used to perform heartbeat service detection on another first security data center, and if an abnormal heartbeat service is detected, output the first running status information carrying abnormal connection status data; The first security room is used to transmit the disclosure data to be synchronized and displayed to the third security room, and if it is determined that the third security room has not received the disclosure data within a third preset time threshold, the first running status information carrying abnormal data of data synchronization status is output. The second secure server room is used to connect to the file server; the second secure server room is used to receive synchronized files from the file server, process the synchronized files, determine the retention time of the processed synchronized files, and output the second running status information carrying abnormal data of file retention status when the retention time is greater than a first preset time threshold. The second secure server room is used to connect to a third-party server; the second secure server room is used to access the third-party server, and if no response is received from the third-party server for the access feedback within a second preset time threshold, it outputs the second running status information carrying connection status abnormality data; Any of the second security rooms is used to connect to another second security room; any of the second security rooms is used to perform heartbeat service detection on another second security room, and if an abnormal heartbeat service is detected, output the second running status information carrying abnormal connection status data; The second secure server room is used to transmit the disclosure data to be synchronized and displayed to the third secure server room, and if it is determined that the third secure server room has not received the disclosure data within a third preset time threshold, the second operating status information carrying abnormal data synchronization status is output.
2. The power monitoring and alarm system according to claim 1, characterized in that, The target service includes communication services; The first secure data center is equipped with a first node; the first node is used to run the application that performs the target business; the first operating status information includes operating status data that characterizes whether the first node is operating normally; The second secure data center has a second node deployed. The second node is used to run the application that performs the target business; The second operational status information includes operational status data used to characterize whether the second node is operating normally.
3. The power monitoring and alarm system according to claim 1, characterized in that, The third secure data center is used to perform heartbeat service detection on the first secure data center and the second secure data center respectively, in order to determine whether the network link status of the first secure data center and the second secure data center is abnormal.
4. The power monitoring and alarm system according to claim 1 or 3, characterized in that, The first secure server room, the second secure server room, and the third secure server room are also used to connect to a message server; the third secure server room is used to receive the first operating status information and the second operating status information through the message server.
5. A power monitoring and alarm method, characterized in that, The method is applied to a third security room in a power monitoring and alarm system; the power monitoring and alarm system further includes a first security room connected to the third security room, and a second security room connected to the third security room; wherein the security of the third security room is higher than or equal to that of the second security room, and the security of the second security room is higher than that of the first security room; the method includes: The system receives first operational status information transmitted from the first secure data center; the first operational status information is obtained by the first secure data center through data center detection using preset detection rules; the preset detection rules include performing operational status detection on applications executing target services. Receive the second operating status information transmitted by the second secure data center; the second operating status information is obtained by the second secure data center performing data center detection according to the preset detection rules. The first and second operating status information are summarized and analyzed to output alarm information; The preset detection rules also include detecting at least one of the following: file retention status, connection status, and data synchronization status. The first secure server room is used to connect to the file server; the first secure server room is used to receive synchronized files from the file server, process the synchronized files, determine the retention time of the processed synchronized files, and output the first running status information carrying abnormal data of file retention status when the retention time is greater than a first preset time threshold. The first secure server room is used to connect to a third-party server; the first secure server room is used to access the third-party server, and if no response is received from the third-party server for the access feedback within a second preset time threshold, the first operating status information carrying connection status abnormal data is output. Any of the first security data centers is used to connect to another first security data center; any of the first security data centers is used to perform heartbeat service detection on another first security data center, and if an abnormal heartbeat service is detected, output the first running status information carrying abnormal connection status data; The first security room is used to transmit the disclosure data to be synchronized and displayed to the third security room, and if it is determined that the third security room has not received the disclosure data within a third preset time threshold, the first running status information carrying abnormal data of data synchronization status is output. The second secure server room is used to connect to the file server; the second secure server room is used to receive synchronized files from the file server, process the synchronized files, determine the retention time of the processed synchronized files, and output the second running status information carrying abnormal data of file retention status when the retention time is greater than a first preset time threshold. The second secure server room is used to connect to a third-party server; the second secure server room is used to access the third-party server, and if no response is received from the third-party server for the access feedback within a second preset time threshold, it outputs the second running status information carrying connection status abnormality data; Any of the second security rooms is used to connect to another second security room; any of the second security rooms is used to perform heartbeat service detection on another second security room, and if an abnormal heartbeat service is detected, output the second running status information carrying abnormal connection status data; The second secure server room is used to transmit the disclosure data to be synchronized and displayed to the third secure server room, and if it is determined that the third secure server room has not received the disclosure data within a third preset time threshold, the second operating status information carrying abnormal data synchronization status is output.
6. A power monitoring and alarm device, characterized in that, The device is applied to a third security room in a power monitoring and alarm system; the power monitoring and alarm system further includes a first security room connected to the third security room, and a second security room connected to the third security room; wherein the security of the third security room is higher than or equal to that of the second security room, and the security of the second security room is higher than that of the first security room; the device includes: The first information receiving module is used to receive first operational status information transmitted by the first secure computer room; the first operational status information is obtained by the first secure computer room through computer room detection using preset detection rules; the preset detection rules include performing operational status detection on applications executing target services. The second information receiving module is used to receive the second operating status information transmitted by the second secure computer room; the second operating status information is obtained by the second secure computer room performing computer room detection according to the preset detection rules. The summary analysis module is used to summarize and analyze the first running status information and the second running status information, and output alarm information; The preset detection rules also include detecting at least one of the following: file retention status, connection status, and data synchronization status. The first secure server room is used to connect to the file server; the first secure server room is used to receive synchronized files from the file server, process the synchronized files, determine the retention time of the processed synchronized files, and output the first running status information carrying abnormal data of file retention status when the retention time is greater than a first preset time threshold. The first secure server room is used to connect to a third-party server; the first secure server room is used to access the third-party server, and if no response is received from the third-party server for the access feedback within a second preset time threshold, the first operating status information carrying connection status abnormal data is output. Any of the first security data centers is used to connect to another first security data center; any of the first security data centers is used to perform heartbeat service detection on another first security data center, and if an abnormal heartbeat service is detected, output the first running status information carrying abnormal connection status data; The first security room is used to transmit the disclosure data to be synchronized and displayed to the third security room, and if it is determined that the third security room has not received the disclosure data within a third preset time threshold, the first running status information carrying abnormal data of data synchronization status is output. The second secure server room is used to connect to the file server; the second secure server room is used to receive synchronized files from the file server, process the synchronized files, determine the retention time of the processed synchronized files, and output the second running status information carrying abnormal data of file retention status when the retention time is greater than a first preset time threshold. The second secure server room is used to connect to a third-party server; the second secure server room is used to access the third-party server, and if no response is received from the third-party server for the access feedback within a second preset time threshold, it outputs the second running status information carrying connection status abnormality data; Any of the second security rooms is used to connect to another second security room; any of the second security rooms is used to perform heartbeat service detection on another second security room, and if an abnormal heartbeat service is detected, output the second running status information carrying abnormal connection status data; The second secure server room is used to transmit the disclosure data to be synchronized and displayed to the third secure server room, and if it is determined that the third secure server room has not received the disclosure data within a third preset time threshold, the second operating status information carrying abnormal data synchronization status is output.
7. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the method of claim 5.
8. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the steps of the method of claim 5.
Citation Information
Patent Citations
Multi-computer room storage system
CN104980519A
Data packet routing method, device, equipment and system and storage medium
CN111935009A