CN108616591B - Interface device and method for data exchange - Google Patents

Interface device and method for data exchange Download PDF

Info

Publication number
CN108616591B
CN108616591B CN201810391806.6A CN201810391806A CN108616591B CN 108616591 B CN108616591 B CN 108616591B CN 201810391806 A CN201810391806 A CN 201810391806A CN 108616591 B CN108616591 B CN 108616591B
Authority
CN
China
Prior art keywords
rbc
ctc
data
host
uplink data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810391806.6A
Other languages
Chinese (zh)
Other versions
CN108616591A (en
Inventor
李涛
周兴韬
杨韬
麻江帆
郑义川
刘木齐
张馨则
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CRSC Research and Design Institute Group Co Ltd
Original Assignee
CRSC Research and Design Institute Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by CRSC Research and Design Institute Group Co Ltd filed Critical CRSC Research and Design Institute Group Co Ltd
Priority to CN201810391806.6A priority Critical patent/CN108616591B/en
Publication of CN108616591A publication Critical patent/CN108616591A/en
Application granted granted Critical
Publication of CN108616591B publication Critical patent/CN108616591B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B61RAILWAYS
    • B61LGUIDING RAILWAY TRAFFIC; ENSURING THE SAFETY OF RAILWAY TRAFFIC
    • B61L15/00Indicators provided on the vehicle or vehicle train for signalling purposes ; On-board control or communication systems
    • B61L15/0018Communication with or on the vehicle or vehicle train
    • B61L15/0027Radio-based, e.g. using GSM-R
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B61RAILWAYS
    • B61LGUIDING RAILWAY TRAFFIC; ENSURING THE SAFETY OF RAILWAY TRAFFIC
    • B61L27/00Central railway traffic control systems; Trackside control; Communication systems specially adapted therefor
    • B61L27/20Trackside control of safe travel of vehicle or vehicle train, e.g. braking curve calculation
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B61RAILWAYS
    • B61LGUIDING RAILWAY TRAFFIC; ENSURING THE SAFETY OF RAILWAY TRAFFIC
    • B61L27/00Central railway traffic control systems; Trackside control; Communication systems specially adapted therefor
    • B61L27/70Details of trackside communication
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B61RAILWAYS
    • B61LGUIDING RAILWAY TRAFFIC; ENSURING THE SAFETY OF RAILWAY TRAFFIC
    • B61L7/00Remote control of local operating means for points, signals, or trackmounted scotch-blocks
    • B61L7/06Remote control of local operating means for points, signals, or trackmounted scotch-blocks using electrical transmission
    • B61L7/08Circuitry
    • B61L7/081Direct line wire control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention discloses an interface device and a method for data exchange, wherein the interface device is used for providing a function of data exchange with a dispatching center CTC system for a Radio Block Center (RBC) system, and comprises the following steps: the RBC interface unit is used for receiving uplink data from one or more RBC hosts in the RBC system, carrying out correctness check on the uplink data and sending the uplink data to the data processing unit after the uplink data passes the correctness check; the data processing unit is used for analyzing the uplink data to determine a processing type, determining a processing strategy aiming at the uplink data based on the processing type, processing the uplink data according to the processing strategy and sending the processed uplink data to the CTC interface unit; and the CTC interface unit is used for carrying out format conversion on the processed uplink data based on the data format of the CTC system and sending the format-converted uplink data to the CTC system.

Description

Interface device and method for data exchange
Technical Field
The present invention relates to the field of data transmission, and more particularly to an interface device and method for data exchange.
Background
An interface between a Radio Block Center (RBC) and a dispatch set (CTC) RBC-CTC is an important component of signal control in a CTCS-3 level Train control system (CTCS). The RBC and the CTC have a data exchange function. The CTC can send text messages, emergency stop commands to the RBC and provide the RBC with a clock synchronization function. The RBC periodically sends train information to the CTC, wherein the train information comprises train number, train speed, working mode grade, train position, wireless communication state, driving permission and the like. The RBC can also send feedback information to the CTC for emergency stop commands and text messages.
Currently, most manufacturers adopt a transmission mode that an RBC host directly communicates with a CTC when information transmission between the RBC and the CTC is realized. As shown in fig. 1, the RBC interface server on the CTC side communicates directly with the RBC host.
However, this solution has the following drawbacks:
1. CTC is a Safety Integrity Level (SIL) SIL3 grade system, while RBC is a SIL4 grade system. Under the condition that signal systems with different security levels are directly connected, equipment and networks with low security levels easily have adverse effects and interferences on equipment and networks with high security levels;
2. when the CTC is directly connected to the RBC, the logic processing inside the RBC system is usually increased, and thus the processing of other core logic of the RBC system is easily affected.
3. When one CTC is directly connected to multiple RBCs, the complexity of network design and network connection is increased, thereby increasing the burden of network design and network connection.
4. The logical complexity of the CTC system increases when multiple RBCs are involved in the logical processing of the CTC.
Disclosure of Invention
In view of the above problems and the drawbacks of the prior art solutions, the present application proposes: and a CTC interface unit is added to realize the interface between the RBC host and the CTC system through the CTC interface unit. An interface unit is formed by adopting a two-by-two hardware platform and application software, and is responsible for forwarding various messages (including train state, command feedback information and the like) from the RBC host to the CTC and forwarding commands (including text messages and emergency stop) and clock synchronization information from the CTC to the RBC host.
According to an aspect of the present invention, an interface device for data exchange, the interface device being configured to provide a radio block center RBC system with a function of data exchange with a scheduling center CTC system, and the interface device comprising:
the RBC interface unit is used for receiving uplink data from one or more RBC hosts in the RBC system, carrying out correctness check on the uplink data and sending the uplink data to the data processing unit after the uplink data passes the correctness check;
the data processing unit is used for analyzing the uplink data to determine a processing type, determining a processing strategy aiming at the uplink data based on the processing type, processing the uplink data according to the processing strategy and sending the processed uplink data to the CTC interface unit;
and the CTC interface unit is used for carrying out format conversion on the processed uplink data based on the data format of the CTC system and sending the format-converted uplink data to the CTC system.
The interface device is located within the Radio Block Center (RBC) system.
The data processing unit comprises a main scheduling module which is used for scheduling resources when the data processing unit processes data and can periodically drive the circular operation of the data processing main process.
The data processing unit comprises a CTC communication protocol processing module which is used for carrying out protocol encapsulation or protocol analysis on communication data to be sent or received based on an Ethernet communication protocol and a railway security communication protocol RSSP-II.
The data processing unit comprises a CTC interface logic processing module which is used for carrying out interprocess communication with the CTC interface unit and carrying out logic processing on communication data to be sent or received according to a communication state machine of the CTC system.
The data processing unit comprises an RBC interface logic processing module which is used for carrying out interprocess communication with the RBC interface unit and carrying out logic processing on communication data to be sent or received according to a communication state machine of the RBC system.
The data processing unit comprises a platform interface module used for acquiring the running states of the host and the standby machine.
The data processing unit comprises a log recording module for recording the maintenance log of the interface device.
The data processing unit comprises a general unpacking and packing module which is used for unpacking the received data packet and packing the data to be sent.
The system also comprises an RBC maintenance interface unit which is used for sending an application data message to the RBC maintenance unit so as to enable the RBC maintenance unit to analyze the application data message to acquire the working state, the communication state, the CTC command information and the time alarm information of the interface equipment, and display the working state, the communication state, the CTC command information and the time alarm information through a display component.
The RBC maintenance interface unit maintains a connection with the RBC maintenance unit by periodically sending vital signals to the RBC maintenance unit.
The data processing unit comprises an RBC maintenance unit interface logic processing module which is used for carrying out interprocess communication with the RBC maintenance interface unit and carrying out logic processing on communication data to be sent or received according to a communication state machine of the RBC maintenance unit.
The uplink data is train state information, and when the train state information relates to RBC host handover, the data processing unit combines the train state information of the same vehicle sent by the RBC host handover and the RBC host reception into one piece of train state information.
The uplink data is train state information, and when the train state information is overtime, the data processing unit deletes the train state information.
And the uplink data is command feedback information, and when the command feedback information does not relate to RBC host handover, a command execution success response message is generated under the condition that the command feedback information indicates that the execution is successful.
The uplink data is command feedback information, and when the command feedback information relates to RBC host handover, a command execution success response message is generated under the condition that the command feedback information of the handover RBC host and the command feedback information of the receiving RBC host both indicate successful execution.
And managing the interface equipment by adopting a dual-computer hot standby mode.
When the main interface equipment fails, the standby interface equipment can work normally.
According to another aspect of the present invention, there is provided a method for data exchange, the method for providing a Radio Block Center (RBC) system with a function of data exchange with a scheduling center (CTC) system, the method comprising:
receiving uplink data from one or more RBC hosts in the RBC system, and carrying out correctness check on the uplink data;
analyzing the uplink data to determine a processing type after the correctness check is determined, determining a processing strategy aiming at the uplink data based on the processing type, and processing the uplink data according to the processing strategy; and
and carrying out format conversion on the processed uplink data based on the data format of the CTC system, and sending the format-converted uplink data to the CTC system.
The method also comprises the steps of scheduling resources during data processing and periodically driving the circular operation of the data processing main process.
The method also comprises the step of carrying out protocol encapsulation or protocol resolution on the communication data to be sent or received based on the Ethernet communication protocol and the railway safety communication protocol RSSP-II.
Further comprising performing logical processing of communication data to be transmitted or received in accordance with a communication state machine of the CTC system.
The method also comprises the step of carrying out logic processing on communication data to be transmitted or received according to a communication state machine of the RBC system.
The method also comprises the step of acquiring the running states of the host machine and the standby machine.
Also includes recording a maintenance log of the method.
The method also comprises the steps of unpacking the received data packet and packing the data to be transmitted.
The method further comprises the step of sending an application data message to an RBC maintenance unit, so that the RBC maintenance unit can analyze the application data message to acquire the working state, the communication state, the CTC command information and the time alarm information of the method, and display the working state, the communication state, the CTC command information and the time alarm information through a display component.
Also included is maintaining a connection with the RBC maintenance unit by periodically sending vital signals to the RBC maintenance unit.
The method also comprises the step of carrying out logic processing on the communication data to be transmitted or received according to the communication state machine of the RBC maintenance unit.
The uplink data is train state information, and when the train state information relates to RBC host handover, the train state information sent by the RBC host handover and the train state information sent by the RBC host reception and aiming at the same vehicle are combined into one piece of train state information.
And the uplink data is train state information, and when the train state information is overtime, the train state information is deleted.
And the uplink data is command feedback information, and when the command feedback information does not relate to RBC host handover, a command execution success response message is generated under the condition that the command feedback information indicates that the execution is successful.
The uplink data is command feedback information, and when the command feedback information relates to RBC host handover, a command execution success response message is generated under the condition that the command feedback information of the handover RBC host and the command feedback information of the receiving RBC host both indicate successful execution.
According to another aspect of the present invention, there is provided a system for data exchange, the system comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to: performing a method as claimed in any one of the above.
According to another aspect of the present invention, there is provided an apparatus for data exchange, the apparatus being configured to provide a Radio Block Center (RBC) system with a function of data exchange with a scheduling center (CTC) system, the apparatus comprising:
means for receiving uplink data from one or more RBC hosts in the RBC system, and performing correctness check on the uplink data;
means for analyzing the uplink data to determine a processing type after determining that the correctness check is passed, determining a processing policy for the uplink data based on the processing type, and processing the uplink data according to the processing policy; and
and a device for converting the format of the processed uplink data based on the data format of the CTC system and sending the format-converted uplink data to the CTC system.
The technical scheme of the application has the advantages that:
1. in case that CTC is SIL3 class system and RBC is SIL4 class system, direct connection of signal systems of different safety classes is avoided through the interface unit, thereby preventing devices and networks of low safety class from adversely affecting and interfering with devices and networks of high safety class;
2. partial logic processing of communication between the CTC and the RBC is completed through the CTC interface unit so as to reduce the logic complexity of a CTC system and an RBC system; and
3. the CTC system distributes information to individual RBCs through a CTC interface unit. The messages sent to the CTC by each RBC are collected by the CTC interface unit and then sent to the CTC system, thereby greatly simplifying the network design and the network connection between the CTC system and the RBC system.
Drawings
A more complete understanding of exemplary embodiments of the present invention may be had by reference to the following drawings in which:
fig. 1 is a schematic diagram of a CTC and RBC host in a prior art direct connection;
fig. 2 is a schematic diagram of implementing a CTC and RBC host connection using a CTC interface unit according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of the connection of a CTC interface unit to an external system according to an embodiment of the present invention;
FIG. 4 is a logical schematic of a CTC interface unit according to an embodiment of the present invention;
FIG. 5 is a logical diagram of a host process of a CTC interface unit according to an embodiment of the present invention;
FIG. 6 is a schematic structural diagram of an interface device for data exchange according to an embodiment of the present invention; and
fig. 7 is a flow chart of a method for data exchange according to an embodiment of the present invention.
Detailed Description
The exemplary embodiments of the present invention will now be described with reference to the accompanying drawings, however, the present invention may be embodied in many different forms and is not limited to the embodiments described herein, which are provided for complete and complete disclosure of the present invention and to fully convey the scope of the present invention to those skilled in the art. The terminology used in the exemplary embodiments illustrated in the accompanying drawings is not intended to be limiting of the invention. In the drawings, the same units/elements are denoted by the same reference numerals.
Unless otherwise defined, terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. Further, it will be understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and will not be interpreted in an idealized or overly formal sense.
Fig. 2 is a schematic diagram illustrating a CTC system and an RBC host connected by a CTC interface unit according to an embodiment of the present invention. In the prior art, a CTC scheduling center is directly connected with a Radio Block Center (RBC), but the invention provides a CTC interface unit which is used for enabling the CTC scheduling center and the RBC to communicate through an interface. After the CTC interface unit is added, the CTC interface unit belongs to the component of the RBC system. The interface between the CTC interface unit and the CTC and the interface between the CTC interface unit and the RBC host meet the relevant requirements of RBC-CTC interface specification. As can be seen from fig. 2, the CTC interface unit is connected to a plurality of RBC hosts and an RBC maintenance unit. The CTC dispatching center is internally divided into a plurality of subsystems, wherein the subsystems comprise a server subsystem which is specially responsible for communicating with the RBC system. In order to meet the requirement of reliability index, the CTC interface unit adopts a two-by-two hardware platform, each set of equipment consists of two systems (I system and II system in the figure), and the two systems are mutually standby. The CTC interface unit is connected with the CTC by adopting a special redundant 2M digital channel, and the CTC interface unit is connected with each RBC host through an internal local area network.
Fig. 3 is a schematic diagram of connection of a CTC interface unit to an external system according to an embodiment of the present invention. The RBC room in fig. 3 corresponds to the RBC system in fig. 2. The RBC host and the CTC interface unit are both arranged in an RBC machine room. The CTC interface unit of fig. 3 is connected to the dedicated redundant 2M digital channel through the connection of the switch and the router, but only the connection relation listed in fig. 2 is not shown. The RBC system is communicated with the CTC scheduling center through the CTC interface unit. The CTC interface unit can support a plurality of RBC hosts to communicate with the same CTC scheduling center. The CTC interface unit of the RBC system is connected with the communication bottom layer of the CTC dispatching center by adopting Ethernet, and data transmission is carried out by adopting a 2M special digital channel.
FIG. 4 is a logic diagram of a CTC interface unit according to an embodiment of the present invention. The CTC interface unit adopts a modularization principle and is divided into a plurality of modules according to functions. The platform software runs in a separate process from the operating system. The application software and the platform software complete the state release of the main and standby systems and the information interaction such as the switching request of the main and standby systems through the inter-process communication. The CTC interface unit works in a dual-computer hot standby mode, the main system is responsible for logic operation and message interaction with the outside, and the standby system does not actively send any message to the outside except maintenance information and connection maintenance. The CTC interface unit supports interface communication with the RBC host. The CTC interface unit supports interface communication with a CTC dispatch center. The CTC interface unit supports interface communication with the RBC maintenance unit, so that the RBC maintenance unit monitors and records the running state of the CTC interface unit.
The CTC interface unit realizes the message transfer and interaction between the RBC host and the CTC scheduling center on the basis of completing the relational mapping of a plurality of RBC hosts and the CTC scheduling center, and realizes a simple logic control function. Based on the above functions and design principles, the software structure is shown in fig. 4. The CTC interface unit is divided into 4 module processes which are respectively responsible for the following tasks:
1. a main process: the central control center is responsible for core logic operation and is communicated with the CTC dispatching center;
2.2 by 2 platform software process: the main and standby system state release and automatic switching functions are responsible;
RBC host interface processing process: is responsible for interfacing with the RBC host; and
RBC maintenance unit interface processing process: is responsible for interfacing with the RBC maintenance unit.
FIG. 5 is a logic diagram of a host process of a CTC interface unit according to an embodiment of the present invention. Fig. 5 is a re-refinement of the main process of fig. 4 and introduces the various modules in the main process. The main process comprises the following steps: the system comprises a main scheduling module, a CTC communication protocol processing module, a CTC interface logic processing module, an RBC host interface logic processing module, an RBC maintenance unit interface logic processing module, a platform interface module, a log recording module and a general unpacking and packaging module. The main scheduling module is responsible for program scheduling of the main process and periodically drives the main process to run circularly. The CTC communication protocol processing module is responsible for underlying Ethernet communication and RSSP-II communication protocol, wherein the RSSP-II communication protocol adopts an existing software library. The CTC interface logic processing module is responsible for state machine processing and corresponding simple logic processing in communication with the CTC system. The RBC host interface logic processing module is responsible for inter-process communication with the RBC host interface processing process, state machine processing for communication with the RBC system and corresponding simple logic processing. The RBC maintenance unit interface logic processing module is responsible for inter-process communication with the RBC maintenance unit interface processing process and for state machine processing and corresponding simple logic processing of communication with the RBC maintenance unit. The platform interface module is responsible for platform interface processing to obtain the main and standby system states. The log recording module is responsible for recording local maintenance logs. And the general unpacking and packing module is responsible for unpacking and packing the application protocol.
The main process comprises the following steps:
1. initializing a program;
2. the slave platform interface module acquires the states of the main and standby systems so as to determine whether a server in which the current main process is positioned is a main system or a standby system;
3, the RBC host interface logic processing module acquires data from the RBC host interface processing process, wherein the data comprises train state information and command feedback information, and the general unpacking and packing module is used for unpacking; after receiving vehicle state information and command feedback information from each RBC host (1 or more RBC hosts), the service module unifies and summarizes the information and sends the information to a CTC dispatching center according to the relevant requirements of RBC-CTC interface specification;
the CTC interface logic processing module is communicated with a CTC dispatching center through a CTC communication protocol processing module, acquires data from the CTC dispatching center, wherein the data comprises text messages, emergency stop and clock synchronization information, and is unpacked by a universal unpacking and packing module; reply: when the service module receives text messages, emergency stop and clock synchronization information from the CTC interface, the service module judges which RBC the service module is sent to, then distributes and processes relevant information, and sends the information to each RBC according to relevant requirements of RBC-CTC interface specification;
5, the RBC maintenance unit interface logic processing module establishes communication connection with the RBC maintenance unit interface processing process, and if the connection is established, the communication connection is maintained;
processing the data received from the RBC host interface processing process by the RBC host interface logical processing module, wherein the processing logic of the RBC host interface logical processing module includes:
a. and (5) splicing the train information. When RBC is handed over, the RBC handed over and the RBC received both send the same train information to the CTC interface unit, and two messages of the same train need to be merged into one train information and then sent to the CTC dispatching center. The train moving authorization MA sent by the transfer RBC1 to the CTC interface unit extends from the first responder B1 to the first signal machine, and the train moving authorization MA sent by the receiving RBC2 to the CTC interface unit extends from the first signal machine to the second signal machine. After receiving two sections of mobile authorization MA of the same trip transmitted by two RBCs, the CTC interface unit combines the information and then transmits the information to the CTC dispatching center. And the CTC interface unit sends train moving authorization information to the CTC dispatching center, and the moving authorization extends from the first transponder to the second annunciator.
b. And (5) vehicle deletion processing. And judging whether the train information is overtime or not for the train information sent by the RBC host, if so, deleting the train, and not forwarding the train information to the CTC dispatching center.
The CTC interface logic processing module processes data received from the CTC dispatch center. The processing logic of the CTC interface logic processing module comprises:
a. and processing command information. And searching the corresponding RBC according to the train ID in the emergency stop command received from the CTC dispatching center, and determining the RBC receiving the emergency stop command. If the emergency stop command does not involve handover and reception of two RBCs, it is responsible for forwarding the command to the corresponding RBC and forwarding the feedback information of the RBC to the CTC. If the emergency stop command relates to the handover and the reception of two RBCs, the emergency stop command is responsible for forwarding the command to the two RBCs, and the execution success is fed back to the CTC only when the emergency stop command is fed back by both the RBCs, otherwise the feedback execution fails.
The RBC maintenance unit interface logic processing module sends the CTC interface unit equipment and interface state, CTC command information and time alarm information to an RBC maintenance unit interface processing process, and then the RBC maintenance unit interface processing process sends the information to an RBC maintenance unit;
the steps 2 to 8 are circularly carried out.
Secondly, the RBC host interface processing process is carried out according to the following steps:
1. initializing a program;
2. maintaining a connection with an RBC host;
3. obtaining RBC host data, including train state information and command feedback information, forwarding to a general unpacking and packaging module of a main process, and analyzing the data and then processing by an RBC host interface logic processing module of the main process;
4. obtaining data from a main process, including text messages, emergency stop and clock synchronization information, and forwarding the data to an RBC host according to the relevant requirements of RBC-CTC interface specification;
the steps 2 to 4 are circularly carried out.
Thirdly, the RBC maintenance unit interface processing process is carried out according to the following steps:
1. initializing a program;
2. and maintaining the connection with the RBC maintenance unit by periodically sending the vital signals.
3. Obtaining data from a main process, wherein the data comprises CTC interface unit equipment and interface states, CTC command information and time alarm information, and then sending the information to an RBC maintenance unit; the data format sent to the RBC maintenance unit is a format agreed with the RBC maintenance unit, and can be changed randomly according to needs; only the CTC interface unit sends the application data message to the maintenance unit, the maintenance unit does not send the application data message to the CTC interface unit, the maintenance unit records all the received application data messages, and displays the information of the working state of the CTC interface unit, the communication state of the CTC interface unit and other equipment and the like on the image interface of the maintenance terminal.
And fourthly, judging and setting the main-standby system of the double computers by the software process of the 2-by-2 platform according to the network card state and the interface state of the double computers and the heartbeat connection state between the double computers. The CTC interface unit can realize the hot-standby operation of the dual-host system by using the hardware platform, thereby improving the reliability and stability of the system. The CTC interface unit adopts a double-system hot standby design, the switching time of the main system and the standby system is short, the stability and the reliability of the system can be improved, and when one system fails, the other system can still work normally. Because the dual systems are hot standby, only one system can be used as a main system to send application data to external equipment at the same time, and the standby system only sends a life signal message, the service module also needs to judge the states of the main system and the standby system.
Fig. 6 is a schematic structural diagram of an interface device 600 for data exchange according to an embodiment of the present invention. The interface device 600 is used to provide the radio block center RBC system with the function of data exchange with the dispatch center CTC system. The interface device 600 receives uplink data from one or more RBC hosts in the RBC system, and performs correctness check on the uplink data. The interface device 600 is configured to analyze the uplink data to determine a processing type, determine a processing policy for the uplink data based on the processing type, and process the uplink data according to the processing policy. The interface device 600 performs format conversion on the processed uplink data based on the data format of the CTC system, and transmits the format-converted uplink data to the CTC system.
The interface apparatus 600 includes: RBC interface unit 601, data processing unit 602, CTC interface unit 603, and RBC maintenance interface unit. Wherein the interface device 600 is located within the radio block center RBC system. The RBC interface unit 601 is configured to receive uplink data from one or more RBC hosts in the RBC system, perform correctness check on the uplink data, and send the uplink data to the data processing unit 602 after the correctness check is determined to pass.
The data processing unit 602 is configured to analyze the uplink data to determine a processing type, determine a processing policy for the uplink data based on the processing type, process the uplink data according to the processing policy, and send the processed uplink data to the CTC interface unit 603. The data processing unit 602 includes a main scheduling module, which is used for performing resource scheduling when the data processing unit 602 performs data processing, and can periodically drive the circular operation of the data processing main process. The data processing unit 602 includes a CTC communication protocol processing module for performing protocol encapsulation or protocol parsing on communication data to be transmitted or received based on an ethernet communication protocol and a railway security communication protocol RSSP-II. The data processing unit 602 includes a CTC interface logic processing module for performing inter-process communication with the CTC interface unit, and performing logic processing on communication data to be transmitted or received according to a communication state machine of the CTC system. The data processing unit 602 includes an RBC interface logic processing module, and is configured to perform inter-process communication with the RBC interface unit, and perform logic processing on communication data to be sent or received according to a communication state machine of the RBC system. The data processing unit 602 includes a platform interface module for acquiring the operating status of the host and the standby. The data processing unit 602 includes a log recording module for recording a maintenance log of the interface device. The data processing unit 602 includes a general unpacking and packing module for unpacking the received data packets and for packing the data to be transmitted. The data processing unit 602 includes an RBC maintenance unit interface logic processing module, configured to perform interprocess communication with the RBC maintenance interface unit, and perform logic processing on communication data to be sent or received according to a communication state machine of the RBC maintenance unit.
The CTC interface unit 603 is configured to perform format conversion on the processed uplink data based on the data format of the CTC system, and send the format-converted uplink data to the CTC system.
The RBC maintenance interface unit 604 is configured to send an application data message to the RBC maintenance unit, so as to prompt the RBC maintenance unit to parse the application data message to obtain a working state, a communication state, CTC command information, and time alarm information of the interface device, and display the working state, the communication state, the CTC command information, and the time alarm information through a display component. The RBC maintenance interface unit 604 maintains a connection with the RBC maintenance unit by periodically sending vital signals to the RBC maintenance unit.
The uplink data is train state information, and when the train state information relates to RBC host handover, the data processing unit combines the train state information sent by the handover RBC host and the reception RBC host and aiming at the same vehicle into one piece of train state information. The uplink data is train state information, and when the train state information is overtime, the data processing unit deletes the train state information. And the uplink data is command feedback information, and when the command feedback information does not relate to the RBC host handover, a command execution success response message is generated under the condition that the command feedback information indicates that the execution is successful. And the uplink data is command feedback information, and when the command feedback information relates to the handover of the RBC host, a command execution success response message is generated under the condition that the command feedback information of the handover RBC host and the command feedback information of the receiving RBC host both indicate successful execution. And managing the interface equipment by adopting a dual-computer hot standby mode. When the main interface equipment fails, the standby interface equipment can work normally.
Fig. 7 is a flow diagram of a method 700 for data exchange according to an embodiment of the invention. The method 700 is used to provide a radio block center RBC system with the capability to exchange data with a dispatch center CTC system. The method 700 receives uplink data from one or more RBC hosts in the RBC system, performs correctness checking on the uplink data, analyzes the uplink data to determine a processing type after determining that the uplink data passes the correctness checking, determines a processing strategy for the uplink data based on the processing type, and processes the uplink data according to the processing strategy. The method 700 performs format conversion on the processed uplink data based on the data format of the CTC system, and transmits the format-converted uplink data to the CTC system.
The method 700 begins at step 701. In step 701, uplink data is received from one or more RBC hosts in the RBC system, and correctness check is performed on the uplink data.
In step 702, after it is determined that the correctness check is passed, the uplink data is analyzed to determine a processing type, a processing policy for the uplink data is determined based on the processing type, and the uplink data is processed according to the processing policy. And carrying out protocol encapsulation or protocol resolution on the communication data to be sent or received based on the Ethernet communication protocol and the railway safety communication protocol RSSP-II.
In step 703, format conversion is performed on the processed uplink data based on the data format of the CTC system, and the format-converted uplink data is sent to the CTC system.
The method also comprises the steps of scheduling resources during data processing and periodically driving the circular operation of the data processing main process. The method further comprises the steps of carrying out logic processing on the communication data to be transmitted or received according to the communication state machine of the CTC system, and carrying out logic processing on the communication data to be transmitted or received according to the communication state machine of the RBC system. The method also comprises the steps of obtaining the running states of the host machine and the standby machine and recording the maintenance log of the method. The method also comprises the steps of unpacking the received data packet and packing the data to be transmitted.
Sending an application data message to an RBC maintenance unit to prompt the RBC maintenance unit to analyze the application data message to acquire the working state, the communication state, the CTC command information and the time alarm information of the method, and displaying the working state, the communication state, the CTC command information and the time alarm information through a display component. The connection to the RBC maintenance unit is maintained by periodically sending vital signals to the RBC maintenance unit. And logically processing the communication data to be transmitted or received according to a communication state machine of the RBC maintenance unit.
The uplink data is train state information, and when the train state information relates to RBC host handover, the train state information sent by the RBC host handover and the train state information sent by the RBC host reception and aiming at the same vehicle are combined into one piece of train state information. The uplink data is train state information, and when the train state information is overtime, the train state information is deleted. And the uplink data is command feedback information, and when the command feedback information does not relate to the RBC host handover, a command execution success response message is generated under the condition that the command feedback information indicates that the execution is successful. The line data is command feedback information, and when the command feedback information relates to RBC host handover, a command execution success response message is generated under the condition that the command feedback information of the handover RBC host and the receiving RBC host both indicate successful execution.
The invention has been described with reference to a few embodiments. However, other embodiments of the invention than the one disclosed above are equally possible within the scope of the invention, as would be apparent to a person skilled in the art from the appended patent claims.
Generally, all terms used in the claims are to be interpreted according to their ordinary meaning in the technical field, unless explicitly defined otherwise herein. All references to "a/an/the [ device, component, etc ]" are to be interpreted openly as referring to at least one instance of said device, component, etc., unless explicitly stated otherwise. The steps of any method disclosed herein do not have to be performed in the exact order disclosed, unless explicitly stated.

Claims (31)

1. An interface device for data exchange, the interface device being configured to provide a Radio Block Center (RBC) system with a function of data exchange with a scheduling center (CTC) system, the interface device comprising:
the RBC interface unit is used for receiving uplink data from one or more RBC hosts in the RBC system, carrying out correctness check on the uplink data and sending the uplink data to the data processing unit after the uplink data passes the correctness check;
the data processing unit is used for analyzing the uplink data to determine a processing type, determining a processing strategy aiming at the uplink data based on the processing type, processing the uplink data according to the processing strategy and sending the processed uplink data to the CTC interface unit;
the CTC interface unit is used for carrying out format conversion on the processed uplink data based on the data format of the CTC system and sending the format-converted uplink data to the CTC system; specifically, the CTC interface unit includes a CTC interface logic processing module, where the CTC interface logic processing module is configured to search for a corresponding RBC host according to a train ID in an emergency stop command received from the CTC system, determine the RBC host receiving the emergency stop command, if the emergency stop command does not relate to handover and receiving two RBC hosts, it is responsible for forwarding the command to the corresponding RBC host, and forwarding feedback information of the RBC host to the CTC system, and if the emergency stop command relates to handover and receiving two RBC hosts, it is responsible for forwarding the command to the two RBC hosts, and only when both the two RBC hosts feedback the emergency stop command to be successfully executed, it feeds back the command to the CTC system that the execution is successful, otherwise, the feedback execution fails;
the uplink data is train state information, and when the train state information relates to RBC host handover, the data processing unit combines the train state information of the same vehicle sent by the RBC host handover and the RBC host reception into one piece of train state information.
2. The interface device of claim 1, located within the Radio Block Center (RBC) system.
3. The interface device according to claim 1, wherein the data processing unit comprises a master scheduling module for performing resource scheduling when the data processing unit performs data processing, and periodically driving a circular operation of a data processing master process.
4. The interface device according to claim 1, wherein the data processing unit comprises a CTC communication protocol processing module for protocol encapsulation or protocol parsing of communication data to be transmitted or received based on an ethernet communication protocol and a railway security communication protocol RSSP-II.
5. The interface device according to claim 1, wherein the data processing unit includes an RBC interface logic processing module, configured to perform inter-process communication with the RBC interface unit, and perform logic processing on communication data to be sent or received according to a communication state machine of the RBC system.
6. The interface device of claim 1, wherein the data processing unit includes a platform interface module for acquiring an operating state of the CTC interface unit host and the CTC interface unit standby.
7. The interface device of claim 1, the data processing unit comprising a logging module to log a maintenance log of the interface device.
8. The interface device of claim 1, wherein the data processing unit comprises a general unpacking and packing module for unpacking the received data packets and for packing the data to be transmitted.
9. The interface device according to claim 1, further comprising an RBC maintenance interface unit for sending an application data message to an RBC maintenance unit, so as to cause the RBC maintenance unit to parse the application data message to obtain an operating status, a communication status, CTC command information, and time alert information of the interface device, and to display the operating status, the communication status, the CTC command information, and the time alert information through a display component.
10. The interface device of claim 9, the RBC maintenance interface unit maintaining a connection with an RBC maintenance unit by periodically sending a vital signal to the RBC maintenance unit.
11. The interface device according to claim 10, wherein the data processing unit includes an RBC maintenance unit interface logic processing module, configured to perform inter-process communication with the RBC maintenance interface unit, and perform logic processing on communication data to be sent or received according to a communication state machine of the RBC maintenance unit.
12. The interface apparatus according to claim 1, wherein the upstream data is train status information, and the data processing unit deletes the train status information when the train status information times out.
13. The interface device according to claim 1, wherein the uplink data is command feedback information, and when the command feedback information does not relate to RBC host handover, a command execution success response message is generated if the command feedback information indicates that execution is successful.
14. The interface device according to claim 1, wherein the uplink data is command feedback information, and when the command feedback information relates to RBC host handover, a command execution success response message is generated if both the command feedback information of the handover RBC host and the command feedback information of the reception RBC host indicate successful execution.
15. The interface device of claim 1, wherein the interface device is managed in a dual-server hot-standby manner.
16. An interface device according to claim 15 wherein the backup interface device operates normally when the primary interface device fails.
17. A method for exchanging data for a Radio Block Center (RBC) system through an interface device, the method providing data exchange functionality with a dispatch center (CTC) system, comprising:
receiving uplink data from one or more RBC hosts in the RBC system, and carrying out correctness check on the uplink data;
analyzing the uplink data to determine a processing type after the correctness check is determined, determining a processing strategy aiming at the uplink data based on the processing type, and processing the uplink data according to the processing strategy; and
performing format conversion on the processed uplink data based on the data format of the CTC system, and sending the format-converted uplink data to the CTC system; specifically, a corresponding RBC host is searched according to a train ID in an emergency stop command received from a CTC system, the RBC host receiving the emergency stop command is determined, if the emergency stop command does not relate to handover and reception of two RBC hosts, the RBC host is responsible for forwarding the command to the corresponding RBC host and forwarding feedback information of the RBC host to the CTC system, if the emergency stop command relates to handover and reception of two RBC hosts, the RBC host is responsible for forwarding the command to the two RBC hosts, and only when the emergency stop command is successfully executed by both of the two RBC hosts, the CTC system is fed back and executed successfully, otherwise, the feedback execution fails;
the uplink data is train state information, and when the train state information relates to RBC host handover, the train state information sent by the RBC host handover and the train state information sent by the RBC host reception and aiming at the same vehicle are combined into one piece of train state information.
18. The method of claim 17, further comprising scheduling resources at the time of data processing and periodically driving a loop of the data processing host process.
19. The method of claim 17, further comprising protocol encapsulating or protocol parsing the communication data to be transmitted or received based on the ethernet communication protocol and the railway security communication protocol RSSP-II.
20. The method of claim 17, further comprising logically processing the communication data to be transmitted or received according to a communication state machine of the RBC system.
21. The method of claim 17, further comprising acquiring an operational status of the CTC interface unit host and the CTC interface unit standby.
22. The method of claim 17, further comprising recording a maintenance log of the method.
23. The method of claim 17, further comprising depacketizing the received data packets and packetizing the data to be transmitted.
24. The method of claim 17, further comprising sending an application data message to an RBC maintenance unit to cause the RBC maintenance unit to parse the application data message to obtain an operational status, a communication status, CTC command information, and time alert information for the method, and to display the operational status, the communication status, the CTC command information, and the time alert information via a display component.
25. The method of claim 24, further comprising maintaining a connection with an RBC maintenance unit by periodically sending vital signals to the RBC maintenance unit.
26. The method of claim 25, further comprising logically processing the communication data to be transmitted or received according to a communication state machine of an RBC maintenance unit.
27. The method of claim 17, wherein the uplink data is train status information, and the train status information is deleted when the train status information times out.
28. The method according to claim 17, wherein the uplink data is command feedback information, and when the command feedback information does not relate to RBC host handover, a command execution success response message is generated if the command feedback information indicates that execution is successful.
29. The method according to claim 17, wherein the uplink data is command feedback information, and when the command feedback information relates to RBC host handover, a command execution success response message is generated if the command feedback information of both the handover RBC host and the receiving RBC host indicates successful execution.
30. A system for data exchange, the system comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to: performing the method of any one of claims 17 to 29.
31. An apparatus for data exchange, the apparatus for providing a Radio Block Center (RBC) system with data exchange functionality with a dispatch center (CTC) system, comprising:
means for receiving uplink data from one or more RBC hosts in the RBC system, and performing correctness check on the uplink data;
means for analyzing the uplink data to determine a processing type after determining that the correctness check is passed, determining a processing policy for the uplink data based on the processing type, and processing the uplink data according to the processing policy; and
a device for performing format conversion on the processed uplink data based on the data format of the CTC system, and sending the format-converted uplink data to the CTC system, specifically, searching for a corresponding RBC host according to a train ID in an emergency stop command received from the CTC system, and determining the RBC host receiving the emergency stop command, if the emergency stop command does not relate to handover and reception of two RBC hosts, the device is responsible for forwarding the command to the corresponding RBC host and forwarding feedback information of the RBC host to the CTC system, if the emergency stop command relates to handover and reception of two RBC hosts, the device is responsible for forwarding the command to the two RBC hosts, and only when both the two RBC hosts feedback the emergency stop command to be successfully executed, the device feeds back the execution success to the CTC system, otherwise, the feedback execution fails; wherein the content of the first and second substances,
the uplink data is train state information, and when the train state information relates to RBC host handover, the device for processing the uplink data combines the train state information which is sent by the RBC host handover and the RBC host reception and aims at the same vehicle into one piece of train state information.
CN201810391806.6A 2018-04-27 2018-04-27 Interface device and method for data exchange Active CN108616591B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810391806.6A CN108616591B (en) 2018-04-27 2018-04-27 Interface device and method for data exchange

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810391806.6A CN108616591B (en) 2018-04-27 2018-04-27 Interface device and method for data exchange

Publications (2)

Publication Number Publication Date
CN108616591A CN108616591A (en) 2018-10-02
CN108616591B true CN108616591B (en) 2020-06-26

Family

ID=63661280

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810391806.6A Active CN108616591B (en) 2018-04-27 2018-04-27 Interface device and method for data exchange

Country Status (1)

Country Link
CN (1) CN108616591B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109305201B (en) * 2018-11-12 2022-01-25 湖南中车时代通信信号有限公司 Simulation test device and method for rail transit signal system
CN112330268B (en) * 2020-10-21 2023-08-22 中国南方电网有限责任公司 Regional power spot market data interactive verification method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102279597A (en) * 2011-05-16 2011-12-14 北京和利时系统工程有限公司 Simulation test system of train control system
WO2012007822A1 (en) * 2010-07-12 2012-01-19 Telespazio S.P.A. System for locating trains with real-time check on the integrity of the estimate of position
CN102514601A (en) * 2011-12-22 2012-06-27 北京交通大学 Train tracking interval real-time early warning system based on CTC (central traffic control) and early warning method
CN105676842A (en) * 2016-03-14 2016-06-15 中国铁路总公司 High-speed railway train control vehicle-mounted equipment fault diagnosis method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100536456C (en) * 2007-01-29 2009-09-02 北京交通大学 Communication-based interconnected and intercommunicated I-CBIT train operation control system
CN102238231B (en) * 2011-05-16 2013-12-18 铁道部运输局 CTCS (China train contrl system)-3 level radio blocking center device and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012007822A1 (en) * 2010-07-12 2012-01-19 Telespazio S.P.A. System for locating trains with real-time check on the integrity of the estimate of position
CN102279597A (en) * 2011-05-16 2011-12-14 北京和利时系统工程有限公司 Simulation test system of train control system
CN102514601A (en) * 2011-12-22 2012-06-27 北京交通大学 Train tracking interval real-time early warning system based on CTC (central traffic control) and early warning method
CN105676842A (en) * 2016-03-14 2016-06-15 中国铁路总公司 High-speed railway train control vehicle-mounted equipment fault diagnosis method

Also Published As

Publication number Publication date
CN108616591A (en) 2018-10-02

Similar Documents

Publication Publication Date Title
CN101574975B (en) Vehicle monitoring system based on CTCS-3 level train control system and terminal thereof
CN108600235B (en) Interface device and method for data exchange
WO2012155837A1 (en) Ctcs level 3 radio block center (rbc) device and system
CN108616591B (en) Interface device and method for data exchange
CN107968775B (en) Data processing method and device, computer equipment and computer readable storage medium
CN106301840B (en) Method and device for sending Bidirectional Forwarding Detection (BFD) message
CN110569988B (en) Payment machine fault processing system and processing method
CN110868278A (en) Method for dual-computer redundancy of communication front-end processor of rail transit comprehensive monitoring system
CN104794086A (en) Serial communication safety system and safe serial communication method
CN112615728B (en) Simulation system master-slave switching method based on railway safety communication protocol
CN103986709A (en) Middleware registration method under RESTful framework
EP3640187B1 (en) Method and system for monitoring elevator communication module fault and elevator
CN102843265B (en) Not resetting without the hot standby dual link method of perturbation of a kind of communication protocol
CN115801183A (en) Safety coding transmission device for track signal system
CN101720134B (en) Wireless virtual device protocol-based industrial wireless data transmission method
CN108011791A (en) A kind of airborne dual-redundancy CAN communication system configuration
CN105553694A (en) Track traffic train-ground maintenance information communication system and method
CN109687411B (en) Fixed value synchronous operation method and device for distributed element protection
CN111464272B (en) Reliable data interaction method and system and magnetic levitation train electromagnetic propulsion system
CN113859321A (en) Train communication-based train automatic control system based on cloud computing
CN111884835A (en) Method and device for managing messages in civil aviation system
CN201904801U (en) Communication monitoring system of integrated avionics system
CN111169510A (en) Train communication system
CN106789495B (en) A kind of online switching method of single controller master-slave network bus control unit
CN212906277U (en) Embedded software testing device based on TFTP protocol

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant