Alarm information compensation method and device, equipment and storage medium

By obtaining the target point value information of the target device from the status information database in the rail transit system and generating matching alarm information for recompense, the problem that the equipment monitoring system cannot receive alarm data is solved, and automatic recompense of lost alarm information and system security is achieved.

CN119645971APending Publication Date: 2025-03-18BEIJING URBAN CONSTR INTELLIGENT CONTROL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411478086.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-22
Publication Date
2025-03-18

AI Technical Summary

Technical Problem

The equipment monitoring system in the rail transit system cannot receive alarm data due to network fluctuations or equipment abnormalities, resulting in the equipment being unable to generate alarms in time, and even losing alarm information of equipment, reducing the operating safety of the rail transit system.

Method used

By obtaining the target point value information of each target point of the target device from the status information database, and determining that the target point value information of the target point matches the alarm rules, the target alarm information is generated and repaired to the alarm information database to realize automatic repair of lost alarm information.

Benefits of technology

Automatic recompensation of lost alarm information is realized, ensuring that the equipment monitoring system can receive alarm information in a timely manner, and improving the operational safety of the rail transit system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119645971A_ABST
    Figure CN119645971A_ABST
Patent Text Reader

Abstract

The invention provides an alarm information compensation method and device, equipment and a storage medium. The alarm information compensation method comprises the following steps: acquiring target point value information of each target point of target equipment from a state information database; the target point is used for representing a part of target equipment; for each target point, determining whether alarm information corresponding to the target point value information of the target point exists in an alarm information database or not under the condition of determining that the target point value information of the target point is matched with the alarm rule corresponding to the target point; the alarm information database is used for storing alarm information sent by the parts of each device under the condition that the state is changed; under the condition that the alarm information corresponding to the target point value information of the target point does not exist in the alarm information database, generating target alarm information based on the target point value information of the target point and an alarm rule corresponding to the target point; and supplementing the target alarm information to the alarm information database. According to the invention, automatic compensation of the lost alarm data can be realized, and the operation safety of the rail transit system is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to an alarm information replenishment method, device, equipment and storage medium. Background Art

[0002] The rail transit industry not only provides a convenient means of transportation for the rapid development of cities, but is also an indispensable part of people's lives. However, as the rail transit system becomes increasingly complex and large, how to ensure its safe and efficient operation has become an urgent problem to be solved.

[0003] In order to ensure the safe operation of the rail transit system, the alarm function in the equipment monitoring system is particularly important. An effective alarm mechanism is the core of the equipment monitoring system. When the equipment monitoring system detects an abnormality in the equipment, the alarm function can immediately send out an alarm signal.

[0004] However, due to network fluctuations or equipment anomalies, the equipment monitoring system may not be able to receive alarm data, resulting in the equipment monitoring system being unable to generate alarms in a timely manner, or even losing the equipment's alarm information. In this case, even if the equipment fails, the equipment monitoring system will not be able to detect it and issue a corresponding alarm, which poses a potential threat to the safe operation of the equipment and reduces the operational safety of the rail transit system. Summary of the invention

[0005] The present invention provides an alarm information replenishment method, device, equipment and storage medium, which are used to solve the defect of low movement safety of rail transit system caused by alarm data loss in the prior art, realize automatic replenishment of lost alarm data, and improve the operation safety of rail transit system.

[0006] The present invention provides an alarm information replenishment method, comprising:

[0007] Acquire target point value information of each target point of the target device from a state information database; the target point is used to characterize a component of the target device, and the state information database stores point value information corresponding to the component of each device when the state changes;

[0008] For each of the target points, when it is determined that the target point value information of the target point matches the alarm rule corresponding to the target point, it is determined whether there is alarm information corresponding to the target point value information of the target point in the alarm information database; the alarm information database is used to store the alarm information sent by the components of each of the devices when the state changes;

[0009] If there is no alarm information corresponding to the target point value information of the target point in the alarm information database, generating target alarm information based on the target point value information of the target point and the alarm rule corresponding to the target point;

[0010] The target alarm information is added back to the alarm information database.

[0011] According to an alarm information replenishment method provided by the present invention, the step of determining whether there is alarm information corresponding to the target point value information of the target point in the alarm information database comprises:

[0012] Determine whether there is alarm information corresponding to the target point value information of the target point in the real-time alarm buffer, the real-time alarm buffer is used to cache the alarm information in the alarm information database;

[0013] In the case that the alarm information corresponding to the target point value information of the target point does not exist in the real-time alarm buffer, determining whether the alarm information corresponding to the target point value information of the target point exists in the alarm information database;

[0014] The method further comprises:

