Track section state dynamic display method and system, storage medium and equipment
By using an incremental rendering mechanism that dynamically distinguishes between grouped and normal states, the latency and resource waste problems of traditional track section display systems are solved. This enables real-time dynamic binding and rapid differentiation of track section states, improving the efficiency and safety of the display system.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-01-04
- Publication Date
- 2026-03-31
AI Technical Summary
Traditional track section status display systems use a static section division method, which cannot adapt to the needs of dynamic shunting operations, resulting in display delays and resource waste. Furthermore, in complex station yards or high-density operation scenarios, it is difficult to quickly distinguish the status of shunting trains from that of regular trains.
An incremental rendering mechanism that dynamically distinguishes between grouping and normal states is adopted. By acquiring track segment status data in real time, drawing instructions are generated and differential rendering is performed to optimize system performance, realize real-time binding between physical track segments and logical display units, and improve the efficiency of rapid status differentiation and decision-making.
While ensuring real-time display, it reduces system resource consumption, improves rendering efficiency, and ensures operational security through RBAC access control, enabling rapid differentiation and decision-making between the status of train formations and regular trains.
Smart Images

Figure CN121757230A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of rail transit technology, and in particular relates to a method, system, storage medium and device for dynamically displaying the status of a track section. Background Technology
[0002] As the control and display subsystem of the computer interlocking system, the control and display unit provides a direct human-machine interface for train operators to control train operations. Traditional track section status display systems generally suffer from the following technical defects: the use of static section division methods cannot adapt to the needs of dynamic shunting operations; the use of a full-screen redraw mechanism for status refresh results in significant display delays when the station area is large; the binding relationship between equipment status and display elements is fixed, requiring a large amount of system resources to modify the display scheme; and the asynchronous display of multiple device statuses may lead to misjudgments by train operators.
[0003] In existing technologies, the interlocking control display machine displays the occupancy status of virtual train formations in a relatively simple way, usually only using a single color light strip to mark sections. It lacks the ability to dynamically interact and integrate multiple operating statuses. Especially in complex stations or high-density operation scenarios, this may affect the duty officer's ability to quickly distinguish and make decisions regarding the status of train formations and regular trains. Summary of the Invention
[0004] To address the shortcomings of existing technologies, this application provides a method, system, storage medium, and device for dynamically displaying track section status. By dynamically distinguishing between grouped and regular statuses and employing an incremental rendering mechanism to update only the changed areas, the system optimizes performance while ensuring real-time display. This achieves real-time dynamic binding between physical track sections and logical display units, improving the efficiency of quickly distinguishing and making decisions regarding the status of grouped and regular trains.
[0005] This application is achieved through the following technical solution: Real-time acquisition of track section status data; Based on the track segment status data, determine the track segment status type and generate drawing instructions; The drawing command triggers differential rendering, updates the drawing area of the track segment, and outputs the updated status information.
[0006] Optional, The step of determining the track segment status type based on the track segment status data and generating drawing instructions includes: Determine the current occupancy status of the track section equipment based on the track section status data: If it is in a grouped state, mark it as a grouped state and generate a light strip drawing command with a preset color; If it is in a normal occupied state, mark it as normal state and generate a standard state drawing instruction.
[0007] Optional, The step of performing differential rendering according to the drawing instructions and updating the drawing area of the track segment includes: Determine whether the versions of the status information numbers in the track segment status data are consistent: if they are inconsistent, mark the rectangular area that needs to be refreshed; Backend caching is handled through a double buffering mechanism, including: The background cache processes the local redraw by performing coordinate translation and color fill operations. The background cache transmits the rendering results to the front end for display through a vertical synchronization mechanism; Complete the vertical synchronization exchange buffer and output the updated status information.
[0008] Optional, When multiple state types exist, drawing instructions are processed according to a preset priority queue, thereby handling priority conflicts between regular occupancy and grouped occupancy.
[0009] Optional, RBAC access control settings include: setting virtual group creation / removal permissions and logical display units within the jurisdiction; setting permissions for issuing segment occupancy / idle markers and logical display units for the mapped physical segments.
[0010] This application also provides a dynamic display system for track section status, used to implement the aforementioned method, the system comprising: The data acquisition layer is used to acquire real-time status data of the track section; The virtual grouping layer is used to determine the track segment status type based on the track segment status data and generate drawing instructions. The rendering control layer is used to trigger differential rendering according to the drawing instructions, update the drawing area of the track segment, and output the updated status information.
[0011] Optional, The virtual marshalling layer includes: a topology analysis unit and a state fusion unit; The topology analysis unit is used to establish a segment connection matrix based on graph theory algorithms; The state merging unit is used to handle priority conflicts between regular occupancy and grouped occupancy.
[0012] Optional, The human-computer interaction layer is used to set management permissions through RBAC permission control, including: setting virtual group creation / removal permissions for logical units within the jurisdiction; setting permissions to issue segment occupancy / idle markers for logical units mapped to physical segments.
[0013] This application also provides a computer-readable storage medium storing one or more programs, which, when executed, can implement the aforementioned method for dynamically displaying the status of track segments.
[0014] This application also provides a device, including a processor, a communication interface, a computer-readable storage medium, and a communication bus; wherein the processor, the communication interface, and the computer-readable storage medium communicate with each other through the communication bus; The processor is used to execute programs stored in a computer-readable storage medium.
[0015] Compared with the prior art, this application has the following advantages: 1. The track section status dynamic display method proposed in this application dynamically distinguishes between the formation and regular states, and adopts an incremental rendering mechanism to update only the changed areas. While ensuring the real-time display, it optimizes the system performance and realizes the real-time dynamic binding between physical track sections and logical display units, thereby improving the efficiency of quickly distinguishing and making decisions on the status of formation trains and regular trains.
[0016] 2. By using a differential refresh mechanism and GPU-accelerated rendering, system resource consumption is reduced and rendering efficiency is improved.
[0017] 3. Through the human-computer interaction layer, the RBAC (Role-Based Access Control) permission management mechanism is used to set management permissions for different roles, thereby ensuring operational security.
[0018] Other features and advantages of this application will be set forth in the description which follows, and will be apparent in part from the description, or may be learned by practicing the application. The objectives and other advantages of this application may be realized and obtained by means of the structures pointed out in the description, claims and drawings. Attached Figure Description
[0019] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0020] Figure 1 A flowchart illustrating the method for dynamically displaying the status of track sections is shown. Figure 2 A schematic diagram illustrating the working principle of the dynamic track display in an embodiment of this application is shown; Figure 3This illustration shows a schematic diagram of the segment difference rendering working principle according to an embodiment of this application; Figure 4 A schematic diagram of the structure of the dynamic display system for track section status according to an embodiment of this application is shown; Figure 5 This is a schematic diagram of the structure of a device according to an embodiment of this application. Detailed Implementation
[0021] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0022] The present application will now be described in further detail with reference to the accompanying drawings and specific embodiments.
[0023] See appendix Figure 1 The method of this application includes: S1. Real-time acquisition of track section status data; In this embodiment, a dual-channel redundancy design of interlocking host interface + RBC direct connection interface is used to obtain track section status data in real time and support protocol adaptive parsing. The track section status data includes: track section equipment information (i.e., data information on whether the track section equipment is currently in virtual grouping occupancy status).
[0024] S2. Based on the track segment status data, determine the track segment status type and generate drawing instructions; The step of determining the track segment status type and generating drawing instructions based on the track segment status data includes: Determine the current occupancy status of the track section equipment based on the track section status data: If it is in a grouped state, mark it as a grouped state and generate a light strip drawing command with a preset color; If it is in a normal occupied state, mark it as normal state and generate a standard state drawing instruction.
[0025] See appendix Figure 2 In this embodiment, the system determines whether the track section is in a virtual grouping state based on the track section status data (including whether the equipment in the track section is currently in a virtual grouping state) forwarded by the interlocking host. Perform state type determination: If it is a grouped occupied state, mark it as a grouped state and generate a cyan light band drawing command (this is just an example, it can also be drawn as other colors); if it is a normal occupied state, mark it as a normal state and generate a standard state drawing command. The generated drawing instructions are updated to the display buffer, and real-time visualization output is achieved through differential rendering.
[0026] The method in this application dynamically distinguishes between grouped and normal states, and uses an incremental rendering mechanism to update only the changed areas, thus optimizing system performance while ensuring real-time display.
[0027] S3. Trigger differential rendering according to the drawing command, update the drawing area of the track segment, and output the updated status information.
[0028] The step of performing differential rendering according to the drawing instructions and updating the drawing area of the track segment includes: Determine whether the versions of the status information numbers in the track segment status data are consistent: if they are inconsistent, mark the rectangular area that needs to be refreshed; Backend caching is handled through a double buffering mechanism, including: The background cache processes the local redraw by performing coordinate translation and color fill operations. The background cache transmits the rendering results to the front end for display through a vertical synchronization mechanism; Complete the vertical synchronization exchange buffer and output the updated status information.
[0029] See appendix Figure 3 In this embodiment, when the differential rendering process starts, the status information number in the real-time acquired track segment status data can be compared to determine whether the versions are consistent. When the version inconsistency is detected, the rectangular area that needs to be refreshed is marked. Then, a double buffering mechanism is started to perform background caching processing. Coordinate translation and color filling operations are performed to complete local redrawing. The background cache transmits the rendering result to the front end display through the vertical synchronization mechanism. Finally, the vertical synchronization is completed to exchange the cache and output the updated status information for display.
[0030] In this embodiment of the application, the differential rendering process is triggered based on the update of the drawing instructions.
[0031] In this embodiment of the application, when multiple state types exist, drawing instructions are processed according to a preset priority queue, thereby handling the priority conflict between regular occupation and group occupation.
[0032] In this embodiment of the application, management permissions can also be set through RBAC permission control, including: setting virtual group creation / removal permissions and logical display units within the jurisdiction; setting permissions to issue segment occupancy / idle markers and logical display units of the physical segment mapping.
[0033] This application provides a control display machine parsing logic and drawing method for dynamic display of track section status interlocking based on virtual grouping technology. The interlocking control display machine serves as a human-machine interface. Using the dynamic display method for track section status of this application, real-time acquired track section status data can be parsed into graphical information and drawn on the screen. Specifically, it includes: Receive track section status data forwarded by the interlocking host, and store virtual train occupancy information (or no virtual train occupancy information) according to the order of track section equipment. Trigger the logic for drawing virtual group occupancy information; Update the drawing area of the track segment based on the brush color.
[0034] The control and display unit processes and displays information according to the track section status data forwarded by the interlocking host, following the sequence of equipment in the track section. This includes: The interlocking host obtains the RBC track section status data from the protocol offset address. This data includes whether the track section equipment is currently in a virtual marshalling state. For example, sending 0x01 indicates that the track section equipment is in a virtual marshalling state; sending 0x00 indicates that the track section equipment is not in a virtual marshalling state. If communication between the interlocking host and the RBC is interrupted, the forwarded data is cleared to 0. The control display unit parses the RBC track section status data forwarded by the interlocking host according to its station equipment configuration file. This configuration file contains the overall order of all station equipment, and the order of the track section equipment in the overall order of all station equipment is the order in which the virtual marshalling occupancy information is stored.
[0035] The control and display unit checks the virtual train occupancy status of track section equipment periodically according to the drawing thread. When a change in virtual train occupancy status is detected, the corresponding drawing logic is dynamically triggered: for train occupancy status, the cyan light strip drawing function is called to calculate the coordinates of a specific offset area; for no train occupancy status, the station map base color is used for overlay and restoration. All drawing commands are processed through a priority queue to ensure that the display of high-security-level statuses is executed first.
[0036] Based on the code point structure parsing of RBC data packets, a precise drawing area update mechanism can be achieved: the target device topology location is located by parsing the segment ID, the device register is updated according to the status information number and the rectangular area to be updated is recalculated, and finally the refresh module is submitted to complete the visual update.
[0037] See appendix Figure 4 This application also provides a dynamic display system for track section status based on virtual grouping technology. The system adopts a layered architecture design, including: a data acquisition layer, a virtual grouping layer, and a rendering control layer.
[0038] The data acquisition layer is used to acquire track section status data in real time. The data acquisition layer uses a dual-channel redundant design (interlocking host interface + RBC direct connection) to acquire track section status data in real time, supporting adaptive protocol parsing. The track section status data includes: track section equipment information (i.e., data information on whether the track section equipment is currently in a virtual formation occupancy state).
[0039] The virtual grouping layer is used to determine the status type of track segments based on track segment status data and generate drawing instructions. The virtual grouping layer can dynamically construct the mapping relationship between physical segments and logical display units. The logical display unit is an abstract segment unit dynamically mapped and generated in the virtual grouping layer, used for displaying track segment equipment information forwarded from the RBC by the interlocking host. The track segment equipment information includes the order of the equipment, and the corresponding logical display unit is also configured with the equipment order. The virtual grouping layer includes a topology analysis unit and a state fusion unit. The topology analysis unit is responsible for establishing a segment connection matrix based on graph theory algorithms, thereby dynamically constructing the mapping relationship between physical segments and logical display units (this mapping relationship is the basic input for subsequent status judgment and drawing instruction generation). The state fusion unit is responsible for handling priority conflicts between regular occupancy and group occupancy. A segment connection matrix is established based on graph theory algorithms, including: each physical track segment (such as track circuit segment, turnout segment) is abstracted as a node, with attributes including: segment ID (unique identifier), physical length (used for train length matching), basic status (occupied / idle / faulty), and segment type (no-turnout segment, turnout segment, track). Edges represent the connection relationships between segments, with attributes including: connection type weight (direct connection = 1.0, lateral connection = 0.5, virtual connection = 0.2), and dynamic variability: edge weights are adjusted in real time when the turnout position changes (e.g., lateral edge weights are reset to 0 when the turnout is positioned, indicating disconnection). Priority conflicts between regular occupancy and train occupancy are handled, including: when multiple states need to be displayed, the priority is occupancy > locking > train occupancy > idle; when multiple states exist, they are drawn alternately according to this priority.
[0040] The rendering control layer is used to trigger differential rendering based on the drawing instructions, update the drawing area of the track segment, and output the updated status information. The rendering control layer adopts a differential refresh mechanism and GPU-accelerated rendering function, which can reduce system resource consumption.
[0041] In this embodiment of the application, the track section status dynamic display system also includes a human-computer interaction layer. The system ensures operational security through the RBAC (Role-Based Access Control) permission management mechanism. The dispatcher's permissions are virtual group creation / deletion, and he can manage all logical display units within the area. The station duty officer can issue section occupancy / idle markers and manage the logical display units mapped to the physical sections of the station.
[0042] Furthermore, this application embodiment also provides a dynamic display device for track section status, including: The data acquisition module obtains real-time status data of the track section; The virtual grouping module determines the track segment status type based on the track segment status data and generates drawing instructions. The rendering control module triggers differential rendering based on the drawing instructions, updates the drawing area of the track segment, and outputs the updated status information.
[0043] Based on the same concept, this application also provides a computer-readable storage medium storing one or more programs, which, when executed, can realize the aforementioned method for dynamically displaying the status of track segments.
[0044] like Figure 5 As shown in the illustration, this application also provides a device including a processor, a communication interface, a memory, and a communication bus. The processor, communication interface, and memory communicate with each other via the communication bus.
[0045] The memory is a computer-readable storage medium used to store one or more programs.
[0046] The processor is configured to execute a program stored in a computer-readable storage medium.
[0047] The computer-readable storage medium may be included in the device / apparatus described in the above embodiments; or it may exist independently and not assembled into the device / apparatus.
[0048] Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.
Claims
1. A method for dynamically displaying the status of a track section, characterized in that, include: Real-time acquisition of track section status data; Based on the track segment status data, determine the track segment status type and generate drawing instructions; The drawing command triggers differential rendering, updates the drawing area of the track segment, and outputs the updated status information.
2. The method according to claim 1, characterized in that, The step of determining the track segment status type based on the track segment status data and generating drawing instructions includes: Determine the current occupancy status of the track section equipment based on the track section status data: If it is in a grouped state, mark it as a grouped state and generate a light strip drawing command with a preset color; If it is in a normal occupied state, mark it as normal state and generate a standard state drawing instruction.
3. The method according to claim 1, characterized in that, The step of performing differential rendering according to the drawing instructions and updating the drawing area of the track segment includes: Determine whether the versions of the status information numbers in the track segment status data are consistent: if they are inconsistent, mark the rectangular area that needs to be refreshed; Backend caching is handled through a double buffering mechanism, including: The background cache processes the local redraw by performing coordinate translation and color fill operations. The background cache transmits the rendering results to the front end for display through a vertical synchronization mechanism; Complete the vertical synchronization exchange buffer and output the updated status information.
4. The method according to any one of claims 1-3, characterized in that, The method further includes: When multiple state types exist, drawing instructions are processed according to a preset priority queue, thereby handling priority conflicts between regular occupancy and grouped occupancy.
5. The method according to any one of claims 1-3, characterized in that, The method further includes: RBAC access control settings include: setting virtual group creation / removal permissions and logical display units within the jurisdiction; setting permissions for issuing segment occupancy / idle markers and logical display units for the mapped physical segments.
6. A dynamic display system for track section status, characterized in that, The system includes: The data acquisition layer is used to acquire real-time status data of the track section; The virtual grouping layer is used to determine the track segment status type based on the track segment status data and generate drawing instructions. The rendering control layer is used to trigger differential rendering according to the drawing instructions, update the drawing area of the track segment, and output the updated status information.
7. The system according to claim 6, characterized in that, The virtual marshalling layer includes: a topology analysis unit and a state fusion unit; The topology analysis unit is used to establish a segment connection matrix based on graph theory algorithms; The state merging unit is used to handle priority conflicts between regular occupancy and grouped occupancy.
8. The system according to claim 6, characterized in that, The system also includes: The human-computer interaction layer is used to set management permissions through RBAC permission control, including: setting virtual group creation / removal permissions for logical units within the jurisdiction; setting permissions to issue segment occupancy / idle markers for logical units mapped to physical segments.
9. A computer-readable storage medium storing one or more programs, characterized in that, When one or more programs are executed, the dynamic display method for track segment status as described in any one of claims 1-5 can be implemented.
10. An electronic device, comprising a processor, a communication interface, a computer-readable storage medium as described in claim 9, and a communication bus; wherein, The processor, communication interface, and computer-readable storage medium communicate electronically with each other via a communication bus; characterized in that, The processor is used to execute programs stored in a computer-readable storage medium.