Access state monitoring method and system, electronic equipment and storage medium
By generating preset format files and real-time monitoring of switch quantity, the problem of inconsistent signal display and switch position in the railway signal system is solved, and the safety and efficiency of railway transportation is improved, and potential safety hazards are discovered and dealt with in a timely manner.
Patent Information
- Application Number
- CN202411192433.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-28
- Publication Date
- 2024-11-26
AI Technical Summary
The existing railway signal monitoring system lacks effective alarm analysis when processing situations where the signal display is inconsistent with the location of the route switch, resulting in possible safety accidents and inefficient transportation.
By generating preset format files, determine the switch quantity that needs to be monitored, and receive and process changes in these switch quantity in real time, judge the consistency between the signal display and the switch position, and promptly alert to ensure the safety and efficiency of railway operations.
It realizes timely discovery and processing of inconsistent states between the signal display and the switch position, improves the safety and operation and maintenance efficiency of railway transportation, reduces the troubleshooting time, and reduces the need for manual intervention.
Smart Images

Figure CN119018208A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of railway signals, and in particular to a method, system, electronic device and storage medium for monitoring route status. Background Art
[0002] Railway transportation is an indispensable mode of transportation in modern society, and its safe operation is of vital importance. The railway signal system is the core component to ensure driving safety, and the real-time monitoring of the route status is a key link in the signal system. The route status involves many aspects, such as whether the switch position is correct, whether the light position status displayed by the signal machine is accurate, and the white light strip display status of the track circuit. The accuracy of this information is directly related to the safety of train operation.
[0003] Railway signal centralized monitoring systems have been widely used in my country. However, these systems mainly focus on data collection and simple analysis in the early stage, and are relatively lacking in alarm analysis for complex situations such as inconsistency between signal display and route status. This may result in abnormalities or failures in signal or turnout equipment not being discovered and handled in a timely manner, thus affecting railway transportation efficiency and even causing safety accidents.
[0004] Therefore, the current railway signal monitoring field urgently needs a method that can accurately monitor the approach status, especially to achieve timely detection and analysis of inconsistencies between signal display and switch positions on the approach, so as to improve the safety and efficiency of railway transportation. Summary of the invention
[0005] The present application provides a method, system, electronic device and storage medium for monitoring the route status, which adopts a preset format file to determine the switch quantity that needs to be monitored, and combines the real-time monitoring data to accurately detect the inconsistency between the signal display and the switch position, and give an alarm in time, thereby effectively avoiding possible accidents and improving the safety of railway operations.
[0006] In a first aspect of the present application, a method for monitoring route status is provided, which is applied to a railway route monitoring platform, and the method comprises: Generate train route information according to the railway station map, and generate a preset format file according to the train route information, wherein the preset format file includes the position of the turnout in each route, the open light position status of the signal machine, and the white light belt status of each section on the route; Determine the switch quantity to be monitored according to the preset format file, and put the switch quantity into the monitoring queue, wherein the switch quantity includes the switch quantity of the turnout positioning / reverse position and the switch quantity of the signal light position; receiving all switch quantities in real time to determine a changed first switch quantity and a second switch quantity after the first switch quantity changes, and judging whether the first switch quantity exists in the monitoring queue; When the first switch quantity exists in the monitoring queue, the signal display and switch position corresponding to the second switch quantity are determined according to the logical relationship of the preset format file, and when the signal display is inconsistent with the switch position, an alarm is issued.
[0007] By adopting the above technical solution, the changes of all switch quantities are received and processed in real time, and any key changes that affect the train route status can be quickly identified. This method ensures the real-time nature of monitoring and helps to promptly discover and deal with potential safety hazards. When the signal display in the route is monitored to be inconsistent with the turnout position, the system can immediately issue an alarm. This alarm mechanism can effectively prevent safety accidents such as train conflicts or derailments caused by signal equipment failure or human operation errors, thereby significantly improving the safety of railway transportation. The list of switch quantities to be monitored is automatically generated through a preset format file, and these switch quantities are automatically placed in the monitoring queue, which greatly reduces the workload of the operation and maintenance personnel. At the same time, the automated monitoring and alarm process also reduces the need for manual intervention and improves the operation and maintenance efficiency. The embodiment of the present application can accurately locate the specific equipment and switch quantities that affect the route status, so that the operation and maintenance personnel can quickly locate the problem and take corresponding treatment measures. This not only helps to reduce troubleshooting time, but also avoids unnecessary waste of resources. Since the embodiment of the present application generates train route information based on the railway station map, and generates a preset format file based on this, it can easily adapt to the route configuration and change requirements of different railway stations. This flexibility makes the method widely applicable in a variety of railway environments.
[0008] Optionally, generating train route information according to the railway station diagram includes: Traversing and recording the coordinates and connection relationships of railway yard map controls, the controls including non-turnout sections, turnout sections, signal machines, and insulating joints; Identify the end segment according to the connection relationship, and record the start coordinate and end coordinate information of the end segment; Starting from the starting point of each dead-end section, a recursive algorithm is used to search backwards, traversing all paths to form a feasible path set of the station diagram, wherein the feasible path set includes the corresponding relationship between the protection section of the signal machine and the button and the section on each feasible path; Each signal is traversed, and the protection section of the signal is taken as the starting point, and a route that meets the preset conditions is searched in the feasible path set.
[0009] By adopting the above technical solution, traversing and recording the coordinates and connection relationships of the railway yard map controls, and using a recursive algorithm to search for feasible paths, the train route information can be automatically generated, reducing the reliance on manual operations and improving the intelligence level of the system. The coordinates and connection relationships of the controls (such as non-branch sections, turnout sections, signal machines, and insulating joints) are recorded in detail to ensure the accuracy of the route information. This precise data processing can reduce route errors caused by human judgment or input errors. By identifying the end section and searching all feasible paths based on a recursive algorithm, the embodiment of the present application can generate a comprehensive set of feasible paths for the station map. This provides a wealth of options for subsequent route selection, helps to optimize the train operation path, and improves transportation efficiency. The embodiment of the present application can handle railway yard maps containing multiple controls and complex connection relationships, and is therefore suitable for railway yards of various sizes and complexities. This enhances the versatility and scalability of the system. When traversing each signal machine, the protection section of the signal machine is used as the starting point to find a route that meets the preset conditions, which helps to ensure the safety and reliability of the route. By strictly adhering to the preset conditions, safety hazards caused by improper route selection can be avoided. Since the route information is automatically generated based on the railway yard map, when the yard layout changes, the route information can be regenerated by simply updating the yard map, without manually modifying a large amount of data. This simplifies the maintenance and update process of the system. The generated route information includes detailed information such as the protection section of the signal on each feasible path, the correspondence between buttons and sections, etc., which provides strong decision support for train scheduling and operation management. By in-depth analysis of this data, the train operation plan can be further optimized to improve transportation efficiency and service quality.
[0010] Optionally, generating a preset format file according to the train route information includes: Analyze and determine all turnouts included in the route, determine the normal position of each turnout, and set the normal position switch value; Adding a logic condition to the normal position switch quantity, wherein the logic condition includes the relationship between the turnout position and the signal state; According to the layout of the route, determine the switch quantity of the white light bands in all sections of the route, and add the sequence description of the white light bands in each section of the route from falling to lifting in the record of each turnout; Integrate the records of each turnout in the order of the route, and generate a preset format file based on the integrated route configuration records.
[0011] By adopting the above technical solution, the turnouts in the route and their normal positions are analyzed and determined, and the corresponding normal position switch quantities are set, ensuring the logic and consistency of the route information. This provides accurate basic data for subsequent monitoring and alarming. Adding logical conditions to the normal position switch quantities, especially the relationship between the turnout position and the signal state, enables the system to intelligently identify and handle abnormal situations in the route. This intelligence helps to improve the safety and efficiency of railway transportation. Determine the white light band switch quantity according to the layout of the route, and add a sequence description of the white light band from falling to sucking up in the record of each turnout, which helps to optimize the display logic of the white light band so that it more accurately reflects the status of the route. At the same time, this also provides intuitive visual feedback for monitoring personnel, allowing them to quickly identify and handle problems in the route. The records of each turnout are integrated in the order of the route, and a preset format file is generated based on the integrated route configuration record. This structured data management method helps to improve the maintainability and scalability of the system. When the route information needs to be modified or expanded, only the corresponding records need to be updated, without large-scale adjustments to the entire system. The preset format file provides the necessary data support for automated monitoring and alarm. By receiving and processing the changes in the switch quantity in real time and comparing them with the logical conditions and white light display logic in the preset format file, the system can promptly detect and handle abnormal conditions in the route, issue alarms or take corresponding safety measures.
[0012] Optionally, the analyzing and determining all turnouts included in the route, determining the normal position of each turnout, and setting the normal position switch value includes: Identify the turnout symbol marked in the route diagram and extract the identifier of the turnout symbol. Determine whether the normal position of each turnout is fixed or reversed according to the design specifications of the turnout. Set a switch value for the normal position of each turnout. Bind the identifier and the switch value. The switch value is a binary value and is used to represent the current position of the turnout in the signal control system.
[0013] By adopting the above technical solution, the turnout symbols marked in the route diagram are identified and their identifiers are extracted, so that the information of all turnouts in the route can be accurately obtained. Combined with the design specifications of the turnout, the normal position (position or reverse position) of each turnout can be accurately determined, thereby avoiding the problem of inaccurate data caused by human judgment or input errors. The switch quantity is set for the normal position of each turnout, and the identifier is bound to the switch quantity. This process realizes the automatic processing of data. In the signal control system, these switch quantities represent the current position of the turnout in the form of binary values, so that the system can monitor the turnout status in real time and accurately, enhancing the automation and intelligence level of the system. The normal position switch quantity of the turnout is an important part of the signal control logic. By accurately setting these switch quantities, it can be ensured that the signal control system makes correct decisions in judging whether the route is idle and whether to allow trains to enter. This helps to optimize the signal control logic and improve the safety and efficiency of railway transportation. Since the switch quantity represents the current position of the turnout in the form of binary values, this representation method is simple and reliable. In the signal control system, by continuously reading and comparing the values of these switch quantities, abnormal situations of the turnout position can be discovered and handled in time, thereby improving the reliability and stability of the system. After the turnout identifier is bound to the switch quantity, when the system fails or requires maintenance, the specific turnout and switch quantity can be quickly located by querying the identifier. This helps to simplify the troubleshooting and maintenance process and improve work efficiency.
[0014] Optionally, adding a logic condition to the normal position switch value includes: Use logical operators and conditional judgments to construct a logical expression that relates the switch position value to the signal state; Verify the correctness of the logic expression through simulation or real-time data, and when the logic expression is incorrect, modify the logic expression, wherein the modification includes correcting the wrong operator, adjusting the logic of conditional judgment, and repairing the variable assignment error; Add exception handling mechanism to the logic expression to trigger an alarm when the turnout position is incorrect or the signal state is abnormal.
[0015] By adopting the above technical solution and constructing a logical expression that associates the switch position switch quantity with the signal machine status, the system can more accurately understand the logical relationship between the various devices in the route. The clarification of this logical relationship helps to reduce misjudgment and misoperation and improve the overall accuracy of the system. The use of logical expressions enables the system to automatically respond to changes in the switch position and signal machine status. This improvement in intelligence and automation not only reduces the burden of manual monitoring, but also improves the timeliness and accuracy of system response. The correctness of the logical expression is verified through simulation or real-time data, and it is modified when errors are found. This process ensures the accuracy and reliability of the system logic. In addition, the addition of an exception handling mechanism enables the system to trigger an alarm in time when encountering abnormal situations, thereby avoiding potential safety hazards. The construction and modification process of the logical expression is relatively independent, so when the system needs to be updated or expanded, only specific logical expressions can be modified without large-scale adjustments to the entire system. This modular design concept improves the maintainability and scalability of the system. Since the logical expression can be constructed and modified according to actual needs, the system can support a variety of different route configurations and operational needs. This flexibility enables the system to adapt to different railway environments and operating scenarios, providing strong support for the diversification and personalization of railway transportation.
[0016] Optionally, determining the signal display and the switch position corresponding to the second switch quantity according to the logical relationship of the preset format file includes: Searching for a target logical relationship in a preset format file according to an identifier or a position of the second switch value; Analyze the conditional judgment part in the target logical relationship to determine the target condition related to the second switch value; Determine, according to the target condition, a display state of the signal corresponding to the second switch value, wherein the display state includes a preset light color, a flashing mode, or an off state; The position state of the turnout corresponding to the second switch value is determined according to the target condition, and the position state includes a positioning position, a reverse position or an intermediate position.
[0017] By adopting the above technical solution, the system can quickly locate all logical conditions related to the second switch quantity by directly searching the target logical relationship in the preset format file according to the identifier or position of the second switch quantity. This direct mapping method reduces the intermediate processing steps and improves the response speed and accuracy of the system. The system can automatically analyze the conditional judgment part in the target logical relationship and determine the signal display state and turnout position state corresponding to the second switch quantity according to these conditions. This intelligent processing method reduces manual intervention, reduces the error rate, and improves the overall intelligence level of the system. The signal display state and turnout position state determined according to the target conditions can accurately reflect the state of the current route. This helps to optimize signal display and turnout control, ensure that the train runs on the correct track, and avoid safety accidents such as collision or derailment. Since the system can judge the signal display and turnout position according to the logical relationship in the preset format file in real time, it can detect and handle abnormal situations in time. For example, when it is found that the turnout position is incorrect or the signal display state is abnormal, the system can immediately trigger an alarm and take corresponding safety measures, thereby improving the reliability and stability of the system. The logical relationship in the preset format file can contain multiple conditions and branches, so the system can support complex route scenarios. No matter how many switches, signals and sections are included in the route, the system can accurately determine the status of each device based on the logical relationship in the preset format file.
[0018] Optionally, the monitoring method further includes: Obtaining preliminary fault points according to the alarm information and the logical relationship in the preset format file, wherein the preliminary fault points include signal machine failure, switch failure, switch quantity acquisition device failure or communication link failure; By sending preset instructions or requesting real-time data, the preliminary fault point is checked, and the checking includes checking the physical state of the signal, the mechanical position of the turnout, the real-time value of the switch quantity and the communication state; The fault point is confirmed according to the troubleshooting results, and corresponding recovery measures are taken according to the fault type and impact degree. The recovery measures include restarting the device, replacing the faulty component, and adjusting the configuration parameters.
[0019] By adopting the above technical solution, combined with the logical relationship in the alarm information and the preset format file, the system can quickly narrow the scope of the fault and preliminarily locate possible fault points such as signal machines, turnouts, switch quantity acquisition equipment or communication links. This rapid positioning capability greatly shortens the time for troubleshooting and improves the efficiency of fault handling. By sending preset instructions or requesting real-time data, the system can accurately troubleshoot the preliminarily determined fault points. This step includes checking the physical state of the signal machine, the mechanical position of the turnout, the real-time value of the switch quantity, and the communication status, ensuring a comprehensive understanding and accurate judgment of the fault point. After confirming the fault point, the system can take corresponding recovery measures according to the type of fault and the degree of impact. These recovery measures include restarting the equipment, replacing the faulty parts, adjusting the configuration parameters, etc., aiming to quickly restore the normal operation of the system. Effective recovery measures can reduce the impact of system failures on railway transportation and improve the reliability and stability of the system. The automated troubleshooting and recovery process reduces the need for manual intervention, reduces the risk of human error, and improves the efficiency of system maintenance. The system can automatically complete the location, troubleshooting and preliminary recovery of the fault point, providing strong support for subsequent in-depth analysis and processing. Timely troubleshooting and recovery measures can prevent the fault from further expanding or causing more serious safety problems. By quickly locating and handling the fault point, the system can ensure the safety of railway transportation and protect the safety of people and property.
[0020] In a second aspect of the present application, a route status monitoring system is provided, comprising a file module, a queue module, a judgment module and an execution module, wherein: A file module is configured to generate train route information according to a railway station diagram, and generate a preset format file according to the train route information, wherein the preset format file includes the position of the turnout in each route, the open light position status of the signal machine, and the white light belt status of each section on the route; A queue module is configured to determine the switch quantity to be monitored according to the preset format file, and put the switch quantity into the monitoring queue, wherein the switch quantity includes the switch quantity of the turnout positioning / reverse position and the switch quantity of the signal light position; A judgment module, configured to receive all switch quantities in real time to determine a changed first switch quantity and a second switch quantity after the first switch quantity changes, and judge whether the first switch quantity exists in the monitoring queue; The execution module is configured to determine the signal display and switch position corresponding to the second switch quantity according to the logical relationship of the preset format file when the first switch quantity exists in the monitoring queue, and to issue an alarm when the signal display is inconsistent with the switch position.
[0021] In the third aspect of the present application, an electronic device is provided, including a processor, a memory, a user interface and a network interface, the memory is used to store instructions, the user interface and the network interface are both used to communicate with other devices, and the processor is used to execute the instructions stored in the memory so that the electronic device executes any one of the methods described above.
[0022] In a fourth aspect of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores instructions, and when the instructions are executed, any of the methods described above is executed.
[0023] In summary, one or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages: 1. By generating train route information according to the railway yard map and generating a preset format file based on it, the accuracy and completeness of the monitoring content are ensured. At the same time, all switch quantities are received in real time and their changes are judged, so that changes in route status can be discovered and responded to in a timely manner, thus improving the real-time nature of monitoring; 2. Put the switch quantities that need to be monitored into the monitoring queue, and only focus on monitoring the switch quantities in the queue, avoiding indiscriminate monitoring of all switch quantities, thereby optimizing the allocation of monitoring resources and improving monitoring efficiency; 3. When the switch quantity is monitored to change, the signal display and switch position corresponding to the changed switch quantity are determined by comparing the logical relationship in the preset format file, and consistency check is performed. This mechanism can effectively detect the abnormal situation where the signal display is inconsistent with the switch position, thereby improving the accuracy and timeliness of fault detection; 4. When the signal display is detected to be inconsistent with the switch position, an alarm is issued in time. This targeted alarm can quickly attract the attention of operation and maintenance personnel, allowing them to quickly locate the problem and take corresponding treatment measures, thereby reducing the impact of the fault on railway transportation; 5. The preset format file contains detailed information such as the position of the switch in each approach, the open light status of the signal machine, and the status of the white light band in each section on the approach, so that the embodiment of the present application can support comprehensive monitoring of complex routes. Whether it is a single route or a complex scenario with multiple routes intertwined, it can be effectively monitored and managed. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 It is a flowchart of a method for monitoring route status disclosed in an embodiment of the present application; Figure 2 A schematic diagram of searching for a train route disclosed in an embodiment of the present application; Figure 3This is a schematic diagram of generating a RuleTmp.ini fixed format file according to a train route disclosed in an embodiment of the present application; Figure 4 A schematic diagram of parsing the RuleTmp.ini file and adding related switch values to the monitoring queue disclosed in the embodiment of the present application; Figure 5 A schematic diagram of analyzing whether the signal display is consistent with the switch position on the approach road in real time according to the change switch quantity of the buffer zone disclosed in the embodiment of the present application; Figure 6 It is a module schematic diagram of the route status monitoring system disclosed in the embodiment of the present application; Figure 7 It is a structural schematic diagram of an electronic device disclosed in an embodiment of the present application.
[0025] Explanation of the reference numerals: 601, file module; 602, queue module; 603, judgment module; 604, execution module; 701, processor; 702, communication bus; 703, user interface; 704, network interface; 705, memory. DETAILED DESCRIPTION
[0026] In order to enable technicians in this field to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this application, not all of the embodiments.
[0027] In the description of the embodiments of the present application, words such as "for example" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "for example" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "for example" or "for example" is intended to present related concepts in a specific way.
[0028] In the description of the embodiments of the present application, the meaning of the term "multiple" refers to two or more. For example, multiple systems refer to two or more systems, and multiple screen terminals refer to two or more screen terminals. In addition, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. The terms "include", "comprise", "have" and their variations all mean "including but not limited to", unless otherwise specifically emphasized.
[0029] This embodiment discloses a method for monitoring route status, which is applied to a railway route monitoring platform. Figure 1 It is a flow chart of the method for monitoring the route status disclosed in the embodiment of the present application, such as Figure 1 As shown, the method comprises the following steps: S110, generating train route information according to the railway station map, and generating a preset format file according to the train route information, wherein the preset format file includes the position of the turnout in each route, the open light position status of the signal machine, and the white light belt status of each section on the route; An electronic version of the station map is obtained by digitization or scanning, and image processing or special railway design software is used to analyze the elements in the map, including tracks, switches, signals, sections, etc. According to the dispatching instructions or train operation plan, the starting track and destination track of the train, that is, the starting point and end point of the route, are determined. The path search algorithm in graph theory (such as Dijkstra algorithm) is used to search for the best or feasible path from the starting point to the end point in the station map. In this process, the current position of the switch, the state of the signal, and the occupancy of the section need to be considered. According to the searched path, detailed train route information is generated, including the switch number of the passage and the position where it should turn, the signal number to be passed and the light position status (such as green light, yellow light, red light, etc.) to be opened, and the occupation or idle status of each track section on the route. According to actual needs, a file format that is easy to read, parse and store is defined, and RuleTmp.ini is used as an example to illustrate the embodiment of the present invention. According to the generated route information, data such as the switch position, the signal light position status, and the section white light belt status are filled into a file in a preset format. The white light band status is usually used to visually indicate the occupancy of the section on the console or display screen, usually including "occupied", "free" and other states. After the file is generated, necessary verification is performed to ensure the accuracy and completeness of the data. If necessary, the file is adjusted or corrected. The final preset format file is output to the specified storage location for subsequent signal control, dispatch management or data analysis.
[0030] Optionally, generating train route information according to the railway station diagram includes: Traversing and recording the coordinates and connection relationships of railway yard map controls, the controls including non-turnout sections, turnout sections, signal machines, and insulating joints; Identify the end segment according to the connection relationship, and record the start coordinate and end coordinate information of the end segment; Starting from the starting point of each dead-end section, a recursive algorithm is used to search backwards, traversing all paths to form a feasible path set of the station diagram, wherein the feasible path set includes the corresponding relationship between the protection section of the signal machine and the button and the section on each feasible path; Each signal is traversed, and the protection section of the signal is taken as the starting point, and a route that meets the preset conditions is searched in the feasible path set.
[0031] Figure 2 This is a schematic diagram of searching for train routes disclosed in an embodiment of the present application, such as Figure 2 As shown, obtain the railway station map, search for the end section, save all lines, including the signal and track relationship list, traverse all lines through the signal protection section, if it is detected that the section contains a button, save the section to the train route list, otherwise proceed to the next section for detection.
[0032] Traverse all controls on the station map, including non-branch sections, switch sections, signals, and insulated sections. Each control has its own specific properties and coordinate positions. For each control, its starting and ending coordinates need to be recorded. For the switch control, in addition to the basic starting and ending coordinates, it is also necessary to record its positioning coordinates (i.e., the center point coordinates when the switch is in the positioning position), reverse position coordinates (the center point coordinates when the switch is in the reverse position), and possible intermediate turning point coordinates (these points are used to more accurately describe the geometry of the switch). While recording the coordinates of the controls, it is also necessary to establish the connection relationship between the controls. This usually involves direct connections between non-branch sections, connections between switch sections and adjacent sections (including the connection of switches in different positions), and associations between signals and sections controlled by them.
[0033] By traversing the controls and their connections, we can identify those sections that have no subsequent connection paths, i.e., dead-end sections. These sections are usually located at the edge of the station diagram or at the end of a specific line. For each identified dead-end section, record its starting and ending coordinates, which are essential for subsequent path search. Starting from the starting point of each dead-end section, a recursive algorithm is used to search backward for all possible paths. During the search, the path is dynamically constructed based on the connection relationship of the controls and the different positions of the turnouts. All searched paths are saved as a set of feasible paths. Each path contains a series of controls and the connection relationships between them, and also records the corresponding relationship between the protection sections, buttons and sections of the signal on the path. For each signal on the station diagram, perform the following steps: starting from the protection section of the signal, search for a route that meets the conditions in the previously constructed feasible path set. These conditions may include the length of the route, the number of turnouts passed, specific signal or button requirements, etc.; when a route that meets the preset conditions is found, record the information of the route, including the starting signal, the start and end buttons of the route, the turnouts and track circuit information passed by the route, etc. This information will be used for subsequent train scheduling and signal control.
[0034] By traversing and recording the coordinates and connection relationships of all key controls (such as non-turnout sections, turnout sections, signal machines, and insulating joints) on the station map, the accuracy and integrity of the data are ensured. This meticulous data collection method helps reduce human errors and improve the reliability of subsequent analysis and application. The entire process is highly automated, from control traversal to route search, all are implemented through algorithms without excessive human intervention. This not only improves work efficiency, but also reduces labor costs, making railway operations more intelligent. By identifying the end section and using a recursive algorithm to search backward, all feasible path sets of the station map can be traversed and generated. These path sets provide a rich selection space for subsequent train scheduling and route selection, which helps to optimize path planning and improve the efficiency and safety of railway transportation. In the process of generating feasible paths, the corresponding relationship between the protection section, button and section of the signal machine on each path is also recorded. This provides a precise control basis for the signal control system, enabling the signal machine to adjust the signal display in a timely and accurate manner according to the actual operation of the train, ensuring the safety and smoothness of the train operation. Since the embodiments of the present application perform traversal and search based on standardized controls and connection relationships, it is easy to maintain and expand. When the site map changes or new controls are added, only the corresponding data and connection relationships need to be updated, without large-scale modification of the algorithm itself.
[0035] Optionally, generating a preset format file according to the train route information includes: Analyze and determine all turnouts included in the route, determine the normal position of each turnout, and set the normal position switch value; Adding a logic condition to the normal position switch quantity, wherein the logic condition includes the relationship between the turnout position and the signal state; According to the layout of the route, determine the switch quantity of the white light bands in all sections of the route, and add the sequence description of the white light bands in each section of the route from falling to lifting in the record of each turnout; Integrate the records of each turnout in the order of the route, and generate a preset format file based on the integrated route configuration records.
[0036] Figure 3 This is a schematic diagram of generating a RuleTmp.ini fixed format file according to a train route disclosed in an embodiment of the present application, such as Figure 3 As shown, the route-associated signal is determined according to the route list, and then the route-associated track section is determined, and then the route-associated turnout is determined, thereby generating a RuleTmp.ini file with a fixed format.
[0037] Parse the train route information and identify all the turnouts included in the route. This usually involves analyzing the route description or path data to determine the turnouts included in the route. For each turnout, determine its normal position (positioned or reversed) according to its design or operation requirements, and set the corresponding normal position switch quantity. These switches are used to represent the state that the turnout should be in physically. Add logical conditions to the normal position switch quantity of each turnout. These conditions usually involve the relationship between the turnout position and the signal state, for example, the turnout is allowed to switch to its normal position only when one or some signals are in the open state. Write a logical expression for the normal position switch quantity of each turnout according to the fixed format of the RuleTmp.ini file. This includes using alarm codes (such as ***1***), turnout switches (such as [turnout position switch quantity]), signal open light positions (such as [signal open light position 1]), etc., and following the specific syntax and rules in the file. According to the layout of the route and the design of the track circuit, determine the white light band switch quantity of all sections on the route. White light strips are usually used to indicate the occupancy status of a section (such as idle, occupied) on a control console or display screen. Add a sequence description of the white light strips in each section on the route from falling to being attracted to the record of each turnout. This involves determining the order and conditions for the changes in the switching quantity of the white light strips to reflect the changes in the status of each section when the train passes through the route. Integrate the records of each turnout in the order in the route. Make sure that the record of each turnout contains its normal position switch quantity, related logical conditions, and a sequence description of the white light strips in each section on the route. Based on the integrated route configuration records, generate the final file according to the preset format of the RuleTmp.ini file. This includes using the correct syntax, format, and separators to organize the data to ensure that the file can be correctly read and applied by subsequent parsing or processing systems. The file format of the RuleTmp.ini fixed format file is as follows: Alarm code ***1***[Turnout positioning switch or turnout reverse switch]#10#=falling&&([Signal open light position 1]#10#=sucking||[Signal open light position 2]#10#=sucking||, etc.)***A[White light band switch of the first section on the approach]=front suction starting point&&[White light band switch of the first section on the approach]{-3000,3000} / A / =falling to sucking&&[White light band switch of the second section on the approach]{-3000,3000} / A / =falling to sucking&&[White light band switch of the third section on the approach]{-3000,3000} / A / =falling to sucking&&, etc.).
[0038] For example, one of the configurations of Yucheng County Station is as follows: 2305311017***1***[5-L]#10#=dropping&&([XL]#10#=sucking||[XU]#10#=sucking)***A[IAG-B]=front suction starting point&&[IAG-B]{-3000,3000} / A / =dropping to sucking&&[5-QB]{-3000,3000} / A / =dropping to sucking&&[ 15-QB]{-3000,3000} / A / =fall to suction&&[23-QB]{-3000,3000} / A / =fall to suction&&[IG-B]{-3000,3000} / A / =fall to suction&&([XL]#10#=sucking exists||[XU]#10#=sucking exists)***([IAG-B]#10#=falling exists||[XH]#10#=sucking exists). Among them, "falling exists" means that there is a switch quantity falling state around this time point for a few seconds; "previous suction starting point" means to find the time point of a certain switch quantity suction before the trigger time point; "[IAG-B]{-3000,3000} / A / =falling to suction" means a change process of the switch quantity state from falling to suction state 3 seconds before and after the time point of switch quantity A.
[0039] Figure 4 This is a schematic diagram of parsing the RuleTmp.ini file and adding related switch values to the monitoring queue disclosed in the embodiment of the present application, such as Figure 4 As shown, the RuleTmp.ini file is read. The first column is the alarm code. The second column is 1, which means one-way comparison. The switch quantity in the first subsequent separator is included in the monitoring switch quantity queue. The third column is the monitoring switch quantity. When the second column is 1, it means that when the switch quantity in the third column changes, the switch quantities in the third and fourth columns are analyzed to see whether they meet the conditions.
[0040] By analyzing and determining the turnouts and their normal positions in the route in an automated manner, human errors are avoided and data accuracy is improved. The normal position switch quantity is set and follows a unified format and specification to ensure data consistency in the generated files. Logical conditions are added to the normal position switch quantity of the turnout. These conditions closely link the turnout position with the signal state, so that the signal control system can make intelligent judgments and decisions based on the actual operation situation. This intelligent control method improves the flexibility of the signal system and can better adapt to different train operation requirements and station changes. Accurately control the turnout position and the white light strip status of each section on the route to ensure the safety of the train when passing through the route. Only when all preset logical conditions and safety requirements are met will the turnout switch to the correct position and the white light strip will be displayed correctly. This strict safety control mechanism helps prevent the occurrence of safety accidents such as train conflicts and derailments, and improves the overall safety and reliability of railway transportation. By reasonably setting the logical relationship between the turnout position and the signal state, the train's running path and speed can be optimized, and waiting time and conflict probability can be reduced. At the same time, the sequence description of the white light band from falling to being sucked up also provides clear instructions for train drivers, helping them to better understand the train operation status and route conditions, thereby further improving the train operation efficiency. The generated preset format file has a clear structure and clear grammatical rules, which is convenient for subsequent maintenance and management. When the station map changes or a new route is added, you only need to update the corresponding data and logical conditions to regenerate a preset format file that meets the requirements, simplifying the maintenance process. At the same time, this standardized file format is also convenient for unified management and monitoring, improving the manageability and maintainability of the entire signal control system. The generated preset format file can also serve as the basis for data analysis and decision support. By analyzing and mining these files, valuable information about train operation, signal control, turnout use, etc. can be obtained. This information can provide decision-making basis and optimization suggestions for railway operation and management departments, helping them to better plan train operation plans, adjust signal control strategies, optimize station layout, etc.
[0041] Optionally, the analyzing and determining all turnouts included in the route, determining the normal position of each turnout, and setting the normal position switch value includes: Identify the turnout symbol marked in the route diagram and extract the identifier of the turnout symbol. Determine whether the normal position of each turnout is fixed or reversed according to the design specifications of the turnout. Set a switch value for the normal position of each turnout. Bind the identifier and the switch value. The switch value is a binary value and is used to represent the current position of the turnout in the signal control system.
[0042] In the railway signal control system, the route map is an important tool for showing the possible paths of trains in the station yard and the signal equipment and turnouts involved on the path. The route map is usually presented in a graphical way, in which the turnout is one of the key equipment and is marked with specific symbols. These symbols usually have clear shapes, colors or marks for easy identification. In the process of generating a preset format file, it is necessary to use image processing or graphic recognition technology to automatically scan the route map and accurately identify all the turnout symbols marked therein. This step may involve complex algorithms such as image preprocessing, feature extraction and pattern matching to ensure the accuracy and efficiency of recognition. Each turnout symbol usually has a unique identifier in the route map to distinguish different turnouts. These identifiers may be numbers, letters, or a combination of numbers and letters, depending on the drawing specifications and standards of the route map. After the turnout symbols are identified, these identifiers need to be further extracted for reference and association in subsequent steps. The normal position of the turnout refers to the position where the turnout should be in most cases, which is usually divided into two types: positioning (also known as the straight position) and reverse position (also known as the lateral position). Positioning refers to the position of the turnout point rail close to the base rail, so that the train can travel in a straight direction; reverse position refers to the separation of the turnout point rail from the base rail, so that the train can travel in a lateral direction. According to the design specifications of the turnout, the layout of the station and the train operation requirements, it can be determined whether the normal position of each turnout is positioning or reverse position. This step may require reference to relevant design drawings, technical documents or consultation with professional engineers. In the signal control system, the position of the turnout is usually represented by a switch quantity. A switch quantity is a binary value, usually "0" and "1" to represent two different position states of the turnout. For example, "0" can indicate that the turnout is in the positioning state, and "1" can indicate that the turnout is in the reverse state (or vice versa, depending on the definition of the system). Setting a switch quantity for the normal position of each turnout is to bind the turnout identifier to its switch quantity value in the normal position. In this way, in the signal control system, the values of these switch quantities can be queried to determine whether the current position of the turnout meets the expectations. Bind the turnout identifier and the corresponding switch quantity value and store them in a preset format file. In this way, in the subsequent train operation control process, the current position information of the turnout can be obtained by querying this file, and corresponding control operations can be performed as needed.
[0043] By automatically identifying the turnout symbols marked in the route map and extracting their identifiers, manual intervention is greatly reduced and the degree of automation is improved. This automated method not only improves work efficiency, but also significantly reduces the risk of human error and ensures the accuracy of data. The normal position (position or reverse position) of each turnout is determined according to the design specifications of the turnout. This step ensures that all turnouts have clear and consistent position standards in the signal control system. This is crucial for the correct operation of the signal system, because the accuracy of the turnout position directly affects the travel path and safety of the train. Setting a switch quantity for the normal position of each turnout and binding the identifier to the switch quantity enables the signal control system to obtain the current position information of each turnout in real time and accurately. Based on this information, the system can make correct control decisions, such as adjusting the state of the signal machine, changing the travel path of the train, etc., so as to achieve efficient signal control. Using binary values as switch quantities to represent the current position of the turnout simplifies the complexity of the signal system. Binary values are concise and clear, which is convenient for computer processing and transmission. At the same time, this representation method is also convenient for subsequent data analysis and processing, which provides convenience for the optimization and improvement of the signal system. By binding the turnout identifier to the switch quantity and updating this information in real time in the signal control system, it can be ensured that the system can accurately grasp the position status of the turnout under any circumstances. This guarantee of real-time and accuracy helps to enhance the reliability and stability of the system and reduce train operation failures and safety accidents caused by incorrect turnout positions. As the railway network develops and changes, new turnouts may be added to existing routes. By following the same identifier extraction, position determination, and switch quantity setting process, these new turnouts can be easily integrated into the signal control system without large-scale modification or reconstruction of the system. This flexibility enables the system to better adapt to future developments and changes.
[0044] Optionally, adding a logic condition to the normal position switch value includes: Use logical operators and conditional judgments to construct a logical expression that relates the switch position value to the signal state; Verify the correctness of the logic expression through simulation or real-time data, and when the logic expression is incorrect, modify the logic expression, wherein the modification includes correcting the wrong operator, adjusting the logic of conditional judgment, and repairing the variable assignment error; Add exception handling mechanism to the logic expression to trigger an alarm when the turnout position is incorrect or the signal state is abnormal.
[0045] Use logical operators (such as AND, OR, NOT, etc.) and conditional statements (such as if-else structures) to build logical expressions. These expressions associate the switch position switch (usually a binary value, indicating the position or reverse position of the switch) with the state of the signal (such as red light, green light, yellow light, etc.). For example, a logical expression may be expressed as: "If switch A is in position and signal B shows a green light, the train is allowed to pass." According to the specific signal control rules and station layout, a corresponding logical expression is built for each switch and signal combination. These expressions define how the switch should act and how the signal should display in different situations. Use simulation tools or software to simulate various possible combinations of switch positions and signal states to verify the correctness of the logical expression. During the simulation process, it is checked whether the logical expression works as expected, that is, whether it can allow or prevent the train from passing under the correct conditions. In the actual operating environment, the correctness of the logical expression is further verified by real-time data. This includes collecting real-time data of switch positions and signal states, and observing whether the system makes correct control decisions based on these data. If the logical expression is found to be incorrect, it needs to be modified. Modifications may include correcting incorrect logical operators, adjusting the logic of conditional judgments, fixing variable assignment errors, etc. After the modification, verification needs to be performed again to ensure that the problem has been resolved. Add an exception handling mechanism to the logical expression to detect when the turnout position is incorrect or the signal state is abnormal. This can be achieved by setting additional conditional judgments, such as checking whether the turnout position is within the valid range, whether the signal state is as expected, etc. When an abnormality is detected, the exception handling mechanism triggers an alarm. The alarm can be issued in the form of sound, light signal, or email to alert the operator to pay attention and take appropriate measures. The alarm information should contain enough details so that the operator can quickly locate the problem and take the correct solution.
[0046] By using logical operators and conditional judgments to construct logical expressions, the switch position switch quantity is closely associated with the signal machine status, realizing the intelligence and automation of the signal control system. This association enables the system to automatically adjust the switch position according to the actual operation situation, optimize the train operation path, and improve transportation efficiency. The correctness of the logical expression is crucial to the stable operation of the signal control system. By verifying the correctness of the logical expression through simulation or real-time data and modifying it in time when errors are found, it can ensure that the system can make correct control decisions under any circumstances. This verification and modification process improves the accuracy and reliability of the system and reduces operational failures and safety accidents caused by logical errors. The modification process of the logical expression is not limited to correcting errors, but also includes adjusting the logic of conditional judgments and repairing variable assignment errors. This flexibility enables the system to make corresponding adjustments and optimizations according to different operation requirements and station changes, improving the adaptability and scalability of the system. Adding an exception handling mechanism to the logical expression is an important measure to improve the safety and stability of the system. When the switch position is incorrect or the signal machine status is abnormal, the exception handling mechanism can quickly trigger an alarm and notify relevant personnel to handle it. This timely response mechanism helps prevent the expansion of potential safety hazards and ensure the safety and stability of train operation. The construction and verification process of logical expressions provides a clear idea and basis for troubleshooting. When a system fails, the problem can be located by checking the correctness of the logical expression and taking appropriate measures to repair it. This rapid troubleshooting and recovery capability helps reduce system downtime and improve system availability and reliability. By continuously optimizing the construction and verification process of logical expressions, the system performance and user experience can be further improved. For example, by simplifying the complexity of logical expressions and optimizing the logic of conditional judgments, the system's computing burden and response time can be reduced, and the system's operating efficiency can be improved. At the same time, this optimization also helps to improve the user's operating experience and satisfaction.
[0047] S120, determining the switch quantity to be monitored according to the preset format file, and putting the switch quantity into the monitoring queue, wherein the switch quantity includes the switch quantity of the turnout positioning / reverse position and the switch quantity of the signal light position; The preset format file is an important part of the railway signal control system. It usually contains information describing the status and control logic of equipment such as routes, turnouts, and signal machines. This file is written in a certain format and standard so that the system can parse and execute the instructions therein. In the railway signal control system, the purpose of monitoring the switch quantity is to grasp the status of the equipment in real time and ensure the safety and smoothness of train operation. According to the preset format file, the system can automatically analyze and determine which switch quantities need to be monitored. These switch quantities are usually closely related to the train's running path, speed control, signal display, etc. The turnout is an important device on the railway line, used to guide the train from one line to another. The turnout has two basic positions: positioning (also known as the straight position) and reverse position (also known as the lateral position). The turnout positioning / reverse position switch quantity is the switch quantity used to indicate which position the turnout is currently in. By monitoring these switch quantities, the system can understand the status of the turnout in real time and adjust its position as needed to ensure that the train can travel along the predetermined path. The signal machine is a device on the railway line used to indicate the direction and speed of the train. It conveys information to the train driver through lights of different colors. The switch quantity of the signal light position is the switch quantity used to indicate which light the signal currently displays. By monitoring these switch quantities, the system can understand the display status of the signal in real time and adjust the display of the signal as needed to ensure that the train can travel at the specified speed and distance. After determining the switch quantities to be monitored, the system will put them into a monitoring queue. The monitoring queue is a data structure used to store and manage the switch quantities to be monitored. The system will poll and check the switch quantities in the monitoring queue according to certain rules (such as priority, time sequence, etc.). Once the state of a switch quantity is found to change (such as the turnout changes from positioning to reverse position, or the signal changes from green light to red light), the system will perform corresponding processing according to the preset logic (such as adjusting the train speed, changing the driving path, etc.).
[0048] S130, receiving all switch quantities in real time to determine a changed first switch quantity and a second switch quantity after the first switch quantity changes, and judging whether the first switch quantity exists in the monitoring queue; In the railway signal control system, the status of the switch quantity changes in real time, reflecting the current status of the railway equipment. The system receives the status information of all switch quantities in real time through sensors, signal acquisition equipment and other means. This status information may include the positioning / reversal of the turnout, the light position of the signal machine, the occupancy of the track circuit, etc. After receiving the status information of all switch quantities, the system will compare and analyze this information to identify the switch quantities whose status has changed compared with the last received status information. The changed switch quantity is marked as "first switch quantity". This process usually needs to be completed quickly to ensure that the system can respond to changes in the equipment status in a timely manner. The second switch quantity refers to the switch quantity formed after the first switch quantity changes. The system maintains a monitoring queue to track the switch quantities that need special attention or have changed. This queue may be managed based on priority, timestamp or other logic. Whenever a new first switch quantity appears, the system checks whether this switch quantity already exists in the monitoring queue.
[0049] Optionally, determining the signal display and the switch position corresponding to the second switch quantity according to the logical relationship of the preset format file includes: Searching for a target logical relationship in a preset format file according to an identifier or a position of the second switch value; Analyze the conditional judgment part in the target logical relationship to determine the target condition related to the second switch value; Determine, according to the target condition, a display state of the signal corresponding to the second switch value, wherein the display state includes a preset light color, a flashing mode, or an off state; The position state of the turnout corresponding to the second switch value is determined according to the target condition, and the position state includes a positioning position, a reverse position or an intermediate position.
[0050] According to the identifier of the second switch quantity (such as equipment number, location code, etc.) or its specific position in the preset format file, the target logical relationship related to the switch quantity is located and found. These logical relationships define how the signal and turnout should respond under different combinations of switch quantity states. After finding the target logical relationship, the system needs to analyze the conditional judgment part. These conditions are usually logical expressions composed of the states of multiple switch quantities, which are used to determine what actions should be taken in the current situation. In the conditional judgment, the system needs to pay special attention to the target conditions directly related to the second switch quantity. These conditions define how the signal and turnout should respond when a specific change occurs in the second switch quantity. According to the target conditions, the system can map the display state of the signal corresponding to the change of the second switch quantity. These display states may include preset light colors (such as red, green, yellow, etc.), flashing modes (such as continuous light, fast flashing, slow flashing, etc.), or off states. When determining the display state of the signal, the system will follow strict safety principles to ensure that the display of the signal will not cause safety risks to train operation under any circumstances. Similarly, according to the target conditions, the system can also map the position state of the turnout corresponding to the change of the second switch quantity. These position states include positioning (straight position), reverse position (lateral position) or intermediate position (if the turnout design supports it). When determining the turnout position, the system also considers the optimization of the train's running path. For example, if there are multiple paths to choose from, the system will select the most appropriate path to set the turnout position based on current traffic conditions, train priority and other factors. The entire process is carried out in real time, and the system can respond quickly to changes in switching quantities and immediately update the status of signals and turnouts. This real-time performance is critical to ensuring the safety and efficiency of railway operations. The system may also include a feedback mechanism to verify that the signal and turnout status have been updated correctly. If any inconsistencies are found, the system will immediately take corrective measures to ensure the stability and reliability of the system.
[0051] The signal control system is automated and intelligent by defining logical relationships through preset format files and automatically determining the status of signals and turnouts. This not only reduces the need for manual intervention, but also improves the response speed and accuracy of the system. The preset format files can be modified and expanded according to actual conditions to adapt to different railway operation needs and station changes. This enables the system to flexibly respond to various complex situations while supporting future functional expansion and optimization. By accurately controlling the display status of the signal and the position status of the turnout, the system can ensure that the train runs according to the predetermined path and speed, avoiding safety risks caused by signal misindications or turnout errors. In addition, real-time monitoring and rapid response mechanisms also help to promptly discover and deal with potential problems, thereby improving the reliability of the system. When determining the status of signals and turnouts, the system can consider a variety of factors (such as train priority, traffic conditions, etc.) to select the optimal operating path and speed. This helps to reduce train waiting time and operation conflicts and improve the overall efficiency of railway transportation. The centralized management and configuration of preset format files makes system maintenance simpler and more efficient. Administrators can update system logic by modifying preset format files without making large-scale changes to hardware or software. In addition, automated monitoring and logging functions also help to quickly locate and solve system problems. The system can receive and process switch quantity change information in real time and use it to monitor the status of railway signal equipment and turnouts. This helps to detect equipment failures or abnormal conditions in a timely manner and take appropriate measures to deal with them. At the same time, through the analysis of monitoring data, the system logic and configuration can also be optimized to further improve the performance and reliability of the system.
[0052] S140. When the first switch quantity exists in the monitoring queue, the signal display and switch position corresponding to the second switch quantity are determined according to the logical relationship of the preset format file, and when the signal display is inconsistent with the switch position, an alarm is issued.
[0053] Figure 5 This is a schematic diagram of whether the real-time analysis signal display based on the buffer zone change switch quantity is consistent with the switch position on the approach road disclosed in the embodiment of the present application, such as Figure 5 As shown, the buffer sends the changed switch quantity in real time, the alarm analysis program receives the changed switch quantity, and determines whether the changed switch quantity exists in the monitoring queue. If not, it exits directly. If it exists, it analyzes whether the relationship in the first column of the logic is True and whether the second column is True. When both the first column and the second column are True, an alarm prompt is generated to generate a safety supervision alarm.
[0054] When the system detects that the first switch quantity has changed, it will check whether this switch quantity already exists in the monitoring queue. This is to ensure that the system only processes the switch quantities that need special attention or have changed, avoiding unnecessary waste of resources. If the first switch quantity does exist in the monitoring queue, the system will determine the signal display state and turnout position state corresponding to the state after the switch quantity changes (the second switch quantity) according to the logical relationship in the preset format file. This process involves steps such as finding the target logical relationship, analyzing the condition judgment part, and mapping the display state and position state. After determining the signal display and turnout position, the system needs to perform a consistency check. This is because in actual operation, the display state of the signal should be consistent with the actual position state of the turnout to ensure that the train can run along the correct path and speed. If the signal display is inconsistent with the turnout position, it may cause confusion or safety risks in train operation. If the signal display is found to be inconsistent with the turnout position during the consistency check, the system will immediately trigger an alarm mechanism. The alarm can be implemented in a variety of ways, such as sounding an alarm, displaying a warning message on the monitoring screen, and sending a text message or email to relevant personnel. The purpose of an alarm is to promptly notify relevant personnel of abnormal situations and take appropriate measures to deal with them, so as to ensure the safety and smoothness of railway operations. In addition to issuing an alarm, the system may also need to perform some follow-up processing, such as recording abnormal events, updating system status, and attempting to automatically fix problems. These processing measures are intended to reduce the impact of abnormal situations on railway operations and prevent similar problems from happening again.
[0055] Optionally, the monitoring method further includes: Obtaining preliminary fault points according to the alarm information and the logical relationship in the preset format file, wherein the preliminary fault points include signal machine failure, switch failure, switch quantity acquisition device failure or communication link failure; By sending preset instructions or requesting real-time data, the preliminary fault point is checked, and the checking includes checking the physical state of the signal, the mechanical position of the turnout, the real-time value of the switch quantity and the communication state; The fault point is confirmed according to the troubleshooting results, and corresponding recovery measures are taken according to the fault type and impact degree. The recovery measures include restarting the device, replacing the faulty component, and adjusting the configuration parameters.
[0056] When the system receives an alarm message, it will make a preliminary judgment on the possible fault points based on the logical relationship in the preset format file and the current alarm situation. These preliminary fault points may include signal machine failure, turnout failure, switch quantity acquisition equipment failure, or communication link failure. By reasoning about logical relationships, the system can narrow the scope of the fault and provide direction for subsequent troubleshooting. The system will conduct a detailed investigation of the preliminary identified fault points by sending preset instructions or requesting real-time data. The troubleshooting work may include: Check the physical condition of the signal: confirm whether the signal is in normal working condition, such as whether the light is on normally and the color is correct; Check the mechanical position of the turnout: confirm whether the turnout is in the correct position, i.e., the fixed position, reverse position or intermediate position, through sensors or manual inspection; Check the real-time value of the switch quantity: obtain the real-time value of the switch quantity related to the fault point to determine whether it accurately reflects the actual situation; Check the communication status: confirm whether the communication link is unobstructed and whether the data can be transmitted normally.
[0057] After the troubleshooting is completed, the system will confirm the specific fault point based on the troubleshooting results. After the fault point is determined, the system will take appropriate recovery measures based on the type of fault and the degree of impact. These recovery measures may include: Restart your device: For failures caused by software glitches or temporary errors, restarting your device may be an effective solution; Replacement of faulty parts: If the fault is caused by hardware damage or aging, then the faulty parts need to be replaced to restore the device function; Adjust configuration parameters: In some cases, you can resolve a fault by adjusting the system or device configuration parameters.
[0058] After taking recovery measures, the system will continue to monitor the status of related equipment and parameters to ensure that the fault has been completely resolved. At the same time, the system will also record the process and results of fault handling to provide data support for future fault analysis and prevention. Through continuous fault monitoring, troubleshooting and recovery work, the system can accumulate a lot of fault handling experience. This experience can be used to continuously optimize the design and configuration of the system and improve the stability and reliability of the system.
[0059] This embodiment also discloses a route status monitoring system. Figure 6 is a module diagram of the route status monitoring system disclosed in the embodiment of the present application, such as Figure 6 As shown, the system includes a file module 601, a queue module 602, a judgment module 603 and an execution module 604, wherein: The file module 601 is configured to generate train route information according to the railway station map, and generate a preset format file according to the train route information, wherein the preset format file includes the position of the turnout in each route, the open light position status of the signal machine, and the white light belt status of each section on the route; The queue module 602 is configured to determine the switch quantity to be monitored according to the preset format file, and put the switch quantity into the monitoring queue, wherein the switch quantity includes the switch quantity of the switch position / reverse position and the switch quantity of the signal light position; The judgment module 603 is configured to receive all switch quantities in real time to determine a changed first switch quantity and a second switch quantity after the first switch quantity changes, and judge whether the first switch quantity exists in the monitoring queue; The execution module 604 is configured to determine the signal display and switch position corresponding to the second switch quantity according to the logical relationship of the preset format file when the first switch quantity exists in the monitoring queue, and to issue an alarm when the signal display is inconsistent with the switch position.
[0060] Optionally, the file module 601 is configured to: Traversing and recording the coordinates and connection relationships of railway yard map controls, the controls including non-turnout sections, turnout sections, signal machines, and insulating joints; Identify the end segment according to the connection relationship, and record the start coordinate and end coordinate information of the end segment; Starting from the starting point of each dead-end section, a recursive algorithm is used to search backwards, traversing all paths to form a feasible path set of the station diagram, wherein the feasible path set includes the corresponding relationship between the protection section of the signal machine and the button and the section on each feasible path; Each signal is traversed, and the protection section of the signal is taken as the starting point, and a route that meets the preset conditions is searched in the feasible path set.
[0061] Optionally, the file module 601 is configured to: Analyze and determine all turnouts included in the route, determine the normal position of each turnout, and set the normal position switch value; Adding a logic condition to the normal position switch quantity, wherein the logic condition includes the relationship between the turnout position and the signal state; According to the layout of the route, determine the switch quantity of the white light bands in all sections of the route, and add the sequence description of the white light bands in each section of the route from falling to lifting in the record of each turnout; Integrate the records of each turnout in the order of the route, and generate a preset format file based on the integrated route configuration records.
[0062] Optionally, the file module 601 is configured to: Identify the turnout symbol marked in the route diagram and extract the identifier of the turnout symbol. Determine whether the normal position of each turnout is fixed or reversed according to the design specifications of the turnout. Set a switch value for the normal position of each turnout. Bind the identifier and the switch value. The switch value is a binary value and is used to represent the current position of the turnout in the signal control system.
[0063] Optionally, the file module 601 is configured to: Use logical operators and conditional judgments to construct a logical expression that relates the switch position value to the signal state; Verify the correctness of the logic expression through simulation or real-time data, and when the logic expression is incorrect, modify the logic expression, wherein the modification includes correcting the wrong operator, adjusting the logic of conditional judgment, and repairing the variable assignment error; Add exception handling mechanism to the logic expression to trigger an alarm when the turnout position is incorrect or the signal state is abnormal.
[0064] Optionally, the determination module 603 is configured to: Searching for a target logical relationship in a preset format file according to an identifier or a position of the second switch value; Analyze the conditional judgment part in the target logical relationship to determine the target condition related to the second switch value; Determine, according to the target condition, a display state of the signal corresponding to the second switch value, wherein the display state includes a preset light color, a flashing mode, or an off state; The position state of the turnout corresponding to the second switch value is determined according to the target condition, and the position state includes a positioning position, a reverse position or an intermediate position.
[0065] Optionally, the monitoring system further includes a fault module, wherein the fault module is configured to: Obtaining preliminary fault points according to the alarm information and the logical relationship in the preset format file, wherein the preliminary fault points include signal machine failure, switch failure, switch quantity acquisition device failure or communication link failure; By sending preset instructions or requesting real-time data, the preliminary fault point is checked, and the checking includes checking the physical state of the signal, the mechanical position of the turnout, the real-time value of the switch quantity and the communication state; The fault point is confirmed according to the troubleshooting results, and corresponding recovery measures are taken according to the fault type and impact degree. The recovery measures include restarting the device, replacing the faulty component, and adjusting the configuration parameters.
[0066] It should be noted that: when the device provided in the above embodiment realizes its function, only the division of the above functional modules is used as an example. In actual application, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.
[0067] This embodiment also discloses an electronic device, referring to Figure 7 The electronic device may include: at least one processor 701 , at least one communication bus 702 , a user interface 703 , a network interface 704 , and at least one memory 705 .
[0068] The communication bus 702 is used to realize the connection and communication between these components.
[0069] The user interface 703 may include a display screen (Display) and a camera (Camera). Optionally, the user interface 703 may also include a standard wired interface and a wireless interface.
[0070] The network interface 704 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).
[0071] Among them, the processor 701 may include one or more processing cores. The processor 701 uses various interfaces and lines to connect various parts in the entire server, and executes various functions of the server and processes data by running or executing instructions, programs, code sets or instruction sets stored in the memory 705, and calling data stored in the memory 705. Optionally, the processor 701 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 701 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 701, and it can be implemented separately through a chip.
[0072] Among them, the memory 705 may include a random access memory (Random Access Memory, RAM) and may also include a read-only memory (Read-Only Memory). Optionally, the memory 705 includes a non-transitory computer-readable storage medium. The memory 705 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 705 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 705 may also be optionally at least one storage device located away from the aforementioned processor 701. As Figure 7 As shown, the memory 705 as a computer storage medium may include an operating system, a network communication module, a user interface module, and an application program of a method for monitoring route status.
[0073] exist Figure 7 In the electronic device shown, the user interface 703 is mainly used to provide an input interface for the user and obtain data input by the user; and the processor 701 can be used to call the application program of the route status monitoring method stored in the memory 705. When executed by one or more processors 701, the electronic device executes one or more methods in the above-mentioned embodiments.
[0074] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the order of the actions described, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required for the present application.
[0075] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0076] In the several embodiments provided in this application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some service interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.
[0077] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0078] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0079] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a memory 705 and includes several instructions for a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the various embodiments of the present application. The aforementioned memory 705 includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk.
[0080] The above is only an exemplary embodiment of the present disclosure and cannot be used to limit the scope of the present disclosure. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. After considering the disclosure of the specification, those skilled in the art will easily think of other embodiments of the present disclosure. This application is intended to cover any modification, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary technical means in the technical field that are not recorded in the present disclosure. The description and examples are only regarded as exemplary, and the scope and spirit of the present disclosure are defined by the claims.
Claims
1. A method for monitoring route status, characterized in that: Applied to a railway route monitoring platform, the method comprises: Generate train route information according to the railway station map, and generate a preset format file according to the train route information, wherein the preset format file includes the position of the turnout in each route, the open light position status of the signal machine, and the white light belt status of each section on the route; Determine the switch quantity to be monitored according to the preset format file, and put the switch quantity into the monitoring queue, wherein the switch quantity includes the switch quantity of the turnout positioning / reverse position and the switch quantity of the signal light position; receiving all switch quantities in real time to determine a changed first switch quantity and a second switch quantity after the first switch quantity changes, and judging whether the first switch quantity exists in the monitoring queue; When the first switch quantity exists in the monitoring queue, the signal display and switch position corresponding to the second switch quantity are determined according to the logical relationship of the preset format file, and when the signal display is inconsistent with the switch position, an alarm is issued.
2. The method for monitoring route status according to claim 1, characterized in that: Generating train route information according to the railway yard diagram includes: Traversing and recording the coordinates and connection relationships of railway yard map controls, the controls including non-turnout sections, turnout sections, signal machines, and insulating joints; Identify the end segment according to the connection relationship, and record the start coordinate and end coordinate information of the end segment; Starting from the starting point of each dead-end section, a recursive algorithm is used to search backwards, traversing all paths to form a feasible path set of the station diagram, wherein the feasible path set includes the corresponding relationship between the protection section of the signal machine and the button and the section on each feasible path; Each signal is traversed, and the protection section of the signal is taken as the starting point, and a route that meets the preset conditions is searched in the feasible path set.
3. The method for monitoring route status according to claim 1, characterized in that: The generating of a preset format file according to the train route information comprises: Analyze and determine all turnouts included in the route, determine the normal position of each turnout, and set the normal position switch value; Adding a logic condition to the normal position switch quantity, wherein the logic condition includes the relationship between the turnout position and the signal state; According to the layout of the route, determine the switch quantity of the white light bands in all sections of the route, and add the sequence description of the white light bands in each section of the route from falling to lifting in the record of each turnout; Integrate the records of each turnout in the order of the route, and generate a preset format file based on the integrated route configuration records.
4. The method for monitoring route status according to claim 3, characterized in that: The analyzing and determining all the turnouts included in the route, determining the normal position of each turnout, and setting the normal position switch quantity include: Identify the turnout symbol marked in the route diagram and extract the identifier of the turnout symbol. Determine whether the normal position of each turnout is fixed or reversed according to the design specifications of the turnout. Set a switch value for the normal position of each turnout. Bind the identifier and the switch value. The switch value is a binary value and is used to represent the current position of the turnout in the signal control system.
5. The method for monitoring route status according to claim 3, characterized in that: The adding of logic conditions to the normal position switch quantity comprises: Use logical operators and conditional judgments to construct a logical expression that relates the switch position value to the signal state; Verify the correctness of the logic expression through simulation or real-time data, and when the logic expression is incorrect, modify the logic expression, wherein the modification includes correcting the wrong operator, adjusting the logic of conditional judgment, and repairing the variable assignment error; Add exception handling mechanism to the logic expression to trigger an alarm when the turnout position is incorrect or the signal state is abnormal.
6. The method for monitoring route status according to claim 1, characterized in that: Determining the signal display and the switch position corresponding to the second switch quantity according to the logical relationship of the preset format file comprises: Searching for a target logical relationship in a preset format file according to an identifier or a position of the second switch value; Analyze the conditional judgment part in the target logical relationship to determine the target condition related to the second switch value; Determine, according to the target condition, a display state of the signal corresponding to the second switch value, wherein the display state includes a preset light color, a flashing mode, or an off state; The position state of the turnout corresponding to the second switch value is determined according to the target condition, and the position state includes a positioning position, a reverse position or an intermediate position.
7. The method for monitoring route status according to claim 1, characterized in that: The monitoring method further comprises: Obtaining preliminary fault points according to the alarm information and the logical relationship in the preset format file, wherein the preliminary fault points include signal machine failure, switch failure, switch quantity acquisition device failure or communication link failure; By sending preset instructions or requesting real-time data, the preliminary fault point is checked, and the checking includes checking the physical state of the signal, the mechanical position of the turnout, the real-time value of the switch quantity and the communication state; The fault point is confirmed according to the troubleshooting results, and corresponding recovery measures are taken according to the fault type and impact degree. The recovery measures include restarting the device, replacing the faulty component, and adjusting the configuration parameters.
8. A route status monitoring system, characterized in that: It includes file module, queue module, judgment module and execution module, among which: A file module is configured to generate train route information according to a railway station diagram, and generate a preset format file according to the train route information, wherein the preset format file includes the position of the turnout in each route, the open light position status of the signal machine, and the white light belt status of each section on the route; A queue module is configured to determine the switch quantity to be monitored according to the preset format file, and put the switch quantity into the monitoring queue, wherein the switch quantity includes the switch quantity of the turnout positioning / reverse position and the switch quantity of the signal light position; A judgment module, configured to receive all switch quantities in real time to determine a changed first switch quantity and a second switch quantity after the first switch quantity changes, and judge whether the first switch quantity exists in the monitoring queue; The execution module is configured to determine the signal display and switch position corresponding to the second switch quantity according to the logical relationship of the preset format file when the first switch quantity exists in the monitoring queue, and to issue an alarm when the signal display is inconsistent with the switch position.
9. An electronic device, characterized in that: It includes a processor, a memory, a user interface and a network interface, the memory is used to store instructions, the user interface and the network interface are both used to communicate with other devices, and the processor is used to execute the instructions stored in the memory so that the electronic device executes the method as described in any one of claims 1-7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed, the method according to any one of claims 1 to 7 is executed.
Citation Information
Cited By
Searching method and system for positioning inaccessible turnout in first section outside signal machine
CN120756553A
Interlocking lower computer fault judgment method, readable storage medium and electronic equipment
CN121469671A
An interlocking lower-level machine fault judgment method, a readable storage medium and an electronic device
CN121469671B
CTC-based signal equipment fault influence identification and route change recommendation method and system
CN121516079A