[0015] The target alarm information is replenished into the real-time alarm buffer.

[0016] According to an alarm information replenishment method provided by the present invention, the alarm rule includes an alarm level;

[0017] The method further comprises:

[0018] In the case where the alarm information corresponding to the target point value information of the target point exists in both the real-time alarm cache and the alarm information database, determining the target alarm level in the alarm rule that matches the target point value information of the target point;

[0019] In the case where the target alarm level is different from the alarm level stored in the target database, the alarm level in the target database is updated to the target alarm level, and the target database includes the real-time alarm cache and / or the alarm information database.

[0020] According to a method for replenishing alarm information provided by the present invention, the method further includes:

[0021] When it is determined that the target point value information of the target point does not match the alarm rule corresponding to the target point, and alarm information corresponding to the target point value information of the target point exists in the alarm information database, the alarm information corresponding to the target point value information in the alarm information database is marked as non-alarm information.

[0022] According to a method for replenishing alarm information provided by the present invention, the method further includes:

[0023] When alarm information corresponding to the target point value information of the target point exists in both the real-time alarm cache and the alarm information database, the target point value information of the target point matches the alarm rule corresponding to the target point, and the alarm information corresponding to the target point value information stored in the target database is marked as non-alarm information, the mark of the non-alarm information in the target database is deleted, and the target database includes the real-time alarm cache and / or the alarm information database.

[0024] According to an alarm information replenishment method provided by the present invention, the step of obtaining target point value information of each target point of a target device from a status information database includes:

[0025] Acquire the initial point value information of each target point of the target device from the state information database;

[0026] Determine the initial point value information that meets the screening condition among all the initial point value information as the target point value information;

[0027] The screening condition includes at least one of the following:

[0028] The initial point value information includes identification information of the corresponding target point;

[0029] The point value storage time included in the initial point value information is within a preset time range;

[0030] The point value type included in the initial point value information is a preset cover type.

[0031] The present invention also provides an alarm information replenishment device, comprising:

[0032] An acquisition module, used to acquire target point value information of each target point of a target device from a state information database; the target point is used to characterize a component of the target device, and the state information database stores point value information corresponding to the component of each device when the state changes;

[0033] A determination module, for each of the target points, when it is determined that the target point value information of the target point matches the alarm rule corresponding to the target point, determines whether there is alarm information corresponding to the target point value information of the target point in an alarm information database; the alarm information database is used to store the alarm information sent by the components of each of the devices when the state changes;

[0034] A generating module, configured to generate target alarm information based on the target point value information of the target point and the alarm rule corresponding to the target point when there is no alarm information corresponding to the target point value information of the target point in the alarm information database;

[0035] A replenishment module is used to replenish the target alarm information into the alarm information database.

[0036] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, any of the above-mentioned alarm information replenishment methods is implemented.

[0037] The present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the alarm information replenishment method as described in any one of the above is implemented.

[0038] The present invention also provides a computer program product, including a computer program, wherein when the computer program is executed by a processor, the alarm information replenishment method as described above is implemented.

[0039] The alarm information replenishment method, device, equipment and storage medium provided by the present invention obtain the target point value information of each target point of the target device from the status information database, and determine whether there is alarm information corresponding to the target point value information of the target point in the alarm information database when it is determined that the target point value information of the target point matches the alarm rule corresponding to the target point. When the alarm information corresponding to the target point value information of the target point does not exist in the alarm information database, target alarm information can be generated based on the target point value information of the target point and the alarm rule corresponding to the target point, and the target alarm information can be replenished to the alarm information database. Since the alarm information corresponding to the target point value information does not exist in the alarm information database, the generated target alarm information can be replenished back to the alarm information database, realizing the automatic replenishment of the lost alarm information. In this way, the alarm information database will contain the target alarm information, and the equipment monitoring system can issue an alarm in time based on the target alarm information, thereby improving the operational safety of the rail transit system. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0041] Figure 1A schematic diagram of a flow chart of an alarm information replenishment method provided in an embodiment of the present invention.

[0042] Figure 2 A schematic diagram of information transmission when the status of a component of a device provided by an embodiment of the present invention changes.

[0043] Figure 3 A schematic diagram of the structure of an alarm information replenishment device provided in an embodiment of the present invention.

[0044] Figure 4 A schematic diagram of the physical structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0045] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0046] At present, the operating status of the equipment can be monitored through the equipment monitoring system. When an abnormality is found, an alarm will be issued through the alarm model in the equipment monitoring system to promptly remind the staff to perform equipment maintenance. However, due to network fluctuations and other reasons, sometimes the equipment monitoring system may not receive the alarm information sent by the equipment, resulting in the system being unable to generate an alarm in time and losing the alarm information of the equipment. In this case, even if the equipment fails, the equipment monitoring system will not be able to know and issue a corresponding alarm, which poses a potential threat to the safe operation of the equipment and reduces the operational safety of the rail transit system.

