A secure coding transmission device for rail signaling system

By designing a secure coded transmission device for the track signal system, using dual-ring redundant Ethernet communication and Modbus-TCP protocol, the problem of availability and security of information transmission after the subway control center was destroyed by fire was solved, achieving high availability and information real-time.

CN115801183BActive Publication Date: 2024-08-27CASCO SIGNAL LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211280937.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-19
Publication Date
2024-08-27
Estimated Expiration
2042-10-19

AI Technical Summary

Technical Problem

The control center of Metro Lines 1 to 6 was destroyed by fire, causing the train operation monitoring function to be paralyzed. It was necessary to develop a new system to replace the original system to ensure the real-time and availability of the interface and information transmission with the existing train monitoring system.

Method used

Design a safe coding transmission device for track signal systems, using dual-ring redundant Ethernet communication connections. Information transmission and verification are carried out between the control center and on-board equipment through the communication front-end machine and FSK/LAN protocol conversion module, using Modbus-TCP protocol and SC-32 security code verification realize safe transmission and verification of information.

Benefits of technology

It achieves the high availability of the system and the security of information transmission, avoids single points of failure, ensures the real-time and accuracy of information, reduces the probability of system failure, and meets operational needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115801183B
    Figure CN115801183B
Patent Text Reader

Abstract

The present invention relates to a secure coding transmission device for a track signal system, comprising a control center and an onboard device, wherein the control center and the onboard device are connected by dual-ring redundant Ethernet communication, the control center comprises a redundant communication front-end, the onboard device is provided with an FSK and LAN protocol conversion module, and the communication front-end and the FSK and LAN protocol conversion module are embedded with software modules for information transmission and information verification. Compared with the prior art, the present invention has the advantages of being able to effectively avoid system failures caused by single-point failures of the system, and maximizing system availability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a train signal control system, and in particular to a safety coding transmission device for a track signal system. Background Art

[0002] A fire broke out in the PCC1, the subway command center No. 1, and the entire building was burned down, causing the central train control system of Lines 1 to 6 to be completely paralyzed. After the fire, the operation of Lines 1 to 6 was in the state of train control through the station relay interlocking unit, and the control center used CCTV to monitor the train position. The low efficiency of train control led to a significant decline in the capacity of the six subway lines, and the train operation interval was reduced from 2 minutes to 5 minutes. The subway company urgently needed to restore the train monitoring function of the control center.

[0003] The train control systems for Metro Lines 1 to 6 all use relay interlocking + train control system PA + centralized command system MC based on FSK (Frequency-shift keying) communication to achieve train operation safety control and centralized dispatching based on fixed block.

[0004] The above-mentioned traffic control system is based on MC as the core. All relevant subsystems are connected to MC by hard-wired connection of drive acquisition. Different equipment installation locations, such as the control center and the station, use FSK as the communication mode between MC and MC. The system block diagram is referenced. Figure 1 .

[0005] The parts of the control center destroyed by the fire were mainly the dispatching desk (used for dispatching and issuing control commands, such as route establishment), the traffic control optical panel TCO (observing the position and signal status of the train on the line), the attached command desk, the control center MC cabinet with TCO and station interlocking and PA interface, while the MC, relay interlocking and PA cabinet located at the station were intact. In addition, since the original control center building was reduced to ruins in the fire, the FSK information transmission line between the control center MC and the station MC was also destroyed. The Melbourne Metro Company set up the new control center in the Melbourne Security Center C5, so the communication between the 6 lines and the new control center is also a problem that needs to be considered in the design.

[0006] Therefore, how to solve the following problems becomes a technical problem that needs to be solved:

[0007] 1. How to preserve the station MC, relay interlocking, PA, trackside track circuit and loop line, signal machine, and on-board equipment as much as possible;

[0008] 2. According to the technical requirements of the existing OCC central control system, how to develop a control center ATS traffic command system to replace the original system TCO and dispatching desk. The system will interface with relay interlocking and PA equipment to cover the functions of the existing traffic monitoring system;

