Interlocking simulation system and interlocking simulation system application method
By introducing logic simulation software and API files into the interlocking system, the same real-mode functions as hardware are realized, and the problem of low efficiency in the development and testing of signal equipment in the interlocking system is solved, cost is reduced and work efficiency is improved, and the needs of signal equipment are met.
Patent Information
- Application Number
- CN202310362885.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-06
- Publication Date
- 2025-09-02
- Estimated Expiration
- 2043-04-06
AI Technical Summary
In the prior art, the development and testing of interlocking system signal equipment is low, the cost is high, and the hardware system construction cost is high, which affects the work efficiency.
It provides an interlocking simulation system, including logic simulation software and API files, and provides the same real-mode functions as hardware by loading the security platform simulation system under the standard engineering directory structure template, simplifying operations and reducing R&D, production and testing costs.
It reduces R&D, production and testing costs, improves work efficiency, can develop, debug, produce and test in a Windows environment, reduces dependence on hardware, and improves the output and security of signal equipment.
Smart Images

Figure CN116382114B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of rail transportation technology, and in particular relates to an interlocking simulation system and an application method of the interlocking simulation system. Background Art
[0002] With the rapid rise of high-speed rail in China, the demand for CTCS-3 train control systems for transporting freight and passengers is increasing, and routes are becoming increasingly busy. This has led to a growing demand for interlocking system signaling equipment, and the safety requirements for this equipment are becoming increasingly stringent. To meet this high demand for signaling equipment, it is necessary to improve the efficiency of signaling equipment development and testing. However, related technologies mainly rely on hardware systems to achieve efficient signaling equipment development and testing, which is costly and has a certain impact on work efficiency. Summary of the Invention
[0003] The present application aims to solve at least one of the technical problems existing in the prior art. To this end, the present application proposes an interlocking simulation system and an interlocking simulation system application method, which helps to reduce R&D, production and testing costs and improve work efficiency.
[0004] In a first aspect, the present application provides an interlocking simulation system applied to an EI32-JD type computer interlocking system, wherein the EI32-JD type computer interlocking system includes an interlocking machine, a mining machine, and an EI32 safety platform, wherein the EI32 safety platform includes a logic unit and a LAN interface, wherein the logic unit is applied to the interlocking machine; the interlocking simulation system includes:
[0005] Logic unit simulation software and API files, both of which are provided by a safety platform simulation system applied to the EI32-JD computer interlocking system;
[0006] A standard engineering directory structure template is the template of the EI32-JD computer interlocking system itself, and the logic part simulation software and API files are built in the standard engineering directory structure template.
[0007] According to the interlocking simulation system of the present application, the interlocking simulation system applied to the EI32-JD type computer interlocking system is obtained by loading the logic part simulation software and API files provided by the safety platform simulation system under the standard engineering directory structure template. It can provide the same real mode functions as the hardware, is simple and reliable to operate, and does not require additional configuration. It helps to reduce R&D, production and testing costs, and can also improve work efficiency.
[0008] According to one embodiment of the present application, the interlocking simulation system further includes: at least one of a real mode module, a real mode simulation module, and a simulation mode module.
[0009] According to one embodiment of the present application, the real mode module includes:
[0010] a first interlocking simulation module, the first interlocking simulation module being communicatively connected to the mining machine;
[0011] A first LAN communication module, through which the interlocking machine is communicatively connected with the mining machine.
[0012] According to an embodiment of the present application, the interlocking machine includes a first interlocking machine and a second interlocking machine, and the real mode module further includes a first reversing unit module, and the first reversing unit module is communicatively connected to the first interlocking machine and the second interlocking machine respectively.
[0013] According to one embodiment of the present application, the EI32-JD computer interlocking system further includes an operating machine and a maintenance machine;
[0014] The real mode module further includes a first serial communication module, through which the operating machine is respectively connected to the first interlocking machine and the second interlocking machine for communication, and the operating machine is respectively connected to the maintenance machine and the first interlocking simulation module for communication.
[0015] According to one embodiment of the present application, the EI32-JD computer interlocking system further includes an operating machine, and the real mode simulation module includes:
[0016] A second serial communication module, through which the operating machine and the interlocking machine are communicatively connected;
[0017] A second interlocking simulation module is communicatively connected with the operating machine.
[0018] According to one embodiment of the present application, the interlocking machine includes a first interlocking machine and a second interlocking machine, and the real mode simulation module further includes a second reversing unit module, and the second reversing unit module is communicatively connected to the first interlocking machine and the second interlocking machine respectively.
[0019] According to one embodiment of the present application, the real mode simulation module further includes:
[0020] A second LAN communication module is provided, and the first interlocking machine and the second interlocking machine are respectively connected to the second LAN communication module for communication.
[0021] According to one embodiment of the present application, the EI32-JD computer interlocking system further includes an operating machine, the operating machine being communicatively connected to the interlocking machine, and the simulation mode module includes:
[0022] The third serial communication module;
[0023] a third interlocking simulation module, the third interlocking simulation module being communicatively connected to the operating machine via the third serial communication module;
[0024] A third reversing unit module is communicatively connected with the interlocking machine.
[0025] In a second aspect, the present application provides an interlocking simulation system application method, which is applied to the interlocking simulation system as described in the first aspect, and the method includes:
[0026] receiving a first input to the interlocking simulation system;
[0027] In response to the first input, backing up the source code software;
[0028] and / or,
[0029] receiving a second input to the interlocking simulation system;
[0030] In response to the second input, backing up the binary software;
[0031] and / or,
[0032] After backing up the source code software in response to the first input, the method further includes:
[0033] receiving a third input from the user, where the third input is used to enter an authorization code;
[0034] In response to the third input, if the authorization code is verified successfully, the interlocking simulation system is run.
[0035] In a third aspect, the present application provides an interlocking simulation system application device, which is applied to the interlocking simulation system as described in the first aspect, and the device includes:
[0036] A first receiving module, configured to receive a first input to the interlocking simulation system;
[0037] The first processing module is configured to back up the source code software in response to the first input.
[0038] According to the interlocking simulation system application device of the present application, source code backup can be achieved by performing a first input on the interlocking simulation system, which is simple and convenient to operate and has low cost.
[0039] In a fourth aspect, the present application provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the interlocking simulation system application method as described in the first aspect above.
[0040] In a fifth aspect, the present application provides a computer program product, comprising a computer program, which, when executed by a processor, implements the interlocking simulation system application method as described in the first aspect above.
[0041] The above one or more technical solutions in the embodiments of the present application have at least one of the following technical effects:
[0042] By loading the logic simulation software and API files provided by the safety platform simulation system under the standard project directory structure template, an interlocking simulation system applied to the EI32-JD computer interlocking system is obtained. It can provide the same real mode functions as the hardware, is simple and reliable to operate, and does not require additional configuration. It helps to reduce R&D, production and testing costs and improve work efficiency.
[0043] Furthermore, by setting up a real mode module, the same real mode function as the hardware is provided, which is simple and reliable and does not require setting up additional configurations, thereby helping to reduce design and testing costs and improving work efficiency.
[0044] Furthermore, by setting up a real-mode simulation module, a real-mode simulation function identical to that of hardware is provided, which is simple, reliable, and does not require additional configuration, thereby helping to reduce design and testing costs and improving work efficiency.
[0045] Furthermore, by setting the simulation mode module, the simulation mode function identical to that of the hardware is provided, which is simple, reliable, and does not require additional configuration, thereby helping to reduce design and testing costs and improve work efficiency.
[0046] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become obvious from the description below, or will be learned through practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:
[0048] Figure 1 This is one of the structural diagrams of the interlocking simulation system provided in the embodiment of the present application;
[0049] Figure 2 This is the second structural diagram of the interlocking simulation system provided in the embodiment of the present application;
[0050] Figure 3This is the third structural diagram of the interlocking simulation system provided in the embodiment of the present application;
[0051] Figure 4 1 is a flow chart of an interlocking simulation system application method provided in an embodiment of the present application;
[0052] Figure 5 Schematic diagram of the principle of the interlocking simulation system application method provided in the embodiment of the present application;
[0053] Figure 6 This is one of the effect diagrams of the interlocking simulation system application method provided in the embodiment of the present application;
[0054] Figure 7 This is the second schematic diagram of the effect of the application method of the interlocking simulation system provided in the embodiment of the present application;
[0055] Figure 8 Schematic diagram of the structure of the interlocking simulation system application device provided in an embodiment of the present application;
[0056] Figure 9 This is the fourth structural diagram of the interlocking simulation system provided in the embodiment of the present application. DETAILED DESCRIPTION
[0057] The following will be combined with the accompanying drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the embodiments described are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field are within the scope of protection of this application.
[0058] The terms "first," "second," and the like in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate, so that the embodiments of this application can be implemented in an order other than that illustrated or described herein, and that the objects distinguished by "first," "second," and the like are generally of the same type, and do not limit the number of objects; for example, the first object can be one or more. In addition, the term "and / or" in the specification and claims refers to at least one of the connected objects, and the character " / " generally indicates that the objects connected are in an "or" relationship.
[0059] The interlocking simulation system platform, interlocking simulation system application method, interlocking simulation system application device and readable storage medium provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and their application scenarios.
[0060] An embodiment of the present application provides an interlocking simulation system.
[0061] The interlocking simulation system is applied to the EI32-JD computer interlocking system.
[0062] It can be understood that the EI32-JD computer interlocking system includes an interlocking machine (ILC), an operating machine (IOC), an operating machine (OW) and a maintenance machine (MW).
[0063] The EI32-JD computer interlocking system is used to complete basic interlocking functions, that is, to control routes, signals and switches under specified interlocking conditions and time sequences; it has communication interfaces with I2I (neighboring station interlocking system), TCC (train control center system), RBC (radio block center system), SFM (communication machine subsystem) and LEU (ground electronic unit).
[0064] Among them, the interlocking machine (ILC) includes: EI32 safety platform and interlocking machine application software.
[0065] The interlocking machine software is compiled and linked by the interlocking machine application software and the EI32 safety platform system software, and then burned into the CPU board.
[0066] The IOC includes: EI32 safety platform and IOC application software.
[0067] The platform interface (API) is the software interface provided by the EI32 safety platform to the interlocking machine application software. The EI32 safety platform consists of platform system software and hardware.
[0068] The operating machine (OW) and maintenance machine (MW) generally use industrial computers (operating system is Windows)
[0069] In some embodiments, the EI32-JD computer interlocking system may further include a communication machine (SFM).
[0070] In this embodiment, the communication machine (SFM) includes the EI32 security platform and the communication machine application software.
[0071] The EI32 safety platform includes a logic unit (FSSQ) and a LAN interface. The logic unit (FSSQ) is used for interlocking machines, drive and mining machines, and communication machines.
[0072] It is understandable that the railway signaling system includes systems such as the interlocking system, the train control system, and the radio block center, wherein the interlocking system communicates with the train control system, the adjacent station interlocking system, and the radio block center system via Ethernet.
[0073] like Figure 9 As shown, the interlocking simulation system includes: logic simulation software, API files and standard project directory structure templates.
[0074] Among them, the logic part simulation software and API files are provided by the safety platform simulation system applied to the EI32-JD computer interlocking system.
[0075] It should be noted that the security platform simulation system in this embodiment is a simulation implementation of the EI32 security platform under the Windows platform.
[0076] The security platform simulation system is completely consistent with the application interface of the EI32 security platform (EI32-JD APIs).
[0077] The NSSP simulation system is used to simulate the functions of the NSSP and is used to develop, debug, produce and test NSSP application software (such as interlocking machine software, drive and mining machine software, communication machine software, etc.) in a Windows environment; it is used to reduce the dependence on hardware during the development, production and testing process and improve work efficiency.
[0078] The logic unit emulation software (nsspe_debug.lib) corresponds to the logic unit (FSSQ) in the EI32 security platform.
[0079] The logic unit simulation software (nsspe_debug.lib) is a static library file and is used to load the corresponding functions of the logic unit.
[0080] API files are files corresponding to platform interfaces.
[0081] The API file may include interface functions corresponding to all involved communication interfaces, including but not limited to interface functions for calling LAN interfaces, interface functions for LAN ring network communication, and other interface functions.
[0082] The project directory structure of the security platform simulation system is shown in Table 1.
[0083] Table 1
[0084]
[0085] As shown in Table 1, the library output by the safety platform simulation system is the platform simulation library file nsspe_debug.lib (applicable to interlocking machines, communication machines, and drive and mining machines).
[0086] The standard project directory structure template is the template of the EI32-JD computer interlocking system itself. The specific directory structure is shown in Table 2.
[0087] Table 2
[0088]
[0089] It should be noted that the logic unit simulation software and API files are built within the standard project directory structure template.
[0090] During the actual execution process, after using the standard project directory structure template, the logic simulation software and API files are obtained from the safety platform simulation system applied to the EI32-JD computer interlocking system to load the platform simulation library nsspe_debug.lib (applicable to interlocking machines, drive and mining machines, and communication machines) in the LIB folder, and then the corresponding application software is added for compilation to obtain the interlocking simulation system applied to the EI32-JD computer interlocking system.
[0091] It is understandable that the construction method of the simulation system of the driving machine and the communication machine is similar to the construction method of the interlocking machine simulation system, so please do not elaborate on it here.
[0092] In some embodiments, it can also be determined whether to run dual machines as needed.
[0093] According to the interlocking simulation system provided in the embodiment of the present application, the interlocking simulation system applied to the EI32-JD type computer interlocking system is obtained by loading the logic part simulation software and API files provided by the safety platform simulation system under the standard engineering directory structure template. It can provide the same real mode functions as the hardware, is simple and reliable to operate, and does not require additional configuration. It helps to reduce R&D, production and testing costs, and can also improve work efficiency.
[0094] In some embodiments, the interlocking simulation system may further include: at least one of a real mode module, a real mode simulation module, and a simulation mode module.
[0095] In this embodiment, the real mode module is used to execute real mode functions.
[0096] The real mode emulation module is used to run real mode emulation functions.
[0097] The simulation mode module is used to run simulation functions.
[0098] The interlocking simulation system provided in accordance with the embodiment of the present application is powerful by providing the same real mode function, real mode simulation function, and simulation mode function as the hardware system.
[0099] The following is a detailed description of the above three modules.
[0100] 1. Real Mode Module
[0101] like Figure 1 As shown, in some embodiments, the real mode module may include: a first interlock simulation module and a first LAN communication module.
[0102] In this embodiment, continue to refer to Figure 1 The interlocking machine is connected to the driving and mining machine (IOC) through the first LAN communication module.
[0103] The first LAN communication module is used to provide LAN ring network communication.
[0104] The first interlock simulation module (ILCSim) is in communication with the IOC.
[0105] The real mode module is used to provide real mode operation functions.
[0106] In the actual execution process, the platform simulation library can be loaded into the standard project directory structure template of the interlocking machine, and then the simulation library can be linked to the VC6 project to realize the loading of the interlocking simulation system.
[0107] The interlocking simulation system is used to achieve the following functions:
[0108] 1) Based on the simulated security platform, Ethernet function is developed to realize UDP and TCP communication, thereby realizing Ethernet communication functions such as interlocking with neighboring stations, TCC and RBC in Windows.
[0109] 2) By simulating the serial port or Ethernet in the Windows platform, the communication function of the serial port board (VSIO) of the security platform is realized.
[0110] 3) Based on the input data of the simulation system, the dual-machine switching function between the two simulation systems is realized.
[0111] 4) Based on the simulated LAN ring network communication function, the interlocking machine, driving machine and RBC communication machine can realize the synchronous communication function on the same computer.
[0112] 5) The drive acquisition function is realized by simulating communication with the interlock relay simulation software.
[0113] 6) Based on the security functions of the simulated security platform, protection and feedback checks are implemented.
[0114] 7) Realize the scheduling function, that is, based on the simulated safety platform, the upper application software (such as interlocking machine, driving machine, and communication machine) is scheduled through the system interface periodically to complete the function of the interlocking system.
[0115] 8) Based on the authorization code module processing added in the platform simulation library engineering software, authorization is required when using the software. Without authorization, the software will not be able to be executed, thereby ensuring the security of the software.
[0116] The interlocking simulation system provided in the embodiment of the present application provides the same real mode functions as the hardware by setting a real mode module. It is simple and reliable and does not require additional configuration, which helps to reduce design and testing costs and improve work efficiency.
[0117] In some embodiments, the interlocking machine includes a first interlocking machine and a second interlocking machine, and the real mode module may further include a first reversing unit module.
[0118] In this embodiment, continue to refer to Figure 1 The first switching unit module (Switcher) is respectively connected to the first interlocking machine (ILC-I) and the second interlocking machine (ILC-II) for communication.
[0119] By setting up a switcher reversing process in the double machine interlocking room, reversing related functions can be provided.
[0120] Among them, a simulation key switch pointing to "interlock" (ie real mode) is set on the reverse machine board.
[0121] In some embodiments, the EI32-JD computer interlocking system further includes an operating machine (OW) and a maintenance machine (MW), and the real mode module may further include a first serial port communication module.
[0122] In this embodiment, the first serial port communication module is used to provide serial port communication.
[0123] Continue to refer Figure 1 The operating machine (OW) is respectively connected to the first interlocking machine and the second interlocking machine through the first serial communication module.
[0124] The operating machine (OW) is communicatively connected to the maintenance machine (MW) and the first interlocking simulation module (ILCSim).
[0125] In some embodiments, the EI32-JD computer interlocking system can also communicate with the radio block (RBC), the train control center (TCC) and the neighboring station interlocking (CBI), and the real mode module can also include a first Ethernet communication module.
[0126] In this embodiment, continue to refer to Figure 1 The dual-machine interlocking machine communicates with the radio block (RBC), train control center (TCC) and neighboring station interlocking (CBI) through the first Ethernet communication module.
[0127] In the embodiment of the present application, compared with the simulation mode, the real mode has the following characteristics:
[0128] 1) The interlocking machine starts the LAN communication function, allowing the operation of the interlocking dual machines, thereby simulating the interlocking dual machine hot standby function and testing the dual machine synchronization and reverse function.
[0129] In addition, communication between the interlocking machine and the mining machine (IOC) and the communication machine (communicating with the RBC) can also be achieved.
[0130] 2) The drive and mining machine is started (two machines can also be operated);
[0131] In this mode, the information sending logic is as follows:
[0132] The first interlocking simulation module (ILCSim) sends the collected information to the mining machine (IOC), and the mining machine (IOC) sends the collected information to the interlocking machine; the mining machine sends the driving command to the first interlocking simulation module (ILCSim).
[0133] 3) The first switching unit module (Switcher) is only a unit in the logical sense, embedded in the simulation platform, and has no independently running software.
[0134] 2. Real Mode Simulation Module
[0135] like Figure 2 As shown, in some embodiments, the EI32-JD computer interlocking system further includes an operating machine, and the real mode simulation module may include: a second serial port communication module and a second interlocking simulation module.
[0136] In this embodiment, the second serial port communication module is used to provide serial port communication.
[0137] like Figure 2 As shown, the operating machine (OW) and the interlocking machine are communicatively connected via the second serial port communication module.
[0138] The second interlocking simulation module (ILCSim) is in communication with the operating machine (OW).
[0139] The real mode simulation module is used to provide real mode simulation running function.
[0140] In some embodiments, the operating machine (OW) communicates with the maintenance machine (MW).
[0141] According to the interlocking simulation system provided in the embodiment of the present application, a real-mode simulation module is set to provide the same real-mode simulation function as the hardware. It is simple and reliable and does not require additional configuration, which helps to reduce design and testing costs and improve work efficiency.
[0142] In some embodiments, the interlocking machine includes a first interlocking machine and a second interlocking machine, and the real mode simulation module may further include a second reversing unit module.
[0143] In this embodiment, continue to refer to Figure 2The second switching unit module (Switcher) is respectively connected to the first interlocking machine (ILC-I) and the second interlocking machine (ILC-II).
[0144] By setting up a Switcher reversing process between the two machines interlocking, the machine has the reversing related functions, and the simulated key switch on the reversing board points to "interlocking" (ie real mode).
[0145] In some embodiments, the real mode emulation module may further include: a second LAN communication module.
[0146] In this embodiment, the second LAN communication module is used to provide LAN ring network communication.
[0147] Continue to refer Figure 2 The first interlocking machine (ILC-I) and the second interlocking machine (ILC-II) are respectively communicatively connected to the second LAN communication module.
[0148] In some embodiments, the EI32-JD computer interlocking system can also be connected to the radio block (RBC), train control center (TCC) and neighboring station interlocking (CBI) for communication, and the real mode simulation module can also include a second Ethernet communication module.
[0149] In this embodiment, the dual-machine interlocking machine communicates with the radio block (RBC), the train control center (TCC) and the neighboring station interlocking (CBI) through the second Ethernet communication module.
[0150] It should be noted that the difference between real mode and real mode emulation is that in real mode emulation mode, the information sending logic is as follows:
[0151] The driving machine is not operated. Instead, the second interlocking simulation module (ILCSim) sends the collected information to the interlocking machine via the operating machine (OW). At the same time, the interlocking machine sends the driving command to the second interlocking simulation module (ILCSim) via the operating machine (OW).
[0152] 3. Simulation Mode Module
[0153] like Figure 3 As shown, in some embodiments, the EI32-JD computer interlocking system may further include an operating machine, and the simulation mode module may include: a third serial port communication module, a third interlocking simulation module and a third reversing unit module.
[0154] In this embodiment, the third serial port communication module is used to provide serial port communication.
[0155] like Figure 3 As shown, the operating machine and the interlocking machine are communicatively connected via the third serial port communication module.
[0156] The third interlocking simulation module (ILCSim) is in communication with the operating machine.
[0157] The third switching unit module (Switcher) is communicatively connected with the interlocking machine.
[0158] The simulation mode module is used to provide simulation mode.
[0159] In simulation mode, the interlocking machine software only needs to run on a single machine.
[0160] Continue to refer Figure 3 The single-machine interlocking machine (ILC-I / II) communicates with the radio block (RBC), train control center (TCC) and neighboring station interlocking (CBI) through the third Ethernet communication module; the interlocking simulation system and the operating machine (OW) communicate via the serial port through the third serial port communication module.
[0161] The operating machine (OW) is in communication with the maintenance machine (MW) and the third interlocking simulation module (ILCSim), and the simulation key switch on the corresponding hardware platform panel points to "detection" (ie simulation mode).
[0162] It should be noted that in simulation mode, the interlocking machine does not start the LAN communication function.
[0163] In simulation mode:
[0164] 1) There is no need for inter-system synchronization between the two systems, and there is no need to execute the hot standby function of the interlocking machine; the two-system interlocking cannot be run at the same time, and the inter-system synchronization and reversing functions cannot be tested.
[0165] 2) There is no need to operate the mining machine (LAN communication is used between the mining machine and the interlocking machine).
[0166] In this mode, the information sending and receiving logic is as follows:
[0167] The third interlocking simulation module (ILCSim) sends the collected information to the interlocking machine (ILC-I / II) via the operating machine (OW), and at the same time, the interlocking machine (ILC-I / II) sends the driving command to the third interlocking simulation module (ILCSim) via the operating machine (OW).
[0168] There is no communication connection between the interlocking machine (ILC-I / II) and the maintenance machine (MW).
[0169] The interlocking machine (ILC-I / II) and the operating machine (OW) communicate via the third serial port communication module. The maintenance machine (MW) uses the data sent from the interlocking machine (ILC-I / II) to the operating machine (OW) for status display.
[0170] 3) The communication machine cannot be operated and communication with the RBC simulation cannot be completed.
[0171] According to the interlocking simulation system provided in the embodiment of the present application, the simulation mode function identical to that of the hardware is provided by setting up a simulation mode module. This is simple and reliable and does not require setting up additional configurations, thereby helping to reduce design and testing costs and improving work efficiency.
[0172] The interlocking simulation system provided in the embodiment of the present application is used to develop, debug, produce and test EI32-JD application software (such as interlocking machine software, mining machine software, communication machine software, etc.) in a Windows environment, which can reduce the dependence on hardware during the development, production and testing process and improve work efficiency.
[0173] In actual application, the manufacturer's interface debugging and testing only requires the interlocking system (Windows version), that is, the work can be completed with a laptop, without having to carry the signal system hardware equipment, saving costs and improving work efficiency.
[0174] During the production, testing, and software upgrade process, different stations and different passenger dedicated lines are completely free from the constraints of the system hardware environment. Dozens or even hundreds of stations can be executed simultaneously on the laboratory industrial computer Windows PC version interlocking simulation system; it greatly improves production efficiency, and also greatly improves the convenience of testing and the convenience of issuing problems, thereby increasing the output of signal equipment and meeting the growing demand for signal equipment.
[0175] In addition, the interlocking simulation system provided in the embodiment of the present application can also improve the efficiency of code development and debugging and improve the verifiability of functions, thereby improving the correctness of the code and the safety of the signal system.
[0176] By setting up the interlocking simulation system, the hardware platform can be simulated under Windows software library, and the development, production and testing environment for the interlocking system can be built under the Windows environment.
[0177] At the same time, the current interlocking machine software can be imported into VC6 in the simplest way, and the software can be easily modified, compiled, debugged and run.
[0178] In VC6, you can directly open the corresponding data configuration file for configuration. After the configuration is completed, you can directly run the test in VC6 to see if the configured data is correct.
[0179] During the test, select the corresponding operating mode for testing based on the test purpose.
[0180] Among them, the interlocking machine, driving machine and communication machine can run in pairs, which are suitable for dual-machine synchronization testing and dual-machine switching testing, and have a wide range of applications.
[0181] In addition, the interlocking simulation system provided in the embodiment of the present application can also realize the testing of RBC, TCC, SFM and inter-station communication, including network interruption and machine failure testing (interlocking machine failure or peer simulation failure).
[0182] The embodiment of the present application also provides an interlocking simulation system application method.
[0183] The interlocking simulation system application method is applied to the interlocking simulation system described in any of the above embodiments.
[0184] like Figure 4 As shown, the interlocking simulation system application method includes: step 410 and step 420.
[0185] Step 410: Receive a first input to the interlocking simulation system;
[0186] In this embodiment, the first input is used to input an instruction for executing a source code backup.
[0187] The first input can be in at least one of the following ways:
[0188] First, the first input may be a touch operation, including but not limited to a click operation, a slide operation, and a press operation.
[0189] In this embodiment, receiving the first input from the user may be receiving a touch operation of the user on the display area of the terminal display screen.
[0190] In order to reduce the user's error rate, the effective area of the first input can be limited to a specific area.
[0191] Secondly, the first input may be a physical key input.
[0192] In this embodiment, the terminal body is provided with corresponding physical buttons, and receiving the user's first input can be receiving the operation of the user pressing the corresponding physical button; the first input can also be a combined operation of pressing multiple physical buttons at the same time.
[0193] For example, the user can directly double-click to execute, and after entering the software name according to the prompt information, the first input can be completed to generate the backup software.
[0194] Third, the first input may be voice input.
[0195] In this embodiment, when the terminal receives a voice command such as "input XX", it can trigger the execution of the corresponding voice command.
[0196] Of course, in other embodiments, the first input may also be in other forms, including but not limited to character input, etc., which can be determined according to actual needs and is not limited in this embodiment of the present application.
[0197] Step 420: In response to the first input, back up the software with source code.
[0198] In this step, for example, during the actual execution process, the user clicks on the batch processing bak_src.bat in the station software directory, such as Figure 5 The box shows:
[0199] Click bak_src.bat and the following prompt will appear:
[0200] EI32-JD(FSR32) interlocking system backup tools for Source Code
[0201] Usage:bak_src(SoftWare_Name)
[0202] Examples:
[0203] bak_src CB2DN001-----backup using filename"CB2DN001.rar"
[0204] ******************************************************************
[0205] Please enter the software name:
[0206] Then enter the software name ZPUDN060 in the corresponding location.
[0207] Then enter d to back up Flash and other files. After the backup is completed, the ZPUDN060.rar compressed package is generated as shown below:
[0208] ******************************************************************
[0209] EI32-JD(FSR32) interlocking system backup tools for Source Code
[0210] Usage:bak_src(SoftWare_Name)
[0211] Examples:
[0212] bak_src CB2DN001-----backup using filename"CB2DN001.rar"
[0213] ******************************************************************
[0214] Please enter the software name: ZPUDN060
[0215] Press "!" to not back up *.flash, *.nm files, and press other keys to continue: d
[0216] Checking SRC\task1\include\TYPELIST.H...
[0217] Checking SRC\task1\include\jpcfg.h...
[0218] Checking rar.exe...
[0219] Checking ComFT.exe...
[0220] Checking "ILC.exe"...
[0221] Checking "nsspe.ini"...
[0222] Checking"SRC\makerom\il-00-00.flash"...
[0223] Checking"SRC\makerom\il-00-00.nm"...
[0224] [Warning]: SRC\task1\pcanxwj.c has been modified. It is recommended to regenerate the flash file.
[0225] ---------------------------------------
[0226] ZPUDN060.rar is generated successfully
[0227] ---------------------------------------
[0228] Press any key to continue...
[0229] The first input can be implemented through the above operations, and the terminal can complete the source code backup in response to the first input.
[0230] According to the interlocking simulation system application method provided in the embodiment of the present application, source code backup can be achieved by performing a first input on the interlocking simulation system, which is simple and convenient to operate and has low cost.
[0231] In some embodiments, the method may further include:
[0232] receiving a second input to the interlocking simulation system;
[0233] In response to the second input, the binary software is backed up.
[0234] In this embodiment, the second input is used to input an instruction for performing a binary software backup.
[0235] The second input may be the same as the first input, such as touch input, physical key input, voice input, character input, or any other feasible input, which will not be described in detail in this application.
[0236] For example, click on the batch processing bak_bin.bat in the station software directory, such as Figure 5 As shown in the box;
[0237] Click bak_bin.bat and the following prompt will appear:
[0238] ******************************************************************
[0239] EI32-JD(FSR32)interlocking system backup tools for Binary Software
[0240] Usage:bak_bin(SoftWare_Name)
[0241] Examples:
[0242] bak_bin CB2IL001-----backup using filename"CB2IL001.rar"
[0243] ******************************************************************
[0244] Please enter the software name:
[0245] After entering the software name ZPUIL060 based on the above prompts, enter d to back up Flash and other files. After the backup is completed, the ZPUIL060.rar compressed package is generated as shown below:
[0246] ******************************************************************
[0247] EI32-JD(FSR32)interlocking system backup tools for Binary Software
[0248] Usage:bak_bin(SoftWare_Name)
[0249] Examples:
[0250] bak_bin CB2IL001-----backup using filename"CB2IL001.rar"
[0251] ******************************************************************
[0252] Please enter the software name: ZPUIL060
[0253] Press "!" to not back up *.flash, *.nm files, and press other keys to continue: d
[0254] Checking ".\rar.exe"...
[0255] Checking ".\ComFT.exe"...
[0256] Checking"SRC\task1\include\TYPELIST.H"...
[0257] Checking"SRC\task1\include\jpcfg.h"...
[0258] Checking "ILC.exe"...
[0259] Checking "nsspe.ini"...
[0260] Checking ilc_info.ini...
[0261] Checking "Run_ILC_I.bat"...
[0262] Checking "Run_ILC_II.bat"...
[0263] Checking"SRC\makerom\il-00-00.flash"...
[0264] Checking"SRC\makerom\il-00-00.nm"...
[0265] [Warning]: SRC\task1\pcanxwj.c has been modified. It is recommended to regenerate the flash file.
[0266] ---------------------------------------
[0267] ZPUIL060.rar is generated successfully
[0268] ---------------------------------------
[0269] Press any key to continue...
[0270] The second input can be implemented through the above operations, and the terminal can complete the binary software backup in response to the second input.
[0271] Figure 6 This example shows the difference between the backup results of source code backup (bak_src.bat) and binary backup (bak_bin.bat). The left side shows the result of source code generation, and the right side shows the result of binary generation.
[0272] Figure 7 An embodiment of the generated source code ZPUDN060 and the on-site binary ZPUIL060 content is illustrated, wherein the left side is the source code ZPUDN060 content and the right side is the binary ZPUIL060 content.
[0273] According to the interlocking simulation system application method provided in the embodiment of the present application, binary backup can be achieved by performing a second input on the interlocking simulation system, which is simple, convenient and low-cost to operate.
[0274] The construction of the interlocking simulation system is explained below.
[0275] During the actual execution, unzip the Windows interlocking machine software package ILC_FSR32_Vx.xxrar to ILC_FSR32 (the directory name can be customized);
[0276] Copy the interlocking locomotive station software source code to "ILC_FSR32 / SRC" / and add the combined module:
[0277] a) Open ILC.dsw with VC6, make sure the files under "Common Section" are consistent with the files under "Common Section" in src / task1 / files.mak (usually they should be the same), and add the external communication interface:
[0278] Select and turn on the corresponding macro switch according to whether the station interface has a train control interface, an adjacent station interface, or an RBC interface.
[0279] b) Add the combined module source files in src / task1 / files.mak to "Combined Modules" (Hint: Press and hold the Ctrl key while selecting the files to be added with the mouse to add multiple files at the same time);
[0280] c) Add the station data of this station and configure the station data according to production requirements, such as configuring the version number of the inter-station interface.
[0281] Then compile by selecting the menu (Build / Rebuild All).
[0282] If there are compilation errors, please make modifications based on the compilation results (usually due to errors introduced when configuring station data) until all compilation errors are eliminated and the interlocking machine program ILC.exe (in the same directory as ilc.dsw) is generated.
[0283] Click ILC.exe to run the interlocking dual-machine software, including dual-machine operation of communication machines, dual-machine operation of RBC machines, dual-machine operation of drive and mining machines, dual-machine operation of operation machines, and electrical maintenance machines. At this time, the interlocking simulation system can be completed, and the operation results of the electrical maintenance machine network diagram can be viewed.
[0284] After the interlocking system is built, related work such as system development, software debugging, software testing, and code consistency testing can be carried out. After the relevant work is completed, software backup and other work can be carried out.
[0285] In some embodiments, after step 420, the method may further include:
[0286] Receive a third input from the user, where the third input is used to enter an authorization code;
[0287] In response to the third input, if the authorization code is verified successfully, the interlocking simulation system is run.
[0288] In this embodiment, the third input is used to enter an authorization code.
[0289] The third input may be the same as the first input, such as touch input, physical key input, voice input, character input, or any other feasible input, which will not be elaborated in this application.
[0290] It is understandable that after the interlocking simulation system is set up, it can only be run if the authorization code is verified.
[0291] According to the interlocking simulation system application method provided in the embodiment of the present application, by setting an authorization code, the interlocking simulation system can be operated only when the authorization code is verified, thereby effectively improving the security of the interlocking simulation system.
[0292] The interlocking simulation system application method provided in the embodiment of the present application can be executed by an interlocking simulation system application device. In the embodiment of the present application, the interlocking simulation system application device executing the interlocking simulation system application method is used as an example to illustrate the interlocking simulation system application device provided in the embodiment of the present application.
[0293] The embodiment of the present application also provides an interlocking simulation system application device.
[0294] The interlocking simulation system application device is applied to the interlocking simulation system described in any of the above embodiments.
[0295] like Figure 8 As shown, the interlocking simulation system application device includes: a first receiving module 810 and a first processing module 820.
[0296] A first receiving module 810 is configured to receive a first input to the interlocking simulation system;
[0297] The first processing module 820 is configured to back up the source code software in response to the first input.
[0298] According to the interlocking simulation system application device provided in the embodiment of the present application, source code backup can be achieved by performing a first input on the interlocking simulation system, which is simple and convenient to operate and has low cost.
[0299] In some embodiments, the apparatus may further comprise:
[0300] A second receiving module, configured to receive a second input to the interlocking simulation system;
[0301] The second processing module is configured to back up the binary software in response to the second input.
[0302] In some embodiments, the apparatus may further comprise:
[0303] A third receiving module is configured to receive a third input from a user after backing up the source code software in response to the first input, where the third input is used to input an authorization code;
[0304] The third processing module is configured to, in response to the third input, run the interlocking simulation system if the authorization code verification is successful.
[0305] The interlocking simulation system application device in the embodiment of the present application can be an interlocking simulation system or a component of the interlocking simulation system.
[0306] The interlocking simulation system application device in the embodiment of the present application can be a device having an operating system. The operating system can be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0307] The interlocking simulation system application device provided in the embodiment of the present application can achieve Figures 4 to 7 To avoid repetition, the various processes implemented in the method embodiment are not described here.
[0308] An embodiment of the present application also provides a non-transitory computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the various processes of the above-mentioned interlocking simulation system application method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0309] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0310] An embodiment of the present application further provides a computer program product, including a computer program, which implements the above-mentioned interlocking simulation system application method when executed by a processor.
[0311] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0312] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned interlocking simulation system application method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0313] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0314] It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element. In addition, it should be noted that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in the opposite order according to the functions involved. For example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0315] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), including a number of instructions for enabling a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.
[0316] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of this application, ordinary technicians in this field can also make many forms without departing from the purpose of this application and the scope of protection of the claims, all of which are within the protection of this application.
[0317] Throughout this specification, reference to terms such as "one embodiment," "some embodiments," "illustrative embodiments," "examples," "specific examples," or "some examples" means that the specific features, structures, materials, or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
[0318] Although the embodiments of the present application have been shown and described, those skilled in the art will appreciate that various changes, modifications, substitutions, and variations may be made to the embodiments without departing from the principles and intent of the present application, and that the scope of the present application is defined by the claims and their equivalents.
Claims
1. An interlocking simulation system, characterized in that: Applied to the EI32-JD computer interlocking system, the EI32-JD computer interlocking system includes an interlocking machine, a mining machine and an EI32 safety platform, the EI32 safety platform includes a logic unit and a LAN interface, wherein the logic unit is applied to the interlocking machine; the interlocking simulation system includes: Logic unit simulation software and API files, both of which are provided by a safety platform simulation system applied to the EI32-JD computer interlocking system; A standard engineering directory structure template, wherein the standard engineering directory structure template is the template of the EI32-JD computer interlocking system itself, and the logic part simulation software and API files are built in the standard engineering directory structure template; The interlocking simulation system further comprises: at least one of a real mode module, a real mode simulation module, and a simulation mode module; The interlocking simulation system also includes interlocking machine application software.
2. The interlocking simulation system according to claim 1, characterized in that: The real mode module includes: a first interlocking simulation module, the first interlocking simulation module being communicatively connected to the mining machine; A first LAN communication module, through which the interlocking machine is communicatively connected with the mining machine.
3. The interlocking simulation system according to claim 2, characterized in that: The interlocking machine includes a first interlocking machine and a second interlocking machine, and the real mode module further includes a first reversing unit module. The first reversing unit module is communicatively connected with the first interlocking machine and the second interlocking machine respectively.
4. The interlocking simulation system according to claim 3, characterized in that: The EI32-JD computer interlocking system also includes an operating machine and a maintenance machine; The real mode module further includes a first serial communication module, through which the operating machine is respectively connected to the first interlocking machine and the second interlocking machine for communication, and the operating machine is respectively connected to the maintenance machine and the first interlocking simulation module for communication.
5. The interlocking simulation system according to claim 1, characterized in that: The EI32-JD computer interlocking system also includes an operating machine, and the real mode simulation module includes: A second serial communication module, through which the operating machine and the interlocking machine are communicatively connected; A second interlocking simulation module is communicatively connected with the operating machine.
6. The interlocking simulation system according to claim 5, characterized in that: The interlocking machine includes a first interlocking machine and a second interlocking machine, and the real mode simulation module further includes a second reversing unit module, and the second reversing unit module is communicatively connected with the first interlocking machine and the second interlocking machine respectively.
7. The interlocking simulation system according to claim 6, characterized in that: The real mode simulation module also includes: A second LAN communication module is provided, and the first interlocking machine and the second interlocking machine are respectively connected to the second LAN communication module for communication.
8. The interlocking simulation system according to claim 1, characterized in that: The EI32-JD computer interlocking system further includes an operating machine, which is communicatively connected to the interlocking machine. The simulation mode module includes: The third serial communication module; a third interlocking simulation module, the third interlocking simulation module being communicatively connected to the operating machine via the third serial communication module; A third reversing unit module is communicatively connected with the interlocking machine.
9. An interlocking simulation system application method, characterized in that: Applied to the interlocking simulation system according to any one of claims 1 to 8, the method comprises: receiving a first input to the interlocking simulation system; In response to the first input, backing up the source code software; and / or, receiving a second input to the interlocking simulation system; In response to the second input, backing up the binary software; and / or, After backing up the source code software in response to the first input, the method further includes: receiving a third input from the user, where the third input is used to enter an authorization code; In response to the third input, if the authorization code is verified successfully, the interlocking simulation system is run.
Citation Information
Patent Citations
Intelligent programmable computer interlocking simulation training platform
CN115578906A