A train collision avoidance method, device and storage medium based on vehicle-to-vehicle communication

Negotiating track resources through direct train-to-train communication between train controllers solves the problem in the existing technology that track resource application and release requires trackside controller transfer, and improves resource utilization efficiency and safety.

CN116039733BActive Publication Date: 2024-10-22CASCO SIGNAL LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211600858.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-13
Publication Date
2024-10-22
Estimated Expiration
2042-12-13

AI Technical Summary

Technical Problem

In the existing CBTC train control system, the application and release of track resources need to be transferred through the trackside resource controller, which increases the system response time and reduces efficiency.

Method used

Through train-to-train communication, train controllers directly negotiate track resources, avoiding the transfer link of trackside resource controllers, and directly apply for and release resources between train controllers and trackside resource controllers.

Benefits of technology

It improves the utilization efficiency of track and train resources, reduces the risk of collision, and ensures the efficient operation of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116039733B_ABST
    Figure CN116039733B_ABST
Patent Text Reader

Abstract

The present invention relates to a train anti-collision method, device and storage medium based on vehicle-to-vehicle communication, the method comprising the following steps: step A: the trackside resource controller initiates vehicle-to-vehicle communication according to the overlapping and anti-deadlocking requirements of track resources applied by different train controllers, and direct vehicle-to-vehicle communication is established between different train controllers; step B: direct negotiation of track resources between different trains; step C: the trackside resource controller cancels the vehicle-to-vehicle communication according to the current train operation status and signal system operation status, and the application and release of track resources are both carried out between the train controller and the trackside resource controller. Compared with the prior art, the present invention has the advantages of improving the utilization efficiency of track and train resources while ensuring safety.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a train signal control system, and in particular to a train collision prevention method, equipment and storage medium based on vehicle-to-vehicle communication. Background Art

[0002] Based on the CBTC train control system, track resource management and train interval protection can be achieved through interlocking CI and zone controller ZC. However, in order to avoid head-on collision and rear-end collision, the application and release of track resources are carried out between the train controller and the trackside controller. After the leading car releases the track resources to the trackside controller, the trackside controller can hand over the track resources to the trailing car. This increases the transfer of resources to the trackside controller, increases the response time of the system, and reduces the efficiency of the system. Summary of the invention

[0003] The purpose of the present invention is to overcome the defects of the above-mentioned prior art and to provide a train collision avoidance method, equipment and storage medium based on vehicle-to-vehicle communication.

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

[0005] According to a first aspect of the present invention, a train collision avoidance method based on vehicle-to-vehicle communication is provided, the method comprising the following steps:

[0006] Step A: The trackside resource controller initiates vehicle-to-vehicle communication based on the track resource overlap and anti-deadlock requirements applied by different train controllers, and direct vehicle-to-vehicle communication is established between different train controllers;

[0007] Step B: Direct negotiation of track resources between different trains;

[0008] Step C: The trackside resource controller cancels the vehicle-to-vehicle communication according to the current train operation status and signal system operation status. The application and release of track resources are carried out between the train controller and the trackside resource controller.

[0009] As a preferred technical solution, in step A, the train controller applies for track resources Z from the trackside resource controller, the trackside resource controller allocates track resources Z to the train controller, and the train controller only allows the train to run within the applied track resources Z; the trackside resource controller allocates a Z area to the train controller that does not overlap with other train controllers.

[0010] As a preferred technical solution, in step A, when the trackside resource controller finds that there is partial overlap between the track resources ZA applied for by train controller A and the track resources ZB applied for by train controller B, the trackside resource controller applies for control token X and control token U to train controller A and train controller B respectively.

[0011] As a preferred technical solution, when the train controller A receives the U(A,B) token application from the trackside resource controller, the train controller A hands over the token U(A,B) to the trackside resource controller;

[0012] When train controller B receives the U(B,A) token application from the trackside resource controller, train controller B hands the token U(B,A) to the trackside resource controller.

[0013] As a preferred technical solution, when the trackside resource controller receives the control token U(A, B) from the train controller A, the trackside resource controller hands over the control token V(A, B) to the train controller B; when the train controller B possesses the control token V(A, B), the train controller B believes the promise made by the train controller A to it.

