CN115635995A - Communication method and system of computer interlocking system and axle counting simulation system - Google Patents

Communication method and system of computer interlocking system and axle counting simulation system Download PDF

Info

Publication number
CN115635995A
CN115635995A CN202211371780.1A CN202211371780A CN115635995A CN 115635995 A CN115635995 A CN 115635995A CN 202211371780 A CN202211371780 A CN 202211371780A CN 115635995 A CN115635995 A CN 115635995A
Authority
CN
China
Prior art keywords
data
axle counting
channel
simulation system
check
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
Application number
CN202211371780.1A
Other languages
Chinese (zh)
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 Urban Rail Transit Technology Co Ltd
Original Assignee
CRSC Urban Rail Transit Technology 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 Urban Rail Transit Technology Co Ltd filed Critical CRSC Urban Rail Transit Technology Co Ltd
Priority to CN202211371780.1A priority Critical patent/CN115635995A/en
Publication of CN115635995A publication Critical patent/CN115635995A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a communication method and a communication system of a computer interlocking system and an axle counting simulation system, wherein the method comprises the following steps: receiving first data sent by a computer interlocking system based on a first channel; receiving second data sent by the computer interlocking system based on a second channel; verifying the first data and the second data to obtain a first verification result; determining first target data according to the first checking result; the first channel and the second channel are redundant, the axle counting simulation system is provided with a plurality of communication protocols of the axle counting equipment, and each kind of axle counting equipment is adaptive to the plurality of communication protocols. The system performs the method. The invention enables the axle counting simulation system to be compatible with a plurality of communication protocols of a plurality of axle counting devices in a configuration mode, realizes the communication between each interlocking device in the computer interlocking system and the plurality of axle counting devices, and simultaneously verifies the received data through the axle counting simulation system, thereby ensuring the safety and reliability of the received data.

Description

