Automatic train layout method and device for rail transit signal simulation training system

By accessing the database, analyzing the running diagram data and generating batch commands in the rail transit signal simulation training system, the problem that the existing system cannot automatically deploy the vehicle according to the diagram is solved, and the efficient and flexible automatic delivery function is realized.

CN114331768BActive Publication Date: 2025-06-17CASCO SIGNAL LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111458786.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-02
Publication Date
2025-06-17
Estimated Expiration
2041-12-02

AI Technical Summary

Technical Problem

The existing rail transit signal simulation training system cannot automatically arrange the car according to the diagram at any time according to any plan, and cannot adapt to the changes in the operation diagram and the usage time, resulting in cumbersome use and poor flexibility and versatility.

Method used

By accessing the signal simulation training system database, read the data of the planned operation chart of the day and form a list of trains to be managed through analysis. Then, batch commands are generated based on the position and status of the train, and these commands are loaded and executed through the open interface to automatically arrange the train according to the drawing.

Benefits of technology

It realizes automatic layout of the vehicle according to the diagram under any planned operation diagram and any time conditions, improves the operation efficiency and flexibility of the simulation system, and meets the future launch layout needs of the kui truck.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114331768B_ABST
    Figure CN114331768B_ABST
Patent Text Reader

Abstract

The present invention relates to an automatic train layout method and device for a rail transit signal simulation training system. The method includes the following steps: Step 1: Access the database of the signal simulation training system and read the planned operation diagram data for the current day; Step 2: Determine whether the planned operation diagram data for the current day is valid. If it is valid, execute Step 3; if it is not valid, end the execution process; Step 3: Analyze the planned operation diagram data for the current day to form a list of trains to be managed; Step 4: Query the list of trains to be managed and determine in sequence whether the next valid train information can be obtained from the list. If it can, execute Step 5; otherwise, execute Step 11; Step 5: According to the next valid train information obtained, determine whether the current location of the train is on the main line platform. If it is on the main line platform, execute Step 6, etc. Compared with the prior art, the present invention has the advantages of high execution efficiency, flexibility and generality, etc.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a train signal control system, in particular to an automatic train layout method and device for a rail transit signal simulation training system. Background Art

[0002] Signal system simulation training is very important for rail transit operation managers and system design and development personnel.

[0003] There are five main business application scenarios for simulation training: (1) After completing the development of new functional requirements, design and development personnel use the simulation training system to test and verify the results. (2) Operation management personnel use the simulation training system to conduct on-the-job training for new dispatching employees. (3) Operation management personnel use the simulation training system to conduct qualification assessment for on-the-job dispatching personnel. (4) Operation management personnel use the simulation training system to review real scenarios in on-site operations, thereby conducting problem analysis and discussion on the reviewed scenarios, or dispatching personnel conduct operational handling drills on the reviewed scenarios. (5) Operation management personnel pre-verify and evaluate the system upgrade plan in the simulation training system, and consider on-site upgrades after the verification and evaluation pass.

[0004] The core of the signal system is to control train operation, and all of these application scenarios involve train operation according to the schedule. When using the signal simulation training system to operate trains according to the schedule, operation managers and system design and development personnel usually use several train arrangement methods according to the schedule and the corresponding problems are as follows: (1) According to the train operation diagram, trains are added one by one manually and set as scheduled trains; this method of adding trains is labor-intensive, inefficient, and prone to serious problems of early and late arrivals. (2) Prepare batch train addition commands in advance, and then manually set them as scheduled trains according to the operation diagram; this method of adding trains requires frequent adjustment of batch commands because the batch commands prepared in advance cannot adapt to changes in the operation diagram and changes in usage time. It is cumbersome to use and requires manual setting of scheduled train operations, which is labor-intensive. (3) Prepare batch train addition and set-up scheduled train commands in advance to match specific operation diagrams and specific times; this method cannot adapt to scenarios where the operation diagram changes and usage time changes, and has poor flexibility and versatility.

[0005] On the basis of the existing rail transit signal simulation training system architecture, how to realize automatic vehicle deployment according to any planned operation diagram at any time in real time, and meet the needs of future online deployment of outbound vehicles, so as to make the vehicle deployment operation more efficient, flexible and universal, is a technical problem that needs to be urgently solved in the current rail transit signal simulation training system. Summary of the invention