[0009] 3. How to realize Ethernet transmission between the control center and the station FSK interface equipment, and design a matching network transmission protocol to ensure the same level of information real-time and availability as the existing system. Summary of the invention

[0010] The purpose of the present invention is to overcome the defects of the above-mentioned prior art and provide a safe coding transmission device for a track signal system.

[0011] The purpose of the present invention can be achieved by the following technical solutions:

[0012] According to a first aspect of the present invention, there is provided a secure coding transmission device for a rail signal system, comprising a control center and an on-board device, wherein a dual-ring redundant Ethernet communication connection is adopted between the control center and the on-board device, the control center comprises a redundant communication front-end processor, the on-board device is provided with an FSK and LAN protocol conversion module, and the communication front-end processor and the FSK and LAN protocol conversion module are embedded with software modules for information transmission and information verification.

[0013] As a preferred technical solution, the FSK and LAN protocol conversion module between the communication front-end and the vehicle-mounted equipment adopts four IP communication connections, two of which correspond to the red network and two to the blue network, and the communication protocol adopts a secure communication protocol developed under the Modbus-TCP standard protocol framework.

[0014] As a preferred technical solution, the communication front-end initiates a request as the Master of the Modbus-TCP protocol, and the FSK and LAN protocol conversion module responds to the request as the Slave of the Modbus-TCP protocol, wherein the communication cycle T is configurable.

[0015] As a preferred technical solution, one of the four IP connections is a main connection Master IP, and the main connection Master IP sends a polling status request and a control command write request to the FSK and LAN protocol conversion module at the same time;

[0016] The other three slave connections only send polling status requests, obtain the responses from the FSK and LAN protocol conversion modules as data backup, and maintain the communication links between them and the FSK and LAN protocol conversion modules.

[0017] As a preferred technical solution, when the main connection Master IP fails, one is automatically selected and promoted to the main connection Master IP based on the availability and health of the three slave connections, thereby achieving seamless switching under system status.

[0018] As a preferred technical solution, the software module for information transmission and information verification includes a TC information coding group verification and packaging module, a security code generation module, a Modbus-TCP protocol encapsulation module, a Modbus-TCP protocol parsing module, a security code verification module and a TK information coding unpacking and group verification module connected in sequence.

[0019] As a preferred technical solution, the specific processing process of the TC information coding grouping verification and packaging module is as follows:

[0020] Step S101, obtaining all control command variables of the mother station from the upper ATS application server;

[0021] Step S102, grouping and encoding the information according to different types of variable formats;

[0022] Step S103, checking the generated information content to ensure that the corresponding output complies with the Karnaugh map output variable non-tangency principle;

[0023] Step S104, according to the interface data definition, all output information is packaged;

[0024] Step S105, complete the package assembly and send it to the downstream security code generation module for processing.

[0025] As a preferred technical solution, the specific processing process of the TK information encoding, unpacking and grouping verification module is as follows:

[0026] Step S201, obtaining data containing all information variables representing the parent station from the security code verification module;

[0027] Step S202, according to the data interface definition, the information is grouped and decoded according to different types of variable formats;

[0028] Step S203, checking each information content to confirm whether it complies with the Karnaugh map output variable non-tangency principle, if yes, executing step S204, otherwise executing step S205;

[0029] Step S204, sending to the upstream ATS application server for processing;

[0030] Step S205, discard the packet data and send an alarm message to the exception handling module.

[0031] As a preferred technical solution, the specific processing process of the security code generation module is as follows:

[0032] Step S301, obtaining the verified and packaged information packets from the upper layer TC information coding grouping verification and package assembly module;

[0033] Step S302, adding Lbits of empty information to the information packet, filling the information bits according to the SC-32 security code generation requirements, and generating an information sequence;

[0034] Step S303, generating an SC-32 security information code according to a table lookup method, and adding it to the corresponding information bit of the VDP packet according to VDP format requirements;

[0035] Step S304, the internal security counter variable +1 is added to the corresponding information bit of the VDP packet after synchronization;

[0036] Step S305, complete the VDP package and send it to the downstream Modbus-TCP protocol encapsulation module for processing.

