Data storage method, device, equipment and medium based on rail transit system

By using a multi-level matching mechanism for alarm judgment and data storage in the rail transit system, the problems of low storage resource utilization and data viewing impact caused by repeated alarms are solved, and the system performance and response speed are improved.

CN119739897APending Publication Date: 2025-04-01BEIJING URBAN CONSTR INTELLIGENT CONTROL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411540651.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-31
Publication Date
2025-04-01

AI Technical Summary

Technical Problem

In rail transit systems, professional hardware equipment will cause low storage resource utilization when repeated alarms and affect the viewing of other alarm data, thereby reducing system performance and response speed.

Method used

A multi-level matching mechanism is adopted to match the device point value information of the target device and the point value information of multiple preset device, and to combine the preset alarm rule information to make the first and second alarm judgments to determine whether to store the device point value information.

Benefits of technology

It improves storage resource utilization and avoids the impact of viewing other alarm data, thereby improving the overall performance and response speed of the rail transit system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119739897A_ABST
    Figure CN119739897A_ABST
Patent Text Reader

Abstract

The present invention provides a data storage method, device, equipment and medium based on a rail transit system, including: when a target device in the rail transit system is running, determining a matching result based on the device point value information of the target device and a plurality of first preset device point value information; when the matching result indicates that the target device belongs to an alarm device, determining a first alarm result based on the device point value information and preset alarm rule information; when the first alarm result indicates that the target device is alarming, determining a second alarm result based on the preset alarm rule information and a plurality of second preset device point value information; judging whether to store the device point value information based on the second alarm result. A multi-level matching mechanism is adopted, and through multiple alarm judgments, judging whether to store the device point value information for the alarm result finally obtained, so that when the target device repeatedly alarms, the storage resource utilization rate is improved, and the viewing of other alarm data will not be affected.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data storage technology, and in particular to a data storage method, device, equipment and medium based on a rail transit system. Background Art

[0002] The rail transit system involves a large number of professional hardware equipment. Failure of each professional hardware equipment will cause failure of some nodes. The alarm data of each professional hardware equipment plays an increasingly important role in the early warning and operation and maintenance management of various equipment failures.

[0003] However, when each professional hardware device issues an alarm for the first time, the storage process of the alarm data often involves distinguishing alarm changes. When an alarm is repeated, each professional hardware device will collect and store a large amount of repeated alarm data, which will lead to low utilization of storage resources. At the same time, it will also affect the viewing of other alarm data, thereby reducing the overall performance and response speed of the rail transit system. Summary of the invention

[0004] The present invention provides a data storage method, device, equipment and medium based on a rail transit system, which is used to solve the problem in the prior art that when various professional hardware devices repeatedly alarm, the storage resource utilization rate is low, and at the same time, it will also affect the viewing of other alarm data, thereby reducing the overall performance and response speed of the rail transit system. The multi-level matching mechanism is adopted, and the first alarm judgment is performed by matching the device point value information of the target device with multiple first preset device point value information, and matching the device point value information with preset alarm rule information. Then, the alarm judgment is performed again by matching the preset alarm rule information with multiple second preset device point value information. According to the alarm result obtained for the second time, it is judged whether to store the device point value information, so that when the target device repeatedly alarms, it can improve the storage resource utilization rate while not affecting the viewing of other alarm data, thereby improving the overall performance and response speed of the rail transit system.

[0005] The present invention provides a data storage method based on a rail transit system, comprising the following steps.

[0006] During the operation of a target device in a rail transit system, determining a matching result according to device point value information of the target device and a plurality of first preset device point value information, wherein the device point value information is used to characterize relevant dynamic information of the target device; In the case where the matching result indicates that the target device is an alarm device, determining a first alarm result according to the device point value information and preset alarm rule information; In the case where the first alarm result indicates that the target device is alarming, determining a second alarm result according to the preset alarm rule information and a plurality of second preset device point value information; According to the second alarm result, determine whether to store the device point value information.

[0007] According to a data storage method based on a rail transit system provided by the present invention, the first alarm result is determined according to the device point value information and the preset alarm rule information, including: reading the preset alarm rule information from a first database corresponding to a first middleware; when it is determined that the device point value information matches the preset alarm rule information, determining the indication that the target device is alarming as the first alarm result; when it is determined that the device point value information does not match the preset alarm rule information, determining the indication that the target device is not alarming as the first alarm result.

[0008] According to a data storage method based on a rail transit system provided by the present invention, the determination of whether to store the device point value information is based on the second alarm result, including: when the second alarm result indicates that the target device is still alarming, the device point value information is not stored; when the second alarm result indicates that the target device has not repeatedly alarmed, the device point value information is stored.

[0009] According to a data storage method based on a rail transit system provided by the present invention, the second alarm result is determined according to the preset alarm rule information and multiple second preset device point value information, including: reading the multiple second preset device point value information from a second database corresponding to the second middleware; when it is determined that among the multiple second preset device point value information, there is second preset device point value information matching the preset alarm rule information, indicating that the target device is still alarming is determined as the second alarm result; when it is determined that among the multiple second preset device point value information, there is no second preset device point value information matching the preset alarm rule information, indicating that the target device has not repeatedly alarmed is determined as the second alarm result.

[0010] According to a data storage method based on a rail transit system provided by the present invention, the determination that the equipment point value information matches the preset alarm rule information includes: determining the identification information corresponding to the equipment point value information, and the preset identification information corresponding to the preset alarm rule information; when the identification information is the same as the preset identification information, determining that the equipment point value information matches the preset alarm rule information; and / or determining the point value name corresponding to the equipment point value information, and the preset point value name corresponding to the preset alarm rule information; when the point value name is the same as the preset point value name, determining that the equipment point value information matches the preset alarm rule information.

[0011] According to a data storage method based on a rail transit system provided by the present invention, the storing of the equipment point value information includes: storing the equipment point value information in a second database corresponding to a second middleware, and determining the equipment point value information as new second preset equipment point value information.

[0012] According to a data storage method based on a rail transit system provided by the present invention, when it is determined that the equipment point value information matches the preset alarm rule information, the method further includes: storing the equipment point value information in a first database corresponding to a first middleware.

[0013] The present invention also provides a data storage device based on a rail transit system, comprising the following modules.

[0014] A data matching module, used for determining a matching result according to device point value information of the target device and a plurality of first preset device point value information during the operation of the target device in the rail transit system, wherein the device point value information is used to characterize relevant dynamic information of the target device; A data processing module is used to determine a first alarm result based on the device point value information and preset alarm rule information when the matching result indicates that the target device is an alarm device; determine a second alarm result based on the preset alarm rule information and multiple second preset device point value information when the first alarm result indicates that the target device is alarming; and determine whether to store the device point value information based on the second alarm result.

[0015] 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 computer program, the data storage method based on the rail transit system as described above is implemented.

[0016] 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 data storage method based on the rail transit system as described in any one of the above is implemented.

[0017] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements any of the above-mentioned data storage methods based on a rail transit system.

[0018] The data storage method, device, equipment and medium based on the rail transit system provided by the present invention determine a matching result according to the device point value information of the target device and multiple first preset device point value information during the operation of the target device in the rail transit system, and the device point value information is used to characterize the relevant dynamic information of the target device; when the matching result indicates that the target device is an alarm device, a first alarm result is determined according to the device point value information and preset alarm rule information; when the first alarm result indicates that the target device is alarming, a second alarm result is determined according to the preset alarm rule information and multiple second preset device point value information; and according to the second alarm result, it is judged whether to store the device point value information. The method adopts a multi-level matching mechanism, and performs the first alarm judgment by matching the device point value information of the target device with multiple first preset device point value information, and matching the device point value information with preset alarm rule information, and then performs the second alarm judgment by matching the preset alarm rule information with multiple second preset device point value information. Based on the alarm result obtained for the second time, it is judged whether to store the device point value information, so that when the target device repeatedly alarms, it can improve the utilization rate of storage resources while not affecting the viewing of other alarm data, thereby improving the overall performance and response speed of the rail transit system. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] 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.