[0014] As a preferred technical solution, when the trackside resource controller receives the control token U(B, A) from the train controller B, the trackside resource controller hands over the control token V(B, A) to the train controller A; when the train controller A possesses the control token V(B, A), the train controller A believes the promise made by the train controller B to it.

[0015] As a preferred technical solution, in the step A, the train controller A applies to the train controller B for the range Remote.YB that the train B will not reach; after the train controller B calculates the track resource range Self.YB required by itself according to its own operation needs, the train controller B authorizes the complement of Self.YB to the train controller A;

[0016] Train controller B applies to train controller A for the range Remote.YA that train A will not reach; after train controller A calculates the track resource range Self.YA required by itself according to its own operation needs, train controller A authorizes the complement of Self.YA to train controller B.

[0017] As a preferred technical solution, after train controller A and train controller B receive the range that the other party will not reach, train controller A hands over the control token X(A, B) to the trackside resource controller, and train controller B hands over the control token X(B, A) to the trackside resource controller.

[0018] As a preferred technical solution, in step B, after the trackside resource controller obtains the X(A, B) token of train controller A and the X(B, A) token of train controller B, it allocates overlapping Z areas to the two train controllers. At this time, the trackside resource controller authorizes train A to operate in the track resource ZA area, and the trackside resource controller authorizes train B to operate in the track resource ZB area, and the track resource ZA area and the track resource ZB area have an intersection.

[0019] As a preferred technical solution, in the step B, the collision risk between train A and train B is protected by train controller A and train controller B, while the collision risk between the remaining trains and train A or train B is still protected by the trackside resource controller.

[0020] As a preferred technical solution, in the step B, train A runs within the authorization scope ZA of the trackside resource controller, and also needs to run within the authorization scope Remote.YB of train controller B, and also needs to run within the commitment scope Self.YA made to other train controllers;

[0021] When train A runs within the range ZA granted by the trackside resource controller, if it exceeds the authorization range of Remote.YB of train controller B, train controller A needs to apply to train controller B for a new authorization range.

[0022] As a preferred technical solution, in the step B, train controller B receives the track resource application from train controller A, and train controller B determines whether to grant train controller A the range it applied for based on its own operation needs, and train controller B sends the range that can be granted to train controller A to train controller A;

[0023] The train can only operate within the newly granted operating range after train controller A receives it from train controller B.

[0024] As a preferred technical solution, in the step B, if the train controller A expects to run to an area that it has promised to the train controller B not to run in, that is, Self.YA does not include this area, then the train controller A needs to ask the train controller B to return the promised area;

[0025] After train controller B receives the request from train controller A, train controller B determines whether this area can be returned to train controller A. Train controller B returns the range that can be returned to train controller A to train controller A. When train controller A determines that Self.YA includes this area, train controller A allows the train to run in this area. Otherwise, train controller A prohibits train A from appearing in this area.

[0026] As a preferred technical solution, in step C, when the trackside resource controller finds that the track resources ZA granted to train A and the track resources ZB granted to train B have no intersection, the trackside resource controller returns the token X(A, B) to train controller A and returns the token X(B, A) to train controller B. After the trackside resource controller loses the control token X(A, B) or the control token X(B, A), the trackside resource controller no longer allocates the track resources ZA and ZB with intersection to train controller A and train controller B.

[0027] As a preferred technical solution, in step C, the trackside resource controller requests the train controller A to return the control token V(B, A); the trackside resource controller requests the train controller B to return the control token V(A, B).

[0028] As a preferred technical solution, in the step C, the train controller A returns the control token V(B, A) to the trackside resource controller. After the trackside resource controller receives the returned control token V(B, A), the trackside resource controller returns the control token U(B, A) to the train controller B.

[0029] The train controller B returns the control token V(A, B) to the trackside resource controller. After the trackside resource controller receives the returned control token V(A, B), the trackside resource controller returns the control token U(A, B) to the train controller A.

[0030] According to a second aspect of the present invention, there is provided an electronic device, comprising a memory and a processor, wherein a computer program is stored in the memory, and the method described above is implemented when the processor executes the program.

[0031] According to a third aspect of the present invention, there is provided a computer-readable storage medium having a computer program stored thereon, wherein the program implements the method described above when executed by a processor.

