A method for accessing alarm information of high-speed rail signal equipment
Through hashing algorithm and ZIP compression technology, the alarm information of railway signal equipment is dynamically correlated and compressed, which solves the problems of limited storage space and resource occupation, and realizes efficient alarm information access and online playback, improving the convenience of storage space utilization and fault analysis.
Patent Information
- Application Number
- CN202310081667.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-08
- Publication Date
- 2025-07-29
- Estimated Expiration
- 2043-02-08
AI Technical Summary
In the existing centralized railway signal monitoring system, the storage of key early warning information and alarm information is relatively scattered, occupying a large amount of memory resources, and limited storage space, resulting in short information storage time and lack of effective dynamic correlation, making it difficult to store and extract for a long time, affecting equipment failure analysis.
The hash algorithm is used to obtain the hash value of the alarm information, dynamically correlate and compress and store it. The alarm information is compressed into 1/20 of the original data through the ZIP compression algorithm, and combined with the MD5 code to verify the data integrity, it realizes convenient extraction and efficient storage during online playback.
Store more alarm information in limited storage space, improve storage space utilization, realize convenient online playback and fault analysis, provide a basic data source for signal equipment history, and reduce system resource consumption.
Smart Images

Figure CN116149553B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a method for accessing alarm information of high-speed rail signal equipment. Background Art
[0002] During the operation of high-speed rail trains, various faults may occur. During the operation of high-speed rail, a railway signal centralized monitoring system is used to monitor the operating status of railway signal equipment. During the monitoring process, the staff conducts intelligent browsing through the railway signal centralized monitoring system, and discovers potential faults of high-speed rail signal equipment through the early warning information and alarm information prompted by the system. In addition, the staff can also comprehensively analyze the health status of railway signal equipment with the help of a large amount of stored historical data. However, during the application process of the railway signal centralized monitoring system, the following problems exist:
[0003] First, the storage of key early warning information and alarm information is relatively scattered, and combination and presentation are required during intelligent browsing, retrieval, and query, occupying too much memory resources of the industrial control computer installed with the railway signal centralized monitoring system;
[0004] Second, limited by the storage space of the industrial control computer, the amount of information that can be stored is limited, resulting in a short storage time for key early warning information and alarm information. Basically, all alarm data needs to be scrolled and deleted after more than 6 months to free up storage space, which is not conducive to establishing a comprehensive account information for high-speed rail signal equipment and constructing an equipment resume;
[0005] Third, although the existing railway signal centralized monitoring system stores the status quantities, analog quantities, and alarm information detected by the equipment according to the equipment type, there is a lack of effective dynamic association during the storage process, and difficulties are encountered when offline reproducing the fault phenomena of signal equipment subsequently.
[0006] In order to better study the relationship between alarm information and fault phenomena, a large amount of historical data needs to be stored. Existing regulatory documents and interface protocols require that the acquisition data and interface data of all stations be stored for more than 5 years, especially key early warning information and alarm information are required to be stored for a longer time. However, there are already a large number of self-acquired data and interface data in the railway signal centralized monitoring system, and the amount of intelligent early warning information and alarm information data is also increasing year by year. In addition, in order to strengthen the centralized management of signal equipment, more signal equipment manufacturers will successively provide interfaces to the railway signal centralized monitoring system according to new protocol specifications. As the signal volume gradually increases, it poses a severe challenge to the data storage and extraction of the railway signal centralized monitoring system.
[0007] To meet the management requirements of the electric and signaling department for the key warning information and alarm information of high-speed rail signal equipment, a method that can store key information for a long time and is convenient for online playback is needed. This is to provide perfect data support for the whole life cycle management of high-speed rail signal equipment and also provide a basic data source for constructing the resume of signal equipment. Summary of the Invention
[0008] The purpose of the present invention is to provide a method for storing and retrieving alarm information of high-speed rail signal equipment, which has the advantages of less resource occupation and high retrieval efficiency.
[0009] To achieve the above purpose, the present invention provides a method for storing and retrieving alarm information of high-speed rail signal equipment, which includes:
[0010] S10. The railway signal centralized monitoring system retrieves the remaining storage space. When the storage space meets the offline compression condition, it enters S20; when the storage space does not meet the offline compression condition, S10 is repeatedly executed;
[0011] S20. Retrieve the alarm information that has occurred in the storage space;
[0012] S30. Obtain the hash value of the alarm information according to the hash algorithm;
[0013] S40. Dynamically associate the alarm information with the status information of the signal equipment when the alarm information occurs;
[0014] S50. Compress and store the dynamically associated alarm information;
[0015] S60. Select the time range of the alarm information to be extracted;
[0016] S70. Select the alarm information to be extracted according to the type of the alarm information;
[0017] S80. Find the stored alarm information through the hash value;
[0018] S90. Extract and decompress the alarm information.
[0019] In this solution, by efficiently compressing and storing the alarm information and being able to extract it conveniently when analyzing faults for online playback, it not only saves the alarm information data and provides a basic analysis data source for constructing the resume of signal equipment, but also saves storage resources and can store more alarm information data in the limited storage space, improving the utilization rate of the storage space.
[0020] Preferably, between step S50 and step S60, it further includes:
[0021] S51. Save the MD5 code after compressing the alarm information.
[0022] In this solution, by saving the MD5 code of the compressed alarm information, the integrity of the data is verified by verifying the MD5 code of the file during subsequent online playback, avoiding the occurrence of playback errors caused by data loss during compression and decompression.
[0023] Preferably, between step S80 and step S90, it further includes:
[0024] S81. Check the MD5 code of the alarm information.
[0025] In this solution, checking the MD5 code generated after compressing the alarm information has a security verification function and realizes a secure and reliable decompression process for alarm information data.
[0026] Preferably, the alarm information includes early warning information and alarm information.
[0027] Preferably, the status information of the signal device includes the analog quantity of the signal device and the analog quantity of the interface status. The early warning information includes the mutation, fluctuation, and trend change of the analog quantity of the signal device and the mutation, fluctuation, and trend change of the analog quantity of the interface status.
[0028] Preferably, the alarm information includes: the signal machine is abnormally closed, the train signal cannot be opened, the switch action fails, the switch indication fails, the switch cannot be turned to the correct position, the interval signal display is abnormal, the frequency shift track circuit has a red light band, the 25Hz track in the station has a red light band and a flashing red light band, the external power grid is powered off, and the power supply panel fails.
[0029] Preferably, the status information of the signal device includes the status quantity self - collected by the signal device and the analog quantity self - collected by the signal device and the status quantity of the interface status and the analog quantity of the interface status.
[0030] Preferably, the status quantity self - collected by the signal device includes: the power - off status of the external power grid, the open - phase status, the out - of - order status, the switch normal position status, the switch reverse position status, the signal machine lamp position status, the 25Hz track occupancy status in the station, the interval section occupancy status, and the fuse alarm status.
[0031] Preferably, the analog quantity self - collected by the signal device includes: the voltage and current values of the external power grid analog quantity, the voltage and current values of the switch analog quantity, the voltage and current values of the signal machine analog quantity, the voltage and current values of the frequency shift analog quantity, the voltage value of the 25Hz track analog quantity in the station, the resistance value of the cable insulation analog quantity, and the current value of the power supply leakage current analog quantity.
[0032] Preferably, the state quantity and analog quantity of the interface state include: the station yard representation state obtained from the interlocking system, which is used to identify the turnout representation within the station, the section state within the station, and the signal lamp position state within the station; the section representation data obtained from the train control system, which is used to identify the section state in the block and the signal lamp position state of the signal in the block; the analog voltage and current values obtained from the ZPW2000 track circuit.
[0033] Preferably, the dynamically associated data includes the data of the signal equipment within 5 minutes before and 5 minutes after the alarm information is issued.
[0034] In this solution, by storing the data of the signal equipment within 5 minutes before and after the alarm information is issued, which is the first-hand information for analyzing the cause of the problem, and performing dynamic association first and then key data compression, it is beneficial to restore the specific scene at the time when the alarm information appears during online playback.
[0035] Preferably, S50, compressing and storing the dynamically associated alarm information includes:
[0036] S501, compressing the dynamically associated alarm information using the ZIP compression algorithm;
[0037] S502, storing the compressed alarm information.
[0038] In this solution, the alarm information is efficiently compressed using the ZIP compression algorithm and then stored. The space occupied by the compressed data is 1 / 20 of the original data, greatly reducing the consumption of system resources.
[0039] Preferably, after step S90, extracting and decompressing the alarm information, it further includes:
[0040] S91, restoring and presenting the alarm information in the form of an interface.
[0041] In this solution, the alarm information is presented in the form of an interface during online playback, making the scene during online playback closer to the scene when the alarm information is issued and improving the on-site restoration degree when the alarm information occurs.
[0042] In summary, compared with the prior art, the method for storing and accessing the alarm information of high-speed rail signal equipment provided by the present invention has the following beneficial effects:
[0043] The access method for the alarm information of high-speed rail signal equipment in this application efficiently compresses and stores the alarm information, and can conveniently extract it when analyzing faults and conducting online playback. It not only saves the alarm information data and provides a basic analysis data source for constructing the resume of signal equipment, but also saves storage resources, can store more alarm information data in a limited storage space, and improves the utilization rate of the storage space. Brief Description of the Drawings
[0044] Figure 1 It is a schematic diagram of the access service flow chart for the access method of the alarm information of the high-speed rail signal equipment of the present invention. Detailed Embodiments
[0045] The following will combine the attached drawings in the embodiments of the present invention Figure 1 to detail the technical solutions, structural features, achieved purposes and effects in the embodiments of the present invention.
[0046] It should be noted that the drawings adopt a very simplified form and use non-precise scales, only for conveniently and clearly assisting in explaining the purpose of the embodiments of the present invention, and are not used to limit the limiting conditions for implementing the present invention. Therefore, they do not have technical substance. Any modification of the structure, change of the proportional relationship or adjustment of the size, without affecting the effects that the present invention can produce and the purposes that can be achieved, should still fall within the scope covered by the technical content disclosed by the present invention.
[0047] It should be noted that in the present invention, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements clearly listed, but also includes other elements not clearly listed, or also includes elements inherent to such process, method, article or device.
[0048] As Figure 1 shown, the present invention provides an access method for the alarm information of high-speed rail signal equipment, including the following steps:
[0049] S10. The railway signal centralized monitoring system retrieves the remaining storage space. When the storage space meets the offline compression condition, it proceeds to S20; when the storage space does not meet the offline compression condition, S10 is repeatedly executed. The pre-set offline compression condition is used to determine whether compression is required. The condition can be the percentage of the remaining storage space in the total storage space or the absolute quantity value of the remaining storage space, or other pre-set conditions. In this way, offline compression only starts when the offline compression condition is met. Usually, only the remaining storage space quantity needs to be detected, reducing the compression work and avoiding starting compression as soon as alarm information is stored, thus saving computing resources.
[0050] S20. Retrieve the alarm information that has occurred in the storage space. In addition to storing alarm information, the storage space also stores general information. When performing offline compression, the alarm information needs to be selected from the general information for compression.
[0051] S30. Obtain the hash value by querying the hash query table through the type value of the alarm information. In this embodiment, as shown in Table 1, the system pre-stores the type value table corresponding to the early warning information and alarm information. The purpose of setting this table is to record the alarm information in the form of type values when alarm information occurs, facilitating the system to perform corresponding processing according to different alarm information. Based on the type value of the alarm information, the hash value of the alarm information is queried through the hash query table. The hash value facilitates quick query and analysis during subsequent online playback. The index relationship table is used to store the hash value and the corresponding alarm information. The hash value and the corresponding alarm information are saved in the index relationship table, facilitating quick search for the corresponding alarm information according to the hash value during subsequent online playback, shortening the query time, and improving the query efficiency. The alarm information includes early warning information and alarm information. In the hash query table, the type values of the early warning information and alarm information are different. Different early warning type values and alarm type values are assigned according to different early warning information and alarm information. Subsequently, the specific content of the early warning information and alarm information is determined according to the type value. Table 1 below exemplifies the corresponding relationships between some early warning information and early warning type values, and between alarm information and alarm type values.
[0052] Table 1 Type value table corresponding to early warning information and alarm information
[0053] Early warning information Early warning type value Alarm information Alarm type value Sudden change in analog value of external power grid 1001 Abnormal signal shutdown 2001 Sudden change in analog value of switch 1002 Train signal cannot be opened 2002 Abnormal fluctuation of analog value of signal lamp 1003 Switch operation failure 2003 Trend change of analog value of track circuit 1004 Red light band of track circuit 2004 ··· ··· ··· ···
[0054] S40. Dynamically associate the alarm information with the status information of the signal device when the alarm information occurs. The dynamically associated information includes the data of the signal device within 5 minutes before and 5 minutes after the alarm information is issued. The data of the signal device within 5 minutes before and after the alarm information is issued plays an important role in the subsequent online playback and analysis of the alarm information. These data are the first-hand materials for analyzing the cause of the problem. By storing the data of the signal device within 5 minutes before and after the alarm information is issued, dynamically associating first and then compressing the key data is conducive to restoring the specific scene when the alarm information appears during online playback. The dynamically associated information is shown in Table 2 and Table 3 below. Different warning information and alarm information require different associated device information. The type value extracts the working status of the signal device according to different alarm information. The alarm information includes the type value of the alarm information and the time when the alarm occurs. Determine the device information that needs to be dynamically associated according to the alarm type value, and determine the time range of the device information that needs to be associated according to the time when the alarm occurs, reducing unnecessary data storage and improving the utilization efficiency of the storage space. After extracting the device information, calculate the storage address of the dynamically associated information according to the hash function and the warning type value or alarm type value.
[0055] Table 2 Dynamic Association Table of Warning Information
[0056]
[0057]
[0058] Table 3 Dynamic Association Table of Alarm Information
[0059]
[0060] S50. Compress and store the alarm information after dynamic association. Specifically, S50 includes: S501. Compress the alarm information after dynamic association using the ZIP compression algorithm; S502. Store the compressed alarm information. In this embodiment, the ZIP compression algorithm is used to efficiently compress the alarm information and then store it. The space occupied by the compressed data is 1 / 20 of the original data, greatly reducing the consumption of system resources. In addition, the alarm information can be uploaded to the central server after compression for other devices to read.
[0061] In this embodiment, after step S502 and before step S60, it further includes:
[0062] S51. Save the MD5 code of the compressed alarm information. By saving the MD5 code of the compressed alarm information file, verify the integrity of the data by verifying the MD5 code of the file during subsequent online playback, and avoid the occurrence of playback errors caused by data loss due to compression and decompression.
[0063] S60. Select the time range for the alarm information to be extracted. When it is necessary to extract and compress the alarm information, first filter the alarm information according to the time range of the alarm information to narrow the range of alarm information query and improve the retrieval efficiency.
[0064] S70. Select the alarm information to be extracted according to the type of the alarm information. The alarm information can generally be divided into early warning information and alarm information. The early warning information and the alarm information each include various subdivided status information. For example, the early warning information includes the sudden change of the analog quantity value of the external power grid, the sudden change of the analog quantity value of the switch, the abnormal fluctuation of the analog quantity value of the signal lamp, and the trend change of the analog quantity of the track circuit. The alarm information includes the abnormal closing of the signal, the inability to open the train signal, the malfunction of the switch operation, and the red light band of the track circuit. In this embodiment, the status information of the signal equipment includes the analog quantity of the signal equipment and the analog quantity of the interface status. The early warning information includes: the sudden change, fluctuation and trend change of the analog quantity of the signal equipment and the sudden change, fluctuation and trend change of the analog quantity of the interface status, that is, when it is detected that the analog quantity of the signal equipment or the analog quantity of the interface status changes, an early warning information is issued. The alarm information includes: the abnormal closing of the signal lamp, the inability to open the train signal, the malfunction of the switch operation, the malfunction of the switch indication, the switch not being turned to the proper position, the abnormal display of the interval signal, the red light band of the frequency shift track circuit, the red light band of the 25Hz track in the station and the flashing red light band, the power failure of the external power grid, the malfunction of the power supply panel, that is, when it is detected that the above problems occur, an alarm information is issued. In this embodiment, the status information of the signal equipment includes the status quantity self-collected by the signal equipment and the status quantity and analog quantity of the interface status self-collected by the signal equipment. Among them, the status quantity self-collected by the signal equipment includes: the power failure status, the phase break status, the out-of-sequence status of the external power grid, the normal position status of the switch, the reverse position status of the switch, the lamp position status of the signal lamp, the occupied status of the 25Hz track in the station, the occupied status of the interval section, and the fuse alarm status. The analog quantity self-collected by the signal equipment includes: the voltage and current values of the analog quantity of the external power grid, the voltage and current values of the analog quantity of the switch, the voltage and current values of the analog quantity of the signal lamp, the voltage and current values of the analog quantity of the frequency shift, the voltage value of the analog quantity of the 25Hz track in the station, the resistance value of the analog quantity of the cable insulation, and the current value of the analog quantity of the power leakage current. The status quantity and analog quantity of the interface status include: the station yard indication status obtained from the interlocking system, which is used to identify the switch indication in the station, the status of the station section, and the lamp position status of the signal lamp in the station; the interval indication data obtained from the train control system, which is used to identify the status of the interval section and the lamp position status of the interval signal lamp; the voltage and current values of the analog quantity obtained from the ZPW2000 track circuit.
[0065] S80. Search for the stored alarm information file through the hash value. In this embodiment, between step S80 and step S90, there is also S81. Check the MD5 code of the alarm information. By checking the MD5 code generated after compressing the alarm information, it has a security verification function and realizes a safe and reliable decompression process for the alarm information data. In the MD5 code, MD stands for Message Digest. However, here the message digest is not an abbreviation of the information content, but a 128-bit (bit) signature obtained by performing a mathematical transformation on the original information according to the publicly available MD5 algorithm. By verifying the MD5 codes of two files, it can be compared whether the two files are the same. By verifying the MD5 code, it is ensured that the contents of the two files before and after compression and extraction are the same.
[0066] S90. Extract and decompress the alarm information. After finding the alarm information file, extract and decompress the alarm information from the storage space.
[0067] In this embodiment, after step S90, extracting and decompressing the alarm information, there is also S91. Restore and present the alarm information in the form of an interface. When playing back online, present the alarm information in the form of an interface, making the scene during online playback closer to the scene when the alarm information was issued and improving the restoration degree of the scene when the alarm information occurred. In addition, after the alarm information file is decompressed, it supports offline playback not only on the machines in the station but also on other terminals such as handheld terminals.
[0068] Although the content of the present invention has been described in detail through the above preferred embodiments, it should be recognized that the above description should not be considered as a limitation of the present invention. After those skilled in the art have read the above content, various modifications and substitutions to the present invention will be obvious. Therefore, the protection scope of the present invention should be defined by the appended claims.
Claims
1. A method for accessing alarm information of high - speed rail signal equipment, characterized in that, The access method includes: S10. The railway signal centralized monitoring system retrieves the remaining storage space. When the storage space meets the off-line compression condition, it proceeds to S20; when the storage space does not meet the off-line compression condition, S10 is repeatedly executed; S20. Retrieve the alarm information that has occurred within the storage space; S30. Query the hash query table through the type value of the alarm information to obtain the hash value and fill it into the index relationship table; S40. Dynamically associate the alarm information with the status information of the signal device when the alarm information occurs; S50. Compress and store the dynamically associated alarm information; S60. Select the time range of the alarm information to be extracted; S70. Select the alarm information to be extracted according to the type of the alarm information; S80. Locate the stored alarm information through the hash value; S90. Extract and decompress the alarm information; Between step S50 and step S60, it further includes: S51. Save the MD5 code after the alarm information is compressed; Between step S80 and step S90, it further includes: S81. Check the MD5 code of the alarm information; The dynamically associated data includes the data of the signal device within 5 minutes before and 5 minutes after the alarm information is issued; S50. Compressing and storing the dynamically associated alarm information includes: S501. Compress the dynamically associated alarm information using the ZIP compression algorithm; S502. Store the compressed alarm information.
2. The access method for the alarm information of the high-speed rail signal equipment according to claim 1, characterized in that The alarm information includes early warning information and alarm information.
3. The access method for the alarm information of the high-speed rail signal device according to claim 2, characterized in that, The status information of the signal device includes the analog quantity of the signal device and the analog quantity of the interface status. The early warning information includes the mutation, fluctuation and trend change of the analog quantity of the signal device and the mutation, fluctuation and trend change of the analog quantity of the interface status.
4. The access method for the alarm information of the high-speed rail signal device according to claim 2, characterized in that, The alarm information includes: the signal machine is abnormally closed, the train signal cannot be opened, the turnout operation fails, the turnout indication fails, the turnout cannot be turned to the correct position, the interval signal display is abnormal, the frequency shift track circuit has a red light band, the 25Hz track in the station has a red light band and a flashing red light band, the external power grid is powered off, and the power supply panel fails.
5. The access method for the alarm information of the high-speed rail signal equipment according to claim 1, characterized in that, The status information of the signal device includes the status quantity self-collected by the signal device and the analog quantity self-collected by the signal device and the status quantity of the interface status and the analog quantity of the interface status.
6. The access method for the alarm information of high-speed rail signal equipment according to claim 5, wherein, The status quantity self-collected by the signal device includes: the power-off status of the external power grid, the phase failure status, the out-of-sequence status, the turnout normal position status, the turnout reverse position status, the signal machine lamp position status, the 25Hz track occupancy status in the station, the interval section occupancy status, and the fuse alarm status.
7. The access method for the alarm information of the high-speed rail signal device according to claim 5, characterized in that, The analog quantity self-collected by the signal device includes: the voltage and current values of the external power grid analog quantity, the voltage and current values of the turnout analog quantity, the voltage and current values of the signal machine analog quantity, the voltage and current values of the frequency shift analog quantity, the voltage value of the 25Hz track analog quantity in the station, the resistance value of the cable insulation analog quantity, and the current value of the power supply leakage current analog quantity.
8. The access method for the alarm information of the high-speed rail signal device according to claim 5, characterized in that, The status quantity and analog quantity of the interface status include: the station yard representation status obtained from the interlocking system, which is used to identify the turnout representation within the station, the section status within the station, and the signal aspect status of the signal lamps within the station; the section representation data obtained from the train control system, which is used to identify the section status of the section and the signal aspect status of the signal lamps in the section; and the analog voltage and current values obtained from the ZPW2000 track circuit.
9. The access method for the alarm information of the high-speed rail signal device according to claim 1, characterized in that, After step S90 of extracting and decompressing the alarm information, it further includes: S91. Restoring and presenting the alarm information in the form of an interface.
Citation Information
Patent Citations
On-line monitoring and fault early-warning system and method for traction electric transmission system of train
CN106338406A
High-speed rail signal interlocking relation real-time analysis method
CN113525463A