[0020] Figure 1 It is a flow chart of a data storage method based on a rail transit system provided by the present invention.

[0021] Figure 2 It is a scene schematic diagram of the data storage method based on the rail transit system provided by the present invention.

[0022] Figure 3It is a schematic diagram of the structure of a data storage device based on a rail transit system provided by the present invention.

[0023] Figure 4 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0024] 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.

[0025] It should be noted that the execution subject involved in the embodiment of the present invention can be a data storage device based on the rail transit system, or it can be an electronic device. Optionally, the electronic device can include: a computer, a mobile terminal, etc.

[0026] The embodiment of the present invention is further described below by taking an electronic device as an example.

[0027] Figure 1 is a flow chart of a data storage method based on a rail transit system provided by the present invention, such as Figure 1 As shown, the method includes the following steps 101 to 104.

[0028] Step 101 : While a target device in a rail transit system is running, a matching result is determined according to device point value information of the target device and a plurality of first preset device point value information, wherein the device point value information is used to characterize relevant dynamic information of the target device.

[0029] The rail transit system refers to a vehicle transportation system that uses a track structure for load bearing and guidance, and can run on the line regularly and on time according to the train intersection plan, running intervals and stop times at different stations in the operation diagram. The rail transit system involves multiple professional hardware equipment, such as platform doors, power monitoring, electromechanical monitoring, automatic fire alarm equipment and access control. The target device is any of the above multiple professional hardware equipment.

[0030] Equipment point value information refers to a series of numerical values ​​or status information associated with the target equipment, which reflects the real-time status, parameters or measured values ​​of the target equipment and other related dynamic information. For example: the switch status of a switch in power monitoring; the switch status of a door in access control; the status and value of a fire monitoring device in the automatic fire alarm equipment.

[0031] The plurality of first preset device point value information are pre-stored device point value information corresponding to each of the plurality of professional hardware devices.

[0032] When the target device in the rail transit system is running, the target device can send device point value information to the driving software in the electronic device in real time, realizing real-time monitoring of the device status; after receiving the device point value information, the driving software can forward it to the first software in the electronic device, such as the Intelligent Connector software; the electronic device receives the device point value information through the first software, and at the same time, reads and parses the hardware device document that has been loaded into the memory in advance, obtains multiple first preset device point value information, and then matches it with the device point value information to determine whether the target device needs to alarm, so as to obtain a matching result, which indicates whether the target device is an alarm device. The whole process can ensure that the judgment of the device status is accurate, and at the same time, reduce the possibility of human misjudgment and improve the reliability of the rail transit system.

[0033] Specifically, in the process of matching the device point value information with multiple first preset device point value information, it can be determined whether there is first preset device point value information that is the same as the device point value information in the multiple first preset device point value information: if it exists, it means that the target device needs to be alarmed and the target device is in an abnormal operating state. At this time, the indication that the target device belongs to the alarm device can be determined as the matching result; if it does not exist, it means that the target device does not need to be alarmed and the target device is in a normal operating state. At this time, the indication that the target device does not belong to the alarm device can be determined as the matching result. During the whole process, only when the device point value information is exactly the same as a certain first preset device point value information, it is determined that the target device belongs to the alarm device. This precise matching method avoids false alarms or missed alarms caused by approximate values ​​or fuzzy judgments, and improves the accuracy of the rail transit system.

[0034] Step 102: When the matching result indicates that the target device is an alarm device, determine a first alarm result according to the device point value information and preset alarm rule information.