[0032] Compared with the prior art, the present invention solves the problem of train collision by directly communicating with each other between train controllers that share track resources and negotiating the use of track resources, thereby avoiding the track resource transfer link of the trackside resource controller and improving the utilization efficiency of track, train and other resources. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 A schematic diagram showing the overlapping track resources requested by two train controllers;

[0034] Figure 2 Schematic diagram of the trackside resource controller triggering vehicle-to-vehicle communication;

[0035] Figure 3 A schematic diagram of the trackside resource controller authorizing the other party's V token after receiving the U token;

[0036] Figure 4 Schematic diagram of trackside resource controller allocating overlapping track resources for establishing vehicle-to-vehicle communication;

[0037] Figure 5 A schematic diagram of establishing vehicle-to-vehicle communication and applying for track resource usage between train controllers;

[0038] Figure 6 Schematic diagram of establishing train-to-train communication and authorizing track resource usage between train controllers;

[0039] Figure 7 Schematic diagram of the trackside resource controller canceling vehicle-to-vehicle communication because there is no intersection between track resources;

[0040] Figure 8 Schematic diagram of the trackside resource controller returning the control token U because there is no intersection between track resources;

[0041] Fig. 9 Flow chart of the method of the present invention. DETAILED DESCRIPTION

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

[0043] The present invention provides a train collision avoidance method based on vehicle-to-vehicle communication, the system consists of a trackside resource controller and a train controller; wherein the trackside resource controller is responsible for the distribution of track resources, that is, the train needs to obtain track resources from the trackside resource controller; the train controller is used to control the train.

[0044] like Fig. 9 As shown, a train collision avoidance method based on vehicle-to-vehicle communication comprises the following steps:

[0045] Step A: The trackside resource controller initiates vehicle-to-vehicle communication based on the requirements of track resource overlap and anti-deadlocking applied by different train controllers, and direct vehicle-to-vehicle communication is established between different train controllers;

[0046] Step B: Direct negotiation of track resources between different trains;

[0047] Step C: The trackside resource controller cancels the vehicle-to-vehicle communication according to the current train operation status, system operation status, etc. The application and release of track resources are carried out between the train controller and the trackside resource controller, and no longer through direct negotiation between vehicles.

[0048] In step A, the train controller applies for track resource Z from the trackside resource controller, and the trackside resource controller allocates track resource Z to the train controller. The train controller only allows the train to run within the applied track resource Z. To prevent head-on collisions and rear-end collisions between different trains, the trackside resource controller allocates a Z area to the train controller that does not overlap with other train controllers.

[0049] In step A, when the trackside resource controller finds that the track resource ZA applied for by train controller A and the track resource ZB applied for by train controller B overlap, the trackside resource controller applies for control token X and control token U to train controller A and train controller B respectively.

[0050] In the step A, when the train controller A receives the U(A,B) token application from the trackside resource controller, the train controller A hands over the token U(A,B) to the trackside resource controller;

[0051] In the step A, when the train controller B receives the U(B,A) token application from the trackside resource controller, the train controller B hands the token U(B,A) to the trackside resource controller;

[0052] In the step A, when the trackside resource controller receives the control token U(A, B) from the train controller A, the trackside resource controller hands over the control token V(A, B) to the train controller B; when the train controller B has the control token V(A, B), the train controller B can trust the promise made by the train controller A to it.

[0053] In the step A, when the trackside resource controller receives the control token U(B, A) from the train controller B, the trackside resource controller hands over the control token V(B, A) to the train controller A; when the train controller A has the control token V(B, A), the train controller A can trust the promise made by the train controller B to it.

[0054] In step A, train controller A applies to train controller B for the range Remote.YB that train B will not reach; after train controller B calculates the track resource range Self.YB required by itself according to its own operation needs, train controller B authorizes the complement of Self.YB to train controller A.

[0055] In step A, train controller B applies to train controller A for the corresponding resource Remote.YA according to the same steps as above.

[0056] In the step A, after train controller A and train controller B receive the range where the other party will not appear, train controller A hands over the control token X(A, B) to the trackside resource controller, and train controller B hands over the control token X(B, A) to the trackside resource controller.

[0057] In step B, after the trackside resource controller obtains the X(A,B) token of train controller A and the X(B,A) token of train controller B, it can allocate overlapping Z areas to the two train controllers. At this time, the trackside resource controller authorizes train A to run in the ZA area, and the trackside resource controller authorizes train B to run in the ZB area. The ZA area and the ZB area have an intersection.