[0037] As a preferred technical solution, the specific processing process of the security code verification module is as follows:

[0038] Step S401, obtaining an M+128bits VDP information packet containing a 128bits security code from a Modbus-TCP protocol parsing module;

[0039] Step S402, determine whether the security counter variable value is equal to the request value of the current record, if yes, execute step S403, otherwise execute step S404;

[0040] Step S403, verifying the information content according to the generating polynomial and the information security code, and executing step S405;

[0041] Step S404: if the security counter of the received information is not equal to the current request information, the information is expired and the data package is discarded;

[0042] Step S405, determine whether the SC-32 check is correct, if yes, execute step S406, otherwise execute step S407;

[0043] Step S406, information unpacking, sending M bits of user data to the upper layer TK information coding and unpacking and packet verification module for application layer information verification;

[0044] Step S407, channel monitoring threshold K3+1, and determining whether K3 is less than the set threshold, if yes, executing step S408, otherwise executing step S409;

[0045] Step S408, discarding the packet data;

[0046] Step S409: permanently close the IP Modbus-TCP session and generate a network channel failure alarm.

[0047] As a preferred technical solution, the K3 is the coefficient of RH3, and RH3 is the tolerable risk rate of undetected damaged VDPs.

[0048] As a preferred technical solution, the data between the Modbus-TCP protocol encapsulation module and the Modbus-TCP protocol parsing module includes two groups of four different information type messages.

[0049] As a preferred technical solution, the two groups of four different information type message bureaus include:

[0050] The first group includes:

[0051] Polling status request message, sent by the communication front-end to the FSK and LAN protocol conversion module;

[0052] Polling status response message, sent by the FSK and LAN protocol conversion module to the communication front-end;

[0053] The second group includes:

[0054] Control command write request message, sent by the communication front-end to the FSK and LAN protocol conversion module;

[0055] The control command write request response message is sent by the FSK and LAN protocol conversion module to the communication front-end.

[0056] As a preferred technical solution, the software module for information transmission and information verification also includes a clock synchronization module, which is used to connect to an external GPS clock server to provide clock synchronization services for the upper-layer ATS application service system and the lower-layer FSK and LAN protocol conversion module in the event of a loss of GPS signal.

[0057] As a preferred technical solution, the software module for information transmission and information verification also includes an exception handling module.

[0058] As a preferred technical solution, the exception handling module includes the following functions:

[0059] a) Monitor the working status of the equipment, receive alarm information from other functional modules, upload it to the application server or close the corresponding IP port communication when necessary;

[0060] b) When the device is started or a single function module is restarted, check the initialization parameter settings of each function module and reset these parameters;

[0061] c) Manage the dual-machine synchronization function of the two communication front-end machines. If necessary, if the main communication front-end machine fails and loses heartbeat changes, implement dual-machine switching operations.

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

[0063] 1) The device of the present invention is designed based on a fully redundant architecture. The control center communication front-end adopts a dual-server, dual-network 4IP architecture, and the station FSK / LAN module adopts a dual-network 4IP architecture. The Ethernet for communication between them adopts a physical dual-ring COTS high-reliability Ethernet switch with ring protection function. This architectural design can effectively avoid system failure caused by single-point failure of the system and maximize the system availability.

[0064] 2) The network communication protocol of the present invention is developed based on the standard Modbus TCP / IP, and data security check tail information is added to the application data layer. The SC-32 standard CRC cyclic redundancy algorithm defined in GB / T 20830 is used, and system security clock and channel monitoring management are added. Through the above-mentioned security coding method and software detection, it can be quantitatively estimated that the probability of information transmission errors not being detected and being incorrectly cited by the system is lower than RH3=10 -8 ,This probability is important and acceptable for achieving the overall safety index of the system;

[0065] 3) According to the existing MC information coding characteristics, the present invention designs an information generation and group verification module, and verifies the information generation principle from both the sending and receiving ends to ensure that no illegal code bits will appear, thereby avoiding MC's erroneous output to upstream systems such as ATS application servers, and downstream systems such as relay interlocks and PAs;