[0035] The preset alarm rule information refers to predefined conditions or thresholds, which are used to evaluate whether the device status reflected by the device point value information triggers a specific alarm condition.

[0036] It should be noted that, when the matching result indicates that the target device is an alarm device, the device point value information and the preset alarm rule information can be matched to accurately determine whether the target device is actually alarming, so as to obtain a first alarm result, which indicates whether the target device is alarming. When the matching result indicates that the target device is not an alarm device, no operation is performed on the target device. This dual matching mechanism improves the accuracy of the target device alarm and reduces the possibility of false alarms.

[0037] In some embodiments, the electronic device determines the first alarm result based on the device point value information and the preset alarm rule information, which may include: the electronic device reads the preset alarm rule information from the first database corresponding to the first middleware; when it is determined that the device point value information matches the preset alarm rule information, the electronic device will indicate that the target device is alarming as the first alarm result; when it is determined that the device point value information matches the preset alarm rule information, the electronic device will indicate that the target device is not alarming as the first alarm result.

[0038] The first middleware is an independent system software or service program located between the operating system and the application program, and provides general services for the application program, such as Kafka middleware, which is a distributed stream processing platform capable of processing high-throughput data.

[0039] The first database refers to a database that pre-stores preset alarm rule information, so as to be quickly read and matched with the acquired device point value information. Optionally, the first database can be a relational database or a non-relational database.

[0040] In the process of matching the device point value information with the preset alarm rule information, the preset alarm rule information can be quickly read from the first database through the second software in the electronic device, such as the Expression Engine software, which can greatly reduce the data processing time; then, the matching of the device point value information and the preset alarm rule information is determined: if it matches, it means that the device state meets the alarm condition and the target device is in an abnormal operating state. At this time, the indication that the target device is alarming can be determined as the first alarm result; if it does not match, it means that the device state does not meet the alarm state and the target device is in a normal operating state. At this time, the indication that the target device is not alarming can be determined as the first alarm result. The whole process can ensure the accuracy and reliability of alarm judgment, help reduce false alarms and missed alarms, and improve the overall performance and user experience of the rail transit system.

[0041] In some embodiments, the electronic device determines that the device point value information matches the preset alarm rule information, which may include at least one of the following implementation methods.

[0042] Implementation method 1: The electronic device determines identification information (IdentificationInformation) corresponding to the device point value information, and preset identification information corresponding to the preset alarm rule information; when the identification information is the same as the preset identification information, it is determined that the device point value information matches the preset alarm rule information.

[0043] Among them, identification information refers to a unique mark that can distinguish different equipment point value information or preset alarm rule information.

[0044] The electronic device can first determine the identification information corresponding to the device point value information and determine the preset identification information corresponding to the preset alarm rule information; then, compare the identification information with the preset identification information. If they are the same, it is determined that the device point value information matches the preset alarm rule information; otherwise, it is determined that the device point value information does not match the preset alarm rule information.

[0045] It should be noted that the uniqueness of the identification information ensures the accuracy of the matching. As long as the identification information is properly designed, it can ensure that each device point value information can accurately find the corresponding preset alarm rule information, reducing the possibility of false alarms and missed alarms.

[0046] Implementation method 2: The electronic device determines the point value name corresponding to the device point value information and the preset point value name corresponding to the preset alarm rule information; when the point value name is the same as the preset point value name, it is determined that the device point value information matches the preset alarm rule information.

[0047] The point value name refers to the name or label used to identify or name the point value information of a specific device. These names are usually used to distinguish different monitoring points or parameters on the target device, making management and monitoring more intuitive and convenient.

[0048] The electronic device may first determine the point value name corresponding to the device point value information and determine the preset point value name corresponding to the preset alarm rule information; then, the point value name is compared with the preset point value name, and if they are the same, it is determined that the device point value information matches the preset alarm rule information, otherwise, it is determined that the device point value information does not match the preset alarm rule information. It should be noted that using the point value name as the matching basis makes the entire matching process more intuitive and easy to understand.