[0058] In the step B, the collision risk between train A and train B is protected by train controller A and train controller B, while the collision risk between the remaining trains and train A or train B is still protected by the trackside resource controller.

[0059] In the step B, train A runs within the authorization scope ZA of the trackside resource controller, and also needs to run within the authorization scope Remote.YB of train controller B, and also needs to run within the commitment scope Self.YA made to other train controllers.

[0060] In the step B, when train A runs within the range ZA granted by the trackside resource controller, if it exceeds the authorization range of Remote.YB of train controller B, train controller A needs to apply to train controller B for a new authorization range.

[0061] In step B, train controller B receives the track resource application from train controller A. Train controller B determines whether the range applied for by train controller A can be granted according to its own operation needs. Train controller B sends the range that can be granted to train controller A to train controller A.

[0062] In the step B, the train can only operate within the newly granted operating range after the train controller A receives the newly granted operating range from the train controller B.

[0063] In the step B, if train controller A expects to run to an area that it has promised to train controller B not to run in, that is, Self.YA does not include this area. Then train controller A needs to ask train controller B to return this promised area. After train controller B receives the request from train controller A, train controller B determines whether this area can be returned to train controller A. Train controller B returns the range that can be returned to train controller A to train controller A. When train controller A determines that Self.YA includes this area, train controller A allows the train to run in this area, otherwise train controller A prohibits train A from appearing in this area.

[0064] In step C, when the trackside resource controller finds that the track resource ZA granted to train A and the track resource ZB granted to train B do not intersect, the trackside resource controller returns the token X(A, B) to train controller A and returns the token X(B, A) to train controller B. After the trackside resource controller loses the control token X(A, B) or the control token X(B, A), the trackside resource controller no longer allocates the track resources ZA and ZB with intersection to train controller A and train controller B.

[0065] In the step C, the trackside resource controller requests the train controller A to return the control token V(B, A); the trackside resource controller requests the train controller B to return the control token V(A, B).

[0066] In step C, the train controller A returns the control token V(B, A) to the trackside resource controller. After the trackside resource controller receives the returned control token V(B, A), the trackside resource controller returns the control token U(B, A) to the train controller B.

[0067] In the step C, the train controller B returns the control token V(A, B) to the trackside resource controller. After the trackside resource controller receives the returned control token V(A, B), the trackside resource controller returns the control token U(A, B) to the train controller A. Specific embodiments

[0069] The present invention solves the problem of train collision by using direct communication between train controllers, thereby improving the utilization efficiency of track and train resources while ensuring safety.

[0070] In step A, if Figure 1 As shown, train controller B applies to the trackside resource controller for the required track resources, but the track resources overlap with the track resources that the trackside resource controller has allocated to train controller A.

[0071] In step A, if Figure 2As shown in the figure, the trackside resource controller finds that the track resources requested by train controller A and train controller B overlap, thus triggering vehicle-to-vehicle communication between the two train controllers, that is, the trackside resource controller requests control token U and control token X from train controller A and train controller B, respectively.

[0072] In step A, if Figure 3 As shown, train controller A and train controller B pass the control token U to the trackside resource controller. After obtaining the U token from train controller A, the trackside resource controller authorizes the control token V to train controller B. After obtaining the control token U passed by train controller B, the trackside resource controller grants the control token V to train controller A.

[0073] In step A, if Figure 4 As shown, after obtaining the control token V, train controller A requests train controller B for the range Remote.YB that train controller B allows train A to run. After receiving the request from train controller A, train controller B authorizes train A to run in the area where train B will not appear. After obtaining the control token V granted by the trackside resource controller, train controller B requests train controller A for the range Remote.YA that train controller B allows to run. The Remote.YA held by train controller B and the Self.YA held by train controller A are complementary. Similarly, the Remote.YB held by train controller A and the Self.YB held by train controller B are complementary. When train controller A obtains the Remote.Y promised by train controller B. It hands over the X token to the trackside resource controller. When train controller B obtains the Remote.Y promised by the train controller, it hands over the X token to the trackside resource controller. The vehicle-to-vehicle communication between train controller A and train controller B has been established.