[0006] The object of the present invention is to provide an automatic train layout method and device for a rail transit signal simulation training system with high execution efficiency, flexibility and generality, so as to overcome the defects of the above-mentioned existing technologies.

[0007] The object of the present invention can be achieved by the following technical solutions:

[0008] According to the first aspect of the present invention, there is provided an automatic train layout method for a rail transit signal simulation training system, the method comprising the following steps:

[0009] Step 1: Access the database of the signal simulation training system, read the planned operation diagram data of the current day, and then execute Step 2;

[0010] Step 2: Determine whether the planned operation diagram data of the current day is valid. If it is valid, execute Step 3; if it is not valid, end the execution process;

[0011] Step 3: Analyze the planned operation diagram data of the current day to form a list of trains to be managed, and then execute Step 4;

[0012] Step 4: Query the list of trains to be managed, and sequentially determine whether the next valid train information can be obtained from the list. If it can, execute Step 5; otherwise, execute Step 11;

[0013] Step 5: According to the obtained next valid train information, determine whether the current position of the train is on the main line platform. If it is on the main line platform, execute Step 6; otherwise, execute Step 7;

[0014] Step 6: In the scenario where the current position of the train is on the main line platform, generate a batch processing command for the train, and then return to Step 4;

[0015] Step 7: According to the obtained next valid train information, determine whether the current position of the train is in the section. If it is in the section, execute Step 8; otherwise, execute Step 9;

[0016] Step 8: In the scenario where the current position of the train is running in the section, generate a batch processing command for the train, and then return to Step 4;

[0017] Step 9: According to the obtained next valid train information, determine whether the train has not yet left the depot for operation. If it has not yet left the depot, execute Step 10; otherwise, return to Step 4;

[0018] Step 10: In the scenario where the train has not yet left the depot for operation, generate a batch processing command for the train, and then return to Step 4;

[0019] Step 11: Load the batch command files generated in Steps 6, 8, and 10 and perform polling detection. When the commands meet the execution conditions, execute them immediately. After all commands are executed, end the execution process.

[0020] As a preferred technical solution, Step 3 is specifically as follows:

[0021] According to the current call execution time, analyze the planned operation diagram data for the current day, obtain all train information that is online at the current time and until the end of operation from the planned operation diagram data, and form a train list to be managed in units of service numbers or table numbers.

[0022] As a preferred technical solution, the batch commands in Step 6 are batch commands for the first simulation of adding trains, the first setting of planned trains, and the first deletion of trains when they return to the depot.

[0023] As a preferred technical solution, the first simulation of adding trains command is defined as simulating the addition of trains on the main line platform where the train is currently located. The first setting of planned trains command sets the planned operation tasks for the train according to the operation plan for the current day. The first deletion of trains when they return to the depot batch command deletes the train from the system after detecting that the train has completed the full-day operation task.

[0024] As a preferred technical solution, there are sequence requirements for the execution of the three batch commands of the first simulation of adding trains, the first setting of planned trains, and the first deletion of trains when they return to the depot.

[0025] As a preferred technical solution, the execution of the first simulation of adding trains command has no preconditions and is executed immediately when called. The first simulation of adding trains command is the pre-order command of the first setting of planned trains command. After detecting that the first simulation of adding trains command is executed successfully, the first setting of planned trains command is executed immediately. The first setting of planned trains command is the pre-order command of the first deletion of trains when they return to the depot command. After detecting that the train has reached the off-line return-to-depot transition track and the first setting of planned trains command is in the execution success state, the first deletion of trains when they return to the depot command is executed immediately.

[0026] As a preferred technical solution, the batch commands in Step 8 are batch commands for the second simulation of adding trains, the second setting of planned trains, and the second deletion of trains when they return to the depot.

[0027] As a preferred technical solution, the second simulation of adding trains command is defined as simulating the addition of trains on the next platform to be reached by the train. The execution time of the second simulation of adding trains command is the planned time to reach the next platform to be reached. The second setting of planned trains command sets the planned operation tasks for the train according to the operation plan for the current day. The second deletion of trains when they return to the depot command deletes the train from the system after detecting that the train has completed the full-day operation task.

[0028] As a preferred technical solution, the execution of the three batch processing commands of the second simulation of adding a car, the second setting of a planned car, and the second return to the warehouse to delete a car has a sequential requirement.