[0047] Taking the above-mentioned problems into consideration, an embodiment of the present invention proposes an alarm information replenishment method, in which the target point value information corresponding to the component of the equipment when the state changes can be obtained. When the target point value information matches the corresponding alarm rule, it indicates that an alarm needs to be issued for the component. When the alarm information database does not contain alarm information corresponding to the target point value information, target alarm information can be generated based on the target point value information and the corresponding alarm rule, so that the target alarm information is replenished to the alarm information database, thereby realizing automatic replenishment of lost alarm information. In this way, the alarm information database will contain the target alarm information, and the equipment monitoring system can issue an alarm in time based on the target alarm information, thereby improving the operation safety of the rail transit system.

[0048] Combine the following Figure 1 and Figure 2The alarm information replenishment method provided in the embodiment of the present invention is described. The embodiment of the present invention can be applicable to the scenario of monitoring the rail transit system. The execution subject of the method can be an electronic device such as a terminal device, a computer, a server, a server cluster, or a specially designed alarm information replenishment device, or it can be an alarm information replenishment device set in the electronic device, and the alarm information replenishment device can be implemented by software, hardware, or a combination of both.

[0049] Figure 1 A flowchart of the alarm information replenishment method provided by an embodiment of the present invention is shown in FIG. Figure 1 As shown, the method includes the following:

[0050] Step 101: Obtain target point value information of each target point of the target device from a state information database; the target point is used to characterize a component of the target device, and the state information database stores point value information corresponding to the component of each device when the state changes.

[0051] In this step, there may be multiple key components in a device that require alarm monitoring. In an embodiment of the present invention, each component that needs to be monitored in the device can be collectively referred to as a point, and identification information is set for each point, such as a unique point name. When the state of a component of the device changes, the state change information of the point can be stored in a preset data format. The stored information is point value information, wherein the point value information includes point identification, device identification, current state of the component, state at the previous moment, and server time. The server time can be understood as the moment when the state of the component changes.

[0052] For example, Figure 2 A schematic diagram of information transmission when the status of a component of a device provided in an embodiment of the present invention changes, such as Figure 2 As shown, when the state of a component of the device changes, the point value information corresponding to the component can be stored in the state information database in the form of a key-value pair, where Key represents the point identifier and Value represents the point value information. The state information database can use a Redis non-relational database. In addition, when the state of a component of the device changes, the state change information can also be sent to the device monitoring system in the form of point value information through the data acquisition module in the device through the message middleware for alarm processing, where the middleware can be, for example, Kafka.

[0053] The equipment monitoring system can create a scheduled task to obtain the target point value information of all target points of the target equipment from the status information database at a specified time interval, wherein the target point can be used to represent all components in the target equipment that need to be monitored by alarm. The target point value information includes the point identifier of the target point, the device identifier of the target equipment, the current state of the component represented by the target point, the state of the component represented by the target point at the previous moment, and the server time, etc. The server time can be understood as the moment when the state of the component represented by the target point changes.

[0054] Step 102: For each target point, when it is determined that the target point value information of the target point matches the alarm rule corresponding to the target point, determine whether there is alarm information corresponding to the target point value information of the target point in the alarm information database; the alarm information database is used to store the alarm information sent by the components of each device when the state changes.

[0055] In this step, the alarm rules of each component are stored in the equipment monitoring system. For example, if the CPU occupancy rate reaches 80% or more, it is a first-level alarm; if the CPU temperature reaches 75° C. or more, it is a second-level alarm.

[0056] For each target point, it is determined whether the target point value information of the target point obtained from the status information database matches the alarm rule corresponding to the stored target point. The target point value information matches the alarm rule, which can be understood as the target point value information meets the relevant content in the alarm rule. For example, assuming that the target point is a CPU, and the target point value information of the target point obtained is that the occupancy rate is 85% and the temperature is 60°C, it can be determined that the CPU occupancy rate matches the alarm rule.

[0057] When it is determined that the target point value information of the target point matches the alarm rule corresponding to the target point, it means that the target point value information of the target point needs to be alarmed, then it will be determined whether there is alarm information corresponding to the target point value information of the target point in the alarm information database, for example, it is determined whether there is alarm information corresponding to the CPU occupancy rate in the alarm information database.

