CN113830134A - Vehicle-mounted ATP (automatic train protection) dual-system switching method and logic unit of vehicle-mounted ATP - Google Patents

Vehicle-mounted ATP (automatic train protection) dual-system switching method and logic unit of vehicle-mounted ATP Download PDF

Info

Publication number
CN113830134A
CN113830134A CN202110981160.9A CN202110981160A CN113830134A CN 113830134 A CN113830134 A CN 113830134A CN 202110981160 A CN202110981160 A CN 202110981160A CN 113830134 A CN113830134 A CN 113830134A
Authority
CN
China
Prior art keywords
train
standby
main
position information
synchronous
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.)
Granted
Application number
CN202110981160.9A
Other languages
Chinese (zh)
Other versions
CN113830134B (en
Inventor
马冲
周东蕴
王磊
秦亚芬
曹学思
马新成
马晓梅
徐之栋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CRSC 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 CN202110981160.9A priority Critical patent/CN113830134B/en
Publication of CN113830134A publication Critical patent/CN113830134A/en
Application granted granted Critical
Publication of CN113830134B publication Critical patent/CN113830134B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B61RAILWAYS
    • B61LGUIDING RAILWAY TRAFFIC; ENSURING THE SAFETY OF RAILWAY TRAFFIC
    • B61L15/00Indicators provided on the vehicle or vehicle train for signalling purposes ; On-board control or communication systems
    • B61L15/0063Multiple on-board control systems, e.g. "2 out of 3"-systems
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B61RAILWAYS
    • B61LGUIDING RAILWAY TRAFFIC; ENSURING THE SAFETY OF RAILWAY TRAFFIC
    • B61L23/00Control, warning, or like safety means along the route or between vehicles or vehicle trains

Abstract

The invention provides a vehicle-mounted ATP (automatic train protection) dual-system switching method and a logic unit of vehicle-mounted ATP, wherein the method is applied to the logic unit of the vehicle-mounted ATP, and comprises the following steps: establishing main and standby system synchronous key data to keep the data of the logic units of the main system and the standby system of the vehicle-mounted ATP (automatic train protection) host synchronous, if the previous equipment state is the main system and the current equipment state is the standby system, and if the CRC value of the relevant state information in the synchronous train position information is inconsistent with the CRC value of the position relevant state quantity in the local train position information, determining the deviation of the main and standby positions based on the local train position information and the synchronous train position information; the local train position information is determined based on external data received by the local logic unit, the synchronous train position information is determined based on synchronous data received by the local logic unit, and the synchronous data is periodically sent to the standby logic unit by the main logic unit; and determining a main/standby switching result based on the main/standby position deviation, and realizing switching of the vehicle-mounted ATP dual system.

Description

Vehicle-mounted ATP (automatic train protection) dual-system switching method and logic unit of vehicle-mounted ATP
Technical Field
The invention relates to the technical field of rail transit, in particular to a vehicle-mounted ATP double-system switching method and a logic unit of vehicle-mounted ATP.
Background
In the field of rail transit operation control, a vehicle-mounted ATP (Automatic Train Protection) System is the core of a Train operation control System, and is used for controlling the operation speed of a Train according to ground information and vehicle information, so as to prevent the Train from running at an excessive speed, thereby ensuring the driving safety of the Train.
The vehicle-mounted ATP host is used as a logic unit of the vehicle-mounted ATP system, is responsible for the core logic of the automatic overspeed protection algorithm, and has the functions of safety input, safety output and safety logic processing. The vehicle-mounted ATP host adopts a dual-system redundancy structure in design, when a main system fails, the main system is switched to a standby system to continue to operate, however, after the main system is switched to the standby system, the information of the main system and the information of the standby system are not completely synchronous, so that the situation of switching failure may occur, and the safe operation of a train is influenced.
Disclosure of Invention
The invention provides a vehicle-mounted ATP double-system switching method and a logic unit of a vehicle-mounted ATP, which are used for solving the defect of switching failure caused by asynchronous information of a main system and a standby system in the prior art.
The invention provides a vehicle-mounted ATP (automatic train protection) dual-system switching method, which is applied to a logic unit of a vehicle-mounted ATP, and comprises the following steps:
if the previous equipment state is a main system and the current equipment state is a standby system, determining the deviation of the main and standby positions based on the position information of the local train and the position information of the synchronous train; the local train position information is determined based on external data received by a local logic unit, the synchronous train position information is determined based on synchronous data received by the local logic unit, and the synchronous data is periodically sent to a standby logic unit by a main logic unit;
and determining a main/standby switching result based on the main/standby position deviation.
According to the vehicle-mounted ATP dual-system switching method provided by the invention, the determination of the deviation of the main and standby positions based on the position information of the local train and the position information of the synchronous train comprises the following steps:
if the position-related state quantity CRC value in the local-end train position information is not consistent with the position-related state quantity CRC value in the synchronous train position information, determining the deviation of the main and standby positions based on the train position data in the local-end train position information and the train position data in the synchronous train position information;
otherwise, the main/standby switching is determined to be successful.
According to the vehicle-mounted ATP dual-system switching method provided by the invention, the determination of the main/standby switching result based on the main/standby position deviation comprises the following steps:
if the deviation of the main/standby positions is larger than a deviation threshold value, determining that the main/standby switching fails, and performing fault processing;
otherwise, log information is recorded, and the log information is used for representing the success of the main-standby switching.
According to the vehicle-mounted ATP dual-system switching method provided by the invention, the method further comprises the following steps:
if the current equipment state is the master system and meets the preset initialization condition, executing initialization and updating an initialization completion mark to the synchronous data;
and if the current equipment state is standby and the received synchronous data comprises the initialization completion mark, executing initialization.
According to the vehicle-mounted ATP dual-train switching method provided by the invention, the synchronous data comprises train speed related data, train IO input data, master train time information, an initialization completion mark and synchronous train position information.
According to the vehicle-mounted ATP dual-system switching method provided by the invention, the method further comprises the following steps:
and if the current equipment state is standby, updating the train speed related data and the train IO input data stored in the local logic unit based on the train speed related data and the train IO input data in the synchronous data, and updating the time information of the local logic unit based on the master train time information in the synchronous data.
According to the vehicle-mounted ATP dual-system switching method provided by the invention, the method further comprises the following steps:
and if the current equipment state is the master system, acquiring externally transmitted train speed related data, train IO input data, time information and train position information, and updating synchronous data to be transmitted.
The invention also provides a logic unit of the vehicle-mounted ATP, which comprises:
a deviation determining unit, configured to determine a deviation between the primary and standby positions based on the local train position information and the synchronous train position information if the previous equipment state is the primary system and the current equipment state is the standby system; the local train position information is determined based on external data received by a local logic unit, the synchronous train position information is determined based on synchronous data received by the local logic unit, and the synchronous data is periodically sent to a standby logic unit by a main logic unit;
and the result determining unit is used for determining a main/standby switching result based on the main/standby position deviation.
The invention also provides an electronic device, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the program to realize the steps of the vehicle-mounted ATP dual-system switching method.
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 the steps of the in-vehicle ATP dual system switching method as described in any of the above.
According to the vehicle-mounted ATP double-system switching method and the logic unit of the vehicle-mounted ATP, after a main system is switched to a standby system, the local logic unit receives external data and synchronous data, local train position information and synchronous train position information are respectively determined according to the external data and the synchronous data, and main and standby position deviation is determined according to the local train position information and the synchronous train position information, so that a main and standby switching result is further determined according to the main and standby position deviation, and switching of the vehicle-mounted ATP double systems is achieved.
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 vehicle-mounted ATP dual-system switching method according to an embodiment of the present invention;
fig. 2 is a general flowchart of a vehicle-mounted ATP dual-system switching method according to an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a logic unit of the vehicle-mounted ATP provided by the present invention;
fig. 4 is a schematic structural 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.
In the field of rail transit operation control, a vehicle-mounted ATP system is the core of a train operation control system, a vehicle-mounted ATP host is a logic unit of the vehicle-mounted ATP system, and the vehicle-mounted ATP host can be divided into the logic unit, an input unit, an output unit and a communication unit functionally and structurally. The vehicle-mounted ATP host adopts a dual-system redundant structure in design, a main system and a standby system of the vehicle-mounted ATP host are distinguished through a logic unit, and other input units, output units and communication units are synchronously executed according to functions of the input units, the output units and the communication units. The logic unit of the master system performs logic processing on all input data and outputs effective control information; the logic unit of the backup system is only used for receiving input data and does not output control information.
When the main system fails, the main system is switched to the backup system to continue to operate, and after the main system is switched to the backup system, because the data of the logic units of the main system and the backup system are not synchronous, the switching failure of the main system and the backup system can be caused, and the safe operation of the train is influenced.
In view of the above situation, the present invention provides a vehicle-mounted ATP dual-system switching method, and fig. 1 is a schematic flow chart of the vehicle-mounted ATP dual-system switching method provided in an embodiment of the present invention, as shown in fig. 1, the method is applied to a logic unit of a vehicle-mounted ATP, and the method includes:
step 110, if the previous equipment state is a master train and the current equipment state is a slave train, determining the deviation of the master and slave positions based on the position information of the local train and the position information of the synchronous train; the local train position information is determined based on external data received by the local logic unit, the synchronous train position information is determined based on synchronous data received by the local logic unit, and the synchronous data is periodically sent to the standby logic unit by the main logic unit;
due to the fact that data of the logic units of the main system and the standby system are asynchronous, after the main system is switched to the standby system, deviation may exist between train positions represented by train position information before and after switching, and the deviation is a determining factor of success or failure of the main-standby switching. Therefore, in the embodiment of the present invention, after determining that the previous device state of the current device state is the primary system and the current device state is the backup system, that is, after the device state of the vehicle-mounted ATP is switched from the primary system to the backup system, a deviation between train positions represented by train position information of the primary system and the backup system, that is, a deviation of the primary position and the backup position needs to be determined, so as to further determine whether the primary system switches the backup system successfully according to the deviation of the primary position and the backup position.
The device state here refers to an operation state of the vehicle-mounted ATP, when the previous device state is the main system, which indicates that the main system is not in fault, the vehicle-mounted ATP is that the main system is in operation, and if the main system is in fault, the vehicle-mounted ATP is switched to the standby system to continue to operate, that is, the vehicle-mounted ATP is currently operated by the standby system, and the current device state is referred to as the standby system.
Before determining the deviation of the main and standby positions, external data and synchronous data are received through a standby logic unit, and the position information of the local end train is determined according to the received external data, wherein the external data can be train speed related data, train IO input data, time information, train position information and the like; and determining the position information of the synchronous train according to the received synchronous data, wherein the synchronous data is periodically sent to the standby train logic unit by the main train logic unit, and the period sent by the main train logic unit can be preset according to actual requirements. The synchronous data can be train speed related data, train IO input data, master train time information and initialization completion flag, synchronous train position information and the like.
After the position information of the local end train and the position information of the synchronous train are determined, the deviation of the main and standby positions can be determined according to the position information of the local end train and the position information of the synchronous train.
Step 120, determining a primary/secondary switching result based on the primary/secondary position deviation.
Specifically, after the main/standby position deviation is obtained in step 110, the main/standby switching result may be determined according to the main/standby position deviation.
Considering that the main-standby position deviation after switching to the standby system does not affect the driving safety of the train, that is, the main-standby position deviation needs to be within the maximum deviation range allowed when the main system switches to the standby system, a maximum tolerance position deviation can be set, and the main-standby switching result is determined according to the maximum tolerance position deviation. The maximum tolerable position deviation here is the maximum deviation that can be tolerated when the master system switches the backup system.
If the deviation of the main/standby positions is greater than the maximum tolerance position deviation, it is indicated that the deviation of the main/standby positions at this time will affect the driving safety of the train, so that the main/standby switching result is determined to be a switching failure. Correspondingly, if the main/standby position deviation is less than or equal to the maximum tolerance position deviation, it is indicated that the main/standby position deviation does not affect the driving safety of the train, and the main/standby switching result at this time is determined to be successful switching.
If the deviation of the master and backup positions is 0, it indicates that the train position information before and after switching is completely consistent, and the train positions represented by the train position information before and after switching are also completely consistent, which is the best situation for switching the master system and the backup system.
According to the vehicle-mounted ATP dual-system switching method provided by the embodiment of the invention, after a main system is switched to a standby system, the local logic unit receives external data and synchronous data, the local train position information and the synchronous train position information are respectively determined according to the external data and the synchronous data, and the main/standby position deviation is determined according to the local train position information and the synchronous train position information, so that the main/standby switching result is further determined according to the main/standby position deviation, and the switching of the vehicle-mounted ATP dual system is realized.
Based on the above embodiment, in step 110, determining the deviation between the primary and standby positions based on the local train position information and the synchronous train position information includes:
if the position-related state quantity CRC value in the local-end train position information is inconsistent with the position-related state quantity CRC value in the synchronous train position information, determining the deviation of the main and standby positions based on the train position data in the local-end train position information and the train position data in the synchronous train position information;
otherwise, the main/standby switching is determined to be successful.
Specifically, in step 110, after the local-end train position information is determined by the external data received by the local-end logic unit and the synchronous train position information is determined by the synchronous data, both the obtained local-end train position information and the obtained synchronous train position information include a position-related state quantity CRC (Cyclic Redundancy Check) value and train position data. The CRC value of the position-related state quantity comprises a CRC value of track section position information and a CRC value of a mobile authorization position, and the CRC value of the position-related state quantity is used for checking related information of a train position; train position data is data of the position where the train is located.
The determining of the master-slave position deviation by the local train position information and the synchronous train position information may specifically be determining the master-slave position deviation by a position-related state quantity CRC value and train position data in the local train position information, and a position-related state quantity CRC value and train position data in the synchronous train position information.
If the position-related state quantity CRC value in the local-end train position information is inconsistent with the position-related state quantity CRC value in the synchronous train position information, it is indicated that the track section position information of the train before and after switching is inconsistent with the movement authorization position, and a deviation exists between train positions represented by the train position information of the local-end train and the synchronous train position information.
Correspondingly, if the position-related state quantity CRC value in the local train position information is consistent with the position-related state quantity CRC value in the synchronous train position information, the track section position information of the trains before and after switching is consistent with the movement authorization position, and the master train switching and the backup train switching are successful.
Based on the above embodiment, step 120 includes:
if the deviation of the main/standby positions is greater than the deviation threshold value, determining that the main/standby switching fails, and performing fault processing;
otherwise, log information is recorded, and the log information is used for representing the success of the main-standby switching.
Specifically, after the main/standby position deviation is determined in step 110, the main/standby switching result may be further determined according to the main/standby position deviation.
Considering that the deviation of the main/standby position after switching the main system to the standby system does not affect the driving safety of the train, the deviation threshold may be preset according to the actual requirement, and the main/standby switching result may be judged according to the relation between the deviation threshold and the deviation of the main/standby position.
Correspondingly, if the deviation of the main/standby position is less than or equal to the deviation threshold, it indicates that the deviation of the main/standby position does not affect the driving safety of the train, and therefore, the main/standby switching result is determined as successful switching. It should be noted that the success of the primary/secondary switching is characterized by log information, and the log information is recorded when it is determined that the deviation of the primary/secondary position is less than or equal to the deviation threshold.
The vehicle-mounted ATP dual-system switching method provided by the embodiment of the invention increases the position tolerance deviation value of the main and standby system switching, does not process the tolerable position deviation caused by system switching, and improves the system switching efficiency.
Based on the above embodiment, the method further comprises:
if the current equipment state is the master system and meets the preset initialization condition, executing initialization and updating the initialization completion mark to synchronous data;
and if the current equipment state is backup and the received synchronous data contains an initialization completion mark, executing initialization.
Specifically, when the dual-system switching method of the vehicle-mounted ATP is executed, the primary system and the backup system may also be initialized. If the current equipment state of the vehicle-mounted ATP is the main system and the operation of the main system meets the preset initialization condition, the main system can execute initialization, and the initialization completion mark is updated to the synchronous data after the initialization is completed, so that the standby system can execute initialization according to the initialization completion mark in the synchronous data after the equipment state of the vehicle-mounted ATP is switched from the main system to the standby system.
Specifically, the process of performing initialization by the backup system may be that after a master system switches the backup system, that is, the current device state of the vehicle-mounted ATP is the backup system, the backup system logic unit receives an initialization completion flag included in the synchronization data sent by the master system, and then may perform initialization.
It should be noted that the backup system does not actively perform initialization, and only performs initialization passively after receiving an initialization completion flag included in the synchronization data sent by the master system.
Based on the above embodiment, the synchronization data includes train speed related data, train IO input data, master train time information, initialization completion flag, and synchronized train position information.
Specifically, because the reason for the failure of switching between the primary system and the secondary system is that the data of the logic units of the primary system and the secondary system are not synchronized, in the embodiment of the present invention, after the event that the primary system switches between the secondary system occurs, the key data of the logic units of the primary system and the secondary system may be synchronized, where the key data is the synchronization data, and considering that the hardware resource of the vehicle-mounted ATP is limited, only the key data that affects the synchronization between the primary system and the secondary system is synchronized when the data is synchronized.
The key data for synchronization can be train speed related data, train IO input data, master train time information, initialization completion flag and synchronous train position information, where the train speed related data is related data representing train speed, such as the running speed of a train; train IO input data, i.e. IO interface state data of a train, such as IO input quantity of the current train; the master system time information is the relevant time when the master system logic unit of the vehicle-mounted ATP operates; after the initialization completion mark, namely the initialization of the main system is completed, a mark which represents that the initialization of the main system is completed is generated; the synchronous train position information is related information representing the train position sent by the master train, such as the position of the train, the distance between the train and the next station, and the like.
According to the vehicle-mounted ATP dual-system switching method provided by the embodiment of the invention, after the event that the main system switches the standby system occurs, the data of the logic units of the main system and the standby system are synchronized, and only the key data influencing the synchronization of the main system and the standby system are synchronized during synchronization, so that the burden of communication bandwidth is greatly reduced.
Based on the above embodiment, the method further comprises:
and if the current equipment state is backup, updating the train speed related data and the train IO input data stored in the local logic unit based on the train speed related data and the train IO input data in the synchronous data, and updating the time information of the local logic unit based on the master time information in the synchronous data.
Specifically, after the master system is switched to the backup system, key data of the master system and the backup system can be synchronized, and specifically, the key data can be synchronized by updating train speed related data stored in a local logic unit according to train speed related data in synchronization data after a backup system logic unit receives the synchronization data sent by the master system, and updating train IO input data stored in the local logic unit according to train IO input data in the received synchronization data; and updating the time information of the local logic unit according to the master time information in the received synchronous data.
According to the vehicle-mounted ATP dual-system switching method provided by the embodiment of the invention, after the event that the main system switches the standby system occurs, the data of the logic units of the main system and the standby system are synchronized, so that the problem that the data of the logic units of the main system and the standby system of the vehicle-mounted ATP main machine are not synchronous is solved, the deviation of the main position and the standby position can be further determined according to the synchronous data, and further the switching of the vehicle-mounted ATP dual-system is realized.
Based on the above embodiment, the method further comprises:
and if the current equipment state is the master system, acquiring externally transmitted train speed related data, train IO input data, time information and train position information, and updating synchronous data to be transmitted.
Specifically, when the logic unit of the vehicle-mounted ATP operates normally, that is, when the current device state of the vehicle-mounted ATP is the master train, train speed related data, train IO input data, time information, and train position information that are sent from the outside may be acquired by the master train logic unit. Here, the train speed related data is related data representing the train speed, for example, the running speed of the train; train IO input data, i.e. IO interface state data of a train, such as IO input quantity of the current train; the master system time information is the relevant time when the master system logic unit of the vehicle-mounted ATP operates; after the initialization completion mark, namely the initialization of the main system is completed, a mark which represents that the initialization of the main system is completed is generated; the synchronous train position information is related information representing the train position sent by the master train, such as the position of the train, the distance between the train and the next station, and the like.
And then, according to the acquired train speed related data, train IO input data, time information, train position information and the initialization completion mark after the initialization of the master system is completed, updating the synchronous data to be transmitted so as to enable the synchronous data received by the slave system logic unit to be the latest data.
Based on the foregoing embodiment, fig. 2 is a general flowchart of a vehicle-mounted ATP dual-system switching method provided in an embodiment of the present invention, and as shown in fig. 2, the method is applied to a logic unit of a vehicle-mounted ATP, and includes:
step 210, acquiring the current equipment state;
step 220, judging whether the current equipment state is a master system, if so, executing step 221; if not, go to step 222;
step 221, acquiring externally transmitted train speed related data, train IO input data, time information and train position information, and updating synchronous data to be transmitted;
step 222, determining the position information of the local train based on the external data received by the local logic unit, and determining the position information of the synchronous train based on the synchronous data received by the local logic unit; updating the train speed related data and the train IO input data stored in the local logic unit based on the train speed related data and the train IO input data in the synchronous data, and updating the time information of the local logic unit based on the master time information in the synchronous data;
step 230, determining whether the previous device status of the current device status is the master system, and whether the current device status is the slave system, if yes, executing step 240; if not, go to step 250;
step 240, judging whether the position related state quantity CRC value in the local train position information is inconsistent with the position related state quantity CRC value in the synchronous train position information, if so, executing step 242; if not, go to step 241;
step 241, determining that the main/standby switching is successful;
step 242, determining a deviation between the primary and standby positions based on the train position data in the local train position information and the train position data in the synchronous train position information;
step 243, determining whether the deviation of the main/standby positions is greater than a deviation threshold, if yes, executing step 244; if not, go to step 245;
step 244, determining that the primary-backup switching fails, and performing fault handling;
step 245, log information is recorded, and the log information is used for representing the success of the main-standby switching;
step 250, judging whether the current equipment state is a master system or not, and whether the master system meets the preset initialization conditions or not, if so, executing step 251; if not, go to step 252;
step 251, performing initialization and updating the initialization completion flag to the synchronization data;
step 252, determining whether the current device state is backup or not, and whether an initialization completion flag is received, if yes, executing step 253; if not, ending;
step 253, initialization is performed.
The logic unit of the vehicle-mounted ATP provided by the present invention is described below, and the logic unit of the vehicle-mounted ATP described below and the vehicle-mounted ATP dual-system switching method described above may be referred to correspondingly.
Fig. 3 is a schematic structural diagram of a logic unit of the vehicle-mounted ATP provided in the present invention, and as shown in fig. 3, the logic unit includes:
a deviation determining unit 310, configured to determine a deviation between the primary and secondary positions based on the position information of the local train and the position information of the synchronous train if the previous equipment state is the primary train and the current equipment state is the secondary train; the local train position information is determined based on external data received by a local logic unit, the synchronous train position information is determined based on synchronous data received by the local logic unit, and the synchronous data is periodically sent to a standby logic unit by a main logic unit;
a result determining unit 320, configured to determine a main/standby switching result based on the main/standby position deviation.
After the main system is switched to the standby system, the logic unit of the vehicle-mounted ATP receives external data and synchronous data through the local end logic unit, respectively determines local end train position information and synchronous train position information according to the external data and the synchronous data, and determines main and standby position deviation according to the local end train position information and the synchronous train position information so as to further determine a main and standby switching result according to the main and standby position deviation and realize switching of the vehicle-mounted ATP dual system.
Based on the above embodiments, the deviation determining unit 310 is configured to:
if the position-related state quantity CRC value in the local-end train position information is not consistent with the position-related state quantity CRC value in the synchronous train position information, determining the deviation of the main and standby positions based on the train position data in the local-end train position information and the train position data in the synchronous train position information;
otherwise, the main/standby switching is determined to be successful.
Based on the above embodiment, the result determination unit 320 is configured to:
if the deviation of the main/standby positions is larger than a deviation threshold value, determining that the main/standby switching fails, and performing fault processing;
otherwise, log information is recorded, and the log information is used for representing the success of the main-standby switching.
Based on the above embodiment, the logic unit of the vehicle ATP further includes an initialization unit, configured to:
if the current equipment state is the master system and meets the preset initialization condition, executing initialization and updating an initialization completion mark to the synchronous data;
and if the current equipment state is standby and the received synchronous data comprises the initialization completion mark, executing initialization.
Based on the above embodiment, the synchronization data includes train speed related data, train IO input data, master train time information, an initialization completion flag, and synchronization train position information.
Based on the above embodiment, the logic unit of the vehicle-mounted ATP further includes a data synchronization unit, configured to:
and if the current equipment state is standby, updating the train speed related data and the train IO input data stored in the local logic unit based on the train speed related data and the train IO input data in the synchronous data, and updating the time information of the local logic unit based on the master train time information in the synchronous data.
Based on the above embodiment, the logic unit of the vehicle ATP further includes an external data obtaining unit, configured to:
and if the current equipment state is the master system, acquiring externally transmitted train speed related data, train IO input data, time information and train position information, and updating synchronous data to be transmitted.
Fig. 4 illustrates a physical structure diagram of an electronic device, which may include, as shown in fig. 4: a processor (processor)410, a communication Interface 420, a memory (memory)430 and a communication bus 440, wherein the processor 410, the communication Interface 420 and the memory 430 are communicated with each other via the communication bus 440. The processor 410 may call logic instructions in the memory 430 to perform a vehicle ATP dual system switching method, which is applied to a logic unit of a vehicle ATP, and includes: if the previous equipment state is a main system and the current equipment state is a standby system, determining the deviation of the main and standby positions based on the position information of the local train and the position information of the synchronous train; the local train position information is determined based on external data received by a local logic unit, the synchronous train position information is determined based on synchronous data received by the local logic unit, and the synchronous data is periodically sent to a standby logic unit by a main logic unit; and determining a main/standby switching result based on the main/standby position deviation.
In addition, the logic instructions in the memory 430 may be implemented in the form of software functional units and stored in a computer readable storage medium when the software functional units are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute 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 other various media capable of storing program codes.
In another aspect, the present invention also provides 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, enable the computer to execute the in-vehicle ATP dual-system switching method provided by the above methods, the method being applied to a logic unit of an in-vehicle ATP, and the method comprising: if the previous equipment state is a main system and the current equipment state is a standby system, determining the deviation of the main and standby positions based on the position information of the local train and the position information of the synchronous train; the local train position information is determined based on external data received by a local logic unit, the synchronous train position information is determined based on synchronous data received by the local logic unit, and the synchronous data is periodically sent to a standby logic unit by a main logic unit; and determining a main/standby switching result based on the main/standby position deviation.
In still another aspect, the present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored, the computer program being implemented by a processor to perform the above-provided vehicle ATP dual system switching method, the method being applied to a logic unit of a vehicle ATP, and the method including: if the previous equipment state is a main system and the current equipment state is a standby system, determining the deviation of the main and standby positions based on the position information of the local train and the position information of the synchronous train; the local train position information is determined based on external data received by a local logic unit, the synchronous train position information is determined based on synchronous data received by the local logic unit, and the synchronous data is periodically sent to a standby logic unit by a main logic unit; and determining a main/standby switching result based on the main/standby position deviation.
The above-described embodiments of the apparatus 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, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts 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 vehicle-mounted ATP dual-system switching method is applied to a logic unit of a vehicle-mounted ATP, and comprises the following steps:
if the previous equipment state is a main system and the current equipment state is a standby system, determining the deviation of the main and standby positions based on the position information of the local train and the position information of the synchronous train; the local train position information is determined based on external data received by a local logic unit, the synchronous train position information is determined based on synchronous data received by the local logic unit, and the synchronous data is periodically sent to a standby logic unit by a main logic unit;
and determining a main/standby switching result based on the main/standby position deviation.
2. The method of claim 1, wherein determining the primary/standby position deviation based on the local train position information and the synchronous train position information comprises:
if the position-related state quantity CRC value in the local-end train position information is not consistent with the position-related state quantity CRC value in the synchronous train position information, determining the deviation of the main and standby positions based on the train position data in the local-end train position information and the train position data in the synchronous train position information;
otherwise, the main/standby switching is determined to be successful.
3. The method of claim 1, wherein determining the primary-secondary switching result based on the primary-secondary position deviation comprises:
if the deviation of the main/standby positions is larger than a deviation threshold value, determining that the main/standby switching fails, and performing fault processing;
otherwise, log information is recorded, and the log information is used for representing the success of the main-standby switching.
4. The vehicle-mounted ATP dual-system switching method according to claim 1, further comprising:
if the current equipment state is the master system and meets the preset initialization condition, executing initialization and updating an initialization completion mark to the synchronous data;
and if the current equipment state is standby and the received synchronous data comprises the initialization completion mark, executing initialization.
5. The on-board ATP dual train switching method according to any one of claims 1 to 4, wherein the synchronization data includes train speed related data, train IO input data, master train time information, initialization completion flag, and synchronization train position information.
6. The vehicle-mounted ATP dual-system switching method according to claim 5, further comprising:
and if the current equipment state is standby, updating the train speed related data and the train IO input data stored in the local logic unit based on the train speed related data and the train IO input data in the synchronous data, and updating the time information of the local logic unit based on the master train time information in the synchronous data.
7. The vehicle-mounted ATP dual-system switching method according to claim 5, further comprising:
and if the current equipment state is the master system, acquiring externally transmitted train speed related data, train IO input data, time information and train position information, and updating synchronous data to be transmitted.
8. A logic unit of a vehicle-mounted ATP, comprising:
a deviation determining unit, configured to determine a deviation between the primary and standby positions based on the local train position information and the synchronous train position information if the previous equipment state is the primary system and the current equipment state is the standby system; the local train position information is determined based on external data received by a local logic unit, the synchronous train position information is determined based on synchronous data received by the local logic unit, and the synchronous data is periodically sent to a standby logic unit by a main logic unit;
and the result determining unit is used for determining a main/standby switching result based on the main/standby position deviation.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the in-vehicle ATP dual system switching method according to any one of claims 1 to 7 when executing the program.
10. A non-transitory computer-readable storage medium, having stored thereon a computer program, wherein the computer program, when being executed by a processor, implements the steps of the in-vehicle ATP dual system switching method according to any one of claims 1 to 7.
CN202110981160.9A 2021-08-25 2021-08-25 Vehicle-mounted ATP double-system switching method and logic unit of vehicle-mounted ATP Active CN113830134B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110981160.9A CN113830134B (en) 2021-08-25 2021-08-25 Vehicle-mounted ATP double-system switching method and logic unit of vehicle-mounted ATP

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110981160.9A CN113830134B (en) 2021-08-25 2021-08-25 Vehicle-mounted ATP double-system switching method and logic unit of vehicle-mounted ATP

Publications (2)

Publication Number Publication Date
CN113830134A true CN113830134A (en) 2021-12-24
CN113830134B CN113830134B (en) 2024-03-15

Family

ID=78961222

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110981160.9A Active CN113830134B (en) 2021-08-25 2021-08-25 Vehicle-mounted ATP double-system switching method and logic unit of vehicle-mounted ATP

Country Status (1)

Country Link
CN (1) CN113830134B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115071790A (en) * 2022-08-22 2022-09-20 中国铁道科学研究院集团有限公司通信信号研究所 Parallel system control method and system applied to C3-level train operation control
CN116055315A (en) * 2023-03-31 2023-05-02 北京全路通信信号研究设计院集团有限公司 MVB communication configuration method, device, equipment and storage medium

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1756108A (en) * 2004-09-29 2006-04-05 华为技术有限公司 Master/backup system data synchronizing method
US20060190858A1 (en) * 2005-02-10 2006-08-24 Bing-Lun Chu System and method for accurately modeling an asynchronous interface using expanded logic elements
CN103107904A (en) * 2011-11-15 2013-05-15 北京南车时代信息技术有限公司 Double-computer switching method of application server of ATS system control center
CN103455005A (en) * 2013-09-06 2013-12-18 北京四方继保自动化股份有限公司 Controller redundancy and switching method
CN107291787A (en) * 2016-04-13 2017-10-24 中兴通讯股份有限公司 Master/slave data storehouse switching method and apparatus
CN107995079A (en) * 2017-11-27 2018-05-04 中国铁道科学研究院通信信号研究所 A kind of hot standby vehicle-mounted ATP equipment based on MVB bus
CN108259227A (en) * 2017-12-22 2018-07-06 合肥工大高科信息科技股份有限公司 A kind of method of data synchronization of two-node cluster hot backup interlock system
CN109649443A (en) * 2018-12-07 2019-04-19 天津津航计算技术研究所 A kind of municipal rail train positioning device head and the tail redundancy design method
CN110095978A (en) * 2019-05-06 2019-08-06 杭州耘新科技有限公司 One kind 2 multiplies 2 and takes 2 systems and its security diagnostics method
CN110361979A (en) * 2019-07-19 2019-10-22 北京交大思诺科技股份有限公司 A kind of safety computer platform in railway signal field
CN111049886A (en) * 2019-11-29 2020-04-21 紫光云(南京)数字技术有限公司 Multi-region SDN controller data synchronization method, server and system
CN112118130A (en) * 2020-08-25 2020-12-22 通号城市轨道交通技术有限公司 Self-adaptive distributed cache master/standby state information switching method and device
CN112445803A (en) * 2020-12-09 2021-03-05 卡斯柯信号有限公司 IP matching method and system for dynamic column head and column tail

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1756108A (en) * 2004-09-29 2006-04-05 华为技术有限公司 Master/backup system data synchronizing method
US20060190858A1 (en) * 2005-02-10 2006-08-24 Bing-Lun Chu System and method for accurately modeling an asynchronous interface using expanded logic elements
CN103107904A (en) * 2011-11-15 2013-05-15 北京南车时代信息技术有限公司 Double-computer switching method of application server of ATS system control center
CN103455005A (en) * 2013-09-06 2013-12-18 北京四方继保自动化股份有限公司 Controller redundancy and switching method
CN107291787A (en) * 2016-04-13 2017-10-24 中兴通讯股份有限公司 Master/slave data storehouse switching method and apparatus
CN107995079A (en) * 2017-11-27 2018-05-04 中国铁道科学研究院通信信号研究所 A kind of hot standby vehicle-mounted ATP equipment based on MVB bus
CN108259227A (en) * 2017-12-22 2018-07-06 合肥工大高科信息科技股份有限公司 A kind of method of data synchronization of two-node cluster hot backup interlock system
CN109649443A (en) * 2018-12-07 2019-04-19 天津津航计算技术研究所 A kind of municipal rail train positioning device head and the tail redundancy design method
CN110095978A (en) * 2019-05-06 2019-08-06 杭州耘新科技有限公司 One kind 2 multiplies 2 and takes 2 systems and its security diagnostics method
CN110361979A (en) * 2019-07-19 2019-10-22 北京交大思诺科技股份有限公司 A kind of safety computer platform in railway signal field
CN111049886A (en) * 2019-11-29 2020-04-21 紫光云(南京)数字技术有限公司 Multi-region SDN controller data synchronization method, server and system
CN112118130A (en) * 2020-08-25 2020-12-22 通号城市轨道交通技术有限公司 Self-adaptive distributed cache master/standby state information switching method and device
CN112445803A (en) * 2020-12-09 2021-03-05 卡斯柯信号有限公司 IP matching method and system for dynamic column head and column tail

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陆艮峰等: "现代有轨电车综合指挥调度系统列车定位方案设计" *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115071790A (en) * 2022-08-22 2022-09-20 中国铁道科学研究院集团有限公司通信信号研究所 Parallel system control method and system applied to C3-level train operation control
CN115071790B (en) * 2022-08-22 2022-11-22 中国铁道科学研究院集团有限公司通信信号研究所 Parallel train control method and system applied to C3-level train operation control
CN116055315A (en) * 2023-03-31 2023-05-02 北京全路通信信号研究设计院集团有限公司 MVB communication configuration method, device, equipment and storage medium
CN116055315B (en) * 2023-03-31 2023-06-02 北京全路通信信号研究设计院集团有限公司 MVB communication configuration method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN113830134B (en) 2024-03-15

Similar Documents

Publication Publication Date Title
CN113830134B (en) Vehicle-mounted ATP double-system switching method and logic unit of vehicle-mounted ATP
CN110658718A (en) Multi-master-control redundancy switching control method and system
CN107306185B (en) Method and device for avoiding manipulation of data transmission
EP3748439B1 (en) Synchronization and hot standby method and system for primary system and standby system of apparatus
CN110979404B (en) Dual-machine hot standby system and method of automatic train supervision system
US20230182792A1 (en) Safety management method of temporary speed restriction for multimode train control system
CN109466593B (en) Method and device for downloading train operation plan and controlling operation
CN111080449A (en) Block chain cross-chain transaction method, management node and block chain network
CN111857774A (en) Method and system for upgrading software of vehicle-mounted equipment
CN111688762B (en) Reverse cutting method and device for urban rail interlocking control display
CN111169509B (en) Temporary speed limit control method and device
CN114528242A (en) Computer platform dual-system synchronization method, device, equipment and medium
CN112061182B (en) Train management method and device based on vehicle-vehicle communication
CN112278018A (en) Interlocking area signal equipment control method and device
CN111858163A (en) Data backup recovery method and device for vehicle-mounted signal equipment
CN115276710B (en) Transponder transmission system, transponder positioning compensation method, device and medium
US20200287845A1 (en) Method and system for a geographical hot redundancy
WO2023231181A1 (en) Train operation safety protection method and system
CN114104037B (en) Vehicle-mounted signal equipment redundancy equipment, method, device and medium
CN114407971B (en) Train control level adjustment method, device and medium based on head-tail redundancy
CN112134773B (en) MVB bus redundancy communication method and device
CN113835934A (en) Main/standby voting switching method and system
CN109677454B (en) State monitoring method for safety computer platform in urban rail transit signal system
CN112158230B (en) Train integrity detection method and device and train control unit
CN109066572B (en) Remote relay protection constant value setting method and device

Legal Events

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