[0066] 4) The communication software information processing program design of the present invention adopts a modular design, and the code can be easily transplanted between the communication front-end and the station FSK / LAN module, ensuring the consistency of the software modules for the development of products with similar functions. BRIEF DESCRIPTION OF THE DRAWINGS

[0067] Figure 1 This is a schematic diagram of the existing SGTE traffic control system centered on MC;

[0068] Figure 2 This is a schematic diagram of the redundant architecture communication front-end of the control center;

[0069] Figure 3 This is a schematic diagram of the dual-ring redundant Ethernet structure between the control center and the station;

[0070] Figure 4This is a schematic diagram of the connection between the station FSK and LAN protocol conversion module (hereinafter referred to as: FSK / LAN module) and the upper switch and the lower train control system;

[0071] Figure 5 This is a schematic diagram of the four IP connections between the control center and the station;

[0072] Figure 6 It is the communication flow chart between the communication front-end and the FSK / LAN module;

[0073] Figure 7 This is a schematic diagram of the deployment of the control center's redundant architecture communication front-end software module;

[0074] Figure 8 Flowchart generated for VDP data;

[0075] Fig. 9 Flow chart for VDP data verification;

[0076] Fig.10 A schematic diagram for representing and controlling information coding and data flow;

[0077] Fig.11 Flowchart for TC control information generation;

[0078] Fig.12 This is a flow chart of TK information verification. DETAILED DESCRIPTION

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

[0080] The present invention is based on the demand and develops a secure coding transmission device applied to the MC system to solve the Ethernet security communication problem between the newly built control center and the stations of Lines 1 to 6. The present invention has the following characteristics:

[0081] 1. Adopt network transmission security communication protocol, add information security layer on the basis of general network communication protocol, and ensure the timeliness and security of information transmission;

[0082] 2. The control center equipment and station network communication equipment adopt redundant architecture design to ensure high reliability of information transmission;

[0083] 3. Both the control center equipment and the station network communication equipment take into account the downgrade processing of communication failure to ensure the security and accuracy of control instructions and center display information;

[0084] 4. An MC interface information packet verification module was developed in the communication front-end application to check and verify the format of the control commands issued by the ATS application server and the information packets uploaded by the station FSK / LAN module to ensure the integrity and correctness of the information content itself.

[0085] From the hardware structure point of view, the functional module distribution architecture of the present invention refers to Figure 2 (Control Center), Figure 3 (Control center is connected with station ring network), Figure 4 (station), divided into 3 parts:

[0086] A. Control center redundant architecture communication front-end, high-precision GPS clock module and upper and lower network connections;

[0087] B. Dual-ring redundant Ethernet network between the control center and the station;

[0088] C. Station FSK / LAN redundant communication Ethernet protocol converter.

[0089] The system security transmission coding and devices covered by the present invention mainly involve the above three parts, among which the software transmission and information verification modules are mainly deployed on the control center's redundant architecture communication front-end and the station's FSK / LAN redundant communication Ethernet protocol converter, and the physical channel for information transmission between them is realized through a dual-ring redundant Ethernet network between the control center and the station.

[0090] This invention focuses on describing the hardware and software architecture of the control center front-end, the software module functions and implementation methods. The station FSK / LAN module will be used as a whole, and the dual-ring redundant network between the control center and the station adopts COTS commercial off-the-shelf products, so it will not be described.

[0091] 1. Hardware and software architecture of the control center front-end

[0092] The control center communication front-end adopts an A / B redundant architecture. At the same time, it maintains 4 IP links with the station FSK / LAN conversion module, 2 for the red network and 2 for the blue network. The application layer adopts a secure communication protocol developed under the Modbus-TCP standard protocol framework.

[0093] The ATS communication front-end initiates a request as the Master of the Modbus-TCP protocol (Slave of TCP), and the FSK / LAN module responds to the request as the Slave of the Modbus-TCP protocol (Master of TCP). The communication cycle T is configurable and is usually 1s.