[0058] Among them, the alarm information database is used to store the alarm information sent by the components of each device when the status changes. It should be understood that if there is no network fluctuation, all alarm information should be stored in the alarm information database. If the network fluctuates, some alarm information may not be successfully stored in the alarm information database.

[0059] Step 103: if there is no alarm information corresponding to the target point value information of the target point in the alarm information database, generate target alarm information based on the target point value information of the target point and the alarm rule corresponding to the target point.

[0060] In this step, if the alarm information corresponding to the target point value information of the target point is not found in the alarm information database, for example, the alarm information corresponding to the CPU occupancy rate does not exist in the alarm information database, it means that the alarm information may not have been successfully sent to the alarm information database. Therefore, the target alarm information is generated based on the target point value information of the target point and the alarm rule corresponding to the target point. For example, the generated target alarm information is "CPU occupancy rate exceeds 80%, and a level 1 alarm is issued."

[0061] Step 104: Add the target alarm information back to the alarm information database.

[0062] In this step, after the target alarm information is generated, the target alarm information can be transmitted to the alarm information database for storage. In this way, the target alarm information can be replenished, so that the alarm information database includes the alarm information corresponding to the target point value information of the target point. The equipment monitoring system can issue an alarm in time based on the replenished target alarm information, thereby improving the operation safety of the rail transit system.

[0063] The alarm information replenishment method provided by the embodiment of the present invention obtains the target point value information of each target point of the target device from the status information database, and when it is determined that the target point value information of the target point matches the alarm rule corresponding to the target point, determines whether there is alarm information corresponding to the target point value information of the target point in the alarm information database. When there is no alarm information corresponding to the target point value information of the target point in the alarm information database, target alarm information can be generated based on the target point value information of the target point and the alarm rule corresponding to the target point, and the target alarm information is replenished to the alarm information database. Since there is no alarm information corresponding to the target point value information in the alarm information database, the generated target alarm information can be replenished back to the alarm information database, realizing the automatic replenishment of the lost alarm information. In this way, the alarm information database will contain the target alarm information, and the equipment monitoring system can issue an alarm in time based on the target alarm information, thereby improving the operational safety of the rail transit system.

[0064] Exemplarily, based on the above embodiment, when determining whether there is alarm information corresponding to the target point value information of the target point in the alarm information database, it may be determined whether there is alarm information corresponding to the target point value information of the target point in the real-time alarm cache. The real-time alarm cache is used to cache the alarm information in the alarm information database. When there is no alarm information corresponding to the target point value information of the target point in the real-time alarm cache, it is determined whether there is alarm information corresponding to the target point value information of the target point in the alarm information database.

[0065] Specifically, in order to avoid frequent queries to the alarm information database during the process of replenishing the alarm information, as well as frequent read and write operations on the alarm information database, reduce the time consumption caused by querying the alarm information database, and improve the performance of the equipment monitoring system, in this embodiment, all real-time alarm information in the alarm information database can also be cached in the equipment monitoring system. Among them, the real-time alarm cache will be created when the system is initialized, and when the alarm information in the alarm information database changes, the real-time alarm cache will also be updated synchronously, or a scheduled task can also be created to actively update the real-time alarm cache according to the specified period.

[0066] Before determining whether there is alarm information corresponding to the target point value information of the target point in the alarm information database, it is possible to first determine whether there is alarm information corresponding to the target point value information of the target point in the real-time alarm cache. If the above alarm information exists in the real-time alarm cache, there is no need to replenish the alarm information. If the above alarm information does not exist in the real-time alarm cache, it may be that the alarm information has not been synchronously updated from the alarm information database to the real-time alarm cache, or it may be that the alarm information does not exist in the alarm information database. Therefore, it is necessary to further determine whether there is alarm information corresponding to the target point value information of the target point in the alarm information.

[0067] When the alarm information corresponding to the target point value information of the target point does not exist in the real-time alarm cache and the alarm information database, the target alarm information will be generated based on the target point value information of the target point and the alarm rule corresponding to the target point, and the target alarm information will be stored in the alarm information database. At the same time, the real-time alarm cache in the equipment monitoring system will also be updated.

[0068] It should be noted that if the alarm information corresponding to the target point value information of the target point does not exist in the real-time alarm cache, but the alarm information exists in the alarm information database, it means that the alarm information has not been synchronized from the alarm information database to the real-time alarm cache. Therefore, the generated target alarm information also needs to be backfilled into the real-time alarm cache.

