Full-electronic computer interlocking system simulation test method, device, equipment and medium

By adding communication plug-ins to the all-electronic computer interlock system and configuration based on the all-electronic IO allocation table, the problem of insufficient reliability and flexibility in the existing simulation testing methods is solved, and more efficient simulation testing is achieved.

CN119758769AInactive Publication Date: 2025-04-04HUNAN CRRC TIMES SIGNAL & COMM CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202510006829.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-02
Publication Date
2025-04-04
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing simulation testing methods for all-electronic computer interlocking systems cannot effectively improve the reliability and flexibility of simulation testing, especially in the field actual configuration and test verification of data flows.

Method used

In the all-electronic computer interlock system, the communication plug-in is added to connect the CAN terminal to the full-electronic logic control host and the Socket terminal to the full-electronic simulation machine, and the communication plug-in is configured based on the all-electronic IO allocation table. The configured full-electronic simulation machine simulates the operating status of the full-electronic board and rail-side equipment to realize simulation testing of the system.

Benefits of technology

It improves the reliability and flexibility of simulation testing of all-electronic computer interlocking systems, can more accurately simulate actual configurations and data flows, and enhances the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119758769A_ABST
    Figure CN119758769A_ABST
Patent Text Reader

Abstract

The invention discloses a full-electronic computer interlocking system simulation test method, device, equipment and medium, and relates to the field of railway signal interlocking system simulation testing, and the method comprises the steps: adding a communication plug-in in a full-electronic computer interlocking system, and configuring the communication plug-in; the full-electronic simulation machine is configured; when a communication link among the full-electronic logic control host, the communication plug-in and the configured full-electronic simulation machine is successfully created, acquiring a control command through the full-electronic logic control host; converting a first control signal parameter generated by the full-electronic logic control host based on the control command into a second control signal parameter through the communication plug-in; and the configured full-electronic simulation machine determines a corresponding control signal instruction based on the second control signal parameter, and simulates the operation states of the full-electronic board card and the trackside equipment based on the control signal instruction. Therefore, the reliability and the flexibility of the simulation test of the full-electronic computer interlocking system can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of simulation testing of railway signal interlocking systems, and in particular to a simulation testing method, device, equipment and medium for a full electronic computer interlocking system. Background Art

[0002] With the development of railway signals, railway signal interlocking systems have evolved from relay interlocking systems to fully electronic computer interlocking systems.

[0003] At present, there are two main simulation methods for the fully electronic computer interlocking system. One is to use a PC (Personal Computer) to simulate the CAN (Controller Area Network) data of the fully electronic board and send it to the host module of the fully electronic interlocking system. This method cannot test and verify the actual configuration on site, and the data flow is inconsistent with the actual application. The other is to use the same CAN module as the on-site ratio for simulation. This method can realize the test and verification of the actual configuration and data flow on site, but the scalability and flexibility are poor.

[0004] Therefore, how to improve the reliability and flexibility of the simulation test of the fully electronic computer interlocking system is an urgent problem to be solved. Summary of the invention

[0005] In view of this, the purpose of the present invention is to provide a simulation test method, device, equipment and medium for a fully electronic computer interlocking system, which can improve the reliability and flexibility of the simulation test of the fully electronic computer interlocking system. The specific scheme is as follows:

[0006] In a first aspect, the present application provides a simulation test method for a fully electronic computer interlocking system, comprising:

[0007] A communication plug-in is added in the all-electronic computer interlocking system, wherein the CAN end is connected to the all-electronic logic control host, and the Socket end is connected to the all-electronic simulation machine, and the communication plug-in is configured based on the all-electronic IO allocation table; the all-electronic IO allocation table is a table containing the point information of the all-electronic board and the communication address corresponding to the all-electronic board;

[0008] The fully electronic simulation machine is configured based on the fully electronic IO allocation table and the fully electronic cabinet assembly to obtain a configured fully electronic simulation machine; the fully electronic cabinet assembly is a collection of fully electronic cabinets, each fully electronic cabinet containing information of the fully electronic board;

[0009] When the communication link between the all-electronic logic control host, the communication plug-in and the configured all-electronic simulation machine has been successfully established, the control command issued by the system host computer is obtained through the all-electronic logic control host;

[0010] The first control signal parameter generated by the fully electronic logic control host based on the control command is converted into a second control signal parameter through the communication plug-in; the first control signal parameter and the second control signal parameter respectively meet the communication protocol requirements of the CAN end and the Socket end;

[0011] After the configuration, the fully electronic simulation machine determines the corresponding control signal instructions based on the second control signal parameters, and simulates the operating status of the fully electronic board and trackside equipment based on the control signal instructions.

[0012] Optionally, configuring the communication plug-in based on the full electronic IO allocation table includes:

[0013] Based on the all-electronic IO allocation table, the Socket end of the communication plug-in is configured with a data receiving source, a first destination IP address and a first port number for communicating with the all-electronic simulation machine;

[0014] A CAN number is configured for the CAN end of the communication plug-in based on the fully electronic IO allocation table.

[0015] Optionally, configuring the all-electronic simulation machine based on the all-electronic IO allocation table and the all-electronic cabinet assembly includes:

[0016] Based on the all-electronic IO allocation table, the Socket end of the all-electronic simulation machine is configured with a data receiving source, a second destination IP address and a second port number for communicating with the communication plug-in;