[0094] One of the four IP connections is the master connection (Master IP), which sends a polling status request (TK polling request) and a control command writing request (TC writing request) to the FSK / LAN module at the same time. The ATS system will accept the information of the master connection and upload it to the application server for further processing. The other three slave connections only send polling status requests, obtain the response from the FSK / LAN module as data backup, and maintain the communication link between them and the FSK / LAN module.

[0095] When the master IP fails due to some reason (such as the communication front-end machine crashes or other reasons, such as manual reversal leading to dual-system switching, single-system failure of FSK / LAN redundant communication module, central station communication network failure, etc.), the system automatically selects one from the three slave IPs (Slave IP) based on their availability and health and makes it the master IP, thereby achieving seamless switching under system status and meeting operational availability requirements.

[0096] Reference for IP master-slave relationship between communication front-end and station FSK / LAN module Figure 5 .

[0097] Communication front-end and FSK / LAN module Modbus-TCP information processing flow reference Figure 6 , the communication flow of the four IPs follows the same process.

[0098] 2. Reference for deployment of control center redundant architecture communication front-end software function modules Figure 7 , including the TC information coding grouping verification and packaging module, the security code generation module, the Modbus-TCP protocol encapsulation module, the Modbus-TCP protocol parsing module, the security code verification module and the TK information coding unpacking and grouping verification module, which are connected in sequence. Each software functional module is described below.

[0099] 1) Modbus-TCP protocol encapsulation module, Modbus-TCP protocol parsing module

[0100] The secure communication protocol between the control center communication front-end and the station FSK / LAN module is developed based on the standard Modbus-TCP protocol stack and implemented by the Modbus-TCP protocol encapsulation and parsing module. It is divided into 2 groups of 4 different information type messages, defined according to the following rules:

[0101] Group 1 (Master and Slave IP):

[0102] a) TK polling request, communication front-end -> FSK / LAN;

[0103] b) TK polling response, FSK / LAN->communication front-end;

[0104] Group 2 (primary IP only):

[0105] a) TC writing request, communication front-end -> FSK / LAN;

[0106] b) TC writing request response, FSK / LAN->communication front-end.

[0107] The Modbus-TCP protocol stack definition refers to Table 1 (the read and write formats are similar and are unified in the same figure).

[0108] Table 1

[0109]

[0110]

[0111] 2) Safety code generation / verification module

[0112] The security code generation / verification module mainly processes the security process data VDP. The VDP data format is shown in Table 2. This module has two functions:

[0113] a) Security code generation and analysis:

[0114] According to the application data content, the sender fills the security counter and generates the SC-32 security check code, which is attached to the end of the information packet as security check information and sent to the receiver. The receiver parses it and verifies the order, timeliness and content of the information report. The SC-32 used defines a cyclic redundancy code for calculating the security code. The generating polynomial is "1F4ACFB13". The specific algorithm is specified in GB / T 20830-2015.

[0115] Table 2

[0116]

[0117] b) Channel monitoring:

[0118] Channel monitoring is used to detect sudden increases in transmission error rates, which may be caused by software or hardware damage to a component in the IP transmission channel, such as the communication front-end network card, the station FSK / LAN network module, or the ring network switch node between them. The increase in the transmission error rate may make the probability that the security code cannot detect errors exceed the acceptable range. These failures may be permanent, such as the communication front-end network card, the station FSK / LAN network module failure, which requires repair to recover the system; or they may be temporary, such as temporary congestion of the transmission network, and the system may recover automatically.

[0119] If the number of received VDPs with security code errors exceeds the threshold defined by parameter K3 (channel monitoring threshold), the channel monitoring function will indicate that security communication is lost and the main program will permanently close the associated IP session. If the security code error rate of received VDPs is lower than K3, the channel monitoring function will cancel the security communication loss indication.

[0120] In the present invention, K3 is set to K3 = 43 times / hour, which is configured by the application layer program through the data preparation tool. K3 is the coefficient of RH3, RH3 is the tolerable risk rate of undetected damaged VDPs, and the detection performance of the security code SC-32 for damaged VDPs PUS≈2 -32 (Refer to IEC62280). K3=43 is obtained by making RH3=10 -8 And it is calculated.