[0029] As a preferred technical solution, the second simulation car-adding command has no preceding command and is executed according to the execution time defined in the command; the second simulation car-adding command is a preceding command of the second plan-adding command, and after detecting that the second simulation car-adding command is successfully executed, the second plan-adding command is executed immediately; the second plan-adding command is a preceding command of the second return-to-depot car-deleting command, and after detecting that the train has arrived at the offline return-to-depot switching rail and the second plan-adding command is in a successful execution state, the second return-to-depot car-deleting command is executed immediately.

[0030] As a preferred technical solution, the batch processing commands in step 10 are batch processing commands for the third simulation of adding a vehicle, the third setting of a planned vehicle, and the third return to the warehouse to delete a vehicle.

[0031] As a preferred technical solution, the third simulation car-adding command is defined as the simulation of adding a car to the train on the small platform of the on-line transfer track, and the execution time of the third simulation car-adding command is the planned time of arrival at the small platform of the on-line transfer track; the third setting planned car command sets the planned operation task for the train according to the operation plan for the day, and the third return to the depot to delete the car command deletes the car from the system after detecting that the train has completed the full-day operation task.

[0032] As a preferred technical solution, the execution of the three batch processing commands of the third simulation of adding a car, the third setting of a planned car, and the third returning to the warehouse to delete a car has a sequential requirement.

[0033] As a preferred technical solution, the third simulation car-adding command has no preceding command and is executed according to the execution time defined in the command; the third simulation car-adding command is a preceding command of the third plan-setting car command, and after detecting that the third simulation car-adding command is successfully executed, the third plan-setting car command is executed immediately; the third plan-setting car command is a preceding command of the third return-to-depot car-deleting command, and after detecting that the train has arrived at the offline return-to-depot switching rail and the third plan-setting car command is in a successful execution state, the third return-to-depot car-deleting command is executed immediately.

[0034] As a preferred technical solution, the method is implemented by plugging into an existing signal simulation training system and transmitting batch processing vehicle deployment commands through an open interface.

[0035] As a preferred technical solution, this method is applicable to any planned operation diagram.

[0036] As an optimal technical solution, the method can meet the automatic arrangement of trains running online at the current time, and can also arrange trains that will leave the depot in the future according to the planned time.

[0037] According to a second aspect of the present invention, there is provided an automatic train layout device for a rail transit signal simulation training system, the device comprising:

[0038] An operation diagram data acquisition module, configured to read the planned operation diagram data of the day by accessing the signal simulation training system database;

[0039] An operation diagram data validity judgment module, configured to judge whether the planned operation diagram data of the day is valid;

[0040] A train list generation module, configured to analyze the planned operation diagram data of the day to form a train list to be managed;

[0041] A valid train information acquisition module, configured to query the train list to be managed and judge whether the next valid train information can be obtained from the list in sequence;

[0042] A first train position judgment module, configured to judge whether the current position of the train is on the main line platform according to the next valid train information obtained;

[0043] A first batch of processing command generation module, configured to generate a batch processing command for the train in the scenario where the current position of the train is on the main line platform;

[0044] A second train position judgment module, configured to judge whether the current position of the train is in the section according to the next valid train information obtained;

[0045] A second batch of processing command generation module, configured to generate a batch processing command for the train in the scenario where the current position of the train is running in the section;

[0046] A third train position judgment module, configured to judge whether the train has not yet left the depot for operation according to the next valid train information obtained;

[0047] A third batch of processing command generation module, configured to generate a batch processing command for the train in the scenario where the train has not yet left the depot for operation;

[0048] A command execution module, configured to load the generated batch processing command file and poll for detection, and execute immediately when the command meets the execution conditions.

[0049] According to a third aspect of the present invention, there is provided an electronic device, comprising a memory and a processor, wherein a computer program is stored on the memory, and when the processor executes the program, the method as described above is implemented.

[0050] According to a fourth aspect of the present invention, there is provided a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the method as described above is implemented.

[0051] Compared with the prior art, the present invention has the following advantages:

[0052] 1. The present invention proposes and designs for the first time a method for automatically arranging vehicles according to the diagram by referring to the planned operation diagram of the day in real time according to the needs of simulation operation, and loading and executing the batch commands, thereby overcoming the defect in the prior art that automatic arrangement of vehicles according to the diagram cannot be performed in real time and at any time.