[0017] Based on the all-electronic cabinet assembly, the cabinet number, the group box number, the board number and the communication address corresponding to the CAN number corresponding to the all-electronic board are configured for the all-electronic simulation machine.

[0018] Optionally, the full electronic computer interlocking system simulation test method further includes:

[0019] When the communication link between the all-electronic logic control host, the communication plug-in and the configured all-electronic simulation machine is not successfully established, the step of configuring the communication plug-in based on the all-electronic IO allocation table is jumped again until the communication link is successfully established.

[0020] Optionally, converting the first control signal parameter generated by the all-electronic logic control host based on the control command into the second control signal parameter through the communication plug-in includes:

[0021] The control command is converted into a first control signal parameter based on a preset logic algorithm by the all-electronic logic control host, and the first control signal parameter is sent to the communication plug-in;

[0022] The first control signal parameter is converted into a second control signal parameter based on a preset CAN-Socket protocol through the communication plug-in, so as to send the second control signal parameter to the configured all-electronic simulator.

[0023] Optionally, the all-electronic simulation machine determines a corresponding control signal instruction based on the second control signal parameter after the configuration, and simulates the operating status of the all-electronic board and the trackside equipment based on the control signal instruction, including:

[0024] The configured fully electronic simulator converts the second control signal parameter to obtain a corresponding control signal instruction;

[0025] Using the control signal instruction to simulate the operating state of the all-electronic board and the trackside equipment to obtain a simulated operating state;

[0026] After the configuration, the fully electronic simulation machine converts the simulated operation state into a first state signal parameter, and sends the first state signal parameter to the communication plug-in;

[0027] converting the first state signal parameter into a second state signal parameter through the communication plug-in, and sending the second state signal parameter to the all-electronic logic control host;

[0028] The first status signal parameter and the second status signal parameter respectively meet the communication protocol requirements of the CAN end and the Socket end.

[0029] Optionally, the full electronic computer interlocking system simulation test method further includes:

[0030] Constructing a preset fault type mapping table based on the CAN communication fault type, and saving the preset fault type mapping table to the communication plug-in;

[0031] When the target communication fault instruction is selected by the configured full electronic simulation machine, the target communication fault instruction is sent to the communication plug-in based on the Socket communication method;

[0032] querying the fault information corresponding to the target communication fault instruction from the preset fault type mapping table through the communication plug-in, and transmitting the fault information to the full electronic logic control host based on the CAN communication mode;

[0033] The fault information is identified by the fully electronic logic control host, and the obtained identification result is used to display the fault information accordingly in the system host computer, so as to complete the fault injection of the fully electronic logic control host.

[0034] In a second aspect, the present application provides a fully electronic computer interlocking system simulation test device, comprising:

[0035] A plug-in configuration module is used to add a communication plug-in in the all-electronic computer interlocking system, the CAN end being connected to the all-electronic logic control host and the Socket end being connected to the all-electronic simulation machine, and to configure the communication plug-in based on the all-electronic IO allocation table; the all-electronic IO allocation table is a table containing the point information of the all-electronic board and the communication address corresponding to the all-electronic board;

[0036] A simulation machine configuration module, configured to configure the fully electronic simulation machine based on the fully electronic IO allocation table and the fully electronic cabinet assembly to obtain a configured fully electronic simulation machine; the fully electronic cabinet assembly is a collection of fully electronic cabinets, each of which contains information about the fully electronic board;

[0037] A command issuing module, used for obtaining the control command issued by the system host computer through the all-electronic logic control host when the communication link between the all-electronic logic control host, the communication plug-in and the configured all-electronic simulation machine has been successfully established;

[0038] A parameter conversion module, used to convert the first control signal parameter generated by the fully electronic logic control host based on the control command into a second control signal parameter through the communication plug-in; the first control signal parameter and the second control signal parameter respectively meet the communication protocol requirements of the CAN end and the Socket end;

[0039] A state simulation module is used to determine the corresponding control signal instructions based on the second control signal parameters through the configured all-electronic simulation machine, and simulate the operating status of the all-electronic board and trackside equipment based on the control signal instructions.

[0040] In a third aspect, the present application provides an electronic device, including:

[0041] Memory, used to store computer programs;

[0042] A processor is used to execute the computer program to implement the aforementioned full electronic computer interlocking system simulation test method.

[0043] In a fourth aspect, the present application provides a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processor, the aforementioned fully electronic computer interlocking system simulation test method is implemented.