[0121] like Figure 8 As shown, the specific processing process of the security code generation module is as follows:

[0122] Step S301, obtaining the verified and packaged information packets from the upper layer TC information coding grouping verification and package assembly module;

[0123] Step S302, adding Lbits of empty information to the information packet, filling the information bits according to the SC-32 security code generation requirements, and generating an information sequence;

[0124] Step S303, generating an SC-32 security information code according to a table lookup method, and adding it to the corresponding information bit of the VDP packet according to VDP format requirements;

[0125] Step S304, the internal security counter variable +1 is added to the corresponding information bit of the VDP packet after synchronization;

[0126] Step S305, complete the VDP package and send it to the downstream Modbus-TCP protocol encapsulation module for processing.

[0127] like Fig. 9 As shown, the specific processing process of the security code verification module is as follows:

[0128] Step S401, obtaining an M+128bits VDP information packet containing a 128bits security code from a Modbus-TCP protocol parsing module;

[0129] Step S402, determine whether the security counter variable value is equal to the request value of the current record, if yes, execute step S403, otherwise execute step S404;

[0130] Step S403, verifying the information content according to the generating polynomial and the information security code, and executing step S405;

[0131] Step S404: if the security counter of the received information is not equal to the current request information, the information is expired and the data package is discarded;

[0132] Step S405, determine whether the SC-32 check is correct, if yes, execute step S406, otherwise execute step S407;

[0133] Step S406, information unpacking, sending M bits of user data to the upper layer TK information coding and unpacking and packet verification module for application layer information verification;

[0134] Step S407, channel monitoring threshold K3+1, and determining whether K3 is less than the set threshold, if yes, executing step S408, otherwise executing step S409;

[0135] Step S408, discarding the packet data;

[0136] Step S409: permanently close the IP Modbus-TCP session and generate a network channel failure alarm.

[0137] 3)TC information coding grouping verification and packaging module and TK information coding unpacking and grouping verification module

[0138] The main functions of these two modules are to encode the sent information according to the information format defined by MC and to perform format verification on the received information to strictly ensure its correctness.

[0139] The information exchange between the ATS system and the MC in the control center is divided into two categories:

[0140] a) Control information TC:

[0141] The direction is ATS->MC. The specific information includes: route establishment / cancellation, platform detaining equipment activation / cancellation command, PA train section operation level selection (normal, acceleration 1, acceleration 2, slow mode, rainy day mode), terminal platform departure time indication, etc.

[0142] b) Representation class information TK:

[0143] The direction is MC->ATS. The specific information includes: track circuit occupation / clearance, turnout left / right direction, signal red / white / green, maintenance pit occupation / clearance, outdoor platform equipment, such as platform vehicle detention equipment activation / cancellation status, terminal turnaround station train number input equipment input information, PA track section initialization activation / cancellation, etc.

[0144] Both types of information are realized through protocol conversion by the station's FSK / LAN module. The information flow is referenced Fig.10 .

[0145] Whether it is control information or presentation information, its coding rules follow the principle of non-tangency of output variables defined by the Karnaugh map. Its purpose is to ensure that there is no competition or even risk between the interface between the hard-wired coded output of the MC back-end relay and the relay interlock and the PA train control cabinet. The variable information bit coding can refer to Fig.12 (Encoded as 5 information bits per column).

[0146] like Fig.11 As shown, the specific processing process of the TC information coding grouping verification and packaging module is as follows:

[0147] Step S101, obtaining all control command variables of the mother station from the upper ATS application server;

[0148] Step S102, grouping and encoding the information according to different types of variable formats;

[0149] Step S103, checking the generated information content to ensure that the corresponding output complies with the Karnaugh map output variable non-tangency principle;

[0150] Step S104, according to the interface data definition, all output information is packaged;

[0151] Step S105, complete the packaging and send it to the downstream security code generation module for processing.

[0152] like Fig.12 As shown, the specific processing process of the TK information encoding, unpacking and grouping verification module is as follows:

[0153] Step S201, obtaining data containing all information variables representing the parent station from the security code verification module;

[0154] Step S202, according to the data interface definition, the information is grouped and decoded according to different types of variable formats;

[0155] Step S203, checking each information content to confirm whether it complies with the Karnaugh map output variable non-tangency principle, if yes, executing step S204, otherwise executing step S205;

[0156] Step S204, sending to the upstream ATS application server for processing;

[0157] Step S205, discard the packet data and send an alarm message to the exception handling module.

[0158] 4) The software module also includes a clock synchronization module and an exception handling module

[0159] The clock synchronization module is connected to a high-precision GPS clock server. In the event of loss of GPS signal, according to design requirements, the timekeeping accuracy is higher than 200ns / day. It provides clock synchronization services for the upper-level ATS application service system and the lower-level station FSK / LAN module, and uses NTP protocol forwarding.

[0160] The exception handling module mainly implements the following functions:

[0161] a) Monitor the working status of the equipment, receive alarm information from other functional modules, upload it to the application server or close the corresponding IP port communication when necessary;

[0162] b) When the device is started or a single function module is restarted (such as restarting a Modbus-TCP session of a single IP), check the initialization parameter settings of each function module and reset these parameters;

[0163] c) Manage the dual-machine synchronization function of the two communication front-end machines. If necessary, if the main communication front-end machine fails and loses heartbeat changes, implement dual-machine switching operations.

[0164] The present invention solves the problem of connecting the newly built control center ATS system of Mexico Metro Lines 1 to 6 with the existing station MC network, thereby realizing the remote interface between the newly built ATS and the existing system, avoiding the overthrow and reconstruction of the entire system, greatly reducing the project funding requirements, and shortening the project implementation cycle;

[0165] The system security coding transmission method and device involved in the present invention are applied to the reconstruction of the control center of Mexico Metro Lines 1 to 6. However, the complete set of rail transit driving control system equipment based on MC+relay interlocking+PA has a wide range of application performance in the world. The successful development and application of the security communication method and the auxiliary hardware device involved in the present invention provide a practical and feasible solution for the above-mentioned segmented transformation of urban rail transit, that is, first implementing the ATS system transformation of the control center, and then gradually implementing the CBTC full system transformation.

[0166] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A secure coding transmission device for a rail signal system, characterized in that: It includes a control center and an on-board device, wherein the control center and the on-board device are connected by dual-ring redundant Ethernet communication, the control center includes a redundant communication front-end, the on-board device is provided with an FSK and LAN protocol conversion module, and the communication front-end and the FSK and LAN protocol conversion module are embedded with software modules for information transmission and information verification; The software module for information transmission and information verification includes a TC information coding group verification and packaging module, a security code generation module, a Modbus-TCP protocol encapsulation module, a Modbus-TCP protocol parsing module, a security code verification module and a TK information coding unpacking and group verification module connected in sequence; The specific processing process of the TC information coding grouping verification and packaging module is as follows: Step S101, obtaining all control command variables of the mother station from the upper ATS application server; Step S102, grouping and encoding the information according to different types of variable formats; Step S103, checking the generated information content to ensure that the corresponding output complies with the Karnaugh map output variable non-tangency principle; Step S104, according to the interface data definition, all output information is packaged; Step S105, complete the package assembly and send it to the downstream security code generation module for processing; The specific processing process of the TK information encoding, unpacking and grouping verification module is as follows: Step S201, obtaining data containing all information variables representing the parent station from the security code verification module; Step S202, according to the data interface definition, the information is grouped and decoded according to different types of variable formats; Step S203, checking each information content to confirm whether it complies with the Karnaugh map output variable non-tangency principle, if yes, executing step S204, otherwise executing step S205; Step S204, sending to the upstream ATS application server for processing; Step S205, discard the packet data and send an alarm message to the exception handling module; The specific processing process of the security code generation module is as follows: Step S301, obtaining the verified and packaged information packets from the upper layer TC information coding grouping verification and package assembly module; Step S302, adding Lbits of empty information to the information packet, filling the information bits according to the SC-32 security code generation requirements, and generating an information sequence; Step S303, generating an SC-32 security information code according to a table lookup method, and adding it to the corresponding information bit of the VDP packet according to the VDP format requirements; Step S304, the internal security counter variable +1 is added to the corresponding information bit of the VDP packet after synchronization; Step S305, complete VDP package assembly and send it to the downstream Modbus-TCP protocol encapsulation module for processing; The specific processing process of the security code verification module is as follows: Step S401, obtaining an M+128-bit VDP information packet containing a 128-bit security code from a Modbus-TCP protocol parsing module; Step S402, determine whether the security counter variable value is equal to the request value of the current record, if yes, execute step S403, otherwise execute step S404; Step S403, verifying the information content according to the generating polynomial and the information security code, and executing step S405; Step S404: if the security counter of the received information is not equal to the current request information, the information is expired and the data package is discarded; Step S405, determine whether the SC-32 check is correct, if yes, execute step S406, otherwise execute step S407; Step S406, information unpacking, sending M bits of user data to the upper layer TK information coding and unpacking and packet verification module for application layer information verification; Step S407, channel monitoring threshold K3+1, and determining whether K3 is less than the set threshold, if yes, executing step S408, otherwise executing step S409; Step S408, discarding the packet data; Step S409: permanently close the IP Modbus-TCP session and generate a network channel failure alarm.