[0053] 2. The automatic vehicle layout method designed by the present invention can be implemented by plugging into an existing signal simulation training system and transmitting batch processing vehicle layout commands through an open interface. The existing signal simulation training system is minimally modified, the system architecture remains unchanged, and the impact on the existing system is small, which is convenient for promotion and application.

[0054] 3. The automatic vehicle arrangement method designed by the present invention can be applied to any planned operation diagram to meet the needs of changes in the planned operation diagram and has strong versatility.

[0055] 4. The automatic train arrangement method designed by the present invention can not only meet the automatic arrangement of trains running online at the current time, but also arrange trains that will leave the depot in the future according to the planned time, and has the ability to arrange trains according to the planned operation diagram throughout the entire operation day.

[0056] 5. The automatic method of arranging vehicles according to the diagram designed by the present invention replaces the traditional method of manually adding vehicles according to the diagram, making the simulation system run more efficiently and flexibly. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] Figure 1 It is a specific flow chart of the present invention. DETAILED DESCRIPTION

[0058] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0059] like Figure 1 As shown, a method for automatically arranging vehicles according to a diagram in a rail transit signal simulation training system comprises the following steps:

[0060] Step 1: Use the authorized user name and password to access the signal simulation training system database, and read the planned operation diagram data for the day from the database according to the operation date of the day, such as September 1, 2021. Then proceed to step 2.

[0061] Step 2: Determine whether the planned operation diagram data for the current day is valid. For example, check whether the planned operation diagram for the current day exists and whether the content of the planned operation diagram table is empty. If it is valid, proceed to Step 3; if it is invalid, end the execution and exit the automatic train layout processing flow according to the diagram.

[0062] Step 3: Analyze the planned operation diagram data for the current day. Based on the current call execution time, such as 8:58:58 on September 1, 2021, obtain all train information that is currently running online and until the end of operation from the planned operation diagram data. Form a list of trains to be managed in units of train service numbers / table numbers. Then proceed to Step 4.

[0063] Step 4: Query the list of trains to be managed. In sequential order, check whether the next valid train information can be obtained from the list. If the next valid train information can be obtained, it indicates that there are still trains that need to be automatically arranged, so proceed to Step 5; if no valid train information can be obtained, it means that corresponding batch processing commands for all trains that need to be automatically arranged have been generated, so proceed to Step 11.

[0064] Step 5: Based on the next train information obtained, determine whether the current position of the train is on the platform of the main line, that is, judge whether the current position of the train is on the platform of the main line station according to the planned operation diagram data for the current day. When adding trains in simulation, it is also arranged and added on the platform track. If it is on the platform of the main line, proceed to Step 6; if it is not on the platform of the main line, proceed to Step 7.

[0065] Step 6: In the scenario where the current position of the train is on the platform of the main line, generate batch processing commands for simulating adding the train, setting the planned train, and deleting the train when returning to the depot, and output the batch processing commands to the specified batch processing file. Then proceed to Step 4.

[0066] Step 7: Based on the next train information obtained, determine whether the current position of the train is in the section, that is, judge whether the current position of the train is within the main line section according to the planned operation diagram data for the current day. If it is in the section, proceed to Step 8; if it is not in the section, proceed to Step 9.

[0067] Step 8: In the scenario where the current position of the train is running in the section, generate batch processing commands for simulating adding the train, setting the planned train, and deleting the train when returning to the depot, and output the batch processing commands to the specified batch processing file. Then proceed to Step 4.

[0068] Step 9: Based on the next train information obtained, determine whether the train is currently in the state of not having left the depot, that is, judge whether the train has not yet started running according to the planned operation diagram data for the current day. If it has not yet left the depot, proceed to Step 10; otherwise, proceed to Step 4.

[0069] Step 10: Based on the scenario that the current train has not left the depot for operation, generate batch processing commands for simulation train addition, planned train setting, and train deletion upon return to the depot for this train, and output the batch processing commands to a specified batch file. Then, execute Step 4.

[0070] Step 11: For all trains that need to be arranged from the current time until the end of operation in the current day's planned operation diagram, the corresponding batch processing commands for train arrangement have been generated, namely the batch processing command files generated in Step 6, Step 8, and Step 10; the system loads this batch processing file and polls to detect whether each command meets the execution conditions. The conditions for a command to meet the execution requirements mainly include: whether the previous command has been executed, whether the execution time of the command has arrived, whether the equipment status required for command execution is satisfied, etc. When the command meets the execution conditions, it is immediately executed. After all commands have been executed, all automatic train arrangement tasks according to the diagram are completed, and the execution process ends.