[0049] In some embodiments, when it is determined that the device point value information matches the preset alarm rule information, the method may further include: the electronic device stores the device point value information in a first database corresponding to the first middleware.

[0050] The electronic device stores the device point value information in the first database, so that the device point value information can be quickly read from the first database by the second software later to achieve matching with the preset alarm rule information.

[0051] Step 103: When the first alarm result indicates that the target device is alarming, determine a second alarm result according to the preset alarm rule information and a plurality of second preset device point value information.

[0052] When it is determined that the device point value information matches the preset alarm rule information, the first alarm result indicates that the target device is alarming. At this time, the preset alarm rule can be combined with multiple second preset device point value information for matching to determine whether the target device is still alarming / repeating alarms in a short period of time, that is, whether the target device is still in an abnormal operating state, so as to obtain a second alarm result, which indicates whether the target device is still alarming. When the first alarm result indicates that the target device has not repeatedly alarmed, it means that the target device is in a normal operating state. The entire process can further verify whether the target device is really in an alarm state by introducing multiple second preset device point value information for secondary matching, which helps to reduce false alarms caused by single data anomalies or misjudgments, and improve the accuracy and reliability of target device alarms.

[0053] In some embodiments, the electronic device determines the second alarm result based on preset alarm rule information and multiple second preset device point value information, which may include: the electronic device reads multiple second preset device point value information from a second database corresponding to the second middleware; when it is determined that among the multiple second preset device point value information, there is second preset device point value information that matches the preset alarm rule information, the electronic device will indicate that the target device is still alarming as the second alarm result; when it is determined that among the multiple second preset device point value information, there is no second preset device point value information that matches the preset alarm rule information, the electronic device will indicate that the target device has not repeatedly alarmed as the second alarm result.

[0054] Among them, the second middleware is such as Redis middleware, which is an open source, fast and efficient memory middleware that acts as a bridge between applications and infrastructure, providing common functions across applications and services such as caching, messaging, lock services, session management and task queues.

[0055] The second database refers to a database pre-stored with a plurality of second preset device point value information, so as to be quickly read and matched with the acquired device point value information. Optionally, the second database may be a relational database or a non-relational database.

[0056] In the process of secondary matching the preset alarm rule information and multiple second preset device point value information, the second software can first quickly read multiple second preset device point value information from the second database; then, determine whether there is second preset device point value information that is the same as the target preset alarm rule information in the multiple second preset device point value information: if it exists, it means that the device is still alarming / short-term repeated alarming, at this time, the indication that the target device is still alarming can be determined as the second alarm result; if it does not exist, it means that the target device has not repeatedly alarmed, at this time, the indication that the target device has not repeatedly alarmed can be determined as the second alarm result. In the whole process, only when there is a value matching the preset alarm rule in the second preset device point value information, it is confirmed that the device is still alarming. This secondary matching method reduces the false alarm caused by single data abnormality or misjudgment, and improves the accuracy of the target device alarm.

[0057] Step 104: Determine whether to store the device point value information based on the second alarm result.

[0058] Since the second alarm result indicates whether the target device is still in alarm, it can be determined whether to store the device point value information according to different indication results.

[0059] In some embodiments, the electronic device determines whether to store the device point value information based on the second alarm result, which may include: when the second alarm result indicates that the target device is still alarming, the electronic device does not store the device point value information; when the second alarm result indicates that the target device has not repeatedly alarmed, the electronic device stores the device point value information.

[0060] In the process of determining whether to store the device point value information, if the second alarm result indicates that the target device is still alarming, the device point value information is not stored, which can save storage space. This is because when the target device is in a state of continuous alarm, continuous storage of the same or similar device point value information may not provide additional value, but will increase the storage burden. Therefore, it is not necessary to store frequently to improve storage resource utilization and will not affect the viewing of other alarm data. In the case where the second alarm result indicates that the target device has not repeatedly alarmed, the electronic device stores the device point value information, which is helpful for subsequent troubleshooting and analysis of the cause of the fault.

