Multi-source signal state data consistency comparison method, system, medium and equipment
Through the multi-source signal state data consistency comparison method, the problem of low and error-prone signal state data monitoring efficiency in the prior art is solved, real-time and accurate data comparison and abnormal feedback are realized, and the safety and efficiency of railway transportation are improved.
Patent Information
- Application Number
- CN202510243985.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-03
- Publication Date
- 2025-07-11
AI Technical Summary
The monitoring and comparison of signal status data in existing multi-source signal equipment mainly relies on manual inspection and fixed rules, which are inefficient and error-prone, and cannot meet the requirements of modern railway signal systems for real-time, accuracy and flexibility.
The multi-source signal state data consistency comparison method is adopted, including obtaining original data, preprocessing, reading comparison rules for consistency comparison, and feeding back the abnormal results. Real-time data processing is achieved using stream processing technology and high-performance computing resources, supporting flexible comparison rules setting and visual display.
It improves the accuracy and comparison efficiency of signal status data, reduces the probability of false alarms and omissions, ensures the safety and real-time nature of the system, adapts to complex railway operation environments, and improves the safety and efficiency of railway transportation.
Smart Images

Figure CN120296434A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of data processing, and particularly relates to a method, system, medium and device for comparing the consistency of multi-source signal state data. Background Art
[0002] The railway signal system is an important guarantee for railway transportation safety. Signal equipment is the core component of the railway signal system. The signal equipment is responsible for collecting, processing and transmitting signal information to achieve the safe and orderly operation of trains. There are various types of signal equipment, such as signal lights, switch machines, track circuits, consoles, power supply panels, etc.
[0003] With the continuous development and complexity of the railway signal system, the use of multi-source signal equipment has become more and more common. The multi-source signal equipment improves the reliability and safety of the system by integrating the signal state data of multiple signal sources, that is, by integrating the signal state data of the interlocking system, the train control system, the RBC system, and the TSRS system. At present, the monitoring and comparison of multi-source signal state data in multi-source signal equipment mainly rely on manual inspections and judgments based on fixed rules. This method is not only inefficient but also error-prone and cannot meet the requirements of modern railway signal systems for real-time, accuracy and flexibility. Summary of the Invention
[0004] The present invention provides a method, system, medium and device for comparing the consistency of multi-source signal state data.
[0005] A method for comparing the consistency of multi-source signal state data according to the present invention includes:
[0006] Obtaining the original multi-source signal state data;
[0007] Preprocessing the original multi-source signal state data to obtain the preprocessed multi-source signal state data;
[0008] Reading the comparison rules, and performing consistency comparison on the preprocessed multi-source signal state data based on the comparison rules to obtain a comparison result;
[0009] Feeding back the abnormal results in the comparison result.
[0010] Furthermore,
[0011] The comparison rules include matching rules, anomaly detection rules, priority rules and response rules.
[0012] Furthermore,
[0013] The anomaly detection rules define anomaly conditions, anomaly levels, anomaly types and error ranges, and the anomaly conditions, the anomaly levels, the anomaly types and the error ranges correspond to each other.
[0014] Further,
[0015] Read the comparison rules, and perform consistency comparison on the preprocessed multi-source signal status data based on the comparison rules to obtain a comparison result, including:
[0016] Based on the matching rules, clarify the range of the preprocessed multi-source signal status data participating in the consistency comparison.
[0017] Further,
[0018] Read the comparison rules, and perform consistency comparison on the preprocessed multi-source signal status data based on the comparison rules to obtain a comparison result, further including:
[0019] Perform consistency comparison on the preprocessed multi-source signal status data participating in the consistency comparison based on the anomaly detection rules to obtain the comparison result, and the comparison result includes normal results and abnormal results.
[0020] Further,
[0021] Read the comparison rules, and perform consistency comparison on the preprocessed multi-source signal status data based on the comparison rules to obtain a comparison result, further including:
[0022] Determine the anomaly level and the anomaly type according to the anomaly conditions triggered during the consistency comparison.
[0023] Further,
[0024] Feedback the abnormal results in the comparison result, including:
[0025] Obtain a response method according to the anomaly level;
[0026] Based on the priority rules, obtain the priorities corresponding to all the preprocessed signal status data in the abnormal results;
[0027] Feedback the abnormal results and the priorities according to the response method.
[0028] Further,
[0029] It further includes:
[0030] After obtaining the comparison result, visually display the comparison result.
[0031] A multi-source signal status data consistency comparison system of the present invention is used to implement the foregoing multi-source signal status data consistency comparison method, and the system includes:
[0032] An acquisition module for acquiring original multi-source signal status data;
[0033] A preprocessing module for preprocessing the original multi-source signal status data to obtain preprocessed multi-source signal status data;
[0034] A comparison module for reading a comparison rule and performing a consistency comparison on the preprocessed multi-source signal status data based on the comparison rule to obtain a comparison result;
[0035] A feedback module for feeding back the abnormal results in the comparison result.
[0036] Furthermore,
[0037] It further includes:
[0038] A visualization module for visually displaying the comparison result after obtaining the comparison result.
[0039] A computer-readable storage medium of the present invention stores a program or instructions. When the program or instructions run on a computer, the computer is made to execute the foregoing method for consistency comparison of multi-source signal status data.
[0040] An electronic device of the present invention includes a processor, and the processor is coupled to a memory; the processor is configured to read and execute a computer program stored in the memory to implement the foregoing method for consistency comparison of multi-source signal status data.
[0041] Compared with the prior art, the beneficial effects of the present invention are:
[0042] By performing real-time comparison and verification on multi-source signal status data of the same signal device, the accuracy of the multi-source signal status data is ensured.
[0043] Aligning signal status data with different timestamps to the same time point ensures data consistency and avoids misjudgment caused by time differences.
[0044] Utilizing stream processing technology and high-performance computing resources to achieve real-time data processing and analysis, optimizing the data transmission and processing process, optimizing the data transmission path and processing algorithm, reducing the delay in intermediate links, and ensuring that the system completes data processing and response within a few milliseconds.
[0045] Users can flexibly set comparison rules according to actual needs to ensure that the system can adapt to various complex railway operation environments, improving the adaptability and flexibility of the system.
[0046] By preprocessing and comparing and analyzing the signal status data, the system can accurately judge whether the signal status is consistent, reducing the probability of false alarms and missed alarms.
[0047] An automated comparison process is adopted, which improves the comparison efficiency, reduces the workload of manual comparison. At the same time, through the real-time comparison and verification of multi-source signal status data, the accuracy of comparison is improved, and the reliability and real-time performance of the system are also enhanced.
[0048] When the comparison result is abnormal, an alarm prompt is given in a timely manner to avoid risks, ensure the safe operation of the system, and improve the safety of railway transportation.
[0049] A user-friendly graphical interface is provided, enabling staff to intuitively view the consistency of signal status and quickly locate problems.
[0050] The above advantages enable this system to have a wide application prospect in railway transportation, and can significantly improve the safety and efficiency of railway operation. Description of the Drawings
[0051] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0052] Figure 1 It is a flowchart of the method for comparing the consistency of multi-source signal status data of the present invention;
[0053] Figure 2 It is a schematic structural diagram of the system for comparing the consistency of multi-source signal status data of the present invention;
[0054] Figure 3 It is a schematic structural diagram of the electronic device of the present invention.
[0055] Description of the Reference Numerals:
[0056] 201 - Acquisition Module, 202 - Preprocessing Module, 203 - Comparison Module, 204 - Feedback Module, 301 - Processor, 302 - Memory. Detailed Embodiments
[0057] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are some, but not all, of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts fall within the scope of protection of the present invention.
[0058] Figure 1It is a flowchart of a method for comparing the consistency of multi-source signal status data provided by an embodiment of the present invention. In one embodiment, it specifically includes the following steps:
[0059] S101: Obtain the original multi-source signal status data.
[0060] Use optical fiber communication technology to obtain multi-source signal status data from signal devices distributed along the railway, including but not limited to obtaining multi-source signal status data from signal devices such as signal lamps, switch machines, track circuits, consoles, power distribution panels, etc. The multi-source signal status data obtained from each signal device is defined as the original multi-source signal status data.
[0061] At the same time, use stream processing technology to perform real-time processing and logical operations on the original multi-source signal status data, which can complete the processing and operation of the original multi-source signal status data in a relatively short time, ensuring the real-time nature of the original multi-source signal status data.
[0062] S102: Preprocess the original multi-source signal status data to obtain the preprocessed multi-source signal status data.
[0063] Perform preprocessing operations such as cleaning, format conversion, and timestamp alignment on the original multi-source signal status data to obtain the preprocessed multi-source signal status data.
[0064] Through preprocessing, the quality of the data and the consistency in the time dimension can be ensured, avoiding misjudgment caused by time differences.
[0065] S103: Read the comparison rules, and perform consistency comparison on the preprocessed multi-source signal status data based on the comparison rules to obtain the comparison result.
[0066] The comparison rules are pre-configured in the system by the staff according to actual needs. The system reads the comparison rules, and the comparison rules include but are not limited to matching rules, anomaly detection rules, priority rules, and response rules, specifically as follows:
[0067] A. Matching rules
[0068] Define which signal status data need to match each other. The mutually matching signal status data will be subjected to consistency comparison, and the number of mutually matching signal status data is 2 or more.
[0069] B. Anomaly detection rules
[0070] Define the anomaly conditions, anomaly levels, anomaly types, and error ranges, and these four pieces of information correspond one by one.
[0071] The error range includes but is not limited to time error and position error.
[0072] C. Priority Rules
[0073] Defines the priority of each signal status data.
[0074] D. Response Rules
[0075] Defines the response methods corresponding to different exception levels. The response methods include recording exception information, issuing corresponding alarm prompts, notifying the control center, etc.
[0076] After reading the comparison rules, perform consistency comparison. During a certain consistency comparison process:
[0077] First, based on the matching rules, clarify the range of pre - processed multi - source signal status data participating in the consistency comparison.
[0078] After that, based on the anomaly detection rules, perform consistency comparison on the pre - processed multi - source signal status data participating in the consistency comparison.
[0079] When the pre - processed signal status data participating in the consistency comparison triggers an abnormal condition, and the difference between the pre - processed signal status data participating in the consistency comparison is not within the error range, all the pre - processed signal status data participating in the consistency comparison are recognized as abnormal data, and the comparison result is recognized as an abnormal result.
[0080] When the pre - processed signal status data participating in the consistency comparison triggers an abnormal condition, and the difference between the pre - processed signal status data participating in the consistency comparison is within the error range, all the pre - processed signal status data participating in the consistency comparison are recognized as normal data, and the comparison result is recognized as a normal result.
[0081] When the pre - processed signal status data participating in the consistency comparison does not trigger an abnormal condition, regardless of whether the difference between the pre - processed signal status data participating in the consistency comparison is within the error range, all the pre - processed signal status data participating in the consistency comparison are recognized as normal data, and the comparison result is recognized as a normal result.
[0082] Then, determine the exception level and exception type according to the abnormal condition triggered during the consistency comparison.
[0083] S104: Feedback the abnormal results in the comparison result.
[0084] After obtaining the comparison result, based on the response rules, obtain the response method corresponding to the exception level according to the exception level; based on the priority rules, obtain the priorities corresponding to all the pre - processed signal status data in the abnormal result.
[0085] Feed back the abnormal results and priorities in the comparison result to the staff according to the response method.
[0086] In the second embodiment, after obtaining the comparison result, record the comparison result, specifically record: comparison time, source of signal status data, whether it is abnormal, type of abnormality, level of abnormality, response method. Store the comparison result in a log file, and classify and store the log file according to a predetermined type, and the predetermined type includes but is not limited to time and type of abnormality. To reduce the occupation of storage space, set a first predetermined period, delete the log files that exceed the first predetermined period, and only retain the log files within the first predetermined period.
[0087] In the third embodiment, after obtaining the comparison result, visually display the comparison result to the staff, and the display form includes but is not limited to charts and reports, and the display content includes but is not limited to comparison reports, abnormal data lists, etc.
[0088] During the execution of the foregoing three embodiments, back up all the data generated during the execution process according to a second predetermined period to prevent data loss, and encrypt the predetermined sensitive data to ensure the security of the data.
[0089] An embodiment of the present invention also provides a multi-source signal status data consistency comparison system, as Figure 2 shown, including:
[0090] An acquisition module 201, configured to acquire original multi-source signal status data.
[0091] A preprocessing module 202, configured to preprocess the original multi-source signal status data to obtain preprocessed multi-source signal status data.
[0092] A comparison module 203, configured to read a comparison rule, and perform consistency comparison on the preprocessed multi-source signal status data based on the comparison rule to obtain a comparison result.
[0093] A feedback module 204, configured to feedback the abnormal results in the comparison result.
[0094] It should be noted here that the above-mentioned acquisition module 201, preprocessing module 202, comparison module 203, and feedback module 204 correspond to steps S101 to S104 in the embodiment of the multi-source signal status data consistency comparison method, and the examples and application scenarios implemented by the above modules and the corresponding steps are the same, but are not limited to the content disclosed in the above embodiments.
[0095] The multi-source signal status data consistency comparison system further includes:
[0096] A recording module, configured to record the comparison result after obtaining the comparison result.
[0097] A visualization module, which is used to visually display the comparison result after obtaining the comparison result.
[0098] The multi-source signal status data consistency comparison system also supports a playback function to reproduce the change process of the signal status data within a specified time period.
[0099] The multi-source signal status data consistency comparison system also supports a permission management function, which supports setting different permissions for different roles. For example, ordinary operators can only view a part of the data, while administrators can view all the data.
[0100] An embodiment of the present invention also provides a computer-readable storage medium storing a program or instructions. When the above program or instructions run on a computer, the computer is enabled to execute the multi-source signal status data consistency comparison method as described in the above method embodiment.
[0101] As Figure 3 As shown, an embodiment of the present invention also provides an electronic device, including: a processor 301, the processor 301 is coupled to a memory 302, and the processor 301 is configured to read and execute a computer program stored in the memory 302 to implement the multi-source signal status data consistency comparison method as described in the above method embodiment.
[0102] Although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for comparing the consistency of multi-source signal state data, characterized in that, Including: Obtain the original multi-source signal status data; Preprocess the original multi-source signal status data to obtain the preprocessed multi-source signal status data; Read the comparison rules, and perform consistency comparison on the preprocessed multi-source signal status data based on the comparison rules to obtain a comparison result; Feed back the abnormal results in the comparison result.
2. The method according to claim 1, wherein The comparison rules include matching rules, anomaly detection rules, priority rules, and response rules.
3. The method according to claim 2, wherein The anomaly detection rules define anomaly conditions, anomaly levels, anomaly types, and error ranges, and the anomaly conditions, the anomaly levels, the anomaly types, and the error ranges correspond to each other.
4. The method according to claim 3, characterized in that, Read the comparison rules, and perform consistency comparison on the preprocessed multi-source signal status data based on the comparison rules to obtain a comparison result, including: Based on the matching rules, clarify the range of the preprocessed multi-source signal status data participating in the consistency comparison.
5. The method according to claim 4, wherein Read the comparison rules, and perform consistency comparison on the preprocessed multi-source signal status data based on the comparison rules to obtain a comparison result, and further include: Perform consistency comparison on the preprocessed multi-source signal status data participating in the consistency comparison based on the anomaly detection rules to obtain the comparison result, and the comparison result includes normal results and abnormal results.
6. The method according to claim 5, wherein Read the comparison rules, and perform consistency comparison on the preprocessed multi-source signal status data based on the comparison rules to obtain a comparison result, and further include: Determine the anomaly level and the anomaly type according to the anomaly conditions triggered during the consistency comparison.
7. The method according to claim 3, wherein Feed back the abnormal results in the comparison result, including: Obtain the response method according to the anomaly level; Based on the priority rules, obtain the priorities corresponding to all the preprocessed signal status data in the abnormal results; Feed back the abnormal results and the priorities according to the response method.
8. The method according to claim 1, characterized in that, Further include: After obtaining the comparison result, visually display the comparison result.
9. A multi-source signal status data consistency comparison system, characterized in that, Including: An acquisition module, used to obtain the original multi-source signal status data; A preprocessing module, used to preprocess the original multi-source signal status data to obtain the preprocessed multi-source signal status data; A comparison module, used to read the comparison rules and perform consistency comparison on the preprocessed multi-source signal status data based on the comparison rules to obtain a comparison result; A feedback module, used to feed back the abnormal results in the comparison result.
10. The system according to claim 9, wherein Further include: A visualization module, used to visually display the comparison result after obtaining the comparison result.
11. A computer-readable storage medium, characterized in that It stores a program or instructions, and when the program or instructions run on a computer, the computer is enabled to execute the multi-source signal status data consistency comparison method according to any one of claims 1-8.
12. An electronic device, characterized in that It includes a processor, and the processor is coupled with a memory; The processor is used to read and execute the computer program stored in the memory to implement the multi-source signal status data consistency comparison method according to any one of claims 1-8.