[0044] In the present application, a communication plug-in is added to the fully electronic computer interlocking system, wherein the CAN end is connected to the fully electronic logic control host and the Socket end is connected to the fully electronic simulation machine, and the communication plug-in is configured based on the fully electronic IO allocation table; the fully electronic IO allocation table is a table containing the point information of the fully electronic board and the communication address corresponding to the fully electronic board; the fully electronic simulation machine is configured based on the fully electronic IO allocation table and the fully electronic cabinet assembly to obtain the configured fully electronic simulation machine; the fully electronic cabinet assembly is a collection of fully electronic cabinets, each of which contains the information of the fully electronic board; when the fully electronic logic control host, the communication plug-in If the communication link between the communication plug-in and the configured all-electronic simulation machine has been successfully created, the control command issued by the system host computer is obtained through the all-electronic logic control host; the first control signal parameter generated by the all-electronic logic control host based on the control command is converted into a second control signal parameter through the communication plug-in; the first control signal parameter and the second control signal parameter respectively meet the communication protocol requirements of the CAN end and the Socket end; the configured all-electronic simulation machine determines the corresponding control signal instruction based on the second control signal parameter, and simulates the operating status of the all-electronic board and trackside equipment based on the control signal instruction. As can be seen from the above, the present application adds a communication plug-in to the all-electronic computer interlocking system, and configures it according to the all-electronic IO allocation table, which contains all-electronic board point information and corresponding communication addresses. The configured simulation machine is configured based on this table and the all-electronic cabinet assembly to obtain the configured simulation machine. If the communication link between the fully electronic logic control host, the communication plug-in and the configured simulation machine is successful, the fully electronic logic control host receives the control command of the system host computer, and the communication plug-in converts the first control signal parameter generated by the host according to the command into the second control signal parameter that conforms to the Socket end protocol. The configured simulation machine determines the control signal instruction accordingly to simulate the operating status of the fully electronic board and the trackside equipment. In this way, this application can effectively improve the reliability and flexibility of the simulation test of the fully electronic computer interlocking system, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0046] Figure 1 A schematic diagram of a framework of a fully electronic computer interlocking system simulation test system disclosed in this application;

[0047] Figure 2 A flow chart of a simulation test method for a fully electronic computer interlocking system disclosed in this application;

[0048] Figure 3 A flow chart of a specific simulation test method for a fully electronic computer interlocking system disclosed in this application;

[0049] Figure 4 This is a structural schematic diagram of a fully electronic computer interlocking system simulation test device disclosed in this application;

[0050] Figure 5 This is a structural diagram of an electronic device disclosed in this application. DETAILED DESCRIPTION

[0051] 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 only 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 are within the scope of protection of the present invention.

[0052] At present, there are two main simulation methods for the all-electronic computer interlocking system. One is to use a PC to simulate the CAN data of the all-electronic board and send it to the host module of the all-electronic interlocking system. This method cannot test and verify the actual configuration on site, and the data flow is inconsistent with the actual application. The other is to use the same CAN module as the on-site ratio for simulation. This method can realize the test and verification of the actual configuration on site and the data flow, but the scalability and flexibility are poor. To this end, the present application provides a simulation test for a full-electronic computer interlocking system, which can improve the reliability and flexibility of the simulation test of the full-electronic computer interlocking system.

[0053] In the simulation test scheme of the fully electronic computer interlocking system of this application, the system framework used can be found in Figure 1 As shown, it may specifically include a fully electronic logic control host 01 , a communication plug-in 02 and a fully electronic simulation machine 03 .

[0054] Specifically, for the communication plug-in 02, it should be noted that the CAN interface of the communication plug-in 02 is connected to the full electronic logic control host 01, and the Socket interface of the communication plug-in 02 is connected to the full electronic simulator 03. Among them, the communication plug-in 02 includes a communication configuration component, a CAN-Socket protocol conversion component, and a fault injection component. Through the communication configuration component, communication configuration can be performed in the communication plug-in, so that the communication configuration of the full electronic logic control host includes but is not limited to the CAN number, CAN communication quantity, baud rate, communication mode, etc. For the CAN-Socket protocol conversion component, the CAN-Socket protocol conversion component can realize protocol conversion between CAN data and Ethernet data, that is, the communication plug-in 02 and the full electronic logic control host 01 use the CAN protocol to communicate, and the communication plug-in 02 and the full electronic simulator 03 use the Sockte protocol to communicate. For the fault injection component, the fault injection component can query in the preset fault type mapping table according to the CAN communication fault instruction issued by the human-machine interface in the full electronic simulator 03, and transmit the corresponding fault information to the full electronic logic control host 01 through the CAN communication method.

[0055] The fully electronic simulator 03 includes an execution unit simulation component, a trackside equipment simulation component, a fault selection component, and a human-machine interface. The execution unit simulation component can simulate the running state of the fully electronic board. It receives the control signal parameters in the Socket frame format sent by the communication plug-in 02, and converts the control signal parameters into control signal instructions, and then simulates the driving instructions of the fully electronic board according to the control signal instructions; and simulates the response and recovery state of the fully electronic board according to the driving instructions, and feeds back the executed device status signal to the communication plug-in 02 through the device status signal parameters in the Socket frame format. At the same time, fault injection of the fully electronic board can also be performed.

[0056] The trackside equipment simulation component is used to simulate the operating status of the trackside equipment. It receives control instructions from the execution unit simulation component, simulates the operating status of the trackside equipment according to the control instructions, and displays the operating status of the trackside equipment in the human-machine interface of the full electronic simulator 03. In addition, the operating status of the trackside equipment will be fed back to the execution unit simulation component, or receive control commands from the human-machine interface, simulate the operating status of the trackside equipment, and feed the operating status of the trackside equipment back to the execution unit simulation component. At the same time, fault injection of the trackside equipment can be performed.

[0057] As for the human-machine interface, the human-machine interface is used to display the operating status of the full electronic board simulated by the execution unit simulation component and the operating status of the trackside equipment simulated by the trackside equipment simulation component, and can modify the operating status of the full electronic board simulated by the execution unit simulation component and the operating status of the trackside equipment simulated by the trackside equipment simulation component, and display the status and mismatch information of the communication link between the full electronic logic control host 01 and the communication plug-in 02 and the full electronic simulation machine 03, and display the CAN communication fault instruction option.