[0061] In some embodiments, the electronic device storing the device point value information may include: the electronic device storing the device point value information in a second database corresponding to the second middleware, and determining the device point value information as new second preset device point value information.

[0062] As the device status changes and the device point value information is continuously updated, the electronic device needs to be able to adapt to these changes. Determining the device point value information that has not appeared as the new second preset device point value information can enable the electronic device to more accurately reflect the real-time status of the target device and adjust the alarm condition accordingly. In addition, the front-end reads and compares it with the alarm data again next time.

[0063] Optionally, the method may further include: the electronic device storing the preset alarm rule information in a second database.

[0064] At this time, the device point value information and the preset alarm rule information in the second database can be used to compare with the alarm status of the same target device next time.

[0065] In an embodiment of the present invention, a multi-level matching mechanism is adopted. The first alarm judgment is performed by matching the device point value information of the target device with multiple first preset device point value information and between the device point value information and preset alarm rule information. Then, the second alarm judgment is performed by matching the preset alarm rule information with multiple second preset device point value information. Based on the alarm result obtained for the second time, it is judged whether to store the device point value information, so that when the target device repeatedly alarms, it can improve the utilization rate of storage resources while not affecting the viewing of other alarm data, thereby improving the overall performance and response speed of the rail transit system.

[0066] In order to better understand the embodiments of the present invention, a data storage method based on a rail transit system is described in detail below.

[0067] Figure 2 is a schematic diagram of a scenario of a data storage method based on a rail transit system provided by the present invention, referring to Figure 2, while the target device in the rail transit system is running, S1. The target device can send the device point value information to the driving software in the electronic device in real time. S2. After receiving the device point value information, the driving software can send it to the first database corresponding to the kafka middleware through the Intelligent Connector software for storage. S3. The Expression Engine software reads the device point value information from the first database, and matches it with the preset alarm rule information to obtain the first alarm result. S4. When the first alarm result indicates that the target device is alarming, the Expression Engine software determines multiple second preset device point value information from the second database corresponding to the Redis middleware, and determines the second alarm result in combination with the preset alarm rule information. S5. When the second alarm result indicates that the target device is still alarming, the device point value information is not stored; when the second alarm result indicates that the target device has not repeatedly alarmed, the device point value information is stored in the second database corresponding to the Redis middleware.

[0068] Exemplarily, the device point value information of the automatic fire alarm device has two values ​​(0, 1), and the preset alarm rule information is whether to alarm. If this value changes, it will be passed to the Intelligent Connector software through the mining software, and the Intelligent Connector software will pass it to the first database corresponding to the kafka middleware. The ExpressionEngine software receives the value of 0 or 1 in the first database. The 1 stored in the first database indicates that a fire has occurred in the automatic fire alarm device and an alarm is required, and 0 indicates that the automatic fire alarm device is in normal operation and no alarm is required. If the value summarized and transmitted by the first database is 0, it is compared with the preset alarm rule information. If the preset alarm rule information considers it to be 0, the automatic fire alarm device is in normal operation and no alarm is generated. Otherwise, an alarm is generated.

[0069] The data storage device based on the rail transit system provided by the present invention is described below. The data storage device based on the rail transit system described below and the data storage method based on the rail transit system described above can be referenced to each other.

[0070] Figure 3 is a schematic diagram of the structure of a data storage device based on a rail transit system provided by the present invention, such as Figure 3 As shown, the device includes: a data matching module 301 and a data processing module 302.

[0071] The data matching module 301 is used to determine a matching result according to device point value information of the target device and a plurality of first preset device point value information during the operation of the target device in the rail transit system, wherein the device point value information is used to represent relevant dynamic information of the target device; The data processing module 302 is used to determine a first alarm result based on the device point value information and preset alarm rule information when the matching result indicates that the target device is an alarm device; determine a second alarm result based on the preset alarm rule information and multiple second preset device point value information when the first alarm result indicates that the target device is alarming; and determine whether to store the device point value information based on the second alarm result.