[0069] In this embodiment, by constructing a real-time alarm cache, the number of queries and read / writes to the alarm information database can be reduced, the operating pressure of the alarm information database can be reduced, and the performance of the equipment monitoring system can be improved. In addition, when the alarm information corresponding to the target point value information of the target point does not exist in the real-time alarm cache, the generated target alarm information is backfilled into the real-time alarm cache, so that the real-time alarm cache also contains the target alarm information. While ensuring the consistency of the alarm information, the equipment monitoring system can issue an alarm in a timely manner based on the backfilled target alarm information, thereby improving the timeliness of the alarm.

[0070] Exemplarily, based on the above-mentioned embodiments, the above-mentioned alarm rules include alarm levels. When alarm information corresponding to the target point value information of the target point exists in both the real-time alarm cache and the alarm information database, the target alarm level in the alarm rule that matches the target point value information of the target point is determined. When the target alarm level is different from the alarm level stored in the target database, the alarm level in the target database is updated to the target alarm level, and the target database includes the real-time alarm cache and / or alarm information.

[0071] Specifically, the alarm rules also include alarm levels. For example, the alarm rules include that when the CPU occupancy rate reaches 90% or more, it is a level one alarm, and when the CPU occupancy rate reaches 80% or more, it is a level two alarm, and the alarm level is level two, wherein the level one alarm level is higher than the level two alarm level.

[0072] If the alarm information corresponding to the target point value information of the target point exists in both the real-time alarm cache and the alarm information database, it means that the alarm information corresponding to the target point value has been successfully transmitted to the real-time alarm cache and the alarm information database. Since the point value information of each component is constantly changing during the operation of the equipment, for example, the CPU occupancy rate may change from 85% to 90%. Therefore, it is necessary to determine the target alarm level in the alarm rule that matches the target point value information of the target point obtained at the current moment. For example, if the CPU occupancy rate is 90%, the target alarm level changes from the second-level alarm to the first-level alarm.

[0073] When the alarm level stored in the real-time alarm cache and / or the alarm information database is different from the determined target alarm level, it means that the alarm level stored in the real-time alarm cache and / or the alarm information database is not the latest, and therefore, the alarm level in the real-time alarm cache and / or the alarm information database needs to be updated to the target alarm level. In practical applications, only the data whose alarm level is different from the target alarm level needs to be updated. For example, if the alarm level stored in the real-time alarm cache is different from the target alarm level, but the alarm level stored in the alarm information database is the same as the target alarm level, only the alarm level in the real-time alarm cache needs to be updated to the target alarm level.

[0074] When the alarm level stored in the real-time alarm cache and / or the alarm information database is the same as the determined target alarm level, no processing will be performed on the alarm information stored in the real-time alarm cache and / or the alarm information database.

[0075] In this embodiment, when it is determined that the target alarm level in the alarm rule matching the target point value information of the target point is different from the alarm level stored in the target database, the alarm level stored in the target database can be updated to the target alarm level, so that the latest alarm level can be stored in the target database, ensuring the accuracy of the information in the target database. In addition, the problem of loss of alarm information of the equipment due to various reasons can be prevented and solved, the risk of alarm failure of the system due to various reasons can be minimized, and the safe operation of the rail transit system can be guaranteed.

[0076] Exemplarily, based on the above embodiments, when it is determined that the target point value information of the target point does not match the alarm rule corresponding to the target point, and there is alarm information corresponding to the target point value information of the target point in the alarm information database, the alarm information corresponding to the target point value information in the alarm information database is marked as non-alarm information.

[0077] Specifically, when the target point value information of the target point does not match the alarm rule corresponding to the target point, it means that the target point value information of the target point may have changed, such as the CPU occupancy rate has dropped from 80% to 60%. When the alarm information corresponding to the target point value information of the target point exists in the alarm information database, it means that the target point has previously generated alarm information, and the previously generated alarm information is stored in the alarm information database. Since the current target point value information of the target point does not match the alarm rule corresponding to the target point, it means that the current target point value information of the target point does not need to be alarmed at this time. Therefore, the alarm information corresponding to the target point value information of the target point previously stored in the alarm information database can be marked as non-alarm information, that is, the alarm information is restored from the alarm state to the non-alarm state. In the above manner, the accuracy of the alarm state of the alarm information in the alarm information database can be improved.

[0078] Exemplarily, on the basis of the above embodiments, when alarm information corresponding to the target point value information of the target point exists in both the real-time alarm cache and the alarm information database, the target point value information of the target point matches the alarm rule corresponding to the target point, and the alarm information corresponding to the target point value information stored in the target database is marked as non-alarm information, the mark of the non-alarm information in the target database is deleted, and the target database includes the real-time alarm cache and / or the alarm information database.