[0071] In Step 6, based on the scenario that the current train is at the main line platform, generate batch processing commands for simulation train addition, planned train setting, and train deletion upon return to the depot for this train. The simulation train addition command defines the simulation train addition for this train on the current main line platform, and information such as the car body number and platform track for train addition needs to be provided; the planned train setting command sets the planned operation task for this train according to the day's operation plan, and information such as the car body number, planned train number, and previous command of this train needs to be provided; the train deletion upon return to the depot command deletes this train from the system after detecting that this train has completed the full-day operation task, and information such as the car body number, train number upon return to the depot, transfer track upon return to the depot, and previous command of this train needs to be provided. There are sequence requirements for the execution of the three batch processing commands of "simulation train addition, planned train setting, and train deletion upon return to the depot". The execution of the simulation train addition command has no preconditions and is immediately executed when called; the simulation train addition command is the previous command of the planned train setting command. After detecting that the simulation train addition command has been successfully executed, the planned train setting command is immediately executed; the planned train setting command is the previous command of the train deletion upon return to the depot command. After detecting that the train has reached the transfer track for going offline and returning to the depot and the planned train setting command is in the state of successful execution, the train deletion upon return to the depot command is immediately executed.

[0072] In step 8, based on the scenario that the current train is running in the section, batch processing commands for simulating adding cars, setting scheduled cars, and deleting cars when returning to the depot for the train are generated. The simulating adding cars command defines that cars are simulated to be added on the next platform that the train is about to reach. The execution time of the simulating adding cars command is the scheduled time to reach the next platform. Information such as the car group number to be used for adding cars, the track of the next platform, and the scheduled time to reach the track of the next platform needs to be provided; the setting scheduled cars command sets the scheduled operation task for the train according to the operation plan of the day. Information such as the car group number of the train, the scheduled train number, and the previous command needs to be provided; the deleting cars when returning to the depot command deletes the train from the system after detecting that the train has completed the full-day operation task. Information such as the car group number of the train, the train number when returning to the depot, the conversion track when returning to the depot, and the previous command needs to be provided. There are sequence requirements for the execution of the three batch processing commands of "simulating adding cars, setting scheduled cars, and deleting cars when returning to the depot". The simulating adding cars command has no previous command and is executed according to the execution time defined in the command; the simulating adding cars command is the previous command of the setting scheduled cars command. After detecting that the simulating adding cars command is executed successfully, the setting scheduled cars command is immediately executed; the setting scheduled cars command is the previous command of the deleting cars when returning to the depot command. After detecting that the train has reached the offline conversion track when returning to the depot and the setting scheduled cars command is in the state of successful execution, the deleting cars when returning to the depot command is immediately executed.

[0073] In step 10, based on the scenario that the current train has not yet left the depot for operation, batch processing commands for simulating adding cars, setting scheduled cars, and deleting cars when returning to the depot for the train are generated. The simulating adding cars command defines that cars are simulated to be added on the small platform of the online conversion track. The execution time of the simulating adding cars command is the scheduled time to reach the small platform of the online conversion track. Information such as the car group number to be used for adding cars, the online conversion track, and the scheduled time to reach the online conversion track needs to be provided; the setting scheduled cars command sets the scheduled operation task for the train according to the operation plan of the day. Information such as the car group number of the train, the scheduled train number, and the previous command needs to be provided; the deleting cars when returning to the depot command deletes the train from the system after detecting that the train has completed the full-day operation task. Information such as the car group number of the train, the train number when returning to the depot, the conversion track when returning to the depot, and the previous command needs to be provided. There are sequence requirements for the execution of the three batch processing commands of "simulating adding cars, setting scheduled cars, and deleting cars when returning to the depot". The simulating adding cars command has no previous command and is executed according to the execution time defined in the command; the simulating adding cars command is the previous command of the setting scheduled cars command. After detecting that the simulating adding cars command is executed successfully, the setting scheduled cars command is immediately executed; the setting scheduled cars command is the previous command of the deleting cars when returning to the depot command. After detecting that the train has reached the offline conversion track when returning to the depot and the setting scheduled cars command is in the state of successful execution, the deleting cars when returning to the depot command is immediately executed.