[0074] In step B, if Figure 5 As shown, train controller A controls train A to run within the range of Self.YA and Remote.YB, thus preventing train A from colliding with train B; similarly, train controller B controls train B to run only within the range of Self.YB and Remote.YA. This prevents train B from colliding with train A. When train B continues to move forward. The train controller has applied for ZB from the trackside resource controller, but at this time, train controller B still needs to apply for Self.YBReq from train controller A, that is, train controller B must run within the area that it promised train controller A not to appear before.

[0075] In step B, if Figure 6As shown, after train controller A receives the application from train controller B, train controller A will determine whether returning this area to train controller B will endanger its own operation. If train controller A determines that returning this area to train controller B will not affect its own operation, then train controller A will authorize train B to operate within this range.

[0076] In step C, if Figure 7 As shown in FIG. 1 , when the trackside resource controller finds that the track resources occupied and applied for by the two vehicles do not intersect, the trackside resource controller will cancel the vehicle-to-vehicle communication and return the control token to train controller A and train controller B.

[0077] In step C, if Figure 8 As shown. When train controller A and train controller B determine that the control token V can be returned to the trackside resource controller. Train controller A and train controller B return the control token V to the trackside resource controller. When the trackside resource controller gets the control token V returned by the train controller, the trackside resource controller returns the control token U to the corresponding train controller. At this time, the vehicle-to-vehicle communication is successfully revoked. Subsequent track resource application and release will be carried out between the trackside resource controller and the train controller.

[0078] The above is an introduction to the method embodiment. The following is a further explanation of the scheme of the present invention through electronic equipment and storage medium embodiments.

[0079] The electronic device of the present invention includes a central processing unit (CPU), which can perform various appropriate actions and processes according to computer program instructions stored in a read-only memory (ROM) or loaded from a storage unit into a random access memory (RAM). In the RAM, various programs and data required for device operation can also be stored. The CPU, ROM and RAM are connected to each other via a bus. An input / output (I / O) interface is also connected to the bus.

[0080] Multiple components in the device are connected to the I / O interface, including: input units, such as keyboards, mice, etc.; output units, such as various types of displays, speakers, etc.; storage units, such as disks, optical disks, etc.; and communication units, such as network cards, modems, wireless communication transceivers, etc. The communication unit allows the device to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunication networks.

[0081] The processing unit performs the various methods and processes described above, such as the method of the present invention. For example, in some embodiments, the method of the present invention can be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit. In some embodiments, part or all of the computer program can be loaded and / or installed on the device via a ROM and / or a communication unit. When the computer program is loaded into RAM and executed by the CPU, one or more steps of the method of the present invention described above can be performed. Alternatively, in other embodiments, the CPU can be configured to perform the method of the present invention by any other appropriate means (e.g., by means of firmware).

[0082] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0083] The program code for implementing the method of the present invention can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, a special-purpose computer or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code can be executed entirely on the machine, partially on the machine, partially on the machine as a stand-alone software package and partially on a remote machine, or entirely on a remote machine or server.

[0084] In the context of the present invention, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

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

Claims