[0079] Specifically, alarm information corresponding to the target point value information of the target point exists in both the real-time alarm cache and the alarm information database, and the target point value information of the target point and the alarm rule corresponding to the target point match successfully, indicating that the target point value information of the target point needs to be alarmed. When the alarm information corresponding to the target point value information stored in the real-time alarm cache and / or the alarm information database is marked as non-alarm information, in order to be able to issue an alarm in time, it is necessary to delete the mark of the non-alarm information in the real-time alarm cache and / or the alarm information database. In this way, the real-time alarm cache and / or the alarm information database will store the alarm information corresponding to the target point value information of the target point, so that the alarm can be output in time and accurately.

[0080] Exemplarily, on the basis of the above embodiments, when obtaining the target point value information of each target point of the target device from the status information database, the initial point value information of each target point of the target device can be obtained from the status information database, and the initial point value information that meets the screening conditions in all the initial point value information is determined as the target point value information; wherein the screening conditions include at least one of the following: the initial point value information includes identification information of the corresponding target point; the point value storage time included in the initial point value information is within a preset time range; the point value type included in the initial point value information is a preset backfill type.

[0081] Specifically, after obtaining the initial point value information of each target point of the target device from the status information database, the initial point value information of each target point will be processed in a loop. Since there may be a large amount of initial point value information in the status information database, but the loss of alarm information is usually a low-probability event, in order to improve the computing efficiency of the equipment monitoring system, in this embodiment, it is necessary to filter the initial point value information obtained from the status information database, and determine the initial point value information that meets the filtering conditions in all initial point value information as the target point value information, so as to serve as the basis for subsequent alarm information replenishment.

[0082] The screening condition may include the identification information of the corresponding target point in the initial point value information, such as the point name of the corresponding target point. If a target point changes from a state requiring monitoring to a state not requiring monitoring, the identification information of the target point will be deleted from the state information database. At this time, the identification information of the target point may not be included in the queried initial point value information. If the identification information of the target point is not included in the initial point value information, no processing will be performed on the initial point value information, or the initial point value information will be directly deleted.

[0083] The screening condition may also include that the point value storage time included in the initial point value information is within a preset time range. Among them, the point value storage time can also be understood as the server time in the initial point value information. It should be understood that in actual applications, it is usually based on the latest data to generate an alarm and promptly remind the staff to maintain the equipment. For data from a long period of time in the past, the importance of whether an alarm will be generated is not high. Therefore, it is necessary to determine whether the point value storage time is within a preset time range. Among them, the preset time range can be, for example, 10 minutes before the current moment to 5 seconds before the current moment. For example, it is determined whether the point value storage time belongs to [current moment - 10min, current moment - 5s]. If it does, the initial point value information is determined as the target point value information. If it does not, the initial point value information is not processed or deleted.

[0084] In addition, the screening condition may also include that the point value type included in the initial point value information is a preset backfill type, wherein the preset backfill type may be some pre-set information types that require backfill alarm information, for example, some information types that have a significant impact on the operation of the equipment, such as temperature, etc. If the point value type included in the initial point value information is a preset backfill type, the initial point value information may be determined as the target point value information, and if the point value type included in the initial point value information is not a preset backfill type, the initial point value information may not be processed in any way, or may be directly deleted.

[0085] In this embodiment, after obtaining the initial point value information of each target point of the target device from the status information database, the initial point value information that meets the screening conditions can be selected from all the initial point value information as the target point value information. In this way, the amount of target point value information can be reduced, and the efficiency of the subsequent alarm information replenishment of the equipment monitoring system is improved.

[0086] The alarm information replenishment device provided by the present invention is described below. The alarm information replenishment device described below and the alarm information replenishment method described above can be referred to each other.

[0087] Figure 3The structural diagram of the alarm information replenishment device provided by the embodiment of the present invention is shown in FIG. Figure 3 As shown, the alarm information replenishment device 200 includes:

[0088] An acquisition module 11 is used to acquire target point value information of each target point of a target device from a state information database; the target point is used to characterize a component of the target device, and the state information database stores point value information corresponding to each component of the device when the state changes;

[0089] A determination module 12 is used to determine, for each of the target points, whether there is alarm information corresponding to the target point value information of the target point in an alarm information database when it is determined that the target point value information of the target point matches the alarm rule corresponding to the target point; the alarm information database is used to store the alarm information sent by the components of each of the devices when the state changes;

[0090] A generating module 13, configured to generate target alarm information based on the target point value information of the target point and the alarm rule corresponding to the target point when there is no alarm information corresponding to the target point value information of the target point in the alarm information database;

[0091] The replenishment module 14 is used to replenish the target alarm information into the alarm information database.

[0092] In an exemplary embodiment, the determination module 12 is specifically configured to:

[0093] Determine whether there is alarm information corresponding to the target point value information of the target point in the real-time alarm buffer, the real-time alarm buffer is used to cache the alarm information in the alarm information database;

[0094] In the case that the alarm information corresponding to the target point value information of the target point does not exist in the real-time alarm buffer, determining whether the alarm information corresponding to the target point value information of the target point exists in the alarm information database;

[0095] The replenishment module 14 is further used to replenish the target alarm information into the real-time alarm buffer.

[0096] In an exemplary embodiment, the alarm rule includes an alarm level; the apparatus further includes an updating module, wherein:

[0097] The determination module 12 is further configured to determine the target alarm level in the alarm rule that matches the target point value information of the target point when the alarm information corresponding to the target point value information of the target point exists in both the real-time alarm cache and the alarm information database;

[0098] The updating module is further used to update the alarm level in the target database to the target alarm level when the target alarm level is different from the alarm level stored in the target database, and the target database includes the real-time alarm cache and / or the alarm information database.

[0099] In an exemplary embodiment, the apparatus further comprises a marking module, wherein:

[0100] A marking module is used to determine that when the target point value information of the target point does not match the alarm rule corresponding to the target point, and when there is alarm information corresponding to the target point value information of the target point in the alarm information database, mark the alarm information corresponding to the target point value information in the alarm information database as non-alarm information.

[0101] In an exemplary embodiment, the apparatus further comprises a deletion module, wherein:

[0102] A deletion module is used to delete the mark of the non-alarm information in the target database when the alarm information corresponding to the target point value information of the target point exists in both the real-time alarm cache and the alarm information database, the target point value information of the target point matches the alarm rule corresponding to the target point, and the alarm information corresponding to the target point value information stored in the target database is marked as non-alarm information, and the target database includes the real-time alarm cache and / or the alarm information database.

[0103] In an exemplary embodiment, the acquisition module 11 is specifically configured to:

[0104] Acquire the initial point value information of each target point of the target device from the state information database;

[0105] Determine the initial point value information that meets the screening condition among all the initial point value information as the target point value information;

[0106] The screening condition includes at least one of the following:

[0107] The initial point value information includes identification information of the corresponding target point;

[0108] The point value storage time included in the initial point value information is within a preset time range;

[0109] The point value type included in the initial point value information is a preset cover type.

[0110] The device of this embodiment can be used to execute the method of any embodiment in the embodiment of the alarm information replenishment method side. Its specific implementation process and technical effects are similar to those in the embodiment of the alarm information replenishment method side. For details, please refer to the detailed introduction in the embodiment of the alarm information replenishment method side, which will not be repeated here.

[0111] Figure 4 A schematic diagram of the physical structure of an electronic device provided by an embodiment of the present invention, such as Figure 4 As shown, the electronic device may include: a processor (processor) 410, a communication interface (Communications Interface) 420, a memory (memory) 430 and a communication bus 440, wherein the processor 410, the communication interface 420, and the memory 430 communicate with each other through the communication bus 440. The processor 410 can call the logic instructions in the memory 430 to execute the alarm information replenishment method, which includes: obtaining the target point value information of each target point of the target device from the status information database; the target point is used to characterize the component of the target device, and the status information database stores the point value information corresponding to the component of each device when the state changes; for each of the target points, when it is determined that the target point value information of the target point matches the alarm rule corresponding to the target point, determine whether there is alarm information corresponding to the target point value information of the target point in the alarm information database; the alarm information database is used to store the alarm information sent by the component of each of the devices when the state changes; when the alarm information corresponding to the target point value information of the target point does not exist in the alarm information database, generate target alarm information based on the target point value information of the target point and the alarm rule corresponding to the target point; and replenish the target alarm information to the alarm information database.

[0112] In addition, the logic instructions in the above-mentioned memory 430 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0113] On the other hand, the present invention also provides a computer program product, which includes a computer program, which can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the alarm information replenishment method provided by the above methods, which method includes: obtaining target point value information of each target point of the target device from a status information database; the target point is used to characterize the component of the target device, and the status information database stores point value information corresponding to the component of each device when the state changes; for each of the target points, when it is determined that the target point value information of the target point matches the alarm rule corresponding to the target point, determine whether there is alarm information corresponding to the target point value information of the target point in the alarm information database; the alarm information database is used to store the alarm information sent by the component of each of the devices when the state changes; when the alarm information corresponding to the target point value information of the target point does not exist in the alarm information database, generate target alarm information based on the target point value information of the target point and the alarm rule corresponding to the target point; and replenish the target alarm information to the alarm information database.