[0074] The above is the introduction of the method embodiment. Next, the solution of the present invention will be further described through the device embodiment.

[0075] The automatic train layout device for the rail transit signal simulation training system of the present invention includes:

[0076] A train operation diagram data acquisition module, which is used to read the planned train operation diagram data of the day by accessing the signal simulation training system database;

[0077] A train operation diagram data validity judgment module, which is used to judge whether the planned train operation diagram data of the day is valid;

[0078] A train list generation module, which is used to form a train list to be managed by analyzing the planned train operation diagram data of the day;

[0079] A valid train information acquisition module, which is used to query the train list to be managed and judge whether the next valid train information can be obtained from the list in sequence;

[0080] A first train position judgment module, which is used to judge whether the current position of the train is on the platform of the main line according to the next valid train information obtained;

[0081] A first batch of processing command generation modules, which is used to generate the batch processing commands of the train in the scenario where the current position of the train is on the platform of the main line;

[0082] A second train position judgment module, which is used to judge whether the current position of the train is in the section according to the next valid train information obtained;

[0083] A second batch of processing command generation modules, which is used to generate the batch processing commands of the train in the scenario where the current position of the train is running in the section;

[0084] A third train position judgment module, which is used to judge whether the train has not left the depot for operation according to the next valid train information obtained;

[0085] A third batch of processing command generation modules, which is used to generate the batch processing commands of the train in the scenario where the train has not left the depot for operation;

[0086] A command execution module, which is used to load the generated batch processing command file and poll for detection, and execute immediately when the command meets the execution conditions.

[0087] Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working process of the described modules can refer to the corresponding process in the foregoing method embodiments, and will not be elaborated here.

[0088] The electronic device of the present invention includes 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 computer program instructions loaded from a storage unit into a random access memory (RAM). In the RAM, various programs and data required for device operation can also be stored. The CPU, ROM, and RAM are connected to each other via a bus. An input / output (I / O) interface is also connected to the bus.

[0089] Multiple components in the device are connected to the I / O interface, including: an input unit, such as a keyboard, a mouse, etc.; an output unit, such as various types of displays, speakers, etc.; a storage unit, such as a magnetic disk, an optical disc, etc.; and a communication unit, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit allows the device to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0090] The processing unit executes the various methods and processes described above, such as method steps 1 to 11. For example, in some embodiments, method steps 1 to 11 can be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit. In some embodiments, part or all of the computer program can be loaded and / or installed onto the device via the ROM and / or the communication unit. When the computer program is loaded into the RAM and executed by the CPU, one or more of the method steps 1 to 11 described above can be executed. Alternatively, in other embodiments, the CPU can be configured to execute method steps 1 to 11 by any other suitable means (e.g., by means of firmware).

[0091] The functions described above herein can be performed at least in part by one or more hardware logic components. For example, by way of non-limitation, exemplary types of hardware logic components that can be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), system on chips (SOCs), complex programmable logic devices (CPLDs), and so on.

[0092] The program code for implementing the method of the present invention can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing devices, such that when the program codes are executed by the processor or controller, the functions / operations specified in the flowchart and / or block diagram are implemented. The program codes can be executed entirely on the machine, partially on the machine, executed partially on the machine as an independent software package and partially on a remote machine, or executed entirely on a remote machine or server.

[0093] In the context of the present invention, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium can include, but is 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 the machine-readable storage medium would 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 fiber, portable compact disc read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0094] As described above, the above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present invention can easily think of various equivalent modifications or substitutions, and these modifications or substitutions should all be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims

1. An automatic train layout method for a rail transit signal simulation training system, characterized in that, The method includes the following steps: Step 1: Access the database of the signal simulation training system, read the data of the planned operation diagram for the current day, and then execute Step 2; Step 2: Judge whether the data of the planned operation diagram for the current day is valid. If it is valid, execute Step 3; if it is invalid, end the execution process; Step 3: Analyze the data of the planned operation diagram for the current day to form a list of trains to be managed, and then execute Step 4; Step 4: Query the list of trains to be managed, and judge in sequence whether the next valid train information can be obtained from the list. If it can, execute Step 5; otherwise, execute Step 11; Step 5: According to the next valid train information obtained, judge whether the current position of the train is on the main line platform. If it is on the main line platform, execute Step 6; otherwise, execute Step 7; Step 6: In the scenario where the current train is located on the main line platform, generate the batch processing command for this train, and then return to Step 4; Step 7: According to the next valid train information obtained, judge whether the current position of the train is in the section. If it is in the section, execute Step 8; otherwise, execute Step 9; Step 8: In the scenario where the current train is running in the section, generate the batch processing command for this train, and then return to Step 4; Step 9: According to the next valid train information obtained, judge whether the train has not left the depot yet. If it has not left the depot yet, execute Step 10; otherwise, return to Step 4; Step 10: In the scenario where the current train has not left the depot yet, generate the batch processing command for this train, and then return to Step 4; Step 11: Load the batch processing command files generated in Step 6, Step 8, and Step 10 and poll for detection. When the commands meet the execution conditions, execute them immediately. After all the commands are executed, end the execution process; The batch processing commands in Step 6 are the batch processing commands for the first simulation train addition, the first planned train setting, and the first train deletion upon returning to the depot; the first simulation train addition command is defined as simulating the addition of a train on the main line platform where the train is currently located. The first planned train setting command sets the planned operation tasks for the train according to the operation plan for the current day. The first train deletion upon returning to the depot batch processing command deletes the train from the system after detecting that the train has completed the full-day operation tasks; The batch processing commands in Step 8 are the batch processing commands for the second simulation train addition, the second planned train setting, and the second train deletion upon returning to the depot; the second simulation train addition command is defined as simulating the addition of a train on the next platform to be reached by the train. The execution time of the second simulation train addition command is the planned time to reach the next platform to be reached. The second planned train setting command sets the planned operation tasks for the train according to the operation plan for the current day. The second train deletion upon returning to the depot command deletes the train from the system after detecting that the train has completed the full-day operation tasks; The batch commands in step 10 are batch commands for the third simulation train addition, the third planned train setting, and the third train deletion upon returning to the depot; the third simulation train addition command is defined as the simulation train addition for this train on the small platform of the on-line transfer track, and the execution time of the third simulation train addition command is the planned time to reach the small platform of the on-line transfer track; the third planned train setting command sets the planned operation tasks for this train according to the operation plan of the day, and the third train deletion upon returning to the depot command deletes this train from the system after detecting that this train has completed the full-day operation tasks.

2. The automatic train layout method for a rail transit signal simulation training system according to claim 1, characterized in that, Step 3 specifically is: According to the current call execution time, analyze the operation plan data of the day, obtain all train information that is on-line at the current time and until the end of operation from the operation plan data, and form a train list to be managed in units of service numbers or table numbers.

3. The automatic train layout method for a rail transit signal simulation training system according to claim 1, characterized in that, There are sequence requirements for the execution of the three batch commands of the first simulation train addition, the first planned train setting, and the first train deletion upon returning to the depot.

4. The automatic train layout method for a rail transit signal simulation training system according to claim 3, characterized in that, The execution of the first simulation train addition command has no preconditions and is executed immediately when called; the first simulation train addition command is the pre-order command of the first planned train setting command, and after detecting that the first simulation train addition command is executed successfully, the first planned train setting command is executed immediately; the first planned train setting command is the pre-order command of the first train deletion upon returning to the depot command, and after detecting that the train has reached the off-line return depot transfer track and the first planned train setting command is in the successful execution state, the first train deletion upon returning to the depot command is executed immediately.

5. The automatic train layout method for a rail transit signal simulation training system according to claim 1, characterized in that, There are sequence requirements for the execution of the three batch commands of the second simulation train addition, the second planned train setting, and the second train deletion upon returning to the depot.

6. The automatic train layout method for a rail transit signal simulation training system according to claim 1, characterized in that, The second simulation train addition command has no pre-order command and is executed according to the execution time defined in the command; the second simulation train addition command is the pre-order command of the second planned train setting command, and after detecting that the second simulation train addition command is executed successfully, the second planned train setting command is executed immediately; the second planned train setting command is the pre-order command of the second train deletion upon returning to the depot command, and after detecting that the train has reached the off-line return depot transfer track and the second planned train setting command is in the successful execution state, the second train deletion upon returning to the depot command is executed immediately.

7. The automatic train layout method for a rail transit signal simulation training system according to claim 1, characterized in that, There are sequence requirements for the execution of the three batch commands of the third simulation train addition, the third planned train setting, and the third train deletion upon returning to the depot.