[0058] See also Figure 2 As shown, the embodiment of the present invention discloses a simulation test method for a fully electronic computer interlocking system, comprising:

[0059] Step S11, add a communication plug-in in the all-electronic computer interlocking system, the CAN end being connected to the all-electronic logic control host and the Socket end being connected to the all-electronic simulation machine, and configure the communication plug-in based on the all-electronic IO (i.e., Input / Output) allocation table; the all-electronic IO allocation table is a table containing the point information of the all-electronic board and the communication address corresponding to the all-electronic board.

[0060] In this embodiment, the all-electronic IO allocation table covers important contents such as the position information of the all-electronic boards and the communication addresses corresponding to each all-electronic board. The position information of the all-electronic boards specifies the location of key nodes such as signal input or output in the system on specific boards, such as the signal points on the turnout board that control the action of the turnout switch machine, and the points on the signal board that correspond to different light display controls. The communication addresses corresponding to the all-electronic boards enable the corresponding data to accurately find the corresponding all-electronic boards in the entire all-electronic computer interlocking system, thereby realizing efficient information transmission.

[0061] Therefore, it can be understood that the data receiving source, the first destination IP address and the first port number for communicating with the all-electronic simulation machine are configured for the Socket end of the communication plug-in based on the all-electronic IO allocation table. Specifically, the determination of the first destination IP address is the specific location identifier of the all-electronic simulation machine in the network, and different port numbers correspond to different functional components on the all-electronic simulation machine. The first port number is configured to ensure that the data can accurately enter the corresponding processing flow.

[0062] At the same time, the CAN number is configured for the CAN end of the communication plug-in based on the all-electronic IO allocation table. It should be noted that the CAN number is unique in the CAN communication network of the entire all-electronic computer interlocking system, and it can accurately distinguish different communication links and different device connections. Therefore, each related device has a different CAN number. When the CAN end of the communication plug-in is configured with an accurate CAN number, it can be accurately integrated into the entire CAN communication network and communicate with the all-electronic logic control host accordingly.

[0063] Step S12, configuring the fully electronic simulation machine based on the fully electronic IO allocation table and the fully electronic cabinet assembly to obtain a configured fully electronic simulation machine; the fully electronic cabinet assembly is a collection of fully electronic cabinets, each of which contains information on fully electronic boards.

[0064] Similarly, in this embodiment, not only the communication plug-in needs to be configured, but also the full electronic simulation machine needs to be configured. For the configuration of the full electronic simulation machine, specifically, the data receiving source, the second destination IP address and the second port number for communicating with the communication plug-in are configured for the Socket end of the full electronic simulation machine based on the full electronic IO allocation table.

[0065] At the same time, based on the full electronic cabinet assembly, the cabinet number, group box number, board number and communication address corresponding to the CAN number of the full electronic board are configured for the full electronic simulation machine. Among them, since each full electronic cabinet contains the information of the full electronic board, the cabinet number, group box number and board number corresponding to the full electronic board can be configured according to the full electronic cabinet assembly. Specifically, the determination of the cabinet number enables the full electronic simulation machine to logically correspond to the actual physical cabinet layout and clarify the cabinet location of each board. The configuration of the group box number further refines the location information of the board, which is convenient for rapid positioning and management of the board. The setting of the board number gives each board a unique identity, which can be accurately identified and controlled in the entire system.

[0066] Step S13: When the communication link between the all-electronic logic control host, the communication plug-in and the configured all-electronic simulation machine has been successfully established, the control command issued by the system host computer is obtained through the all-electronic logic control host.

[0067] It should be noted that in this embodiment, in the simulation test process of the all-electronic computer interlocking system, the successful establishment of the communication link is the prerequisite for ensuring the smooth implementation of subsequent tests and operations. Therefore, after completing the corresponding configuration of the communication plug-in and the all-electronic simulator, it is first necessary to judge the communication link status between the all-electronic logic control host, the communication plug-in and the configured all-electronic simulator.

[0068] If the communication link between the three is successfully established, it means that the communication architecture of the system has been initially built and has the basic conditions for receiving and executing instructions. At this point, the fully electronic logic control host can obtain the control commands issued by the system host computer.

[0069] However, when the communication link between the all-electronic logic control host, the communication plug-in, and the configured all-electronic simulation machine is not successfully established, the communication link is not established icon is displayed in the human-machine interface of the all-electronic simulation machine, indicating that the communication configuration information between the all-electronic logic control host and the communication plug-in does not match, and the mismatch information is displayed, and the step of configuring the communication plug-in based on the all-electronic IO allocation table is jumped again until the communication link is successfully established. It is understandable that when the communication link is not successfully established, this indicates that there may be a problem with the current configuration. At this time, in order to ensure that the system can operate normally, it is necessary to immediately jump back to the step of configuring the communication plug-in based on the all-electronic IO allocation table.

[0070] Step S14: convert the first control signal parameter generated by the full electronic logic control host based on the control command into the second control signal parameter through the communication plug-in; the first control signal parameter and the second control signal parameter meet the communication protocol requirements of the CAN end and the Socket end respectively.

[0071] In this embodiment, when the all-electronic logic control host successfully obtains the control command issued by the system host computer, the system enters the simulation test phase. It should be noted that in the simulation test phase, the communication plug-in module communicates with the all-electronic logic control host using the CAN_FD (i.e., CAN with Flexible Data Rate, controller area network flexible data rate) protocol, and the communication plug-in module communicates with the all-electronic simulation machine using the Socket protocol.