[0072] Optionally, the data processing module 302 is specifically used to read the preset alarm rule information from the first database corresponding to the first middleware; when it is determined that the device point value information matches the preset alarm rule information, it will indicate that the target device is alarming as the first alarm result; when it is determined that the device point value information matches the preset alarm rule information, it will indicate that the target device is not alarming as the first alarm result.

[0073] Optionally, the data processing module 302 is specifically used to not store the device point value information when the second alarm result indicates that the target device is still alarming; and to store the device point value information when the second alarm result indicates that the target device has not repeatedly alarmed.

[0074] Optionally, the data processing module 302 is specifically used to read the multiple second preset device point value information from the second database corresponding to the second middleware; when it is determined that among the multiple second preset device point value information, there is second preset device point value information matching the preset alarm rule information, it will be indicated that the target device is still alarming as the second alarm result; when it is determined that among the multiple second preset device point value information, there is no second preset device point value information matching the preset alarm rule information, it will be indicated that the target device has not repeatedly alarmed as the second alarm result.

[0075] Optionally, the data processing module 302 is specifically used to determine the identification information corresponding to the device point value information, and the preset identification information corresponding to the preset alarm rule information; when the identification information is the same as the preset identification information, determine that the device point value information matches the preset alarm rule information; and / or determine the point value name corresponding to the device point value information, and the preset point value name corresponding to the preset alarm rule information; when the point value name is the same as the preset point value name, determine that the device point value information matches the preset alarm rule information.

[0076] Optionally, the data processing module 302 is specifically configured to store the device point value information in a second database corresponding to the second middleware, and determine the device point value information as new second preset device point value information.

[0077] Optionally, when it is determined that there is preset alarm rule information matching the device point value information in the preset alarm rule information, the data processing module 302 is further used to store the device point value information in a first database corresponding to the first middleware.

[0078] Figure 4 is a schematic diagram of the structure of the electronic device provided by the present invention, such as Figure 4 As shown, the electronic device may include: a processor 410, a communication interface 420, a 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 may call the logic instructions in the memory 430 to execute a data storage method based on a rail transit system, the method comprising: in the process that a target device in the rail transit system is running, determining a matching result according to the device point value information of the target device and a plurality of first preset device point value information, wherein the device point value information is used to characterize the relevant dynamic information of the target device; in the case where the matching result indicates that the target device belongs to an alarm device, determining a first alarm result according to the device point value information and the preset alarm rule information; in the case where the first alarm result indicates that the target device is alarming, determining a second alarm result according to the preset alarm rule information and a plurality of second preset device point value information; and judging whether to store the device point value information according to the second alarm result.

[0079] 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 this 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, etc. Various media that can store program codes.

[0080] 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 data storage method based on the rail transit system provided by the above-mentioned methods, which includes: in the process of the target device in the rail transit system being in operation, determining a matching result based on the device point value information of the target device and multiple first preset device point value information, and the device point value information is used to characterize the relevant dynamic information of the target device; when the matching result indicates that the target device belongs to an alarm device, determining a first alarm result based on the device point value information and preset alarm rule information; when the first alarm result indicates that the target device is in alarm, determining a second alarm result based on the preset alarm rule information and multiple second preset device point value information; based on the second alarm result, judging whether to store the device point value information.

[0081] 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 data storage method based on the rail transit system provided by the above-mentioned methods, the method comprising: while a target device in the rail transit system is running, determining a matching result based on device point value information of the target device and multiple first preset device point value information, the device point value information being used to characterize relevant dynamic information of the target device; when the matching result indicates that the target device is an alarm device, determining a first alarm result based on the device point value information and preset alarm rule information; when the first alarm result indicates that the target device is in alarm, determining a second alarm result based on the preset alarm rule information and multiple second preset device point value information; and judging whether to store the device point value information based on the second alarm result.