8. The automatic train layout method for a rail transit signal simulation training system according to claim 7, characterized in that, The third simulation train addition command has no pre-order command and is executed according to the execution time defined in the command; the third simulation train addition command is the pre-order command of the third planned train setting command, and after detecting that the third simulation train addition command is executed successfully, the third planned train setting command is executed immediately; the third planned train setting command is the pre-order command of the third train deletion upon returning to the depot command, and after detecting that the train has reached the off-line return depot transfer track and the third planned train setting command is in the successful execution state, the third train deletion upon returning to the depot command is executed immediately.

9. The automatic train layout method for a rail transit signal simulation training system according to claim 1, characterized in that, This method is implemented by being externally attached to the existing signal simulation training system and transmitting batch train arrangement commands through an open interface.

10. An automatic train layout method for a rail transit signal simulation training system according to claim 1, characterized in that, This method is applicable to any operation plan.

11. An automatic train layout method for a rail transit signal simulation training system according to claim 1, characterized in that, This method can meet the automatic arrangement of trains that are on-line at the current time, and can also arrange trains that will be out of the depot in the future according to the planned time.

12. An automatic train layout device for a rail transit signal simulation training system, characterized in that, The device includes: The operation diagram data acquisition module is used to read the planned operation diagram data of the day by accessing the signal simulation training system database; The operation diagram data validity judgment module is used to judge whether the planned operation diagram data of the day is valid; The train list generation module is used to form a train list to be managed by analyzing the planned operation diagram data of the day; The valid train information acquisition module is used to query the train list to be managed and judge whether the next valid train information can be obtained from the list in sequence; The first train position judgment module is used to judge whether the current position of the train is on the main line platform according to the next valid train information obtained; The first batch of processing command generation module is used to generate the batch processing commands for the train in the scenario where the current position of the train is on the main line platform; The second train position judgment module is used to judge whether the current position of the train is in the section according to the next valid train information obtained; The second batch of processing command generation module is used to generate the batch processing commands for the train in the scenario where the current position of the train is running in the section; The third train position judgment module is used to judge whether the train has not yet left the depot for operation according to the next valid train information obtained; The third batch of processing command generation module is used to generate the batch processing commands for the train in the scenario where the train has not yet left the depot for operation; The command execution module is used to load the generated batch processing command file and poll for detection, and execute immediately when the command meets the execution conditions; The batch processing commands generated by the first batch of processing command generation module are the batch processing commands for the first simulation train addition, the first planned train setting, and the first train deletion upon returning to the depot; the first simulation train addition command is defined as simulating the addition of a train on the main line platform where the train is currently located, the first planned train setting command sets the planned operation task for the train according to the operation plan of the day, and the first train deletion upon returning to the depot batch processing command deletes the train from the system after detecting that the train has completed the full-day operation task; The batch processing commands generated by the second batch of processing command generation module are the batch processing commands for the second simulation train addition, the second planned train setting, and the second train deletion upon returning to the depot; the second simulation train addition command is defined as simulating the addition of a train on the next platform to be reached by the train, and the execution time of the second simulation train addition command is the planned time to reach the next platform to be reached; the second planned train setting command sets the planned operation task for the train according to the operation plan of the day, and the second train deletion upon returning to the depot command deletes the train from the system after detecting that the train has completed the full-day operation task; The batch processing commands generated by the third batch of processing command generation module are the batch processing commands for the third simulation train addition, the third planned train setting, and the third train deletion upon returning to the depot; the third simulation train addition command is defined as simulating the addition of a train on the small platform of the on-line transfer track, and the execution time of the third simulation train addition command is the planned time to reach the small platform of the on-line transfer track; the third planned train setting command sets the planned operation task for the train according to the operation plan of the day, and the third train deletion upon returning to the depot command deletes the train from the system after detecting that the train has completed the full-day operation task.

13. An electronic device, including a memory and a processor, with a computer program stored on the memory, characterized in that, When the processor executes the program, the method described in any one of claims 1 to 11 is implemented.

14. A computer-readable storage medium, with a computer program stored thereon, characterized in that, When the program is executed by the processor, the method described in any one of claims 1 to 11 is implemented.

Citation Information

Patent Citations

  • Track traffic simulation system

    CN103745624A

  • General simulation method and system for rail transit signal system

    CN103926843A