Shadow mode-based train timetable matching method and apparatus, device, and medium
By using the synchronization interface between the shadow mode operating system and the online system, and the automatic train number matching algorithm, combined with manual adjustments, the scientific and real-time issues of train timetable matching after urban rail transit fault recovery were resolved, achieving rapid and scientific train timetable recovery.
Patent Information
- Application Number
- PCT/CN2024/132175
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-09-02
- Filing Date
- 2024-11-15
- Publication Date
- 2026-03-05
AI Technical Summary
Existing technologies suffer from problems such as long timeframes, significant uncertainty in passenger travel times, and a lack of scientific basis in the process of matching train timetables after urban rail transit faults are restored.
The system operates in shadow mode, synchronizing with the online system via an interface. It utilizes an automatic train number matching algorithm, combined with manual adjustments, to quickly match trains with timetables and simulate operation in shadow mode until all trains on the line operate according to the subsequent timetable. Finally, the matching relationship is copied to the online system with one click.
It reduces the impact of fault recovery on online train operation, provides a fast and reasonable simulation adjustment environment, ensures the scientific and real-time nature of matching results, reduces the adjustment pressure on dispatchers, and improves fault recovery efficiency.
Smart Images

Figure CN2024132175_05032026_PF_FP_ABST
Abstract
Description
A method, device, equipment, and medium for train timetable matching based on shadow pattern. Technical Field
[0001] This invention relates to rail transit signaling systems, and in particular to a method, apparatus, device, and medium for matching train timetables based on shadow patterns. Background Technology
[0002] Following a malfunction in urban rail transit, the control center dispatcher will maintain normal train operation in the affected area by impounding trains and temporarily changing routes. Repairs to the affected section will be carried out according to a pre-defined emergency plan to complete the fault repair as quickly as possible. Once the fault is repaired and the site gradually returns to the pre-fault timetable operating conditions, the dispatcher will manually adjust the train schedules to restore normal operation, and then the system will enter normal operating mode.
[0003] The current fault recovery mode involves the dispatcher first switching the current operating mode back to the timetable operating mode. The system then automatically matches the latest train numbers in real-time based on train arrival information. However, because train positions are mismatched with the timetable during a fault, the real-time matched train numbers are highly erroneous. The dispatcher then manually adjusts the timetable according to the schedule, sequentially completing the matching of train numbers across the entire line until all trains are back to timetable control. This process is time-consuming, and the constantly changing train timetables significantly impact passengers' perception of train arrival times. This design is unscientific and cannot meet the evolving needs of the industry.
[0004] A search revealed a method for matching intelligent train timetables in urban rail transit, disclosed in Chinese Patent Publication No. CN112874586A. Specifically, the method involves first determining the order of all trains based on their sequential positions; then selecting the first train in the sequence to match the timetable schedule, and subsequently matching subsequent trains according to their planned timetable order, calculating matching weights. The train order is then readjusted, and the matching weights are calculated again, until all train sequences have been traversed. Finally, the sum of the timetable matching weights for all train sequences is compared, and the train with the largest sum of weights is selected for the timetable matching scenario. The existing patent describes a method that directly affects the online system. It calculates weights through a cyclical deviation calculation and ultimately selects the matching method with the smallest weight (i.e., the smallest error) to directly establish a train-timetable match. While this method is generally applicable to normal initial operations based on departure order, restoring the timetable to its original state after temporary adjustments or fault recovery remains a challenge for the industry. The main difficulty lies in the mismatch between online trains and timetables. Scientifically selecting a deactivated train or determining where to add a new one involves significant randomness, often relying on dispatchers' daily experience without a robust calculation algorithm. Therefore, during restoration, dispatchers often rely on experience, first attempting a matching method without system intervention, then manually arranging trains and readjusting the matching relationship based on operational conditions. This multiple adjustments only temporarily affect the trains, making passengers feel that train schedules are constantly changing. Furthermore, this matching relationship lacks scientific basis, and dispatchers lack a suitable environment for pre-simulation.
[0005] Therefore, how to solve the problem of temporarily changing timetables on-site and automatically matching online trains with the daily timetable after on-site operational failures have become technical issues that need to be addressed. Summary of the Invention
[0006] The purpose of this invention is to overcome the defects of the prior art by providing a train timetable matching method, apparatus, device and medium based on shadow pattern.
[0007] The objective of this invention can be achieved through the following technical solutions:
[0008] According to a first aspect of the present invention, a train timetable matching method based on shadow mode is provided. The method first creates a shadow mode operation system, then obtains trains from the online system in real time and tracks them synchronously, and finally completes the automatic matching of trains in the shadow mode to the timetable scheme of the day by superimposing an auxiliary automatic matching algorithm with manual adjustment, and synchronously applies it to the online system.
[0009] As a preferred technical solution, the method specifically includes the following steps:
[0010] Step S1: Construct an interface with the online train monitoring system, and replicate a full-line train shadow mode operation system that is consistent with the online system to realize the actual tracking operation of all trains in the shadow mode operation system;
[0011] Step S2: The shadow mode operation system uses an automatic train number matching algorithm to complete the association between the online actual running trains and the planned trains in the latest timetable;
[0012] Step S3: The shadow mode operation system provides dispatchers with the means to adjust the matching of actual trains with timetable train numbers, and allows manual modification of the automatic matching results until all trains on the line run in shadow mode according to the subsequent timetable mode.
[0013] Step S4: Copy the train-timetable matching relationship in the line topology diagram of the shadow mode operating system to the online system with one click. The online system switches to the new operating diagram and modifies and runs it according to the actual train-timetable matching relationship in the shadow mode. The system returns to normal.
[0014] As a preferred technical solution, step S1 specifically includes:
[0015] Step S11: Draw a schematic diagram of the station topology of the entire line as a shadow mode for online monitoring of train operation;
[0016] Step S12: By initializing the train position with the online train monitoring system, the train is drawn on the station map in shadow mode, and the simulated operation of all trains on the shadow mode station map is completed through periodic train position messages.
[0017] Step S13: By interfacing with the online train monitoring system, access the timetable information of the online system in real time and automatically load the corresponding timetable information.
[0018] As a preferred technical solution, the automatic train number matching algorithm in step S2 includes a priority matching algorithm for the nearest train on the turnaround track and a sequential backtracking matching algorithm for the remaining trains; a train number matching algorithm for the nearest platform for all trains on the entire line; and an automatic matching algorithm for trains with the same destination on multiple routes.
[0019] As a preferred technical solution, step S2 specifically includes the following steps:
[0020] Step S21: Based on the loaded timetable information and the train position information on the station map in shadow mode, taking the trains near the turnaround track as the basis, and following the principle of minimizing the time error between the actual train position and the corresponding turnaround point in the timetable, automatically match the actual train with the corresponding train number in the timetable.
[0021] Step S22: Based on the train number order of the timetable, and taking the train number automatically matched by the turnaround rail as the basis, and according to the actual train sequence, combined with the train sequence in the timetable, the matching relationship between the actual train and the timetable train is automatically completed one-to-one.
[0022] Step S23: In the station map of the shadow mode, based on the actual location of the train and the timetable, simulate the operation logic of the train's automatic turnaround and number change, and simulate the train automatically changing its number information according to its location to automatically complete the automatic turnaround and number change.
[0023] As a preferred technical solution, in the station map of shadow mode, after the matching relationship between actual trains and planned trains is completed, the trains can be displayed according to the actual operation records, which makes it easier for dispatchers to adjust the matching relationship later.
[0024] As a preferred technical solution, step S3 specifically includes the following steps:
[0025] S31. In the station map of shadow mode, dispatchers are allowed to manually cancel the binding relationship between actual trains and plans;
[0026] S32. In the station map of shadow mode, dispatchers can manually bind the actual trains to the schedule;
[0027] S32. In the station map of shadow mode, dispatchers can manually rematch train relationships according to the selected train sequence and the order in the timetable.
[0028] S33. In the station map of shadow mode, dispatchers can manually set temporary trains to complete the setting of online trains returning to the depot or entering the storage line.
[0029] S34. In the station map of shadow mode, if the current binding relationship is offset from the actual train position and cannot run, the binding relationship between the actual train and the plan will be automatically realized. At the same time, a special demonstration will be displayed in the matching relationship to remind the dispatcher to make manual corrections.
[0030] According to a second aspect of the present invention, an apparatus is provided for the train timetable matching method based on shadow pattern, the apparatus comprising a channel management module, a timetable management module, a station display module, an automatic train timetable matching algorithm module, a manual train matching module, a train matching management module, and a train matching linkage module;
[0031] The channel management module is communicatively connected to the timetable management module, the station display module, and the train matching linkage module. The timetable management module is communicatively connected to the automatic train timetable matching algorithm module and the manual train matching module. The station display module is communicatively connected to the automatic train timetable matching algorithm module and the manual train matching module. The train matching management module is communicatively connected to the automatic train timetable matching algorithm module and the manual train matching module.
[0032] As a preferred technical solution, the automatic train timetable matching algorithm module provides a variety of automatic train number matching algorithms to complete the association between online actual operating trains and planned trains in the latest timetable.
[0033] As a preferred technical solution, the timetable management module supports dispatchers in loading the operation diagram from the online system from the shadow mode, which serves as the basic information for the subsequent train matching plan in the shadow mode system.
[0034] As a preferred technical solution, the station display module automatically loads the station map in shadow mode and establishes a communication channel with the online system with the help of the channel management module to obtain the location information of online trains in real time and simulate and display it on the station map in shadow mode. At the same time, based on real-time message interaction, it obtains the location information of trains from the online system and updates the display of train location information on the station map in shadow mode.
[0035] As a preferred technical solution, the train manual matching module provides manual operation management for binding and unbinding the actual trains and planned trains; it also provides management functions for setting temporary train numbers and batch sequential setting functions, which facilitates operators to manually adjust the matching operation between trains and train numbers.
[0036] As a preferred technical solution, the train matching management module provides the function of maintaining and managing the matching relationship data of all related trains along the line, and is the data center of the shadow mode; at the same time, it simulates the online trains to run according to the plan, provides the function of automatically changing the number of the planned train after automatic matching; provides the function of tracking the operation of planned trains and first-number trains; provides the function of automatically converting the first-number train to a train without matching after it reaches the destination; and provides the function of automatically converting to a train without matching after detecting path deviation.
[0037] As a preferred technical solution, the train matching and linkage module provides the function of one-click import into the online system by means of the channel management module after the actual train and the timetable are reasonably matched, and completes the timetable creation and batch setting of train numbers by means of the existing functions of the online system.
[0038] According to a third aspect of the present invention, an electronic device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the program to implement the method described thereon.
[0039] According to a fourth aspect of the present invention, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the method described thereon.
[0040] Compared with the prior art, the present invention has the following advantages:
[0041] 1) This invention utilizes a shadow mode of an online system to provide dispatchers with a synchronous shadow environment, allowing dispatchers to conduct pre-rehearsals of matching relationships in this environment. Once it is confirmed that there are no problems, the matching relationship is then applied to the train, thus reducing the impact on the operation of online trains.
[0042] 2) This invention provides a more efficient, reasonable, and multi-stage simulation environment through a simulation environment, making the final matching results more scientific;
[0043] 3) This invention designs a shadow mode operating system, which overcomes the defect in the prior art that any adjustment to a fault will actually affect the operation of the train;
[0044] 4) This invention deeply couples the actual system with the shadow system, providing dispatchers with an online simulation adjustment system, isolating the impact of intermediate adjustment processes on train operation, and solving the problems of repeated on-site adjustments and complex decision-making processes;
[0045] 5) This invention provides an automated train matching function. Through various strategies, it adapts to different scenarios to assist dispatchers in quickly completing the train matching function, reducing the pressure on dispatchers to make manual adjustments.
[0046] 6) This invention completes virtual operation through a shadow system, synchronously imports it into the actual system, and quickly completes the actual train operation on site, ensuring the real-time nature of the system and the scientific nature of the adjustment results. Attached Figure Description
[0047] Figure 1 is a diagram showing the relationship between the online system and the shadow mode system of the present invention.
[0048] Figure 2 is a diagram of the internal logic modules of the shadow mode of the present invention;
[0049] Figure 3 shows the automatic train number matching algorithm for different modes of the present invention. Detailed Implementation
[0050] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0051] This invention discloses a train timetable matching method based on shadow mode. The method first creates a shadow mode operating system, then obtains trains from the online system in real time and tracks them synchronously, and finally uses an auxiliary automatic matching algorithm combined with manual adjustment to quickly complete the automatic matching of trains in the shadow mode to the timetable scheme of the day, and applies it synchronously to the online system.
[0052] The method of the present invention specifically includes the following steps:
[0053] Step S1: Construct an interface with the online train monitoring system, and replicate a full-line train shadow mode operation system that is consistent with the online system to realize the actual tracking operation of all trains in the shadow mode operation system;
[0054] Step S2: The shadow mode operation system uses an automatic train number matching algorithm to complete the association between the online actual running trains and the planned trains in the latest timetable;
[0055] Step S3: The shadow mode operation system provides dispatchers with the means to adjust the matching of actual trains with timetable train numbers, and allows manual modification of the automatic matching results until all trains on the line run in shadow mode according to the subsequent timetable mode.
[0056] Step S4: Copy the train-timetable matching relationship in the line topology diagram of the shadow mode operating system to the online system with one click. The online system switches to the new operating diagram and modifies and runs it according to the actual train-timetable matching relationship in the shadow mode. The system returns to normal.
[0057] The specific steps of S1 are as follows:
[0058] Step S11: Using drawing techniques and basic station data, draw a schematic diagram of the station topology of the entire line as a shadow mode for online monitoring of train operation;
[0059] Step S12: Initialize the train position with the help of the online train monitoring system, draw the train on the station map in shadow mode, and complete the simulation operation of all trains on the station map in shadow mode through periodic train position messages.
[0060] Step S13: By using the interface with the online train monitoring system, the timetable information of the online system is retrieved in real time, and the corresponding timetable information is automatically loaded after the user clicks to confirm.
[0061] The specific steps of S2 are as follows:
[0062] Step S21: Based on the loaded timetable information and the train position information on the station map in shadow mode, taking the trains near the turnaround track as the basis, and following the principle of minimizing the time error between the actual train position and the corresponding turnaround point in the timetable, automatically match the actual train with the corresponding train number in the timetable.
[0063] Step S22: Based on the train number order of the timetable, and taking the train number automatically matched by the turnaround rail as the basis, according to the actual train sequence and the train sequence in the timetable, the matching relationship between the actual train and the timetable train is automatically completed one-to-one.
[0064] Step S23: In the station map of the shadow mode, based on the actual location of the train and the timetable, simulate the operation logic of the train's automatic turnaround and number change, and simulate the train automatically changing the train number information according to the location to automatically complete the automatic turnaround and number change.
[0065] Step S24: In the station map of shadow mode, after the matching relationship between actual trains and planned trains is completed, the trains support the display of train arrival and departure times based on the actual operation records, which is convenient for dispatchers to adjust the matching relationship later; the simulated operation of trains in shadow mode will not affect the operation of existing trains in the online system according to the fault mode.
[0066] The specific steps of step S3 are as follows:
[0067] Step S31: In the station map of shadow mode, dispatchers can manually cancel the binding relationship between actual trains and schedules. This allows dispatchers to use the unbound trains for other trains.
[0068] Step S32: In the station map of shadow mode, dispatchers can manually bind actual trains to schedules. Duplicate trains automatically assigned in shadow mode will have their associated relationships automatically canceled.
[0069] Step S32: In the station map of shadow mode, dispatchers can manually re-match train relationships according to the selected train sequence and the order in the timetable. Duplicate train numbers automatically assigned in shadow mode will have their associated relationships automatically canceled.
[0070] Step S33: In the station map of shadow mode, dispatchers can manually set temporary passenger trains to complete the setting of online trains returning to the depot or entering the storage line.
[0071] Step S34: In the station map of shadow mode, if the current binding relationship is offset from the actual train position and cannot run, the binding relationship between the actual train and the plan will be automatically realized. At the same time, a special demonstration will be displayed in the matching relationship to remind the dispatcher to make manual corrections.
[0072] Specific Implementation
[0073] As shown in Figure 1, based on the existing system architecture that is easily understood by those skilled in the art, the relationship between the newly added shadow mode component and the existing system is clarified, which is an interactive relationship; these two software programs can be deployed on the same hardware device and switch displays; or they can be deployed on different devices to achieve synchronized displays.
[0074] As shown in Figure 2, the software in shadow mode includes the following components: channel management module 1, timetable management module 2, station display module 3, automatic train matching algorithm module 4, manual train matching module 5, train matching management module 6, and train matching linkage module 7.
[0075] The channel management module 1 is communicatively connected to the timetable management module 2, the station display module 3, and the train matching linkage module 7. The timetable management module 2 is communicatively connected to the automatic train timetable matching algorithm module 4 and the manual train matching module 5. The station display module 3 is communicatively connected to the automatic train timetable matching algorithm module 4 and the manual train matching module 5. The train matching management module 6 is communicatively connected to the automatic train timetable matching algorithm module 4, the manual train matching module 5, and the train matching linkage module 7. The automatic train timetable matching algorithm is the key to this invention; the accuracy of automatic matching is crucial for reducing the burden of manual adjustments and improving on-site adjustment efficiency.
[0076] As shown in Figure 2, the interaction between the various functional modes of the shadow mode software of the present invention and the software operation process are described, including the following steps:
[0077] Step 100: Based on the existing basic data of the station map of the entire line obtained by the train monitoring system, optimize and adjust it by deleting irrelevant elements and adjusting the station display layout to realize the station map display configured in the shadow mode.
[0078] Step 101: After the shadow mode system is started, the station display module automatically loads the station map of shadow mode and establishes a communication channel with the online system with the help of the channel management module.
[0079] Step 102: Based on the channel established with the online system, obtain the location information of the online train in real time and display it on the shadow mode station map. At the same time, based on real-time message interaction, obtain the location information of the train from the online system and update the display of the train location information on the shadow mode station map. Drive the operation of the shadow mode train with the help of the online system.
[0080] Step 103: With the help of the communication channel, the timetable management module allows the dispatcher to load the operation map from the online system from the shadow mode as the basic information for the subsequent train matching plan in the shadow mode system.
[0081] Step 104: In the shadow mode system, the automatic train matching algorithm module provides a variety of automatic train number matching algorithms to complete the association between the online actual running trains and the planned trains in the latest timetable. For the matching results, the manual train matching module provides manual operation management for binding and unbinding the association between the actual trains and the planned trains. It also provides management functions for setting temporary train numbers and batch sequential setting functions, which facilitates operators to manually adjust the matching operation between trains and train numbers.
[0082] Step 105: In the shadow mode system, the automatic train matching algorithm module provides a variety of automatic train number matching algorithms: 1. Prioritize matching the nearest train on the turnaround track, and then match the remaining trains in sequence; 2. Match train numbers to the nearest station on the entire line; 3. Automatic matching algorithm for trains with the same destination on multiple routes.
[0083] Step 105: In the shadow mode system, the train manual matching module provides a variety of manual train number matching operations: 1. Manually associate train and train number matching operation; 2. Manually cancel train and train number matching operation; 3. Manually specify the matching relationship of a single train and then automatically match subsequent trains on a single line; 4. Manually set the first car number operation.
[0084] Step 106: In the shadow mode system, the train matching management module provides the function of maintaining and managing the matching relationship data of all related trains along the line, and is the data center of the shadow mode system; at the same time, it simulates the online trains to run according to the plan, provides the function of automatically changing the number of the planned train after automatic matching; provides the function of tracking the operation of planned trains and first-number trains; provides the function of automatically converting the first-number train to a train without matching after it reaches the destination; and provides the function of automatically converting to a train without matching after detecting path deviation.
[0085] Step 107: In the shadow mode system, the train matching and linkage module provides the function of importing the actual trains and timetables into the online system with one click by means of the channel management module after the actual trains and timetables have been reasonably matched. The timetable is created by means of the existing functions of the online system; train numbers are set in batches at one time.
[0086] Step 108: In the shadow mode, these modules each undertake different functions, and through mutual calling, collaboration, and cooperation, a matching mode combining automatic and manual processes is realized. Decisions are made in the shadow system, and adjustments to the trains running on-site are quickly completed, achieving scientific decision-making and real-time application.
[0087] As shown in Figure 3, the accuracy of the automatic matching algorithm is the most critical algorithm in this shadow mode system. If the matching is accurate and successful, the manual adjustment work will be greatly reduced. For different running routes and running scenarios, the automatic matching algorithm provides multiple algorithms, including: automatic matching and deduction mode for turnaround points, optimal matching mode for train positions, and automatic matching mode for the same destination. Other automatic matching modes will be added later according to the scenarios.
[0088] As shown in Figure 3, the present invention introduces a diversified automatic train matching method. Based on different operating routes and scenarios, it provides dispatchers with different train matching algorithms to complete the optimal automatic train matching plan, reduce the pressure on dispatchers to make further adjustments, and shorten the fault recovery time.
[0089] Includes the following steps:
[0090] Step 201: The automatic turnaround point matching and simulation mode first determines whether the currently loaded schedule map belongs to single-route operation. The timetable management module will provide feedback on whether the current timetable belongs to single-route operation or multi-route operation. Because the automatic turnaround point matching and simulation mode is most suitable for single-route operation, the algorithm will verify and remind you in advance.
[0091] Step 202, Automatic matching and deduction mode of turnaround point: If it is confirmed to be a single route, the current automatic matching algorithm will find the turnaround point of the single route in the timetable. Then, based on the trains near the current position of the turnaround point, taking the first train about to enter the turnaround track as the first starting point, it will match the train number before the current turnaround point train number in the timetable and establish the corresponding train number matching relationship.
[0092] Step 203: The turnaround point automatic matching and simulation mode then proceeds according to the upline, sequentially matching actual trains with planned trains based on the order of following trains and the order of following trains in the timetable. Actual trains that fail to find a match remain unmatched and are handed over to manual processing. For planned trains that do not find a matching actual train, an alarm pops up to remind manual staff to arrange additional trains.
[0093] Step 204: The same algorithm for the automatic turnaround point matching and deduction mode is applied to the downline to complete the train number matching for the downline. Finally, all train number relationships are matched.
[0094] Step 205: The optimal train position matching mode is applicable to various complex scenarios, including simple single-route operation, multi-route operation, and mixed operation of direct trains / express trains / regular trains, etc.
[0095] Step 206, Train Position Optimal Matching Mode: First, the system defaults to the best train position matching mode, where the current train is running on time. Based on the train's arrival information, the system matches the nearest scheduled train in the timetable for the current time point.
[0096] Step 207, Optimal Train Position Matching Mode: After all trains have completed one arrival / departure station, the system automatically matches all train numbers.
[0097] Step 208: In the optimal train position matching mode, trains that cannot be matched remain in manual mode, while a list of missing planned trains is displayed. This process completes the matching of all trains on the entire line.
[0098] Step 209: The automatic matching mode for the same destination is mainly applicable to the operation mode of multiple routes. The system assumes that the turnaround points of each route are running on time. Then, with the help of the timetable management module, it filters out all the turnaround tracks that have not yet turned around at the current time.
[0099] Step 210: The same destination automatic matching mode then selects the first actual train that is about to enter the turnaround track from the actual trains to complete the corresponding matching;
[0100] Step 211: In the same destination automatic matching mode, after completing the matching of all turnaround rail trains, the planned trains and actual trains are matched one by one between the turnaround rails.
[0101] Step 212: After the automatic matching mode for trains to the same destination completes the matching of all trains in the turnaround section, trains that cannot be matched remain in manual mode. For trains that are missing from the schedule, a list will pop up to indicate the missing trains. Finally, the matching of all trains on the entire line is completed.
[0102] The above is a description of the method and apparatus embodiments. The following embodiments using electronic devices and storage media will further illustrate the solution of the present invention.
[0103] This invention also provides an electronic device including a central processing unit (CPU), which can perform various appropriate actions and processes according to computer program instructions stored in a read-only memory (ROM) or loaded from a storage unit into a random access memory (RAM). The RAM may also store various programs and data required for device operation. The CPU, ROM, and RAM are interconnected via a bus. Input / output (I / O) interfaces are also connected to the bus.
[0104] Multiple components in the device are connected to the I / O interface, including: input units such as keyboards and mice; output units such as various types of displays and speakers; storage units such as disks and optical discs; and communication units such as network interface cards (NICs), modems, and wireless transceivers. The communication unit allows the device to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0105] The processing unit performs the various methods and processes described above, such as the methods of the present invention. For example, in some embodiments, the methods of the present invention may be implemented as computer software programs tangibly contained in a machine-readable medium, such as a storage unit. In some embodiments, part or all of the computer program may be loaded and / or installed on the device via ROM and / or a communication unit. When the computer program is loaded into RAM and executed by the CPU, one or more steps of the methods of the present invention described above may be performed. Alternatively, in other embodiments, the CPU may be configured to execute the methods of the present invention by any other suitable means (e.g., by means of firmware).
[0106] The functions described above in this document can be performed, at least in part, by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: Field Programmable Gate Arrays (FPGAs), Application-Specific Integrated Circuits (ASICs), Application Standard Products (ASSPs), System-on-Chip (SoCs), Complex Programmable Logic Devices (CPLDs), and so on.
[0107] The program code used to implement the methods of the present invention can be written in any combination of one or more programming languages. This program code can be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing device, such that when executed by the processor or controller, the program code causes the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program code can be executed entirely on the machine, partially on the machine, as a standalone software package partially on the machine and partially on a remote machine, or entirely on a remote machine or server.
[0108] In the context of this invention, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. Machine-readable media can include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0109] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in the present invention, and these modifications or substitutions should all be covered within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
Claims
1. A train timetable matching method based on shadow pattern, characterized in that, The method first creates a shadow mode running system, then obtains trains from the online system in real time and tracks them synchronously, and finally completes the automatic matching of trains to the daily timetable scheme in the shadow mode by superimposing an automatic algorithm with manual adjustments, and applies it synchronously to the online system.
2. The train timetable matching method based on shadow pattern according to claim 1, characterized in that, The method specifically includes the following steps: Step S1: Construct an interface with the online train monitoring system, and replicate a full-line train shadow mode operation system that is consistent with the online system to realize the actual tracking operation of all trains in the shadow mode operation system; Step S2: The shadow mode operation system uses an automatic train number matching algorithm to complete the association between the online actual running trains and the planned trains in the latest timetable; Step S3: The shadow mode operation system provides dispatchers with the means to adjust the matching of actual trains with timetable train numbers, and allows manual modification of the automatic matching results until all trains on the line run in shadow mode according to the subsequent timetable mode. Step S4: Copy the train-timetable matching relationship in the line topology diagram of the shadow mode operating system to the online system with one click. The online system switches to the new operating diagram and modifies and runs it according to the actual train-timetable matching relationship in the shadow mode. The system returns to normal.
3. The train timetable matching method based on shadow pattern according to claim 2, characterized in that, Step S1 specifically involves: Step S11: Draw a schematic diagram of the station topology of the entire line as a shadow mode for online monitoring of train operation; Step S12: By initializing the train position with the online train monitoring system, the train is drawn on the station map in shadow mode, and the simulated operation of all trains on the shadow mode station map is completed through periodic train position messages. Step S13: By interfacing with the online train monitoring system, access the timetable information of the online system in real time and automatically load the corresponding timetable information.
4. The train timetable matching method based on shadow pattern according to claim 2, characterized in that, The automatic train number matching algorithm in step S2 includes an algorithm that prioritizes matching the nearest train on the turnaround track and then backtracks to match the remaining trains in sequence; an algorithm that matches trains at the nearest platform across the entire line; and an automatic matching algorithm for trains with the same destination on multiple routes.
5. The train timetable matching method based on shadow pattern according to claim 2, characterized in that, Step S2 specifically includes the following steps: Step S21: Based on the loaded timetable information and the train position information on the station map in shadow mode, taking the trains near the turnaround track as the basis, and following the principle of minimizing the time error between the actual train position and the corresponding turnaround point in the timetable, automatically match the actual train with the corresponding train number in the timetable. Step S22: Based on the train number order of the timetable, and taking the train number automatically matched by the turnaround rail as the basis, and according to the actual train sequence, combined with the train sequence in the timetable, the matching relationship between the actual train and the timetable train is automatically completed one-to-one. Step S23: In the station map of the shadow mode, based on the actual location of the train and the timetable, simulate the operation logic of the train's automatic turnaround and number change, and simulate the train automatically changing its number information according to its location to automatically complete the automatic turnaround and number change.
6. The train timetable matching method based on shadow pattern according to claim 5, characterized in that, In the shadow mode station map, after the actual trains and planned trains have been matched, the trains can be displayed according to their actual operation records, which makes it easier for dispatchers to adjust the matching relationship later.
7. The train timetable matching method based on shadow pattern according to claim 2, characterized in that, Step S3 specifically includes the following steps: S31. In the station map of shadow mode, dispatchers are allowed to manually cancel the binding relationship between actual trains and plans; S32. In the station map of shadow mode, dispatchers can manually bind the actual trains to the schedule; S32. In the station map of shadow mode, dispatchers can manually rematch train relationships according to the selected train sequence and the order in the timetable. S33. In the station map of shadow mode, dispatchers can manually set temporary trains to complete the setting of online trains returning to the depot or entering the storage line. S34. In the station map of shadow mode, if the current binding relationship is offset from the actual train position and cannot run, the binding relationship between the actual train and the plan will be automatically realized. At the same time, a special demonstration will be displayed in the matching relationship to remind the dispatcher to make manual corrections.
8. An apparatus for the train timetable matching method based on shadow patterns as described in claim 1, characterized in that, The device includes a channel management module (1), a timetable management module (2), a station display module (3), a train timetable automatic algorithm module (4), a train manual matching module (5), a train matching management module (6), and a train matching linkage module (7); The channel management module (1) is communicatively connected to the timetable management module (2), the station display module (3), and the train matching linkage module (7). The timetable management module (2) is communicatively connected to the automatic train matching algorithm module (4) and the manual train matching module (5). The station display module (3) is communicatively connected to the automatic train matching algorithm module (4) and the manual train matching module (5). The train matching management module (6) is communicatively connected to the automatic train matching algorithm module (4), the manual train matching module (5), and the train matching linkage module (7).
9. The train timetable matching method based on shadow pattern according to claim 8, characterized in that, The automatic train matching algorithm module (4) provides a variety of automatic train number matching algorithms to complete the association between online actual running trains and planned trains in the latest timetable.
10. The train timetable matching method based on shadow pattern according to claim 8, characterized in that, The timetable management module (2) allows dispatchers to load the operation diagram from the online system from the shadow mode as the basic information for the subsequent train matching plan in the shadow mode system.
11. The train timetable matching method based on shadow pattern according to claim 8, characterized in that, The station display module (3) automatically loads the station map in shadow mode and establishes a communication channel with the online system with the help of the channel management module (1) to obtain the location information of the online train in real time and simulate it on the station map in shadow mode. At the same time, based on real-time message interaction, it obtains the location information of the train from the online system and updates the display of the train location information on the station map in shadow mode.
12. The train timetable matching method based on shadow pattern according to claim 8, characterized in that, The train manual matching module (5) provides manual management of the association binding and unbinding between actual trains and planned trains; it also provides management functions for temporary train number settings and batch sequential setting functions, which facilitates manual adjustment of train and train number matching operations by operators.
13. The train timetable matching method based on shadow pattern according to claim 8, characterized in that, The train matching management module (6) provides the function of maintaining and managing the matching relationship data of the trains associated with the entire line, and is the data center of the shadow mode; at the same time, it simulates the online trains to run according to the plan, and provides the function of automatically changing the number of the planned trains after automatic matching; it provides the function of tracking the operation of the planned trains and the first train; it provides the function of automatically converting the first train to a train with no matching after it reaches the destination; and it provides the function of automatically converting to a train with no matching after detecting path deviation.
14. The train timetable matching method based on shadow pattern according to claim 8, characterized in that, The train matching linkage module (7) provides the function of importing the actual train and the timetable into the online system with one click by means of the channel management module (1) after the actual train and the timetable are reasonably matched. The timetable creation and train number batch setting are completed by means of the existing functions of the online system.
15. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the program, it implements the method as described in any one of claims 1 to 7.
16. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the method as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Urban rail transit operation simulation system and method
CN105835912A
Autonomous scheduling method and system for train
CN111376954A
Urban rail transit train operation adjustment scheme optimization method and system
CN114312926A
Rail transit operation analysis method and device based on plan timetable and passenger flow data
CN114330996A
Train scheduling method, train scheduling device and medium
CN114987581A