2. A secure coding transmission device for a rail signal system according to claim 1, characterized in that: The FSK and LAN protocol conversion module between the communication front-end and the vehicle-mounted equipment adopts four IP communication connections, two of which correspond to the red network and two to the blue network, and the communication protocol adopts a secure communication protocol developed under the Modbus-TCP standard protocol framework.

3. A secure coding transmission device for a rail signal system according to claim 2, characterized in that: The communication front-end initiates a request as the Master of the Modbus-TCP protocol, and the FSK and LAN protocol conversion module responds to the request as the Slave of the Modbus-TCP protocol, wherein the communication cycle T is configurable.

4. A secure coding transmission device for a rail signal system according to claim 2, characterized in that: One of the four IP connections is a main connection Master IP, and the main connection Master IP sends a polling status request and a control command write request to the FSK and LAN protocol conversion module at the same time; The other three slave connections only send polling status requests, obtain the responses from the FSK and LAN protocol conversion modules as data backup, and maintain the communication links between them and the FSK and LAN protocol conversion modules.

5. A secure coding transmission device for a rail signal system according to claim 4, characterized in that: When the master connection MasterIP fails, one of the three slave connections is automatically selected and promoted to the master connection MasterIP based on their availability and health, thereby achieving seamless switching under system status.

6. A secure coding transmission device for a rail signal system according to claim 1, characterized in that: The K3 is a coefficient of RH3, where RH3 is a tolerable risk rate of undetected damaged VDPs.

7. A secure coding transmission device for a rail signal system according to claim 1, characterized in that: The data between the Modbus-TCP protocol encapsulation module and the Modbus-TCP protocol parsing module include four different information type messages divided into two groups.

8. A secure coding transmission device for a rail signal system according to claim 7, characterized in that: The four different information type messages divided into two groups include: The first group includes: Polling status request message, sent by the communication front-end to the FSK and LAN protocol conversion module; Polling status response message, sent by the FSK and LAN protocol conversion module to the communication front-end; The second group includes: Control command write request message, sent by the communication front-end to the FSK and LAN protocol conversion module; The control command write request response message is sent by the FSK and LAN protocol conversion module to the communication front-end.

9. A secure coding transmission device for a rail signal system according to claim 1, characterized in that: The software module for information transmission and information verification also includes a clock synchronization module, which is used to connect to an external GPS clock server and provide clock synchronization services for the upper ATS application service system and the lower FSK and LAN protocol conversion module in the event of loss of GPS signal.

10. A secure coding transmission device for a rail signal system according to claim 1, characterized in that: The software module for information transmission and information verification also includes an exception handling module.