1. A train collision avoidance method based on vehicle-to-vehicle communication, It is characterized in that The method comprises the following steps: Step A: The trackside resource controller initiates vehicle-to-vehicle communication based on the track resource overlap and anti-deadlock requirements applied by different train controllers, and direct vehicle-to-vehicle communication is established between different train controllers; Step B: Direct negotiation of track resources between different trains; Step C: The trackside resource controller cancels the vehicle-to-vehicle communication according to the current train operation status and signal system operation status. The application and release of track resources are carried out between the train controller and the trackside resource controller; In the step A, the train controller applies for track resource Z from the trackside resource controller, the trackside resource controller allocates track resource Z to the train controller, and the train controller only allows the train to run within the applied track resource Z; the trackside resource controller allocates a Z area to the train controller that does not overlap with other train controllers; In the step A, when the trackside resource controller finds that the track resource ZA applied for by the train controller A and the track resource ZB applied for by the train controller B partially overlap, the trackside resource controller applies for the control token X and the control token U to the train controller A and the train controller B respectively at the same time; When the train controller A receives the U(A, B) token application from the trackside resource controller, the train controller A hands over the token U(A, B) to the trackside resource controller; When train controller B receives the U(B, A) token application from the trackside resource controller, train controller B hands the token U(B, A) to the trackside resource controller; When the trackside resource controller receives the control token U(A, B) from the train controller A, the trackside resource controller hands over the control token V(A, B) to the train controller B; when the train controller B has the control token V(A, B), the train controller B believes the promise made by the train controller A to it; When the trackside resource controller receives the control token U(B, A) from the train controller B, the trackside resource controller hands over the control token V(B, A) to the train controller A. When the train controller A has the control token V(B, A), the train controller A believes the promise made by the train controller B to it. In the step A, train controller A applies to train controller B for a range Remote.YB that train B will not reach; after train controller B calculates the track resource range Self.YB required by itself according to its own operation needs, train controller B authorizes the complement of Self.YB to train controller A; Train controller B applies to train controller A for the range Remote.YA that train A will not reach. After train controller A calculates the track resource range Self.YA it needs based on its own operation needs, train controller A authorizes the complement of Self.YA to train controller B. After train controller A and train controller B receive the range that the other party will not reach, train controller A hands over the control token X(A, B) to the trackside resource controller, and train controller B hands over the control token X(B, A) to the trackside resource controller; In the step B, after the trackside resource controller obtains the X(A, B) token of train controller A and the X(B, A) token of train controller B, it allocates overlapping Z areas to the two train controllers. At this time, the trackside resource controller authorizes train A to run in the track resource ZA area, and the trackside resource controller authorizes train B to run in the track resource ZB area. The track resource ZA area and the track resource ZB area have an intersection; In step B, the collision risk between train A and train B is protected by train controller A and train controller B, while the collision risk between other trains and train A or train B is still protected by the trackside resource controller; In the step B, train A runs within the authorization scope ZA of the trackside resource controller, and also needs to run within the authorization scope Remote.YB of train controller B, and also needs to run within the commitment scope Self.YA made to other train controllers; When train A runs within the scope ZA granted by the trackside resource controller, if it exceeds the authorization scope of Remote.YB of train controller B, train controller A needs to apply for a new authorization scope from train controller B; In the step B, train controller B receives the track resource application from train controller A, and train controller B determines whether to grant train controller A the range it applied for based on its own operation needs, and train controller B sends the range that can be granted to train controller A to train controller A; When train controller A receives the new operating range granted by train controller B, the train can operate within this range; In the step B, if the train controller A expects to run to the area that it has promised to the train controller B not to run in, that is, Self.YA does not include this area, then the train controller A needs to ask the train controller B to return the promised area; After train controller B receives the request from train controller A, train controller B determines whether this area can be returned to train controller A. Train controller B returns the range that can be returned to train controller A to train controller A. When train controller A determines that Self.YA includes this area, train controller A allows the train to run in this area. Otherwise, train controller A prohibits train A from appearing in this area.

2. A train collision avoidance method based on vehicle-to-vehicle communication according to claim 1, It is characterized in that In the step C, when the trackside resource controller finds that the track resources ZA granted to train A and the track resources ZB granted to train B have no intersection, the trackside resource controller returns the token X(A, B) to train controller A and returns the token X(B, A) to train controller B. After the trackside resource controller loses the control token X(A, B) or the control token X(B, A), the trackside resource controller no longer allocates the track resources ZA and ZB with intersection to train controller A and train controller B.

3. A train collision avoidance method based on vehicle-to-vehicle communication according to claim 1, It is characterized in that In step C, the trackside resource controller requests the train controller A to return the control token V(B, A); the trackside resource controller requests the train controller B to return the control token V(A, B).

4. A train collision avoidance method based on vehicle-to-vehicle communication according to claim 1, It is characterized in that In the step C, the train controller A returns the control token V(B, A) to the trackside resource controller. After the trackside resource controller receives the returned control token V(B, A), the trackside resource controller returns the control token U(B, A) to the train controller B. The train controller B returns the control token V(A, B) to the trackside resource controller. After the trackside resource controller receives the returned control token V(A, B), the trackside resource controller returns the control token U(A, B) to the train controller A.

5. An electronic device comprising a memory and a processor, wherein a computer program is stored in the memory. It is characterized in that When the processor executes the program, the method according to any one of claims 1 to 4 is implemented.

6. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the program is executed by a processor, the method according to any one of claims 1 to 4 is implemented.