The present invention relates to the field of rail transit emergency response simulation, and in particular to a dynamic parameter calculation method based on a CTC simulation training procedure and an apparatus thereof.
At present, the standard response procedure template established for performing emergency scenario response training for train railway dispatching commanders is mainly static. Stations, equipment, signal status and vehicles that need to be processed are all fixed, and only specific fault procedures can be simulated, lacking universality and versatility.
In the dispatching command scenario, the stations are of different types. In addition, section screen, CTC operation information, equipment information, route information, fault information, train information adjusted in real time on the running chart and train status change at every moment. Therefore, the emergency response procedure should not only be able to relate to specific station equipment and car running information, but also be applicable to various stations and car running scenarios, and therefore can be used a plurality of times. In addition, it is necessary to ensure the independence and high scalability of the edited content in the response procedure, which are lacked in various simulation training projects.
Through retrieval, the Chinese Patent Application CN202011185003.9 discloses a simulation processing method of a CTC simulation system emergency response procedure representation. In this method, the CTC simulation system emergency response procedure representation is divided into a fixed part and a dynamic part, and the specific calculation and update processes of the dynamic part are provided. The fixed part can be used to represent standard operating procedures and terms, and the dynamic part can be used to represent variable information related to specific failure scenarios. This invention resolves the shortcomings of the static procedure, can adapt to the change of the fault position and the number of running trains, and provides the simulation of the emergency response procedure that is closer to the reality use scenario. However, the emergency response procedure established by this invention is not standardized enough, and the applicability is not strong enough. The calculating process of some of dynamic parameters is performed in a single-branch manner, which brings about the defects of parameter accuracy and real-time performance.
An objective of the present invention is to overcome the foregoing defects of the related art, and provide a dynamic parameter calculation method based on a CTC simulation training procedure with strong applicability, high real-time performance, and high accuracy.
The objective of the present invention can be implemented by using the following technical solutions:
According to a first aspect of the present invention, a dynamic parameter calculation method based on a CTC simulation training procedure is provided, including the following steps:
In a preferred technical solution, step 2 includes the following steps:
In a preferred technical solution, step S25 includes the following sub-steps:
In a preferred technical solution, the parameterized multi-branch emergency response procedure template in step 2 includes dynamic-parameter reserved words, calculation branches, one to fifth input parameters, and specific values.
In a preferred technical solution, the dynamic-parameter reserved words include specific train number, equipment, signal status, fault information, and route information; and the dynamic-parameter reserved words are replaced with specific values obtained through dynamic parameter calculation.
In a preferred technical solution, an initial parameter calculation node in step S251 is located in an initial position of the parameterized multi-branch emergency response procedure template, and when the loading is performed at the initial position of the parameterized multi-branch emergency response procedure template, dynamic parameter calculation is started and the dynamic-parameter reserved word is replaced with a specific value.
In a preferred technical solution, the process parameter calculation node in step S255 is located in the parameterized multi-branch emergency response procedure template, and after the parameterized multi-branch emergency response procedure template flows to such step, calculation is triggered and the dynamic-parameter reserved word is replaced with a specific value.
In a preferred technical solution, the parameterized multi-branch emergency response procedure template in step 2 further includes a single-calculation node, a multi-calculation node, and a node terminating a plurality of calculations, and these nodes are specified by parameters thereof, where
In a preferred technical solution, the node terminating a plurality of calculations is a non-essential option, and timing to terminate a plurality of computations is automatically determined by a program.
In a preferred technical solution, the combinatorial computational branching method in step 2 specifically includes: taking a calculation result of a branch as an input parameter of another branch on the condition that a combination relationship between calculation branches exists, and obtaining a final calculation result by performing calculation by a combination of a plurality of branches.
In a preferred technical solution, the calculation terminal in step S25 maintains a calculation queue and a result mapping table, where intermediate results of branch calculations and a final result are all stored in the result mapping table, a specific value of a required parameter is read from the result mapping table when each branch calculation is started, and content in the result mapping table is updated after the branch calculations.
According to a second aspect of the present invention, an apparatus for the dynamic parameter calculation method based on a CTC simulation training procedure is provided, including:
According to a third aspect of the present invention, an electronic device is provided, including a memory and a processor, where a computer program is stored on the memory, and when executing the program, the processor performs the method described above.
According to a fourth aspect of the present invention, a computer readable storage medium is provided, storing a computer program, where when executing the program, the processor performs the method described above.
Compared with the related art, the present invention has the following advantages.
The technical solutions of the embodiments of the present invention are clearly described below with reference to the accompanying drawings in the present invention. Apparently, the described embodiments are some rather than all of the embodiments of the present invention. All other embodiments obtained by a person of ordinary skill in the art on the basis of the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
In the present invention, a dynamic parameter calculation method based on a CTC simulation training procedure is provided, including the following steps:
Step S1 of establishing the parameterized multi-branch emergency response procedure template specifically includes the following steps:
Step S12 specifically includes the following steps:
Step S2 of performing the dynamic parameter calculation and substitution on CTC data by using the combinatorial computational branching method specifically includes the following steps:
Step S25 specifically includes the following steps:
The combinatorial computational branching method includes the following steps:
The present invention is described in detail below with reference to the drawings.
In each periodic calculation, steps S22 to S26 are repeated, and in S21, the emergency response procedure flows to a calculation node to trigger calculation.
The above describes the method embodiments, and the solutions of the present invention are further described below through the apparatus embodiments.
In the present invention, an apparatus for the dynamic parameter calculation method based on a CTC simulation training procedure is provided, and includes:
Those skilled in the art can clearly understand that, for the convenience and brevity of the description, and for the specific operation process of the described modules, reference may be made to the corresponding processes in the foregoing method embodiments. Details are not described herein.
The electronic device of the present invention includes a central processing unit (CPU) that can perform various proper actions and processing according to computer program instructions in read-only memory (ROM) or computer program instructions loaded from a storage unit into 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. Input/output (I/O) interfaces are also connected to the bus.
Various components in the device are connected to the I/O interfaces, including: input units such as a keyboard and a mouse; output units such as various types of displays and speakers; storage units such as a magnetic disk and an optical disk; and communication units such as a network card, a modem, and a wireless communication transceiver. 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.
The processing unit executes the various steps of the foregoing method, for example, steps S1 and S2. For example, in some embodiments, steps S1 and S2 may be implemented as a computer software program tangibly embodied on a machine-readable medium such as a storage unit. In some embodiments, some or all of the computer programs may be loaded and/or installed on the device by using the ROM and/or the communication unit. When the computer program is loaded into the RAM and executed by the CPU, one or more sub-steps of steps S1 and S2 may be performed. Alternatively, in other embodiments, the CPU may be configured to perform steps S1 and S2 in any other suitable manner (for example, by means of firmware).
The functions described herein above may be performed, at least partly, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), an application specific standard product (ASSP), a system on chip (SOC), a complex programmable logic device (CPLD), and the like.
Program code for implementing the method of the present invention may be written in any combination of one or more programming languages. These program code may be provided for a processor or controller of a general purpose computer, a special purpose computer, or other programmable data processing apparatus, such that the program code, when executed by a processor or controller, causes the functions/operations specified in the flowcharts and/or block diagrams to be carried out. The program code may be executed on a machine entirely or partly, partly on the machine and partly on a remote machine when being an independent software package, or entirely on the remote machine or a server.
In the context of the present invention, a machine-readable medium may be a tangible medium that may include or store a program for use by or in connection to an instruction execution system, an apparatus, or a device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable media may include, but are not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, an apparatus, or a device, or any suitable combination of the foregoing. More specific examples of machine-readable storage media would include one or more wire-based electrical connections, a portable computer disk, a hard disk, a random-access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The above descriptions are only specific implementations of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of various equivalents within the technical scope disclosed by the present invention. Modifications or substitutions should be included within the protection scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.
Number | Date | Country | Kind |
---|---|---|---|
202110863864.6 | Jul 2021 | CN | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2021/119525 | 9/22/2021 | WO |