Communication method and system of computer interlocking system and axle counting simulation system
Technical Field
The invention relates to the technical field of rail transit, in particular to a communication method and a communication system of a computer interlocking system and an axle counting simulation system.
Background
In a conventional Communication Based Train Automatic Control (CBTC) system for rail transit, axle counting equipment is generally used to replace a rail circuit, and the position of a Train is checked by the axle counting equipment. However, the real axle counting equipment has high manufacturing cost and large installation difficulty, and the internal logic of the real axle counting equipment cannot be intuitively understood, so that each interlocking manufacturer can design a simulation system for realizing the corresponding axle counting equipment before the axle counting equipment is actually purchased, so that the cost is saved, and the simulation butt joint of real field work is realized.
Because a plurality of interlocking equipment and axle counting equipment manufacturers exist in the market and communication protocols between the interlocking equipment and the axle counting equipment are different, the current axle counting simulation system can only realize the simulation of a single type of axle counting equipment and is difficult to realize the communication between various axle counting equipment and the interlocking equipment.
Disclosure of Invention
The communication method and the communication system of the computer interlocking system and the axle counting simulation system are used for solving the problems in the prior art, the axle counting simulation system is compatible with various communication protocols of various axle counting devices in a configuration mode, the communication between each interlocking device and the various axle counting devices in the computer interlocking system is realized, and meanwhile, the received data is verified through the axle counting simulation system, so that the safety and the reliability of the received data are guaranteed.
The invention provides a communication method of a computer interlocking system and an axle counting simulation system, which comprises the following steps:
receiving first data sent by a computer interlocking system based on a first channel;
receiving second data sent by the computer interlocking system based on a second channel;
verifying the first data and the second data to obtain a first verification result;
determining first target data according to the first checking result;
the first channel and the second channel are redundant, the axle counting simulation system is configured with a plurality of communication protocols of axle counting equipment, and each kind of axle counting equipment is adapted to the plurality of communication protocols.
According to the communication method of the computer interlocking system and the axle counting simulation system, the method further comprises the following steps:
transmitting third data to the computer interlock system based on the first channel;
and sending fourth data to the computer interlocking system based on the second channel so that the computer interlocking system can verify the third data and the fourth data, and determining second target data according to a second verification result.
According to the communication method of the computer interlocking system and the axle counting simulation system, the first data and the second data are verified to obtain a first verification result, and the method comprises the following steps:
and carrying out integrity check and overtime check on the first data and the second data to obtain the first check result, wherein the integrity check is to check the content and the length of the first data and the second data, and the overtime check is to check the first receiving time, the first sending time and the first preset overtime of the first data and the second data.
According to the communication method of the computer interlocking system and the axle counting simulation system, the first target data is determined according to the first verification result, and the method comprises the following steps:
if the first verification result represents that the first data passes the integrity verification and the overtime verification, the first data is used as the first target data; alternatively, the first and second electrodes may be,
if the first verification result represents that the second data passes the integrity verification and the overtime verification, the second data is used as the first target data; alternatively, the first and second liquid crystal display panels may be,
and if the first verification result indicates that the first data and the second data both pass the integrity verification and the overtime verification, determining the first target data according to the data serial numbers of the first data and the second data.
The invention also provides a communication method of the computer interlocking system and the axle counting simulation system, which comprises the following steps:
sending first data to an axle counting simulation system based on a first channel;
sending second data to the axle counting simulation system based on a second channel so that the axle counting simulation system can verify the first data and the second data to obtain a first verification result, and determining first target data according to the first verification result;
the first channel and the second channel are redundant, the axle counting simulation system is configured with a plurality of communication protocols of axle counting equipment, and each kind of axle counting equipment is adapted to the plurality of communication protocols.
According to the communication method of the computer interlocking system and the axle counting simulation system, the method further comprises the following steps:
receiving third data sent by the axle counting simulation system based on the first channel;
receiving fourth data sent by the axle counting simulation system based on the second channel;
verifying the third data and the fourth data to obtain a second verification result;
and determining second target data according to the second check result.
According to the communication method between the computer interlocking system and the axle counting simulation system, the verification of the third data and the fourth data is performed, and the second target data is determined according to the second verification result, and the communication method comprises the following steps:
and carrying out integrity check and overtime check on the third data and the fourth data to obtain a second check result, wherein the integrity check is to check the content and the length of the third data and the fourth data, and the overtime check is to check the second receiving time, the second sending time and the second preset overtime of the third data and the fourth data.
According to the communication method of the computer interlocking system and the axle counting simulation system, the second target data is determined according to the second check result, and the method comprises the following steps:
if the second check result represents that the third data passes the integrity check and the overtime check, the third data is used as the second target data; alternatively, the first and second liquid crystal display panels may be,
if the second check result represents that the fourth data passes the integrity check and the overtime check, the fourth data is used as the second target data; alternatively, the first and second electrodes may be,
and if the second check result represents that the third data and the fourth data both pass the integrity check and the overtime check, determining the second target data according to the data serial numbers of the third data and the fourth data.
The invention also provides a communication system of the computer interlocking system and the axle counting simulation system, which comprises the following components: the device comprises a first receiving module, a second receiving module, a first obtaining module and a second obtaining module;
the first receiving module is used for receiving first data sent by the computer interlocking system based on a first channel;
the second receiving module is used for receiving second data sent by the computer interlocking system based on a second channel;
the first obtaining module is configured to verify the first data and the second data to obtain a first verification result;
the second obtaining module is used for determining first target data according to the first checking result;
the first channel and the second channel are redundant, the axle counting simulation system is configured with a plurality of communication protocols of axle counting equipment, and each kind of axle counting equipment is adapted to the plurality of communication protocols.
The invention also provides a communication system of the computer interlocking system and the axle counting simulation system, which comprises the following components: the device comprises a first sending module and a second sending module;
the first sending module is used for sending first data to the axle counting simulation system based on a first channel;
the second sending module is configured to send second data to the axle counting simulation system based on a second channel, so that the axle counting simulation system checks the first data and the second data to obtain a first check result, and determine first target data according to the first check result;
the first channel and the second channel are redundant, the axle counting simulation system is configured with a plurality of communication protocols of axle counting equipment, and each kind of axle counting equipment is adapted to the plurality of communication protocols.
The invention also provides an electronic device, which comprises a processor and a memory stored with a computer program, wherein the processor realizes the communication method between the computer interlocking system and the axle counting simulation system when executing the program.
The present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a method of communicating a computer interlock system with an axle counting simulation system as described in any one of the above.
The invention also provides a computer program product comprising a computer program which, when executed by a processor, implements a method of communicating a computer interlock system with an axle counting simulation system as described in any one of the above.
According to the communication method and system of the computer interlocking system and the axle counting simulation system, the axle counting simulation system is compatible with multiple communication protocols of multiple axle counting devices in a configuration mode, communication between each interlocking device and the multiple axle counting devices in the computer interlocking system is achieved, meanwhile, received data are verified through the axle counting simulation system, and safety and reliability of the received data are guaranteed.
Drawings
In order to more clearly illustrate the technical solutions of the present invention or the prior art, the drawings needed for the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
FIG. 1 is a schematic flow chart of a communication method of a computer interlocking system and an axle counting simulation system provided by the invention;
FIG. 2 is a schematic diagram of a communication protocol model of an axle counting simulation system and a computer interlocking system provided by the invention;
FIG. 3 is a schematic view of the topological connection between the computer interlocking system and the axle counting simulation system provided by the present invention;
FIG. 4 is a second schematic flow chart of a communication method of the computer interlocking system and the axle counting simulation system provided by the present invention;
FIG. 5 is one of the schematic structural diagrams of the communication system of the computer interlocking system and the axle counting simulation system provided by the invention;
FIG. 6 is a second schematic structural diagram of a communication system of the computer interlocking system and the axle counting simulation system provided by the present invention;
fig. 7 is a schematic physical structure diagram of an electronic device provided in the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a schematic flow chart of a communication method of a computer interlocking system and an axle counting simulation system provided by the present invention, as shown in fig. 1, the method includes:
step 110, receiving first data sent by a computer interlocking system based on a first channel;
step 120, receiving second data sent by the computer interlocking system based on a second channel;
step 130, verifying the first data and the second data to obtain a first verification result;
step 140, determining first target data according to the first verification result;
the first channel and the second channel are redundant, the axle counting simulation system is configured with a plurality of communication protocols of axle counting equipment, and each kind of axle counting equipment is adapted to the plurality of communication protocols.
The main body of the method may be a computer device or an axle counting simulation system, and the communication method between the computer interlock system and the axle counting simulation system according to the present invention will be described in detail below by taking the main body of the method as the axle counting simulation system.
In a CBTC (train control and train control) system for rail transit, interfaces between interlocking equipment and axle counting equipment are divided into a relay mode and a communication mode. When the interlocking equipment interacts with the axle counting equipment in a relay mode, a large amount of manual wiring exists between the interlocking circuit and the relay circuit, and therefore the hidden danger of 'wire connection sealing' still exists. When the interlocking equipment and the axle counting equipment are communicated in a relay interface mode, the axle counting equipment converts the axle counting section state collected by the axle counting magnetic head into an analog signal to control the suction and falling of a relay; when the interlocking is set to reset or pre-reset the axle counting, information interaction is also carried out by driving the reset relay and the pre-reset relay to act.
When the relay circuit breaks down, the fault position still needs to be judged manually and then corresponding processing is carried out. After the circuit short circuit fuse is subjected to wire breakage protection, the fuse also needs to be replaced manually. This all brings certain problems for the operation and maintenance departments; when the interlocking device interacts with the axle counting device in a communication mode, the communication protocols of the axle counting device and the interlocking device produced by different manufacturers are different, and certain difficulty exists in installation and debugging of the interlocking system. Based on the method, the communication method of the computer interlocking system and the axle counting simulation system can support the interlocking device and the axle counting device to communicate in a relay mode, and meanwhile, supports the communication of various axle counting devices and the interlocking device. The axle counting simulation system can easily and quickly debug the data interaction between the interlocking equipment and the axle counting equipment of various manufacturers, and realize the communication between the various axle counting equipment and the interlocking equipment.
The computer interlocking system CI comprises different kinds of interlocking devices, such as semaphores, switches, etc.
In the embodiment of the invention, the computer interlocking system adopts a two-by-two-out-of-two structure comprising a CI-I system and a CI-II system.
In the embodiment of the invention, the axle counting simulation system can be specifically composed of equipment with various axle counting equipment functions (each axle counting simulation system is arranged in an axle counting cabinet) and is used for simulating and realizing the functions of various axle counting equipment, such as replacing a track circuit to detect the vacancy/occupation of a section, and solving the problems of white light band/red light band in a station, red light band in a section, poor shunting in the station and the section and the like.
In the embodiment of the invention, the computer interlocking system and the axle counting simulation system communicate with each other through a communication channel formed by dual Ethernet network redundancy and Ethernet equipment redundancy, the communication channel can be specifically a first channel and a second channel, the first channel can be specifically a main communication channel between the computer interlocking system and the axle counting simulation system, and the computer interlocking system and the axle counting simulation system are respectively connected with a first switch through Ethernet through a first Ethernet interface to form the communication channel. The axle counting simulation system is configured with a plurality of communication protocols of axle counting equipment, and each kind of axle counting equipment is adapted to the plurality of communication protocols.
Referring to fig. 2, in other embodiments, according to functions, the computer interlocking system may be divided into an application program (for controlling each interlocking device in the computer interlocking system) and a communication function module, and the axle counting simulation system may be divided into an application program (for controlling each device in the axle counting simulation system), a safety function module (for setting the state of the interlocking device in the computer interlocking system to An Quantai, so as to ensure safe operation of the train) and a communication function module. And the computer interlocking system and the axle counting simulation system perform data interaction through a communication network. The communication of the axle counting simulation system adopts UDP protocol, and the communication is communicated with the interlocking equipment and the interlocking logic part through a communication network such as Ethernet.
In this embodiment of the present invention, the first data may specifically be a data packet sent by the computer interlocking system based on the first channel.
The second channel may specifically be a standby communication channel between the computer interlock system and the axle counting simulation system, and more specifically, the computer interlock system and the axle counting simulation system are respectively connected to the second switch through the second ethernet interface via the ethernet to form a communication channel.
In the embodiment of the present invention, the axle counting simulation system receives second data sent by the computer interlocking system based on the second channel, where the second data may specifically be a data packet sent by the computer interlocking system based on the second channel.
It should be noted that the first channel and the second channel are redundant to each other, and when communication of one of the channels between the computer interlocking system and the axle counting simulation system is interrupted, data interaction between the computer interlocking system and the axle counting simulation system is automatically performed through the other channel.
In the embodiment of the present invention, the axle counting simulation system receives first data sent by the computer interlocking system based on the first channel, and simultaneously, the axle counting simulation system receives second data sent by the computer interlocking system based on the second channel, and performs check on the first data and the second data respectively to obtain a check result, that is, a first check result, where the check may specifically be performing timeout check and integrity check on the first data and the second data, and more specifically, performing check on timeout and integrity of the first data and the second data based on CRC check. And determining adopted credit data, namely the first target data, according to the first verification result.
For example, fig. 3 is a schematic view of a topological connection between a computer interlocking system and an axle counting simulation system provided by the present invention, as shown in fig. 3, the axle counting simulation system includes equipment components for simulating each axle counting device, which are placed in an axle counting cabinet 1 to an axle counting cabinet n, the number of cabinets can be configured according to actual conditions, and each axle counting cabinet is designed with ethernet interfaces a and B and redundant ethernet interfaces a and B; the computer interlocking system is a two-by-two structure and comprises a CI-I system and a CI-II system, wherein the CI-I system and the CI-II system are both provided with Ethernet interfaces A and B; the computer interlocking system and the axle counting simulation system are communicated through a dual Ethernet network redundant Ethernet interface, specifically, a redundant A network and a redundant B network in an axle counting cabinet, an A network and a B network in a CI-I system and a CI-II system are respectively in safe communication connection through an A network switch and a B network switch, wherein a first channel can be specifically a communication channel consisting of the A network, the B network, the A network switch and the B network switch in the axle counting cabinet, the CI-I system and the CI-II system, and a second channel can be specifically a communication channel consisting of the redundant A network and the redundant B network in the axle counting cabinet, the A network, the B network in the CI-I system and the CI-II system, and the A network switch and the B network switch.
The communication method of the computer interlocking system and the axle counting simulation system provided by the invention has the advantages that the axle counting simulation system is compatible with various communication protocols of various axle counting devices in a configuration mode, the communication between each interlocking device in the computer interlocking system and the various axle counting devices is realized, and meanwhile, the received data is verified through the axle counting simulation system, so that the safety and the reliability of the received data are ensured.
Further, in an embodiment, the method may further specifically include:
transmitting third data to the computer interlock system based on the first channel;
and sending fourth data to the computer interlocking system based on the second channel so that the computer interlocking system can verify the third data and the fourth data, and determining second target data according to a second verification result.
Optionally, the axle counting simulation system sends third data to the computer interlocking system based on the first channel, where the third data may be specifically a data packet sent by the axle counting simulation system based on the first channel. Meanwhile, the axle counting simulation system sends fourth data to the computer interlocking system based on the second channel, and the fourth data may specifically be a data packet sent by the axle counting simulation system based on the second channel.
In the embodiment of the present invention, after receiving the third data and the fourth data, the computer interlock system checks the third data and the fourth data to obtain a second check result, which may specifically be timeout check and integrity check on the third data and the fourth data, and more specifically, timeout and integrity check on the third data and the fourth data based on CRC check.
And the computer interlocking system obtains the credit data, namely the second target data according to the second check result.
Further, in an embodiment, the verifying the first data and the second data to obtain a first verification result may specifically include:
and carrying out integrity check and overtime check on the first data and the second data to obtain the first check result, wherein the integrity check is to check the content and the length of the first data and the second data, and the overtime check is to check the first receiving time, the first sending time and the first preset overtime of the first data and the second data.
In the embodiment of the present invention, the first receiving time may specifically be a time when the axle counting simulation system receives the first data and the second data sent by the computer interlocking system, the first sending time may specifically be a time when the computer interlocking system sends the first data and the second data, and the first preset timeout time may be freely set for the axle counting simulation system.
In the embodiment of the present invention, the axle counting simulation system calculates the time required for the axle counting simulation system to receive the first data and the time required for the axle counting simulation system to receive the second data based on the first receiving time and the first sending time of the first data and the second data, specifically, the time required for the axle counting simulation system to receive the first data is obtained by subtracting the first sending time of the first data from the first receiving time of the first data, the time required for the axle counting simulation system to receive the second data is obtained by subtracting the first sending time of the second data from the first receiving time of the second data, and the size relationship between the time required for the axle counting simulation system to receive the first data, the time required for the axle counting simulation system to receive the second data, and the first preset timeout time is determined.
For example, if the time required for receiving the first data is less than a first preset timeout time, the first data is considered to pass the timeout check; if the time required for receiving the first data is longer than the first preset timeout time, the first data is considered not to pass the timeout check, and the first channel communication is considered to be interrupted at the moment. And if the content and the length of the received first data are consistent with the expectation, the first data are considered to pass the integrity check.
For example, if the time required for receiving the second data is less than a first preset timeout time, the second data is considered to pass the timeout check; and if the time required for receiving the second data is longer than the first preset timeout time, the second data is considered not to pass the timeout check, and the computer interlocking system considers that the communication of the first channel is interrupted. And if the content and the length of the received second data are consistent with the expectation, the second data are considered to pass the integrity check.
It should be noted that, when the axle counting simulation system judges that communication with the computer interlocking system is interrupted or data fails to pass verification, the axle counting simulation system sets the state of the interlocking equipment in the computer interlocking system to be An Quantai so as to ensure safe operation of the train. For example, when the computer interlock system receives that the third data and the fourth data of the axle counting simulation system do not pass the verification, the data packets corresponding to the third data and the fourth data are discarded, and it is considered that no valid data is received in the current period. Similarly, when the axle counting simulation system receives that the first data and the second data of the computer interlocking system do not pass the verification, discarding the data packets corresponding to the first data and the second data, and considering that the valid data of the computer interlocking system is not received in the current period. If the receiver receives a piece of data from a certain channel, which passes the receiving time timeout and the integrity check, the communication of the channel can be considered to be uninterrupted. When the computer interlocking system and the axle counting simulation system receive data, if and only if the time required for receiving the data is within a preset timeout time range, receiving application program data in a data packet corresponding to the received data; if the time required to receive the data exceeds a preset timeout time, the data is discarded.
Further, in an embodiment, the determining the first target data according to the first verification result may specifically include:
if the first verification result represents that the first data passes the integrity verification and the overtime verification, the first data is used as the first target data; alternatively, the first and second electrodes may be,
if the first verification result represents that the second data passes the integrity verification and the overtime verification, the second data is used as the first target data; alternatively, the first and second electrodes may be,
and if the first verification result represents that the first data and the second data both pass the integrity verification and the overtime verification, determining the first target data according to the data serial numbers of the first data and the second data.
Optionally, if the first verification result indicates that the first data passes the integrity check and the timeout check, the first data is used as final first target data; if the first check result shows that the second data passes the integrity check and the overtime check, the second data is used as final second target data; and if the first verification result represents that the first data and the second data both pass the integrity verification and the overtime verification, selecting the data with the newer data serial number as the first target data from the data serial numbers of the first data and the second data.
In other embodiments of the present invention, if the data serial numbers of the first data and the second data are consistent, the previous data is used as the first target data according to the time when the axle counting simulation system receives the first data and the second data.
The communication method of the computer interlocking system and the axle counting simulation system provided by the invention has the advantages that the axle counting simulation system is compatible with various communication protocols of various axle counting devices in a configuration mode, the communication between each interlocking device and the various axle counting devices in the computer interlocking system is realized, and meanwhile, the received data is verified through the computer interlocking system, so that the safety and the reliability of the received data are ensured.
Fig. 4 is a second schematic flow chart of a communication method of the computer interlocking system and the axle counting simulation system provided by the present invention, as shown in fig. 4, the method includes:
step 410, sending first data to the axle counting simulation system based on a first channel;
step 411, sending second data to the axle counting simulation system based on a second channel, so that the axle counting simulation system checks the first data and the second data to obtain a first check result, and determining first target data according to the first check result;
the first channel and the second channel are redundant, the axle counting simulation system is configured with a plurality of communication protocols of axle counting equipment, and each kind of axle counting equipment is adapted to the plurality of communication protocols.
The execution subject of the method may be a computer device or a computer interlock system, and the following describes in detail the communication method between the computer interlock system and the axle counting simulation system provided by the present invention by taking the execution subject of the method as the computer interlock system as an example.
In the embodiment of the invention, the computer interlocking system CI sends first data to the axle counting simulation system based on the first channel, and the computer interlocking system CI comprises different types of interlocking equipment, such as signal machines, turnouts and the like.
In the embodiment of the invention, the computer interlocking system adopts a two-by-two-out-of-two structure, which comprises a CI-I system and a CI-II system.
In the embodiment of the invention, the axle counting simulation system can be specifically composed of equipment with various axle counting equipment functions (each axle counting simulation system is arranged in an axle counting cabinet) and is used for simulating and realizing the functions of various axle counting equipment, such as replacing a track circuit to detect the vacancy/occupation of a section, and solving the problems of white light band/red light band in a station, red light band in a section, poor shunting in the station and the section and the like.
In the embodiment of the invention, the computer interlocking system and the axle counting simulation system communicate with each other through a communication channel formed by dual Ethernet network redundancy and Ethernet equipment redundancy, the communication channel can be specifically a first channel and a second channel, the first channel can be specifically a main communication channel between the computer interlocking system and the axle counting simulation system, and the computer interlocking system and the axle counting simulation system are respectively connected with a first switch through Ethernet through a first Ethernet interface to form the communication channel. The axle counting simulation system is configured with a plurality of communication protocols of axle counting equipment, and each kind of axle counting equipment is adapted to the plurality of communication protocols.
In this embodiment of the present invention, the first data may specifically be a data packet sent by the computer interlocking system based on the first channel.
The second channel may specifically be a standby communication channel between the computer interlock system and the axle counting simulation system, and more specifically, the computer interlock system and the axle counting simulation system are respectively connected to the second switch through the second ethernet interface via the ethernet to form a communication channel.
In the embodiment of the present invention, the axle counting simulation system receives second data sent by the computer interlocking system based on the second channel, where the second data may specifically be a data packet sent by the computer interlocking system based on the second channel.
It should be noted that the first channel and the second channel are redundant to each other, and when communication of one of the channels between the computer interlocking system and the axle counting simulation system is interrupted, data interaction between the computer interlocking system and the axle counting simulation system is automatically performed through the other channel.
In the embodiment of the invention, the computer interlocking system sends first data to the axle counting simulation system based on the first channel, and simultaneously the computer interlocking system sends second data to the axle counting simulation system based on the second channel, after receiving the first data and the second data, the axle counting simulation system respectively checks the first data and the second data to obtain a check result, namely a first check result, wherein the check can specifically be timeout check and integrity check on the first data and the second data, and more specifically is to check the timeout and the integrity of the first data and the second data based on CRC check. And determining adopted credit data, namely the first target data, according to the first verification result.
The communication method of the computer interlocking system and the axle counting simulation system provided by the invention has the advantages that the axle counting simulation system is compatible with various communication protocols of various axle counting devices in a configuration mode, the communication between each interlocking device and the various axle counting devices in the computer interlocking system is realized, and meanwhile, the received data is verified through the axle counting simulation system, so that the safety and the reliability of the received data are ensured.
Further, in an embodiment, the method may further specifically include:
receiving third data sent by the axle counting simulation system based on the first channel;
receiving fourth data sent by the axle counting simulation system based on the second channel;
verifying the third data and the fourth data to obtain a second verification result;
and determining second target data according to the second check result.
Optionally, the computer interlock system receives third data sent by the axle counting simulation system based on the first channel, where the third data may be specifically a data packet sent by the axle counting simulation system based on the first channel. And meanwhile, the computer interlocking system receives fourth data sent by the axle counting simulation system based on the second channel, wherein the fourth data can be specifically a data packet sent by the axle counting simulation system based on the second channel.
In the embodiment of the present invention, after receiving the third data and the fourth data, the computer interlock system checks the third data and the fourth data to obtain a second check result, which may specifically be timeout check and integrity check on the third data and the fourth data, and more specifically, timeout and integrity check on the third data and the fourth data based on CRC check.
And the computer interlocking system obtains the credit data, namely the second target data according to the second check result.
Further, in an embodiment, the verifying the third data and the fourth data, and determining the second target data according to the second verification result may specifically include:
and performing integrity check and overtime check on the third data and the fourth data to obtain a second check result, wherein the integrity check is to check the content and the length of the third data and the fourth data, and the overtime check is to check the second receiving time, the second sending time and the second preset overtime of the third data and the fourth data.
In the embodiment of the present invention, the second receiving time may specifically be a time when the computer interlock system receives the third data and the fourth data sent by the axle counting simulation system, the second sending time may specifically be a time when the axle counting simulation system sends the third data and the fourth data, and the first preset timeout time may be freely set for the computer interlock system.
In the embodiment of the present invention, the computer interlock system calculates the time required by the computer interlock system to receive the third data and the time required by the computer interlock system to receive the fourth data based on the second receiving time and the second sending time of the third data and the fourth data, specifically, the time required to receive the third data is obtained by subtracting the second sending time of the third data from the second receiving time of the third data, the time required to receive the fourth data is obtained by subtracting the second sending time of the fourth data from the second receiving time of the fourth data, and a size relationship between the time required to receive the third data, the time required to receive the fourth data, and the second preset timeout time is determined.
For example, if the time required for receiving the third data is less than a second preset timeout time, the third data is considered to pass the timeout check; and if the time required for receiving the third data is longer than the second preset timeout time, the third data is considered not to pass the timeout check, and the first channel communication is considered to be interrupted at the moment. And if the content and the length of the received third data are consistent with the expectation, the third data are considered to pass the integrity check.
For example, if the time required for receiving the fourth data is less than a second preset timeout time, the fourth data is considered to pass the timeout check; if the time required for receiving the fourth data is longer than the second preset timeout time, the fourth data is considered to not pass the timeout check, and at the moment, the first channel communication is considered to be interrupted. And if the content and the length of the received fourth data are consistent with the expectation, the fourth data are considered to pass the integrity check.
Further, in an embodiment, the determining the second target data according to the second check result may specifically include:
if the second check result indicates that the third data passes the integrity check and the overtime check, the third data is used as the second target data; alternatively, the first and second electrodes may be,
if the second check result represents that the fourth data passes the integrity check and the overtime check, the fourth data is used as the second target data; alternatively, the first and second electrodes may be,
and if the second check result represents that the third data and the fourth data both pass the integrity check and the overtime check, determining the second target data according to the data serial numbers of the third data and the fourth data.
Optionally, if the second check result indicates that the third data passes the integrity check and the timeout check, the third data is used as final second target data; if the second check result shows that the fourth data passes the integrity check and the overtime check, the fourth data is used as final second target data; and if the second check result represents that the third data and the fourth data both pass the integrity check and the overtime check, selecting data with a newer data serial number as second target data from the data serial numbers of the third data and the fourth data.
In other embodiments of the present invention, if the data serial numbers of the third data and the fourth data are identical, the previous side of the receiving time is used as the second target data according to the time when the third data and the fourth data are received by the computer interlocking system.
The communication method of the computer interlocking system and the axle counting simulation system provided by the invention has the advantages that the axle counting simulation system is compatible with various communication protocols of various axle counting devices in a configuration mode, the communication between each interlocking device and the various axle counting devices in the computer interlocking system is realized, and meanwhile, the received data is verified through the computer interlocking system, so that the safety and the reliability of the received data are ensured.
The communication systems of the computer interlocking system and the axle counting simulation system provided by the invention are described below, and the communication systems of the computer interlocking system and the axle counting simulation system described below and the communication methods of the computer interlocking system and the axle counting simulation system described above can be referred to correspondingly.
Fig. 5 is a schematic structural diagram of a communication system of the computer interlocking system and the axle counting simulation system provided by the invention, as shown in fig. 5, including:
a first receiving module 510, a second receiving module 511, a first obtaining module 512, and a second obtaining module 513;
the first receiving module 510 is configured to receive first data sent by the computer interlocking system based on a first channel;
the second receiving module 511 is configured to receive second data sent by the computer interlocking system based on a second channel;
the first obtaining module 512 is configured to verify the first data and the second data, and obtain a first verification result;
the second obtaining module 513 is configured to determine first target data according to the first verification result;
the first channel and the second channel are redundant, the axle counting simulation system is configured with a plurality of communication protocols of axle counting equipment, and each kind of axle counting equipment is adapted to the plurality of communication protocols.
According to the communication system of the computer interlocking system and the axle counting simulation system, the axle counting simulation system is compatible with multiple communication protocols of multiple axle counting devices in a configuration mode, communication between each interlocking device in the computer interlocking system and the multiple axle counting devices is achieved, meanwhile, the received data are verified through the axle counting simulation system, and safety and reliability of the received data are guaranteed.
Fig. 6 is a schematic structural diagram of a communication system of a computer interlocking system and an axle counting simulation system provided by the present invention, as shown in fig. 6, including:
a first sending module 610 and a second sending module 611;
the first sending module 610 is configured to send first data to the axle counting simulation system based on a first channel;
the second sending module 611 is configured to send second data to the axle counting simulation system based on a second channel, so that the axle counting simulation system checks the first data and the second data to obtain a first check result, and determine first target data according to the first check result;
the first channel and the second channel are redundant, the axle counting simulation system is configured with a plurality of communication protocols of axle counting equipment, and each kind of axle counting equipment is adapted to the plurality of communication protocols.
The communication system of the computer interlocking system and the axle counting simulation system provided by the invention enables the axle counting simulation system to be compatible with multiple communication protocols of multiple axle counting devices in a configuration mode, realizes communication between each interlocking device and the multiple axle counting devices in the computer interlocking system, and simultaneously verifies the received data through the axle counting simulation system, thereby ensuring the safety and reliability of the received data
Fig. 7 is a schematic physical structure diagram of an electronic device provided in the present invention, and as shown in fig. 7, the electronic device may include: a processor (processor) 710, a communication interface 711, a memory (memory) 712 and a bus (bus) 713, wherein the processor 710, the communication interface 711 and the memory 712 are communicated with each other via the bus 713. The processor 710 may call logic instructions in the memory 712 to perform the following method:
receiving first data sent by a computer interlocking system based on a first channel;
receiving second data sent by the computer interlocking system based on a second channel;
verifying the first data and the second data to obtain a first verification result;
and determining first target data according to the first checking result.
Alternatively, the processor 710 may call logic instructions in the memory 712 to perform the following method:
sending first data to an axle counting simulation system based on a first channel;
and sending second data to the axle counting simulation system based on a second channel so that the axle counting simulation system can verify the first data and the second data to obtain a first verification result, and determining first target data according to the first verification result.
In addition, the logic instructions in the memory may be implemented in the form of software functional units and may be stored in a computer readable storage medium when sold or used as a stand-alone product. Based on such understanding, the technical solution of the present invention or a part thereof, which essentially contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer power screen (which may be a personal computer, a server, or a network power screen, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and various media capable of storing program codes.
Further, the present invention discloses a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, which when executed by a computer, the computer is capable of executing the communication method of the computer interlocking system and the axle counting simulation system provided by the above-mentioned method embodiments, for example, the method comprises:
receiving first data sent by a computer interlocking system based on a first channel;
receiving second data sent by the computer interlocking system based on a second channel;
verifying the first data and the second data to obtain a first verification result;
and determining first target data according to the first checking result.
Alternatively, the first and second liquid crystal display panels may be,
sending first data to the axle counting simulation system based on a first channel;
and sending second data to the axle counting simulation system based on a second channel so that the axle counting simulation system can verify the first data and the second data to obtain a first verification result, and determining first target data according to the first verification result.
In another aspect, the present invention further provides a non-transitory computer readable storage medium, on which a computer program is stored, the computer program being implemented to perform the communication method between the computer interlocking system and the axle counting simulation system provided in the foregoing embodiments when executed by a processor, and the method includes:
receiving first data sent by a computer interlocking system based on a first channel;
receiving second data sent by the computer interlocking system based on a second channel;
verifying the first data and the second data to obtain a first verification result;
and determining first target data according to the first checking result.
Alternatively, the first and second liquid crystal display panels may be,
sending first data to an axle counting simulation system based on a first channel;
and sending second data to the axle counting simulation system based on a second channel so that the axle counting simulation system can verify the first data and the second data to obtain a first verification result, and determining first target data according to the first verification result.
The above-described system embodiments are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., and includes instructions for causing a computer power supply screen (which may be a personal computer, a server, or a network power supply screen, etc.) to execute the methods described in the embodiments or some portions of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A communication method of a computer interlocking system and an axle counting simulation system is characterized by comprising the following steps:
receiving first data sent by a computer interlocking system based on a first channel;
receiving second data sent by the computer interlocking system based on a second channel;
verifying the first data and the second data to obtain a first verification result;
determining first target data according to the first checking result;
the first channel and the second channel are redundant, the axle counting simulation system is configured with a plurality of communication protocols of the axle counting equipment, and each kind of axle counting equipment is adapted to the plurality of communication protocols.
2. The method of communicating a computer interlock system with an axle counting simulation system according to claim 1, further comprising:
transmitting third data to the computer interlock system based on the first channel;
and sending fourth data to the computer interlocking system based on the second channel so that the computer interlocking system can verify the third data and the fourth data, and determining second target data according to a second verification result.
3. The method for communicating between a computer interlock system and an axle counting simulation system according to claim 1, wherein the verifying the first data and the second data to obtain a first verification result comprises:
and carrying out integrity check and overtime check on the first data and the second data to obtain the first check result, wherein the integrity check is to check the content and the length of the first data and the second data, and the overtime check is to check the first receiving time, the first sending time and the first preset overtime of the first data and the second data.
4. The method of claim 3, wherein the determining the first target data based on the first verification comprises:
if the first verification result represents that the first data passes the integrity verification and the overtime verification, the first data is used as the first target data; alternatively, the first and second electrodes may be,
if the first verification result represents that the second data passes the integrity verification and the overtime verification, the second data is used as the first target data; alternatively, the first and second electrodes may be,
and if the first verification result indicates that the first data and the second data both pass the integrity verification and the overtime verification, determining the first target data according to the data serial numbers of the first data and the second data.
5. A communication method of a computer interlocking system and an axle counting simulation system is characterized by comprising the following steps:
sending first data to an axle counting simulation system based on a first channel;
sending second data to the axle counting simulation system based on a second channel so that the axle counting simulation system can verify the first data and the second data to obtain a first verification result, and determining first target data according to the first verification result;
the first channel and the second channel are redundant, the axle counting simulation system is configured with a plurality of communication protocols of axle counting equipment, and each kind of axle counting equipment is adapted to the plurality of communication protocols.
6. The method of communicating a computer interlock system with an axle counting simulation system according to claim 5, further comprising:
receiving third data sent by the axle counting simulation system based on the first channel;
receiving fourth data sent by the axle counting simulation system based on the second channel;
verifying the third data and the fourth data to obtain a second verification result;
and determining second target data according to the second check result.
7. The method for communicating between a computer interlock system and an axle counting simulation system according to claim 6, wherein the verifying the third data and the fourth data and determining the second target data according to the second verification result comprises:
and carrying out integrity check and overtime check on the third data and the fourth data to obtain a second check result, wherein the integrity check is to check the content and the length of the third data and the fourth data, and the overtime check is to check the second receiving time, the second sending time and the second preset overtime of the third data and the fourth data.
8. The method for communicating between a computer interlock system and an axle counting simulation system according to claim 7, wherein the determining second target data according to the second check result comprises:
if the second check result represents that the third data passes the integrity check and the overtime check, the third data is used as the second target data; alternatively, the first and second electrodes may be,
if the second check result represents that the fourth data passes the integrity check and the overtime check, the fourth data is used as the second target data; alternatively, the first and second electrodes may be,
and if the second check result represents that the third data and the fourth data both pass the integrity check and the overtime check, determining the second target data according to the data serial numbers of the third data and the fourth data.
9. A communication system for a computer interlock system and an axle counting simulation system, comprising: the device comprises a first receiving module, a second receiving module, a first obtaining module and a second obtaining module;
the first receiving module is used for receiving first data sent by the computer interlocking system based on a first channel;
the second receiving module is used for receiving second data sent by the computer interlocking system based on a second channel;
the first obtaining module is configured to verify the first data and the second data to obtain a first verification result;
the second obtaining module is used for determining first target data according to the first checking result;
the first channel and the second channel are redundant, the axle counting simulation system is configured with a plurality of communication protocols of axle counting equipment, and each kind of axle counting equipment is adapted to the plurality of communication protocols.
10. A communication system for a computer interlock system and an axle counting simulation system, comprising: the device comprises a first sending module and a second sending module;
the first sending module is used for sending first data to the axle counting simulation system based on a first channel;
the second sending module is configured to send second data to the axle counting simulation system based on a second channel, so that the axle counting simulation system checks the first data and the second data to obtain a first check result, and determine first target data according to the first check result;
the first channel and the second channel are redundant, the axle counting simulation system is configured with a plurality of communication protocols of axle counting equipment, and each kind of axle counting equipment is adapted to the plurality of communication protocols.
CN202211371780.1A 2022-11-03 2022-11-03 Communication method and system of computer interlocking system and axle counting simulation system Pending CN115635995A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211371780.1A CN115635995A (en) 2022-11-03 2022-11-03 Communication method and system of computer interlocking system and axle counting simulation system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211371780.1A CN115635995A (en) 2022-11-03 2022-11-03 Communication method and system of computer interlocking system and axle counting simulation system

Publications (1)

Publication Number Publication Date
CN115635995A true CN115635995A (en) 2023-01-24

Family

ID=84947740

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211371780.1A Pending CN115635995A (en) 2022-11-03 2022-11-03 Communication method and system of computer interlocking system and axle counting simulation system

Country Status (1)

Country Link
CN (1) CN115635995A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116661363A (en) * 2023-08-02 2023-08-29 比亚迪股份有限公司 Safety control method of track system, computer storage medium and track system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116661363A (en) * 2023-08-02 2023-08-29 比亚迪股份有限公司 Safety control method of track system, computer storage medium and track system

Similar Documents

Publication Publication Date Title
CN115635995A (en) Communication method and system of computer interlocking system and axle counting simulation system
CN104503350B (en) The implementation method and controller of dual-redundant CAN bus
CN105700509B (en) Car-mounted terminal detection method and device based on CAN
CN109379264B (en) Multi-board card communication equipment, method and system based on CAN2.0
CN111475357A (en) Bus fault injection system
CN101494571B (en) CAN bus self detection recovery device and method
CN109962827B (en) Equipment link detection method, device, equipment and readable storage medium
CN102740449B (en) Vehicle-mounted wireless transmission system of CTCS-3 level train control system using GSM-R network
US9621358B2 (en) Method of conducting safety-critical communications
CN105450469A (en) Method for detecting faults of rapid communication bus in industrial equipment
CN113726573A (en) Redundant network communication method, device, electronic equipment and storage medium
CN113542057A (en) Communication fault detection method, device and system based on redundant device
CN103107904A (en) Double-computer switching method of application server of ATS system control center
CN103999406B (en) The processing method and device of communication path
CN113306602B (en) Wireless network test system and method of train control system
CN101958815A (en) Security Ethernet interface on-line monitor system and method
CN109039768B (en) CBTC signal warning method in LTE-M communication network
CN104272625A (en) Communication device and communication method
CN114940195B (en) Train operation safety protection method and system
CN106034090B (en) Information processing method and interchanger
CN116279703A (en) Full-electronic interlocking test system, method and device and electronic equipment
US8005585B2 (en) Method for determining the occupancy status of a track section in particular following a restart of an axle counting system, as well as an evaluation device and counting point for this
CN115801183A (en) Safety coding transmission device for track signal system
CN113562035B (en) Train position report jump protection method, device, electronic equipment and storage medium
CN109800197A (en) A kind of communication board hot-plug method for trackside security platform

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