[0072] It is understandable that, in the simulation test phase, after the system host sends a control command, the control command is converted into a first control signal parameter based on a preset logic algorithm through the fully electronic logic control host, and the first control signal parameter is sent to the communication plug-in. Among them, the first control signal parameter is a parameter in the CAN frame format, and the first control parameter matches the communication protocol of the CAN end.

[0073] Furthermore, in this embodiment, the first control signal parameter is converted into the second control signal parameter based on the preset CAN-Socket protocol by the communication plug-in, so as to send the second control signal parameter to the configured all-electronic simulator. That is, the communication plug-in receives the first control signal parameter from the all-electronic logic control host, and converts the first control signal parameter into the second control signal parameter that complies with the Socket end communication protocol according to the preset CAN-Socket protocol. In this conversion process, the communication plug-in needs to adjust the data in the first control signal parameter to obtain the second control signal parameter in the Socket format.

[0074] Step S15, after configuration, the fully electronic simulation machine determines the corresponding control signal instruction based on the second control signal parameter, and simulates the operating status of the fully electronic board and the trackside equipment based on the control signal instruction.

[0075] In this embodiment, after the communication plug-in sends the converted second control signal parameter to the configured all-electronic simulator, the configured all-electronic simulator converts the second control signal parameter to obtain the corresponding control signal instruction. Further, the operating state of the all-electronic board and trackside equipment is simulated using the control signal instruction to obtain a simulated operating state. Specifically, for all-electronic boards, such as turnout boards, signal boards, track circuit boards, scattered boards, and IO boards, etc., their working states in the actual railway signal interlocking system are simulated according to the control signal instruction. At the same time, for trackside equipment, such as actual turnouts, signal machines, track circuits, etc., the operating state can also be simulated based on the control signal instruction. In addition, in this simulation process, the all-electronic simulator needs to comprehensively consider various factors and conditions, such as the collaborative working relationship between different boards, the signal interaction mechanism between trackside equipment and boards, and the state change law of the system in different operating stages, so as to obtain a simulated operating state that truly reflects the operating conditions of the system. In addition, the simulated operating state of the all-electronic board and trackside equipment will be displayed in the human-machine interface of the all-electronic simulator.

[0076] Subsequently, in order to construct a complete signal feedback loop and perform subsequent processing, the fully electronic simulator converts the simulated operation state into a first state signal parameter through configuration, and sends the first state signal parameter to the communication plug-in, converts the first state signal parameter into a second state signal parameter through the communication plug-in, and sends the second state signal parameter to the fully electronic logic control host. Among them, the first state signal parameter and the second state signal parameter meet the communication protocol requirements of the CAN end and the Socket end respectively.

[0077] As can be seen from the above, the present application adds a communication plug-in to the fully electronic computer interlocking system and configures it according to the fully electronic IO allocation table, which contains the fully electronic board point information and the corresponding communication address. Based on this table and the fully electronic cabinet assembly, the fully electronic simulation machine is configured to obtain a configured simulation machine. If the communication link between the fully electronic logic control host, the communication plug-in and the configured simulation machine is successful, the fully electronic logic control host receives the control command of the system host computer, and the communication plug-in converts the first control signal parameter generated by the host according to the command into a second control signal parameter that complies with the Socket end protocol. The configured simulation machine determines the control signal instruction accordingly to simulate the operating status of the fully electronic board and the trackside equipment. In this way, the present application can effectively improve the reliability and flexibility of the simulation test of the fully electronic computer interlocking system, thereby improving the user experience.

[0078] See also Figure 3 As shown, in order to realize the fault injection of the all-electronic logic control host, the embodiment of the present application further provides a specific all-electronic computer interlocking system simulation test method, including:

[0079] Step S21: construct a preset fault type mapping table based on the CAN communication fault type, and save the preset fault type mapping table to the communication plug-in.

[0080] In this embodiment, the construction of the preset fault type mapping table requires the study of various CAN communication fault conditions that may occur in the fully electronic computer interlocking system. These fault types may cover a variety of situations such as short circuit, open circuit, signal interference, data transmission error, etc. of the communication line, and each fault type may have different degrees of impact on the normal operation of the system. By analyzing and classifying these fault types in detail, they are associated with the corresponding fault information to form a preset fault type mapping table.

[0081] After the construction is completed, this preset fault type mapping table is saved in the communication plug-in. The communication plug-in serves as a key communication bridge between the all-electronic logic control host and the all-electronic simulator, which can ensure that the fault information corresponding to the target fault instruction is accurately obtained during the subsequent fault injection test.

[0082] Step S22: When the target communication fault instruction is selected through the full electronic simulation machine, the target communication fault instruction is sent to the communication plug-in based on the Socket communication method.

[0083] When performing fault injection, the operator can select the target communication fault instruction on the operation interface provided by the full electronic simulator according to specific needs. Once the target communication fault instruction is selected, and because the data transmission between the communication plug-in and the full electronic simulator needs to be carried out through the Socket method, the full electronic simulator will send the target communication fault instruction to the communication plug-in based on the Socket communication method after configuration.

[0084] Step S23: query the fault information corresponding to the target communication fault instruction from the preset fault type mapping table through the communication plug-in, and transmit the fault information to the full electronic logic control host based on the CAN communication method.

