CN114124669A - Method and system for interconnecting CTC and existing vehicle system - Google Patents
Method and system for interconnecting CTC and existing vehicle system Download PDFInfo
- Publication number
- CN114124669A CN114124669A CN202111292038.7A CN202111292038A CN114124669A CN 114124669 A CN114124669 A CN 114124669A CN 202111292038 A CN202111292038 A CN 202111292038A CN 114124669 A CN114124669 A CN 114124669A
- Authority
- CN
- China
- Prior art keywords
- interface server
- ctc
- vehicle system
- data
- standby
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 42
- 238000004891 communication Methods 0.000 claims abstract description 20
- 230000005540 biological transmission Effects 0.000 claims abstract description 19
- 238000012545 processing Methods 0.000 claims description 12
- 238000004590 computer program Methods 0.000 claims description 8
- 230000008569 process Effects 0.000 claims description 7
- 230000003993 interaction Effects 0.000 claims description 4
- 230000007246 mechanism Effects 0.000 claims description 4
- 230000006870 function Effects 0.000 description 5
- 206010063385 Intellectualisation Diseases 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000004888 barrier function Effects 0.000 description 1
- 125000004122 cyclic group Chemical group 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000003137 locomotive effect Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000001105 regulatory effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 239000011800 void material Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
- H04L41/0663—Performing the actions predefined by failover planning, e.g. switching to standby network elements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Hardware Redundancy (AREA)
Abstract
The invention relates to a method and a system for interconnecting and intercommunicating CTC and a current vehicle system, wherein the system comprises the CTC system and the current vehicle system which are connected through an interface server module; the interface server comprises a present vehicle system side interface server A used as a server side and a CTC side interface server B used as a client side which are connected with each other; the existing vehicle system side interface server A and the CTC side interface server B adopt a dual-computer hot standby working mode, each of which comprises two interface servers, one is used as a host computer and the other is used as a standby computer, and the existing vehicle system side interface server A and the CTC side interface server B are used for realizing cross communication between the host computer and the standby computer of the interface servers at two sides. Compared with the prior art, the invention realizes data transmission between the two systems and has the advantages of high reliability, high automation degree and the like.
Description
Technical Field
The invention relates to the field of rail transit signal control, in particular to a method and a system for interconnecting and intercommunicating CTC and a current vehicle system.
Background
With the large-area popularization of the CTC system on the ordinary speed railway, the demand of customers on the shunting operation function of the CTC system is gradually enhanced. The present shunting operation flow is based on train regulating plan, loading and unloading plan, train picking-up and hanging-up operation plan, locomotive road-handing plan, etc. the station dispatcher gives out the station dispatching operation plan based on the current station practical situation, and gives out the shunting commander and related personnel in the form of shunting operation notice, and the shunting route is handled timely to command the shunting operation personnel to complete the shunting operation according to the plan. However, the shunting operation has strong randomness, complex operation, continuous adjustment and modification, too large workload of the existing operation mode and poor practicability.
The invention aims to solve the technical problem of how to overcome the problems that the CTC system is different from the traditional system in data transmission and the shunting operation is complex and the workload is large.
Disclosure of Invention
The invention aims to overcome the defects in the prior art and provide a method and a system for realizing interconnection and intercommunication between a CTC (central control unit) and a current vehicle system, wherein the CTC and the current vehicle system are high in reliability and high in automation degree.
The purpose of the invention can be realized by the following technical scheme:
according to a first aspect of the present invention, a method for interconnecting CTC with a present vehicle system comprises the following steps:
step S1: the CTC system is connected with a current vehicle system through an interface server module, a current vehicle system side interface server A is used as a server side, and a CTC system side interface server B is used as a client side; the interface server A and the interface server B both adopt a dual-computer hot standby working mode, and both modules comprise a host computer and a standby computer;
step S2: starting an interface server module, wherein the main and standby machines of the interface server B are actively connected with the main and standby machines of the interface server A to form four cross-connected transmission channels; each channel sends heartbeat data frames at regular intervals, and meanwhile, the integrity of the heartbeat data frames is checked to keep the channels normal;
step S3: after the interface server A and the interface server B are successfully connected, the interface server A and the interface server B start to receive and transmit heartbeat data frames and determine respective main backup machine relationship through the heartbeat data frames;
step S4: the host computers of the interface server A and the interface server B are used for receiving and transmitting heartbeat and information data and maintaining data transmission of the CTC system and the existing vehicle system; when the host computer is in normal communication, the standby computer only receives heartbeat data;
step S5: the host of the interface server B and the host of the interface server A send information data to each other; if the channel is disconnected, namely the interface server B does not receive heartbeat data within a specified time threshold, the main and standby relations of the interface server B are switched actively, and the standby machine replaces the main machine and the interface server A to perform data interaction;
step S6: the main and standby machines of the interface server B mutually send heartbeats to determine a main and standby relationship, and further determine the logic of receiving and sending information data; if the main machine and the standby machine are disconnected, the main machine and the standby machine can receive the information data of the interface server A, and the standby machine is actively connected with the main machine until the connection is successful;
step S7: the interface server B performs deduplication processing according to the sequence number, the sending time, the DataLen and the CRC check in the data frame after receiving the data frame, and discards one data frame if the data frame with consistent data existsAnd then sent to the CTC system.
Preferably, the step S1The interface server B and the interface server A adopt a TCP/IP communication mechanism and a dual-network transmission mode to simultaneously transmit message data through two networks.
Said step S2Each channel in the system sends heartbeat data frames to each other at regular intervals, and meanwhile, the integrity of the heartbeat data frames is checked to keep the channels normal.
Preferably, the step S3The method specifically comprises the following steps: the interface server A and the interface server B are successfully connected, the heartbeat data frame starts to be received and sent, the integrity of the data frame is detected through the frame head, the frame tail, the length field and the CRC check, if the data frame is incomplete, the information is considered invalid, and the data information is not processed.
Preferably, the step S4The process of sending information data between the middle interface server A and the interface server B specifically comprises the following steps:
step S41: the current vehicle system sends the dispatching plan information to the CTC system, and the interface server B receives the data frame and checks the integrity of the data; if the data is complete, sending the data to a CTC system, otherwise, not processing the data frame;
step S42: the interface server B receives the complete shunting hook planning information and sends shunting operation list receiving receipt information to the current vehicle system;
step S43: after the CTC system completes shunting and routing of each hook, the interface server B sends shunting operation single-hook routing completion notification information to the current vehicle system;
step S44: after the CTC system finishes all routes of the shunting plan, the interface server B sends shunting operation whole route completion notification information to the current vehicle system.
Preferably, the step S4The CTC system and the current vehicle system in the system adopt Json message format to transmit information data frames.
Preferably, the step S6The method specifically comprises the following steps: if the communication between the main and standby interface servers of interface server B is interrupted, setting both interface servers to be in the host state, and simultaneously receiving and transmitting data frames by both interface serversAnd the data frames of the CTC system and the current vehicle system are ensured not to be interrupted.
According to a second aspect of the present invention, there is provided a system for a method of interworking a CTC with a live vehicle system, the system comprising a CTC system and a live vehicle system connected by an interface server module; the interface server comprises a present vehicle system side interface server A used as a server side and a CTC side interface server B used as a client side which are connected with each other; the existing vehicle system side interface server A and the CTC side interface server B adopt a dual-computer hot standby working mode, each of which comprises two interface servers, one is used as a host computer and the other is used as a standby computer, and the existing vehicle system side interface server A and the CTC side interface server B are used for realizing cross communication between the host computer and the standby computer of the interface servers at two sides.
According to a third aspect of the invention, there is provided an electronic device comprising a memory having stored thereon a computer program and a processor implementing the method when executing the program.
According to a fourth aspect of the invention, there is provided a computer-readable storage medium, on which a computer program is stored which, when executed by a processor, implements the method.
Compared with the prior art, the invention has the following advantages:
1) the invention provides a method for interconnecting and intercommunicating a CTC system and a current vehicle system, which is used for completing the interface of the CTC system and the current vehicle system, transmitting a shunting operation list from the current vehicle system to the CTC system and returning to a shunting operation state;
2) the invention adopts double sets of equipment and a double-channel to realize double-machine cross communication of the interface server, and ensures the stability and reliability of information data transmission.
3) The invention can realize the automatic acquisition and update of information such as shunting plan, execution progress and the like, and improves the automation and intellectualization of shunting operation.
Drawings
FIG. 1 is a block diagram of an interconnection network between a CTC system and a present vehicle system according to the present invention;
FIG. 2 is an interface server software interface of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, shall fall within the scope of protection of the present invention.
The method and system of the present invention will be described in detail with reference to the following examples.
The CTC3.0 system further strengthens the support of relevant functions of a station in the system structure and functional configuration, and improves the functions of the CTC system in the aspect of shunting route control of a general speed railway, particularly a large station junction station/technical station. The invention provides a method for interconnecting and intercommunicating a CTC system and a current vehicle system, which realizes data transmission between the CTC system and the current vehicle system through an interface server, breaks through the data transmission barrier between two sets of systems, and improves the automation and the intellectualization of shunting operation.
The invention provides a method for interconnecting and intercommunicating CTC and a current vehicle system, which specifically comprises the following steps:
step S1: the CTC system is connected with the existing vehicle system through an interface server module, the existing vehicle system side interface server A of the interface server module is used as a server side, and the CTC system side interface server B is used as a client side; the interface server A module and the interface server B module adopt a dual-computer hot standby working mode, and both the modules comprise a host computer and a standby computer; said step S1The interface server B and the interface server A adopt a dual-network transmission mode through a TCP/IP communication mechanism and simultaneously transmit message data through two networks
Step S2: starting an interface server module, wherein the main and standby machines of the interface server B are actively connected with the main and standby machines of the interface server A to form four cross-connected transmission channels; each channel sends heartbeat data frames at regular intervals, and meanwhile, the integrity of the heartbeat data frames is checked to keep the channels normal;
step S3: the interface serverAfter the connection between the interface server A and the interface server B is successful, the interface server A and the interface server B start to receive and transmit heartbeat data frames, the integrity of the data frames is detected through a frame head, a frame tail, a length field, CRC (cyclic redundancy check) and the like, if the data frames are incomplete, the information is considered invalid, and the data information is not processed; determining respective main backup machine relation through heartbeat data frames;
step S4: the host computers of the interface server A and the interface server B are used for receiving and transmitting heartbeat and information data and maintaining data transmission of the CTC system and the existing vehicle system; when the host computer is in normal communication, the standby computer only receives heartbeat data; the interface server A and the interface server B adopt Json message format to transmit information data frames to send information data to each other, and the process specifically comprises the following steps:
step S41: the current vehicle system sends the dispatching plan information to the CTC system, and the interface server B receives the data frame to check the integrity of the data; if the data is complete, sending the data to a CTC system, otherwise, not processing the data frame;
step S42: the interface server B receives the complete shunting hook planning information and sends shunting operation list receiving receipt information to the current vehicle system;
step S43: after the CTC system completes shunting and routing of each hook, the interface server B sends shunting operation single-hook routing completion notification information to the current vehicle system;
step S44: after the CTC system finishes all routes of the shunting plan, the interface server B sends shunting operation whole route completion notification information to the current vehicle system.
Step S5: the host of the interface server B and the interface server A send information data to each other; if the channel is disconnected, that is, the interface server B does not receive heartbeat data within the specified time threshold, the main and standby relations of the interface server B are switched actively, the standby machine replaces the main machine to perform data interaction with the interface server A, and the main machine of the interface server B does not receive and send information data any more.
Step S6: the main and standby machines of the interface server B mutually send heartbeats to determine the main and standby relationship, and further determine the logic of receiving and sending information data; such asIf the communication between the main and standby interface servers of the interface server B is interrupted, the two interface servers are set to be in the host state, both the two interface servers receive the information data of the interface server A and simultaneously receive and transmit data frames, so that the data frames of a CTC system and a current vehicle system are not interrupted; at the same time. The standby machine is actively connected with the host until the connection is successful;
step S7: and after receiving the data frame, the interface server B performs deduplication processing according to the serial number, the sending time, the DataLen and the CRC in the data frame, and if the data frame with consistent data exists, discards one data frame and sends the data frame to the CTC system.
The technical solution of the present invention is described in detail below with reference to fig. 1 and 2. First, referring to fig. 1, the CTC system and the existing vehicle system are interconnected and intercommunicated with the interface server in a dual-computer cross connection. On the basis of fig. 1, fig. 2 illustrates the interface server software interface of the present invention, and the interface has corresponding log printing after receiving different data.
Referring first to fig. 1, the data transmission and storage process of the present invention is described, including the following steps:
step 100: the CTC system is connected with the existing vehicle system through an interface server. The current vehicle system side interface server A is used as a server side, and the CTC system side interface server B is used as a client side. And starting the interface servers at the two sides, and actively connecting the interface server B with the interface server A through a TCP/IP communication mechanism.
Step 101: the CTC system and the servers on the two sides of the existing vehicle system start to send heartbeat data frames to each other just by establishing a communication state, the heartbeat data frames keep the normal transmission of the server channels, and the states of the main servers and the standby servers of the two sides are determined by the main and standby identifiers of the heartbeat data frames. The code is implemented as follows:
BYTE nzTickBuf[50]={0};
DWORD nTickLen=sizeof(nzTickBuf);
XCTickMsg tick(m_pManager->GetLocalBureauCode());
tick.SaveToBuffer(nzTickBuf,nTickLen,m_pManager->GetIsNeedSend());
SOutputMsg tickMsg;
tickMsg.pMsg=nzTickBuf;
tickMsg.nMsgLen=nTickLen;
CTcpClient::SendMessage(tickMsg);
m_tmLastSend=tmNow;
step 102: the CTC system and the current vehicle system mutually send information data through an interface server, wherein the information data comprises shunting hook planning information, shunting operation single receiving and receiving information, shunting operation single-row route completion notification information and shunting operation single-hook route completion notification information; the data is stored and transmitted in the format of Json. The implementation code is as follows:
implementation code for data transfer:
int ProcessXCShuntTermMsg(const char*Msg,int msgLen);
int ProcessXCShuntTermMsgToxml(
CLBTH::MsgStringMessage&msg,CLBTH::STATION_NO
LocalStationNo,CLBTH::STATION_NO ShareShuntStationNo);
int MakeShuntTermReplayMsg(BYTE*nzMsgBuf,DWORD&nMsgLen);
int ProcessCtcShuntGouStatusAndSendToXC(const CLBTH::MsgStringMessage&msg);
step 103: the information data interacted between the CTC system and the current vehicle system adopts a Json format. The CTC system converts the internal data into a Json format and sends the Json format to the existing vehicle system; similarly, the CTC system receives data of the current vehicle system in a Json format, and after receiving the data, the Json format is decoded and then internal processing is carried out. Implementation code for specific data format processing:
reading implementation codes of Json data:
implementation code for writing Json data:
nMsgLen=sizeof(nzMsgBuf);
memset(nzMsgBuf,0,nMsgLen);
Archive ar(Archive::store,nMsgLen-XCHeader::Size(),nzMsgBuf+XCHeader::Size());
Json::Value root;
Json::Value item;
Json::FastWriter fWriter;
step 104: the interface servers on both sides of the CTC system and the current vehicle system form 4 cross-interconnected network channels by adopting a dual-computer hot standby connection mode. The method and the device prevent the interruption of the server channel and keep the stability of data transmission between systems. The implemented code is as follows:
SOCKET_ERROR_CODE CheckNetStatus(void);
SOCKET_ERROR_CODE CreateSocketInterface(const char*sockname,ICommInterface**p);
SOCKET_ERROR_CODE CreatePacketSocketInterface(IWORD port,IDataInterface**p);
SOCKET_ERROR_CODE CreatePacketSocketInterface(IWORD port,IPacketDataInterface**p,int flag=0);
SOCKET_ERROR_CODE CreatePacketSocketInterface(const char*svcname,IPacketDataInterface**p);
step 105: the CTC system and the present vehicle system communicate information data to each other through the A, A' channel of fig. 1. Once the server host at the CTC system side or the server host at the current vehicle system side breaks down, the channel transmission is detected to be abnormal within a certain time, the interface server can immediately switch to the standby machine to carry out information data interaction, and the data transmission interruption is prevented. The implemented code is as follows:
step 106: if the main-standby machine communication of the CTC system side interface server B is interrupted, the two interface servers are set to be in a host state, and the two interface servers simultaneously receive and transmit data frames, so that the data frames of the CTC system and the current vehicle system are not interrupted. The implemented code is as follows:
referring to fig. 2, the interface server program receives data acquired from the terminal software, and sends a shunting job ticket of the current train system to the CTC system according to the configuration of the receiving entity and the station shunting track, taking the shunting plan as an example, and the specific steps are as follows:
step 201: the current vehicle system sends the dispatching plan information to the CTC system, and the interface server B receives the data frame to check the integrity of the data; if the data is complete, sending the data to a CTC system, otherwise, not processing the data frame;
step 202: the interface server B receives the complete shunting hook planning information and sends shunting operation list receiving receipt information to the current vehicle system;
step 23: after the CTC system completes shunting and routing of each hook, the interface server B sends shunting operation single-hook routing completion notification information to the current vehicle system;
step 204: after the CTC system finishes all routes of the shunting plan, the interface server B sends shunting operation whole-route completion notification information to the current vehicle system
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the described module may refer to the corresponding process in the foregoing method embodiment, and is not described herein again.
The electronic device of the present invention includes a Central Processing Unit (CPU) that can perform various appropriate actions and processes according to computer program instructions stored in a Read Only Memory (ROM) or computer program instructions loaded from a storage unit into a Random Access Memory (RAM). In the RAM, various programs and data required for the operation of the device can also be stored. The CPU, ROM, and RAM are connected to each other via a bus. An input/output (I/O) interface is also connected to the bus.
A plurality of components in the device are connected to the I/O interface, including: an input unit such as a keyboard, a mouse, etc.; an output unit such as various types of displays, speakers, and the like; storage units such as magnetic disks, optical disks, and the like; and a communication unit such as a network card, modem, wireless communication transceiver, etc. The communication unit allows the device to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
The processing unit performs the various methods and processes described above, e.g., method S1~S7. For example, in some embodiments, method S1~S7May be implemented as a computer software program tangibly embodied in a machine-readable medium, such as a storage unit. In some embodiments, part or all of the computer program may be loaded and/or installed onto the device via ROM and/or the communication unit. When the computer program is loaded into the RAM and executed by the CPU, the method S described above may be performed1~S7One or more steps of (a). Alternatively, in other embodiments, the CPU may be configured to perform method S in any other suitable manner (e.g., by way of firmware)1~S7。
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: a Field Programmable Gate Array (FPGA), an Application Specific Integrated Circuit (ASIC), an Application Specific Standard Product (ASSP), a system on a chip (SOC), a load programmable logic device (CPLD), and the like.
Program code for implementing the methods of the present invention may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (10)
1. A method for interconnecting CTC and a current vehicle system is characterized by comprising the following steps:
step S1: the CTC system is connected with a current vehicle system through an interface server module, a current vehicle system side interface server A is used as a server side, and a CTC system side interface server B is used as a client side; the interface server A and the interface server B both adopt a dual-computer hot standby working mode, and both modules comprise a host computer and a standby computer;
step S2: starting an interface server module, wherein the main machine and the standby machine of the interface server B are all actively connected with the interface serviceThe main machine and the standby machine of the device A form four transmission channels which are interconnected in a crossing way;
step S3: after the interface server A and the interface server B are successfully connected, the interface server A and the interface server B start to receive and transmit heartbeat data frames and determine respective main backup machine relationship through the heartbeat data frames;
step S4: the host computers of the interface server A and the interface server B are used for receiving and transmitting heartbeat and information data and maintaining data transmission of the CTC system and the existing vehicle system; when the host computer is in normal communication, the standby computer only receives heartbeat data;
step S5: the host of the interface server B and the host of the interface server A send information data to each other; if the channel is disconnected, namely the interface server B does not receive heartbeat data within a specified time threshold, the main and standby relations of the interface server B are switched actively, and the standby machine replaces the main machine and the interface server A to perform data interaction;
step S6: the main and standby machines of the interface server B mutually send heartbeats to determine a main and standby relationship, and further determine the logic of receiving and sending information data; if the main machine and the standby machine are disconnected, the main machine and the standby machine can receive the information data of the interface server A, and the standby machine is actively connected with the main machine until the connection is successful;
step S7: and after receiving the data frame, the interface server B performs deduplication processing according to the serial number, the sending time, the DataLen and the CRC in the data frame, and if the data frame with consistent data exists, discards one data frame and sends the data frame to the CTC system.
2. The method for interconnecting CTC with a present vehicle system according to claim 1, wherein step S1The interface server B and the interface server A adopt a TCP/IP communication mechanism and a dual-network transmission mode to simultaneously transmit message data through two networks.
3. The method for interconnecting CTC with a present vehicle system according to claim 1, wherein step S2In each channel, sending heartbeat data frames at regular intervals and detecting at the same timeChecking the integrity of the channel and keeping the channel normal.
4. The method for interconnecting CTC with a present vehicle system according to claim 1, wherein step S3The method specifically comprises the following steps: the interface server A and the interface server B are successfully connected, the heartbeat data frame starts to be received and sent, the integrity of the data frame is detected through the frame head, the frame tail, the length field and the CRC check, if the data frame is incomplete, the information is considered invalid, and the data information is not processed.
5. The method for interconnecting CTC with a present vehicle system according to claim 1, wherein step S4The process of sending information data between the middle interface server A and the interface server B specifically comprises the following steps:
step S41: the current vehicle system sends the dispatching plan information to the CTC system, and the interface server B receives the data frame and checks the integrity of the data; if the data is complete, sending the data to a CTC system, otherwise, not processing the data frame;
step S42: the interface server B receives the complete shunting hook planning information and sends shunting operation list receiving receipt information to the current vehicle system;
step S43: after the CTC system completes shunting and routing of each hook, the interface server B sends shunting operation single-hook routing completion notification information to the current vehicle system;
step S44: after the CTC system finishes all routes of the shunting plan, the interface server B sends shunting operation whole route completion notification information to the current vehicle system.
6. The method for interconnecting CTC with a present vehicle system according to claim 5, wherein the step S4The CTC system and the current vehicle system in the system adopt Json message format to transmit information data frames.
7. The method for interconnecting CTC with a present vehicle system according to claim 1, wherein step S6The method specifically comprises the following steps: if the communication between the main and standby interface servers of the interface server B is interrupted, the two interface servers are set to be in a host state, and the two interface servers simultaneously receive and transmit data frames, so that the data frames of the CTC system and the current vehicle system are prevented from being interrupted.
8. A system for use in the CTC-to-off-vehicle system interworking method of claim 1, the system comprising a CTC system and an off-vehicle system connected by an interface server module; the interface server comprises a present vehicle system side interface server A used as a server side and a CTC side interface server B used as a client side which are connected with each other; the existing vehicle system side interface server A and the CTC side interface server B adopt a dual-computer hot standby working mode, each of which comprises two interface servers, one is used as a host computer and the other is used as a standby computer, and the existing vehicle system side interface server A and the CTC side interface server B are used for realizing cross communication between the host computer and the standby computer of the interface servers at two sides.
9. An electronic device comprising a memory and a processor, the memory having stored thereon a computer program, wherein the processor, when executing the program, implements the method of any of claims 1-7.
10. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, carries out the method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111292038.7A CN114124669A (en) | 2021-11-02 | 2021-11-02 | Method and system for interconnecting CTC and existing vehicle system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111292038.7A CN114124669A (en) | 2021-11-02 | 2021-11-02 | Method and system for interconnecting CTC and existing vehicle system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114124669A true CN114124669A (en) | 2022-03-01 |
Family
ID=80380525
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111292038.7A Pending CN114124669A (en) | 2021-11-02 | 2021-11-02 | Method and system for interconnecting CTC and existing vehicle system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114124669A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114872766A (en) * | 2022-05-10 | 2022-08-09 | 卡斯柯信号有限公司 | Urban railway signal scheduling system oriented to multi-network integration |
CN115158402A (en) * | 2022-07-05 | 2022-10-11 | 河南思维自动化设备股份有限公司 | Programmable logic control system and control method for subway train |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108183779A (en) * | 2017-12-22 | 2018-06-19 | 中国铁道科学研究院通信信号研究所 | A kind of binary-channel redundancy data transmission processing method of railway signal CTC/TDCS systems |
CN109753387A (en) * | 2018-01-24 | 2019-05-14 | 比亚迪股份有限公司 | The double hot standby method and system of rail traffic multimedia system |
WO2019200671A1 (en) * | 2018-04-20 | 2019-10-24 | 北京全路通信信号研究设计院集团有限公司 | Master/standby machine data synchronization method for railway centralized traffic control system |
-
2021
- 2021-11-02 CN CN202111292038.7A patent/CN114124669A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108183779A (en) * | 2017-12-22 | 2018-06-19 | 中国铁道科学研究院通信信号研究所 | A kind of binary-channel redundancy data transmission processing method of railway signal CTC/TDCS systems |
CN109753387A (en) * | 2018-01-24 | 2019-05-14 | 比亚迪股份有限公司 | The double hot standby method and system of rail traffic multimedia system |
WO2019200671A1 (en) * | 2018-04-20 | 2019-10-24 | 北京全路通信信号研究设计院集团有限公司 | Master/standby machine data synchronization method for railway centralized traffic control system |
Non-Patent Citations (1)
Title |
---|
王秀娟: "调度集中系统中双机热备份机制的实现", 北京交通大学学报, 15 April 2009 (2009-04-15) * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114872766A (en) * | 2022-05-10 | 2022-08-09 | 卡斯柯信号有限公司 | Urban railway signal scheduling system oriented to multi-network integration |
CN114872766B (en) * | 2022-05-10 | 2023-09-08 | 卡斯柯信号有限公司 | Urban railway signal scheduling system for multi-network integration |
CN115158402A (en) * | 2022-07-05 | 2022-10-11 | 河南思维自动化设备股份有限公司 | Programmable logic control system and control method for subway train |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN114124669A (en) | Method and system for interconnecting CTC and existing vehicle system | |
US7502992B2 (en) | Method and apparatus for detecting presence of errors in data transmitted between components in a data storage system using an I2C protocol | |
US20120030402A1 (en) | Pci express tlp processing circuit and relay device provided with this | |
WO2023109500A1 (en) | Train formation management method and apparatus, device, and medium | |
CN104364764A (en) | Subscriber station for a bus system and method for transmitting messages between subscriber stations of a bus system | |
WO2023045795A1 (en) | Infrared communication method and apparatus, and storage medium and electronic apparatus | |
US20100229041A1 (en) | Device and method for expediting feedback on changes of connection status of monitioring equipments | |
CN114500559A (en) | Breakpoint resume control method, control terminal and computer storage medium | |
JPS6072351A (en) | Method for supervising operating condition of packet communication system | |
JPS6368345A (en) | Controller for factory automation | |
CN104579593B (en) | Data monitoring system and method | |
EP4242897A1 (en) | Interconnect bus safety | |
CN219627748U (en) | Message forwarding device of integrated power supply system | |
CN117873514A (en) | Online updating system, method, equipment and medium for secure computer platform | |
CN113852549B (en) | Method for realizing independent data receiving and processing of main and standby systems | |
CN117834713A (en) | Multi-application secure data communication processing method, equipment and medium | |
CN116668427A (en) | TFTP server management method, equipment and medium | |
JP2003140704A (en) | Process controller | |
CN113296998A (en) | Data communication abnormity recovery method and device, electronic equipment and storage medium | |
CN102320317A (en) | A kind of new CT CS-3 level train control system mobile unit based on radio communication | |
CN108667724B (en) | Safe gateway device | |
US20090210610A1 (en) | Computer system, data relay device and control method for computer system | |
CN116001860A (en) | Tramcar interlocking system and implementation method, equipment and medium thereof | |
CN114401190A (en) | Trackside security platform data updating method and system based on data compression algorithm | |
CN111984585A (en) | Safety computer platform and vehicle-mounted equipment compatible with two-by-two-out-of-two and three-out-of-two |
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 | ||
REG | Reference to a national code |
Ref country code: HK Ref legal event code: DE Ref document number: 40069233 Country of ref document: HK |