[0082] 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.

[0083] 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, 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.

[0084] 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 data storage method based on a rail transit system, characterized in that: include: During the operation of a target device in the rail transit system, determining a matching result according to device point value information of the target device and a plurality of first preset device point value information, wherein the device point value information is used to characterize relevant dynamic information of the target device; In the case where the matching result indicates that the target device is an alarm device, determining a first alarm result according to the device point value information and preset alarm rule information; In the case where the first alarm result indicates that the target device is alarming, determining a second alarm result according to the preset alarm rule information and a plurality of second preset device point value information; According to the second alarm result, determine whether to store the device point value information.

2. The data storage method based on the rail transit system according to claim 1 is characterized in that: The determining of the first alarm result according to the device point value information and the preset alarm rule information includes: Reading the preset alarm rule information from a first database corresponding to the first middleware; In the case where it is determined that the device point value information matches the preset alarm rule information, indicating that the target device is alarming is determined as the first alarm result; In the case where it is determined that the device point value information does not match the preset alarm rule information, an indication that the target device has not alarmed is determined as the first alarm result.

3. The data storage method based on the rail transit system according to claim 1 is characterized in that: The determining, according to the second alarm result, whether to store the device point value information comprises: When the second alarm result indicates that the target device is still in alarm, the device point value information is not stored; When the second alarm result indicates that the target device has not repeatedly alarmed, the device point value information is stored.

4. The data storage method based on the rail transit system according to claim 1 is characterized in that: The determining of the second alarm result according to the preset alarm rule information and the plurality of second preset device point value information comprises: Reading the plurality of second preset device point value information from a second database corresponding to the second middleware; When determining that there is second preset device point value information matching the preset alarm rule information among the plurality of second preset device point value information, determining as the second alarm result that the target device is still in alarm; When it is determined that there is no second preset device point value information matching the preset alarm rule information among the plurality of second preset device point value information, an indication that the target device has not repeatedly alarmed is determined as the second alarm result.

5. The data storage method based on the rail transit system according to claim 2 is characterized in that: The determining that the device point value information matches the preset alarm rule information includes: Determine the identification information corresponding to the device point value information and the preset identification information corresponding to the preset alarm rule information; if the identification information is the same as the preset identification information, determine that the device point value information matches the preset alarm rule information; and / or, Determine the point value name corresponding to the device point value information and the preset point value name corresponding to the preset alarm rule information; when the point value name is the same as the preset point value name, determine that the device point value information matches the preset alarm rule information.

6. The data storage method based on the rail transit system according to claim 3 is characterized in that: The storing of the device point value information includes: The device point value information is stored in a second database corresponding to the second middleware, and the device point value information is determined as new second preset device point value information.

7. The data storage method based on the rail transit system according to claim 1 or 2, characterized in that: In the case where it is determined that the device point value information matches the preset alarm rule information, the method further includes: The device point value information is stored in a first database corresponding to the first middleware.

8. A data storage device based on a rail transit system, characterized in that: include: A data matching module, used for determining a matching result according to device point value information of the target device and a plurality of first preset device point value information during the operation of the target device in the rail transit system, wherein the device point value information is used to characterize relevant dynamic information of the target device; A data processing module, configured to determine a first alarm result according to the device point value information and preset alarm rule information when the matching result indicates that the target device is an alarm device; and to determine a second alarm result according to the preset alarm rule information and a plurality of second preset device point value information when the first alarm result indicates that the target device is alarming; According to the second alarm result, determine whether to store the device point value information.

9. 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 computer program, the data storage method based on the rail transit system as described in any one of claims 1 to 7 is implemented.

10. 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 data storage method based on the rail transit system as claimed in any one of claims 1 to 7 is implemented.