[0085] In this embodiment, after receiving the target communication fault instruction issued by the fully electronic simulator, the communication plug-in will search and match in the preset fault type mapping table to query the fault information corresponding to the target communication fault instruction. Once the corresponding fault information is found, the communication plug-in will convert the fault information into a data packet format suitable for transmission in the CAN communication mode according to the communication protocol requirements of the fully electronic computer interlocking system, and transmit the fault information to the fully electronic logic control host through its CAN end.

[0086] Step S24: The fault information is identified by the fully electronic logic control host, and the obtained identification result is used to display the fault information accordingly in the system host computer to complete the fault injection of the fully electronic logic control host.

[0087] After receiving the fault information transmitted by the communication plug-in, the fully electronic logic control host immediately starts its internal fault identification program to identify the fault information accordingly. After completing the fault identification, the fully electronic logic control host will transmit the identification results to the system host computer through the communication link inside the system, and the system host computer can display the received fault information to a certain extent. The operator can understand the fault situation of the system in real time through the display interface of the host computer, and perform corresponding processing and decision-making according to the preset emergency plan and operating procedures, thereby completing the fault injection of the fully electronic logic control host.

[0088] As can be seen from the above, the present application constructs a preset fault type mapping table, selects the target communication fault instruction on the all-electronic simulation machine, and sends the target communication fault instruction to the communication plug-in through the Socket communication method, so that the communication plug-in queries the corresponding fault information according to the preset fault type mapping table, so as to transmit the fault information sent by the communication plug-in to the system host computer through the all-electronic logic control host, thereby realizing the fault injection of the all-electronic logic control host in the all-electronic computer interlocking system. This enables the system to expose potential problems during the simulation test phase. In this way, the present application provides a solid guarantee for the safe and stable operation of the all-electronic computer interlocking system, and effectively reduces the safety risks and the possibility of operation interruption caused by faults.

[0089] Accordingly, see Figure 4 As shown, the embodiment of the present application provides a full electronic computer interlocking system simulation test device, comprising:

[0090] The plug-in configuration module 11 is used to add a communication plug-in in the all-electronic computer interlocking system, the CAN end being connected to the all-electronic logic control host and the Socket end being connected to the all-electronic simulation machine, and to configure the communication plug-in based on the all-electronic IO allocation table; the all-electronic IO allocation table is a table containing the point information of the all-electronic board and the communication address corresponding to the all-electronic board;

[0091] The simulation machine configuration module 12 is used to configure the fully electronic simulation machine based on the fully electronic IO allocation table and the fully electronic cabinet assembly to obtain the configured fully electronic simulation machine; the fully electronic cabinet assembly is a collection of fully electronic cabinets, and each fully electronic cabinet contains the information of the fully electronic board;

[0092] A command issuing module 13 is used to obtain the control command issued by the system host computer through the full electronic logic control host when the communication link between the full electronic logic control host, the communication plug-in and the configured full electronic simulation machine has been successfully established;

[0093] A parameter conversion module 14, used to convert the first control signal parameter generated by the full electronic logic control host based on the control command into a second control signal parameter through the communication plug-in; the first control signal parameter and the second control signal parameter respectively meet the communication protocol requirements of the CAN end and the Socket end;

[0094] The state simulation module 15 is used to determine the corresponding control signal instruction based on the second control signal parameter through the configured all-electronic simulation machine, and simulate the operating state of the all-electronic board and trackside equipment based on the control signal instruction.

[0095] As can be seen from the above, the present application adds a communication plug-in to the fully electronic computer interlocking system and configures it according to the fully electronic IO allocation table, which contains the fully electronic board point information and the corresponding communication address. Based on this table and the fully electronic cabinet assembly, the fully electronic simulation machine is configured to obtain a configured simulation machine. If the communication link between the fully electronic logic control host, the communication plug-in and the configured simulation machine is successful, the fully electronic logic control host receives the control command of the system host computer, and the communication plug-in converts the first control signal parameter generated by the host according to the command into a second control signal parameter that complies with the Socket end protocol. The configured simulation machine determines the control signal instruction accordingly to simulate the operating status of the fully electronic board and the trackside equipment. In this way, the present application can effectively improve the reliability and flexibility of the simulation test of the fully electronic computer interlocking system, thereby improving the user experience.

[0096] In a specific implementation, the plug-in configuration module 11 specifically includes:

[0097] A first Socket end configuration unit, configured for configuring a data receiving source, a first destination IP address and a first port number for the Socket end of the communication plug-in to communicate with the all-electronic simulation machine based on the all-electronic IO allocation table;

[0098] A CAN terminal configuration unit is used to configure a CAN number for the CAN terminal of the communication plug-in based on the full electronic IO allocation table.

[0099] In a specific implementation, the simulation machine configuration module 12 specifically includes:

[0100] A second Socket end configuration unit, configured for configuring a data receiving source, a second destination IP address and a second port number for the Socket end of the all-electronic simulation machine to communicate with the communication plug-in based on the all-electronic IO allocation table;

[0101] The all-electronic board configuration unit is used to configure the cabinet number, group box number, board number and communication address corresponding to the CAN number of the all-electronic board for the all-electronic simulation machine based on the all-electronic cabinet assembly.

[0102] In a specific implementation manner, the command issuing module 13 further includes:

[0103] The plug-in configuration unit is used to jump back to the step of configuring the communication plug-in based on the all-electronic IO allocation table when the communication link between the all-electronic logic control host, the communication plug-in and the configured all-electronic simulation machine is not successfully established until the communication link is successfully established.

[0104] In a specific implementation, the parameter conversion module 14 specifically includes:

[0105] A first parameter conversion unit, configured to convert the control command into a first control signal parameter based on a preset logic algorithm through the all-electronic logic control host, and send the first control signal parameter to the communication plug-in;

[0106] The second parameter conversion unit is used to convert the first control signal parameter into a second control signal parameter based on a preset CAN-Socket protocol through the communication plug-in, so as to send the second control signal parameter to the configured full electronic simulator.

[0107] In a specific implementation, the state simulation module 15 specifically includes:

[0108] A third parameter conversion unit, used for converting the second control signal parameter through the configured full electronic simulator to obtain a corresponding control signal instruction;

[0109] A state simulation unit, used to simulate the operating state of the all-electronic board and the trackside equipment using the control signal instruction to obtain a simulated operating state;

[0110] A state conversion unit, used for converting the simulated operation state into a first state signal parameter through the configured all-electronic simulator, and sending the first state signal parameter to the communication plug-in;

[0111] A state parameter conversion unit is used to convert the first state signal parameter into a second state signal parameter through the communication plug-in, and send the second state signal parameter to the fully electronic logic control host; wherein the first state signal parameter and the second state signal parameter respectively meet the communication protocol requirements of the CAN end and the Socket end.

[0112] In a specific embodiment, the fully electronic computer interlocking system simulation test device further comprises:

[0113] A mapping table construction unit, used to construct a preset fault type mapping table based on the CAN communication fault type, and save the preset fault type mapping table to the communication plug-in;

[0114] An instruction issuing unit, used for issuing the target communication fault instruction to the communication plug-in based on the Socket communication mode when the target communication fault instruction is selected by the configured full electronic simulation machine;

[0115] An information transmission unit, used for querying the fault information corresponding to the target communication fault instruction from the preset fault type mapping table through the communication plug-in, and transmitting the fault information to the full electronic logic control host based on the CAN communication mode;

[0116] The information display unit is used to identify the fault information through the fully electronic logic control host, and use the obtained identification result to display the fault information accordingly in the system host computer to complete the fault injection of the fully electronic logic control host.

[0117] Furthermore, the present application also discloses an electronic device. Figure 5 It is a structural diagram of an electronic device 20 shown according to an exemplary embodiment, and the content in the figure cannot be regarded as any limitation on the scope of use of this application. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. Among them, the memory 22 is used to store a computer program, and the computer program is loaded and executed by the processor 21 to implement the relevant steps in the simulation test method of the full electronic computer interlocking system disclosed in any of the aforementioned embodiments. In addition, the electronic device 20 in this embodiment may specifically be an electronic computer.

[0118] In this embodiment, the power supply 23 is used to provide working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and the external device, and the communication protocol it follows is any communication protocol that can be applied to the technical solution of the present application, and is not specifically limited here; the input and output interface 25 is used to obtain external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs and is not specifically limited here.

[0119] In addition, the memory 22 as a carrier for resource storage may be a read-only memory, a random access memory, a disk or an optical disk, etc. The resources stored thereon may include an operating system 221, a computer program 222, etc., and the storage method may be temporary storage or permanent storage.

[0120] The operating system 221 is used to manage and control the hardware devices and computer program 222 on the electronic device 20, which can be Windows Server, Netware, Unix, Linux, etc. In addition to the computer program that can be used to complete the full electronic computer interlocking system simulation test method performed by the electronic device 20 disclosed in any of the aforementioned embodiments, the computer program 222 can further include computer programs that can be used to complete other specific tasks.

[0121] Furthermore, the present application also discloses a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processor, the aforementioned fully electronic computer interlocking system simulation test method disclosed above is implemented. The specific steps of the method can be referred to the corresponding contents disclosed in the aforementioned embodiments, and will not be repeated here.

[0122] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0123] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0124] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0125] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including 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, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0126] The technical solution provided by the present application is introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for general technicians in this field, according to the idea of ​​the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A simulation test method for a fully electronic computer interlocking system, characterized in that: include: Add a communication plug-in in the all-electronic computer interlocking system, wherein the CAN end is connected to the all-electronic logic control host, and the Socket end is connected to the all-electronic simulation machine, and configure the communication plug-in based on the all-electronic IO allocation table; The fully electronic IO allocation table is a table including the point information of the fully electronic board and the communication address corresponding to the fully electronic board; The fully electronic simulation machine is configured based on the fully electronic IO allocation table and the fully electronic cabinet assembly to obtain a configured fully electronic simulation machine; The all-electronic cabinets are a collection of all-electronic cabinets, each of which contains information about the all-electronic boards; When the communication link between the all-electronic logic control host, the communication plug-in and the configured all-electronic simulation machine has been successfully established, the control command issued by the system host computer is obtained through the all-electronic logic control host; The first control signal parameter generated by the fully electronic logic control host based on the control command is converted into a second control signal parameter through the communication plug-in; the first control signal parameter and the second control signal parameter respectively meet the communication protocol requirements of the CAN end and the Socket end; After the configuration, the fully electronic simulation machine determines the corresponding control signal instructions based on the second control signal parameters, and simulates the operating status of the fully electronic board and trackside equipment based on the control signal instructions.