[0114] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the alarm information replenishment method provided by the above-mentioned methods, the method comprising: obtaining target point value information of each target point of the target device from a status information database; the target point is used to characterize the component of the target device, and the status information database stores point value information corresponding to the component of each device when the state changes; for each of the target points, when it is determined that the target point value information of the target point matches the alarm rule corresponding to the target point, determining whether there is alarm information corresponding to the target point value information of the target point in the alarm information database; the alarm information database is used to store alarm information sent by the component of each of the devices when the state changes; when the alarm information corresponding to the target point value information of the target point does not exist in the alarm information database, generating target alarm information based on the target point value information of the target point and the alarm rule corresponding to the target point; and replenishing the target alarm information to the alarm information database.

[0115] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0116] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0117] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for replenishing alarm information, characterized in that: include: Obtain target point value information of each target point of the target device from the status information database; The target point is used to characterize the component of the target device, and the state information database stores point value information corresponding to the component of each device when the state changes; For each of the target points, when it is determined that the target point value information of the target point matches the alarm rule corresponding to the target point, it is determined whether there is alarm information corresponding to the target point value information of the target point in the alarm information database; the alarm information database is used to store the alarm information sent by the components of each of the devices when the state changes; If there is no alarm information corresponding to the target point value information of the target point in the alarm information database, generating target alarm information based on the target point value information of the target point and the alarm rule corresponding to the target point; The target alarm information is added back to the alarm information database.

2. The alarm information replenishment method according to claim 1, characterized in that: The step of determining whether there is alarm information corresponding to the target point value information of the target point in the alarm information database comprises: Determine whether there is alarm information corresponding to the target point value information of the target point in the real-time alarm buffer, the real-time alarm buffer is used to cache the alarm information in the alarm information database; In the case that the alarm information corresponding to the target point value information of the target point does not exist in the real-time alarm buffer, determining whether the alarm information corresponding to the target point value information of the target point exists in the alarm information database; The method further comprises: The target alarm information is replenished into the real-time alarm buffer.

3. The alarm information replenishment method according to claim 2, characterized in that: The alarm rules include alarm levels; The method further comprises: In the case where the alarm information corresponding to the target point value information of the target point exists in both the real-time alarm cache and the alarm information database, determining the target alarm level in the alarm rule that matches the target point value information of the target point; In the case where the target alarm level is different from the alarm level stored in the target database, the alarm level in the target database is updated to the target alarm level, and the target database includes the real-time alarm cache and / or the alarm information database.

4. The alarm information replenishment method according to claim 1, characterized in that: The method further comprises: When it is determined that the target point value information of the target point does not match the alarm rule corresponding to the target point, and alarm information corresponding to the target point value information of the target point exists in the alarm information database, the alarm information corresponding to the target point value information in the alarm information database is marked as non-alarm information.

5. The alarm information replenishment method according to claim 4, characterized in that: The method further comprises: When alarm information corresponding to the target point value information of the target point exists in both the real-time alarm cache and the alarm information database, the target point value information of the target point matches the alarm rule corresponding to the target point, and the alarm information corresponding to the target point value information stored in the target database is marked as non-alarm information, the mark of the non-alarm information in the target database is deleted, and the target database includes the real-time alarm cache and / or the alarm information database.

6. The alarm information replenishment method according to any one of claims 1 to 5, characterized in that: The step of acquiring target point value information of each target point of the target device from the state information database includes: Acquire the initial point value information of each target point of the target device from the state information database; Determine the initial point value information that meets the screening condition among all the initial point value information as the target point value information; The screening condition includes at least one of the following: The initial point value information includes identification information of the corresponding target point; The point value storage time included in the initial point value information is within a preset time range; The point value type included in the initial point value information is a preset cover type.

7. An alarm information replenishment device, characterized in that: include: An acquisition module, used for acquiring target point value information of each target point of the target device from a status information database; The target point is used to characterize the component of the target device, and the state information database stores point value information corresponding to the component of each device when the state changes; A determination module, for each of the target points, when it is determined that the target point value information of the target point matches the alarm rule corresponding to the target point, determines whether there is alarm information corresponding to the target point value information of the target point in an alarm information database; the alarm information database is used to store the alarm information sent by the components of each of the devices when the state changes; A generating module, configured to generate target alarm information based on the target point value information of the target point and the alarm rule corresponding to the target point when there is no alarm information corresponding to the target point value information of the target point in the alarm information database; A replenishment module is used to replenish the target alarm information into the alarm information database.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the alarm information replenishment method as described in any one of claims 1 to 6 is implemented.

9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the alarm information replenishment method as claimed in any one of claims 1 to 6 is implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the alarm information replenishment method as claimed in any one of claims 1 to 6 is implemented.