2. The full electronic computer interlocking system simulation test method according to claim 1 is characterized in that: The configuring the communication plug-in based on the all-electronic IO allocation table includes: Based on the all-electronic IO allocation table, the Socket end of the communication plug-in is configured with a data receiving source, a first destination IP address and a first port number for communicating with the all-electronic simulation machine; A CAN number is configured for the CAN end of the communication plug-in based on the fully electronic IO allocation table.

3. The simulation test method of the fully electronic computer interlocking system according to claim 1 is characterized in that: The configuring the all-electronic simulation machine based on the all-electronic IO allocation table and the all-electronic cabinet assembly includes: Based on the all-electronic IO allocation table, the Socket end of the all-electronic simulation machine is configured with a data receiving source, a second destination IP address and a second port number for communicating with the communication plug-in; Based on the all-electronic cabinet assembly, the cabinet number, the group box number, the board number and the communication address corresponding to the CAN number corresponding to the all-electronic board are configured for the all-electronic simulation machine.

4. The simulation test method of the fully electronic computer interlocking system according to claim 1 is characterized in that: Also includes: When the communication link between the all-electronic logic control host, the communication plug-in and the configured all-electronic simulation machine is not successfully established, the step of configuring the communication plug-in based on the all-electronic IO allocation table is jumped again until the communication link is successfully established.

5. The simulation test method for a fully electronic computer interlocking system according to claim 1 is characterized in that: The converting the first control signal parameter generated by the all-electronic logic control host based on the control command into the second control signal parameter through the communication plug-in includes: The control command is converted into a first control signal parameter based on a preset logic algorithm by the all-electronic logic control host, and the first control signal parameter is sent to the communication plug-in; The first control signal parameter is converted into a second control signal parameter based on a preset CAN-Socket protocol through the communication plug-in, so as to send the second control signal parameter to the configured all-electronic simulator.

6. The simulation test method for a fully electronic computer interlocking system according to claim 1 is characterized in that: The configured all-electronic simulation machine determines the corresponding control signal instruction based on the second control signal parameter, and simulates the operation status of the all-electronic board and the trackside equipment based on the control signal instruction, including: The configured fully electronic simulator converts the second control signal parameter to obtain a corresponding control signal instruction; Using the control signal instruction to simulate the operating state of the all-electronic board and the trackside equipment to obtain a simulated operating state; After the configuration, the fully electronic simulation machine converts the simulated operation state into a first state signal parameter, and sends the first state signal parameter to the communication plug-in; converting the first state signal parameter into a second state signal parameter through the communication plug-in, and sending the second state signal parameter to the all-electronic logic control host; The first status signal parameter and the second status signal parameter respectively meet the communication protocol requirements of the CAN end and the Socket end.

7. The simulation test method for a fully electronic computer interlocking system according to any one of claims 1 to 6, characterized in that: Also includes: Constructing a preset fault type mapping table based on the CAN communication fault type, and saving the preset fault type mapping table to the communication plug-in; When the target communication fault instruction is selected by the configured full electronic simulation machine, the target communication fault instruction is sent to the communication plug-in based on the Socket communication method; querying the fault information corresponding to the target communication fault instruction from the preset fault type mapping table through the communication plug-in, and transmitting the fault information to the full electronic logic control host based on the CAN communication mode; The fault information is identified by the fully electronic logic control host, and the obtained identification result is used to display the fault information accordingly in the system host computer, so as to complete the fault injection of the fully electronic logic control host.

8. A fully electronic computer interlocking system simulation test device, characterized in that: include: A plug-in configuration module is used to add a communication plug-in in the all-electronic computer interlocking system, the CAN end being connected to the all-electronic logic control host and the Socket end being connected to the all-electronic simulation machine, and to configure the communication plug-in based on the all-electronic IO allocation table; the all-electronic IO allocation table is a table containing the point information of the all-electronic board and the communication address corresponding to the all-electronic board; A simulation machine configuration module, configured to configure the fully electronic simulation machine based on the fully electronic IO allocation table and the fully electronic cabinet assembly to obtain a configured fully electronic simulation machine; the fully electronic cabinet assembly is a collection of fully electronic cabinets, each of which contains information about the fully electronic board; A command issuing module, used for obtaining the control command issued by the system host computer through the all-electronic logic control host when the communication link between the all-electronic logic control host, the communication plug-in and the configured all-electronic simulation machine has been successfully established; A parameter conversion module, used to convert the first control signal parameter generated by the fully electronic logic control host based on the control command into a second control signal parameter through the communication plug-in; the first control signal parameter and the second control signal parameter respectively meet the communication protocol requirements of the CAN end and the Socket end; A state simulation module is used to determine the corresponding control signal instructions based on the second control signal parameters through the configured all-electronic simulation machine, and simulate the operating status of the all-electronic board and trackside equipment based on the control signal instructions.

9. An electronic device, characterized in that: include: Memory, used to store computer programs; A processor is used to execute the computer program to implement the simulation test method of the fully electronic computer interlocking system as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: Used to store computer programs; wherein, when the computer program is executed by a processor, a simulation test method for a fully electronic computer interlocking system as described in any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • TCMS (Train Control and Monitoring System) testing system and method

    CN103676921A

  • Electronic interlocking simulation test method and system, equipment and storage medium

    CN114064371A

  • Full-electronic interlocking test system, method and device and electronic equipment

    CN116279703A