Method for processing turn-back conflict during autonomous operation of train and electronic equipment
By allocating and releasing resources according to the chronological order of the turn-back resource request in the train autonomous operation mode, the train deadlock problem is solved, the turn-back efficiency is improved, and higher automated operation capabilities are achieved.
Patent Information
- Application Number
- CN202310693033.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-09
- Publication Date
- 2024-12-10
AI Technical Summary
When the train is running independently, if the two trains’ reciprocating destinations are the same, the train may be deadlocked, resulting in the reciprocating efficiency being low and manual intervention is required to solve it.
In the autonomous operation mode of the train, if the two trains request the same turnover resources, they will be assigned to the train with the earlier request time, and after the train leaves and reaches the turnover destination, they will be assigned to the late request time. trains to avoid deadlocks. If the rewind tracks are different, allocate and release resources according to their respective rewind tracks to ensure the resource usage in sequence.
It effectively avoids train deadlocks, improves the retracement efficiency of trains during autonomous operation, reduces the need for manual intervention, and improves the system's automated operation capabilities.
Smart Images

Figure CN119099685A_ABST
Abstract
Description
Background Art
[0002] When a rail transit train is in autonomous operation, the train plans its operation route independently according to the operation plan obtained in advance from ATS (Automatic Train Supervision) and applies for line resources from the server. The server allocates line resources on a first-come, first-served basis, and the train controls its operation according to the allocated line resources.
[0003] In the prior art, when trains are running autonomously, if two trains have the same return destination, a train deadlock may occur. Figure 1 As shown, the reversing tracks of train A and train B are the same, both are reversing track a. Since train A of the two trains applied for the reversing turnout resources earlier, the server allocated the reversing turnout resources to train A, and train A had priority in obtaining the reversing turnout resources and entering the reversing track a. When the server determined that train A had arrived at the reversing track a, the server released the reversing turnout resources. At this time, since train B was applying for the reversing turnout resources, the server allocated the reversing turnout resources to train B, and train B also entered the reversing track a based on the reversing turnout resources. After train A stopped steadily on the reversing track a, it applied for the reversing turnout resources to leave the reversing track a and enter station 2. However, since the reversing turnout resources were seized by train B at this time, train A could not leave, and train B could not enter, resulting in a train operation deadlock situation, and it was necessary to manually solve the problem of train deadlock, resulting in low reversal efficiency when the train was running autonomously. Summary of the invention
[0004] In an exemplary embodiment of the present disclosure, a method and electronic device for handling a turnaround conflict during autonomous train operation are provided to solve the problem of train deadlock during autonomous train operation and to improve the turnaround efficiency of the train during autonomous operation.
[0005] A first aspect of the present disclosure provides a method for handling a turnaround conflict during autonomous train operation, the method comprising:
[0006] When the train is in an autonomous operation mode, if it is determined based on the turnaround turnout resource requests sent by the two trains that the turnaround turnout resources requested by the two trains are the same, then the turnaround routes of the two trains are obtained;
[0007] Determining whether the turnaround tracks of the two trains are the same based on the turnaround routes of the two trains;
[0008] If they are the same, the reversing switch resource is allocated to the first train of the two trains, so that the first train travels to the reversing destination based on the reversing switch resource and the reversing track, wherein the first train is the train that sends the reversing switch resource request earlier among the two trains;
[0009] When it is determined that the first train has left the area corresponding to the turnaround switch resources and entered the turnaround destination, the turnaround switch resources are released and allocated to the second train of the two trains, so that the second train can travel to the turnaround destination based on the turnaround switch resources; wherein the second train is the train that sends the turnaround switch resource request later than the other two trains.
[0010] In this embodiment, when it is determined that the reversing tracks of two trains applying for the same reversing turnout resource are the same, the reversing turnout resource will be preferentially allocated to the first train that sends the request earlier, and when it is determined that the first train has left the area corresponding to the reversing turnout resource and entered the reversing destination, the reversing turnout resource will be released and allocated to the second train so that the second train can make a reversal. Therefore, in the embodiment of the present application, the reversing turnout resource will only be allocated to the second train after it is determined that the first train has left the area corresponding to the reversing turnout resource and entered the reversing destination, so there will be no problem of train deadlock, which improves the reversing efficiency of the train during autonomous operation.
[0011] In one embodiment, the method further comprises:
[0012] If they are not the same, the reversing turnout resource is allocated to the first train of the two trains, so that the first train drives into the first reversing track based on the reversing turnout resource, wherein the first reversing track is the reversing track used by the first train when making a reversal;
[0013] When it is determined that the first train has entered the first reversing track and has left the area corresponding to the reversing turnout resource, the reversing turnout resource is released, and the reversing turnout resource is allocated to the second train, so that the second train enters the second reversing track based on the reversing turnout resource, wherein the second reversing track is the reversing track used by the second train when making a reversal;
[0014] When it is determined that the second train has entered the second turnaround track and has left the area corresponding to the turnaround switch resource, the turnaround switch resource is released;
[0015] When receiving a request from the first train to leave the first reversing track, the reversing switch resource is allocated to the first train, so that the first train leaves the first reversing track based on the reversing switch resource and enters the first reversing destination;
[0016] When it is determined that the first train has left the area corresponding to the turnaround switch resource and entered the first turnaround destination, the turnaround switch resource is released;
[0017] When a request for exiting the second switchback track is received from the second train, the switchback switch resources are allocated to the second train so that the second train exits the second switchback track based on the switchback switch resources and enters the second switchback destination.
[0018] In the embodiment of the present application, when it is determined that the reversing tracks of the first train and the second train are different, it is not necessary to wait for the first train to enter the reversing destination before allocating the reversing turnout resources to the second train. In the embodiment of the present application, the reversing turnout resources are allocated to the second train in the gap when the first train enters the first reversing track, so that the second train enters the second reversing track. When the second train enters the second reversing track, the first train just stops at the first reversing track and needs to exit the first reversing track. At this time, the reversing turnout resources are allocated to the first train again, so that the first train exits the first reversing track and enters the first reversing destination. Then the reversing turnout resources are allocated to the second train, so that the second train exits the second reversing track and enters the second reversing destination. As a result, the reversing time of the two trains is saved, and the reversing efficiency of the train is further improved.
[0019] In one embodiment, when receiving a request from the second train to leave the second turnaround track, after allocating the turnaround switch resource to the second train, the method further includes:
[0020] When it is determined that the second train has left the area corresponding to the turnaround switch resource, the turnaround switch resource is released.
[0021] In the embodiment of the present application, when it is determined that the second train has left the area corresponding to the turnaround switch resource, the turnaround switch resource is released to avoid the situation where other trains cannot use the turnaround switch resource, thereby improving the train's turnaround efficiency.
[0022] In one embodiment, after allocating the turnaround switch resource to the second train of the two trains, the method further includes:
[0023] When it is determined that the second train has left the area corresponding to the turnaround switch resource and entered the turnaround destination, the turnaround switch resource is released.
[0024] In this embodiment, by determining that the turnaround switch resources are released when the second train arrives at the turnaround destination, it is avoided that other trains cannot use the turnout resources, thereby improving the turnaround efficiency of the train.
[0025] In one embodiment, before allocating the turnaround switch resource to the first train of the two trains, the method further includes:
[0026] Determine that the turnaround switch resource is not occupied.
[0027] In one embodiment, the method further comprises:
[0028] If the turnaround switch resource is occupied, a preset first waiting area is allocated to the first train, so that the first train enters the first waiting area to wait for the turnaround; and
[0029] A preset second waiting area is allocated to the second train so that the second train enters the second waiting area to wait for turning back.
[0030] In this embodiment, when the turnaround switch resource is occupied, the first train and the second train need to wait in their respective waiting areas, so as to ensure that the trains can turn around in sequence when the turnaround switch resource is released later.
[0031] A second aspect of the present disclosure provides an electronic device, including a processor and a memory, wherein the processor and the memory are connected via a bus;
[0032] The memory stores a computer program, and the processor is configured to perform the following operations based on the computer program:
[0033] When the train is in an autonomous operation mode, if it is determined based on the turnaround turnout resource requests sent by the two trains that the turnaround turnout resources requested by the two trains are the same, then the turnaround routes of the two trains are obtained;
[0034] Determining whether the turnaround tracks of the two trains are the same based on the turnaround routes of the two trains;
[0035] If they are the same, the reversing switch resource is allocated to the first train of the two trains, so that the first train travels to the reversing destination based on the reversing switch resource and the reversing track, wherein the first train is the train that sends the reversing switch resource request earlier among the two trains;
[0036] When it is determined that the first train has left the area corresponding to the turnaround switch resources and entered the turnaround destination, the turnaround switch resources are released and allocated to the second train of the two trains, so that the second train can travel to the turnaround destination based on the turnaround switch resources and the turnaround track; wherein the second train is the train that sends the turnaround switch resource request later than the other two trains.
[0037] In one embodiment, the processor is further configured to:
[0038] If they are not the same, the reversing turnout resource is allocated to the first train of the two trains, so that the first train drives into the first reversing track based on the reversing turnout resource, wherein the first reversing track is the reversing track used by the first train when making a reversal;
[0039] When it is determined that the first train has entered the first reversing track and has left the area corresponding to the reversing turnout resource, the reversing turnout resource is released, and the reversing turnout resource is allocated to the second train, so that the second train enters the second reversing track based on the reversing turnout resource, wherein the second reversing track is the reversing track used by the second train when making a reversal;
[0040] When it is determined that the second train has entered the second turnaround track and has left the area corresponding to the turnaround switch resource, the turnaround switch resource is released;
[0041] When receiving a request from the first train to leave the first reversing track, the reversing switch resource is allocated to the first train, so that the first train leaves the first reversing track based on the reversing switch resource and enters the first reversing destination;
[0042] When it is determined that the first train has left the area corresponding to the turnaround switch resource and entered the first turnaround destination, the turnaround switch resource is released;
[0043] When a request for exiting the second switchback track is received from the second train, the switchback switch resources are allocated to the second train so that the second train exits the second switchback track based on the switchback switch resources and enters the second switchback destination.
[0044] In one embodiment, the processor is further configured to:
[0045] When receiving the request from the second train to leave the second turnaround track, the turnaround switch resource is allocated to the second train, and when it is determined that the second train has left the area corresponding to the turnaround switch resource, the turnaround switch resource is released.
[0046] In one embodiment, the processor is further configured to:
[0047] After the turnaround switch resource is allocated to the second train of the two trains, when it is determined that the second train has left the area corresponding to the turnaround switch resource and entered the turnaround destination, the turnaround switch resource is released.
[0048] In one embodiment, the processor is further configured to:
[0049] Before allocating the turnaround switch resource to the first train of the two trains, it is determined that the turnaround switch resource is not occupied.
[0050] In one embodiment, the processor is further configured to:
[0051] If the turnaround switch resource is occupied, a preset first waiting area is allocated to the first train, so that the first train enters the first waiting area to wait for the turnaround; and
[0052] A preset second waiting area is allocated to the second train so that the second train enters the second waiting area to wait for turning back.
[0053] According to a third aspect provided by an embodiment of the present disclosure, a computer storage medium is provided, wherein the computer storage medium stores a computer program, and the computer program is used to execute the method as described in the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0055] Figure 1 A schematic diagram of a train turnaround in the prior art according to an embodiment of the present disclosure;
[0056] Figure 2 This is one of the flow charts of a method for handling a turnaround conflict during autonomous operation of a train according to an embodiment of the present disclosure;
[0057] Figure 3 This is one of the schematic diagrams of a train turnaround according to an embodiment of the present disclosure;
[0058] Figure 4 This is a second flow chart of a method for handling a turnaround conflict during autonomous train operation according to an embodiment of the present disclosure;
[0059] Figure 5 This is a second schematic diagram of a train turnaround according to an embodiment of the present disclosure;
[0060] Figure 6 This is one of the schematic diagrams of a train waiting area according to an embodiment of the present disclosure;
[0061] Figure 7 This is a second schematic diagram of a train waiting area according to an embodiment of the present disclosure;
[0062] Figure 8 This is a third flow chart of a method for handling a turnaround conflict during autonomous operation of a train according to an embodiment of the present disclosure;
[0063] Fig. 9 A device for processing a turnaround conflict during autonomous operation of a train according to an embodiment of the present disclosure;
[0064] Fig.10 The figure is a schematic diagram of the structure of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0065] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.
[0066] In the embodiments of the present disclosure, the term "and / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B may represent three situations: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship.
[0067] The application scenarios described in the embodiments of the present disclosure are intended to more clearly illustrate the technical solutions of the embodiments of the present disclosure, and do not constitute a limitation on the technical solutions provided by the embodiments of the present disclosure. It is known to those skilled in the art that with the emergence of new application scenarios, the technical solutions provided by the embodiments of the present disclosure are also applicable to similar technical problems. In the description of the present disclosure, unless otherwise specified, the meaning of "multiple" is two or more.
[0068] In order to solve the problem of train deadlock during autonomous train operation in the prior art, the present disclosure provides a method for handling turnaround conflicts during autonomous train operation. When it is determined that the turnaround tracks of two trains applying for the same turnaround turnout resource are the same, the turnaround turnout resource is preferentially allocated to the first train that sends the request earlier, and when it is determined that the first train has left the area corresponding to the turnaround turnout resource and entered the turnaround destination, the turnaround turnout resource is released and allocated to the second train so that the second train can turn around. Therefore, in the embodiment of the present application, the turnaround turnout resource will be allocated to the second train only after it is determined that the first train has left the area corresponding to the turnaround turnout resource and entered the turnaround destination, so the problem of train deadlock will not occur, and the turnaround efficiency of the train is improved. Below, the scheme of the present disclosure is described in detail in conjunction with the accompanying drawings.
[0069] like Figure 2 As shown, it is a flow chart of the method for handling the return conflict during the autonomous operation of the train disclosed in the present invention, which may include the following steps:
[0070] Step 201: When the train is in an autonomous operation mode, if it is determined based on the turnaround turnout resource requests sent by two trains that the turnaround turnout resources requested by the two trains are the same, then the turnaround routes of the two trains are obtained;
[0071] The turnaround switch resource request in the embodiment of the present application includes the turnaround switch resource identifier and the train identifier. Therefore, if the turnaround switch resource identifiers sent by two trains are the same, it is determined that the turnaround switch resources requested by the two trains are the same. If the turnaround switch resource identifiers sent by the two trains are different, it is determined that the turnaround switch resources requested by the two trains are different.
[0072] In one embodiment, the return routes of the two trains are obtained in the following manner: for any one of the trains, the corresponding relationship between the pre-set train identification and the train return route is used to determine the return route corresponding to the train identification of the train, and the return route is determined as the return route of the train.
[0073] Step 202: determining whether the turnaround tracks of the two trains are the same based on the turnaround routes of the two trains;
[0074] The reversing route in the embodiment of the present application includes the reversing rail. Therefore, the reversing rails of the two trains can be directly obtained based on the reversing routes of the two trains.
[0075] It should be noted that: when the turnaround tracks of two trains are the same, it is determined that the turnaround destinations of the two trains are also the same.
[0076] Step 203: If they are the same, the reversing switch resource is allocated to the first train of the two trains, so that the first train travels to the reversing destination based on the reversing switch resource and the reversing track, wherein the first train is the train that sends the reversing switch resource request earlier among the two trains;
[0077] Step 204: When it is determined that the first train has left the area corresponding to the turnaround switch resources and entered the turnaround destination, the turnaround switch resources are released and the turnaround switch resources are allocated to the second train of the two trains, so that the second train travels to the turnaround destination based on the turnaround switch resources and the turnaround track; wherein the second train is the train that sends the turnaround switch resource request later than the other two trains.
[0078] In order to ensure that the following trains can turn around sequentially, in one embodiment, after the turnaround switch resources are allocated to the second train, when it is determined that the second train has left the area corresponding to the turnaround switch resources and entered the turnaround destination, the turnaround switch resources are released.
[0079] like Figure 3 As shown, the reversing destinations of train A and train B are both station 2, and the reversing tracks are both reversing track a. Train A is the train that has priority in requesting the reversing turnout resource, so the reversing turnout resource is allocated to train A. Train A enters the reversing track a based on the reversing turnout resource. When the train arrives at the reversing track a, train B is also applying for the reversing turnout resource at this time, but because train A has not entered station 2, the server will not allocate the reversing turnout resource to train B. After train A stops steadily on the reversing track a, it exits the reversing track a based on the reversing turnout resource and enters station 2. When the server determines that train A has left the reversing turnout resource and has arrived at station 2, the reversing turnout resource is released and the reversing turnout resource is allocated to train B. Train B enters the reversing track a based on the reversing turnout resource. After stopping steadily on the reversing track a, it exits the reversing track a based on the reversing turnout resource. When it is determined that train B has left the turnaround switch resource and entered station 2, the turnaround switch resource is released.
[0080] In order to further improve the efficiency of train turnaround, Figure 4 As shown, it is a flow chart of a method for processing a turnaround when the turnaround tracks of two trains are different, which may include the following steps:
[0081] Step 401: Allocate the reversing switch resource to the first train of the two trains, so that the first train drives onto a first reversing track based on the reversing switch resource, wherein the first reversing track is a reversing track used by the first train when making a reversal;
[0082] The definitions of the first train and the second train in the embodiment of the present application are the same as those described above, and the embodiment of the present application will not be repeated here.
[0083] Step 402: when it is determined that the first train has entered the first reversing track and has left the area corresponding to the reversing turnout resource, the reversing turnout resource is released, and the reversing turnout resource is allocated to the second train, so that the second train enters the second reversing track based on the reversing turnout resource, wherein the second reversing track is the reversing track used by the second train when making a reversal;
[0084] In the embodiment of the present application, whether the first train has entered the first reversing track and has left the area corresponding to the reversing switch resource is determined based on the first clearing request sent by the first train. The first clearing request includes whether the first train has left the reversing switch resource and whether it has entered the first reversing track.
[0085] Step 403: when it is determined that the second train has entered the second turnaround track and has left the area corresponding to the turnaround switch resource, the turnaround switch resource is released;
[0086] In the embodiment of the present application, whether the first train has entered the first reversing track and has left the area corresponding to the reversing switch resource is determined based on the second clearing request sent by the second train. The second clearing request includes whether the second train has left the reversing switch resource and has entered the second reversing track.
[0087] Step 404: when receiving a request from the first train to exit the first reversing track, allocating the reversing switch resource to the first train, so that the first train exits the first reversing track based on the reversing switch resource and enters the first reversing destination;
[0088] Step 405: when it is determined that the first train has left the area corresponding to the turnaround switch resource and entered the first turnaround destination, the turnaround switch resource is released;
[0089] In the embodiment of the present application, when the instruction to enter the destination is received from the first train, it is determined that the first train has left the area corresponding to the return turnout resource and entered the first return destination. Similarly, when the instruction to enter the destination is received from the second train, it is determined that the second train has left the area corresponding to the return turnout resource and entered the second return destination.
[0090] Step 406: When a request for exiting the second turnaround track is received from the second train, the turnaround switch resources are allocated to the second train so that the second train exits the second turnaround track based on the turnaround switch resources and enters the second turnaround destination.
[0091] For example, Figure 5As shown, first, the reversing track of train A is reversing track a, and the reversing destination is station 2, and the reversing track of train B is reversing track b, and the reversing destination is station 1. If train A sends a reversing turnout resource request first, the reversing turnout resource is allocated to train A, so that train A can enter the reversing track a based on the reversing turnout resource. When it is determined that train A has left the reversing turnout resource and entered the reversing track a, the reversing turnout resource is released, and the reversing turnout resource is allocated to train B, so that train B can enter the reversing track b based on the reversing turnout resource. When it is determined that train B has left the reversing turnout resource and entered the reversing track b, the reversing turnout resource is released. When the request to exit the reversing track a sent by the first train is received, the reversing turnout resource is allocated to train A, and train A exits the reversing track a based on the reversing turnout resource. When it is determined that train A has left the reversing turnout resource and entered station 2, the reversing turnout resource is released, and when a request for leaving reversing track b is received from train B, the reversing turnout resource is allocated to train B, so that train B leaves reversing track b based on the reversing turnout resource and enters station 1. At this time, the reversal of the two trains is completed.
[0092] In order to ensure that the first train in step 203 and step 401 can turn around smoothly, in one embodiment, before allocating the turnaround switch resources to the first train, it is determined that the turnaround switch resources are not occupied.
[0093] In the embodiment of the present application, the occupancy mark of the turnaround switch resource can be obtained to determine whether the turnaround switch resource is occupied. In one embodiment, for any turnaround switch resource, if the occupancy mark of the turnaround switch resource is a first mark, it is determined that the turnaround switch resource is occupied. If the occupancy mark of the turnaround switch resource is a second mark, it is determined that the turnaround switch resource is not occupied.
[0094] Correspondingly, when any turnaround switch resource is allocated to a certain train, the occupation flag of the turnaround switch resource is set to the first flag. When the turnaround switch resource is released, the occupation flag of the turnaround switch resource is set to the second flag.
[0095] In one embodiment, if the turnaround switch resources are occupied, the preset first waiting area is allocated to the first train so that the first train enters the first waiting area to wait for turning around; and the preset second waiting area is allocated to the second train so that the second train enters the second waiting area to wait for turning around.
[0096] If the first train and the second train have the same return destination, the first distance between the first waiting area and the return switch resource is smaller than the second distance between the second waiting area and the return switch resource. Figure 6As shown, the distance between the first waiting area of the first train and the turnaround switch resource is smaller than the distance between the second waiting area of the second train and the turnaround switch resource. Figure 7 1 and 2 show the waiting areas of the first train and the second train when the return destinations are different.
[0097] In order to further understand the technical solution of the present disclosure, Figure 8 A detailed description may include the following steps:
[0098] Step 801: when the train is in an autonomous operation mode, if it is determined based on the turnaround turnout resource requests sent by two trains that the turnaround turnout resources requested by the two trains are the same, then the turnaround routes of the two trains are obtained;
[0099] Step 802: based on the return routes of the two trains, determine whether the return tracks of the two trains are the same; if they are the same, execute step 803; if they are not the same, execute step 806;
[0100] Step 803: Allocate the reversing switch resource to the first train of the two trains, so that the first train travels to the reversing destination based on the reversing switch resource and the reversing track, wherein the first train is the train that sends the reversing switch resource request earlier among the two trains;
[0101] Step 804: when it is determined that the first train has left the area corresponding to the reversing switch resource and entered the reversing destination, the reversing switch resource is released, and the reversing switch resource is allocated to the second train of the two trains, so that the second train travels to the reversing destination based on the reversing switch resource and the reversing track; wherein the second train is the train that sends the reversing switch resource request later than the other two trains;
[0102] Step 805: when it is determined that the second train has left the area corresponding to the turnaround switch resource and entered the turnaround destination, the turnaround switch resource is released;
[0103] Step 806: Allocate the reversing switch resource to the first train of the two trains, so that the first train drives onto a first reversing track based on the reversing switch resource, wherein the first reversing track is a reversing track used by the first train when making a reversal;
[0104] Step 807: when it is determined that the first train has entered the first reversing track and has left the area corresponding to the reversing turnout resource, the reversing turnout resource is released, and the reversing turnout resource is allocated to the second train, so that the second train enters the second reversing track based on the reversing turnout resource, wherein the second reversing track is the reversing track used by the second train when making a reversal;
[0105] Step 808: when it is determined that the second train has entered the second turnaround track and has left the area corresponding to the turnaround switch resource, the turnaround switch resource is released;
[0106] Step 809: when receiving a request from the first train to exit the first reversing track, allocating the reversing switch resource to the first train, so that the first train exits the first reversing track based on the reversing switch resource and enters the first reversing destination;
[0107] Step 810: when it is determined that the first train has left the area corresponding to the turnaround switch resource and entered the first turnaround destination, the turnaround switch resource is released;
[0108] Step 811: when receiving a request from the second train to exit the second reversing track, allocating the reversing switch resource to the second train, so that the second train exits the second reversing track based on the reversing switch resource and enters the second reversing destination;
[0109] Step 812: When it is determined that the second train has left the area corresponding to the turnaround switch resource, the turnaround switch resource is released.
[0110] Based on the same disclosure concept, the method for handling the return conflict during autonomous train operation disclosed above can also be implemented by a method for handling the return conflict during autonomous train operation. The effect of the device for handling the return conflict during autonomous train operation is similar to that of the aforementioned method, and will not be repeated here.
[0111] Fig. 9 The figure is a schematic diagram of the structure of a probability triggering device for a random event according to an embodiment of the present disclosure.
[0112] like Fig. 9 As shown, the device 900 for processing the return conflict during autonomous operation of a train in a random event disclosed in the present invention may include a return route acquisition module 910, a judgment module 920, a first resource allocation module 930 and a second resource allocation module 940.
[0113] The turnaround route acquisition module 910 is used to acquire the turnaround routes of the two trains when the train is in the autonomous operation mode, if it is determined based on the turnaround turnout resource requests sent by the two trains that the turnaround turnout resources requested by the two trains are the same;
[0114] A judgment module 920, configured to judge whether the turnaround tracks of the two trains are the same based on the turnaround routes of the two trains;
[0115] A first resource allocation module 930 is configured to allocate the reversing switch resource to a first train of the two trains if the reversing switch resource is the same, so that the first train travels to a reversing destination based on the reversing switch resource and the reversing track, wherein the first train is the train of the two trains that sends the reversing switch resource request earlier;
[0116] The second resource allocation module 940 is used to release the turnaround switch resources and allocate the turnaround switch resources to the second train of the two trains when it is determined that the first train has left the area corresponding to the turnaround switch resources and entered the turnaround destination, so that the second train can travel to the turnaround destination based on the turnaround switch resources and the turnaround track; wherein the second train is the train that sends the turnaround switch resource request later than the other two trains.
[0117] In one embodiment, the apparatus further comprises:
[0118] A third resource allocation module 950 is configured to allocate the turnaround switch resource to the first train of the two trains if they are not the same, so that the first train drives into a first turnaround track based on the turnaround switch resource, wherein the first turnaround track is a turnaround track used by the first train when turning back;
[0119] When it is determined that the first train has entered the first reversing track and has left the area corresponding to the reversing turnout resource, the reversing turnout resource is released, and the reversing turnout resource is allocated to the second train, so that the second train enters the second reversing track based on the reversing turnout resource, wherein the second reversing track is the reversing track used by the second train when making a reversal;
[0120] When it is determined that the second train has entered the second turnaround track and has left the area corresponding to the turnaround switch resource, the turnaround switch resource is released;
[0121] When receiving a request from the first train to leave the first reversing track, the reversing switch resource is allocated to the first train, so that the first train leaves the first reversing track based on the reversing switch resource and enters the first reversing destination;
[0122] When it is determined that the first train has left the area corresponding to the turnaround switch resource and entered the first turnaround destination, the turnaround switch resource is released;
[0123] When a request for exiting the second switchback track is received from the second train, the switchback switch resources are allocated to the second train so that the second train exits the second switchback track based on the switchback switch resources and enters the second switchback destination.
[0124] In one embodiment, the apparatus further comprises:
[0125] The resource release module 960 is used to allocate the turnaround switch resources to the second train after receiving a request from the second train to exit the second turnaround track, and then release the turnaround switch resources when it is determined that the second train has left the area corresponding to the turnaround switch resources.
[0126] In one embodiment, the resource release module 960 is further used to:
[0127] After the turnaround switch resource is allocated to the second train of the two trains, when it is determined that the second train has left the area corresponding to the turnaround switch resource and entered the turnaround destination, the turnaround switch resource is released.
[0128] In one embodiment, the apparatus further comprises:
[0129] The resource occupying module 970 is used to determine that the turnaround switch resource is not occupied before allocating the turnaround switch resource to the first train of the two trains.
[0130] In one embodiment, the apparatus further comprises:
[0131] The waiting area allocation module 980 is used to allocate a preset first waiting area to the first train if the turnaround switch resource is occupied, so that the first train enters the first waiting area to wait for turnaround; and
[0132] A preset second waiting area is allocated to the second train so that the second train enters the second waiting area to wait for turning back.
[0133] After introducing a method and device for handling a turnaround conflict during autonomous train operation according to an exemplary embodiment of the present disclosure, next, an electronic device according to another exemplary embodiment of the present disclosure is introduced.
[0134] Those skilled in the art will appreciate that various aspects of the present disclosure may be implemented as systems, methods or program products. Therefore, various aspects of the present disclosure may be specifically implemented in the following forms, namely: complete hardware implementation, complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software, which may be collectively referred to herein as "circuits", "modules" or "systems".
[0135] In some possible implementations, the electronic device according to the present disclosure may include at least one processor and at least one computer storage medium. The computer storage medium stores program code, and when the program code is executed by the processor, the processor executes the steps of the method for handling the return conflict during the autonomous operation of the train according to various exemplary embodiments of the present disclosure described above in this specification. For example, the processor may execute the following steps: Figure 2 Steps 201-204 shown in .
[0136] Refer to the following Fig.10 The electronic device 1000 according to this embodiment of the present disclosure is described. Fig.10 The electronic device 1000 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0137] like Fig.10 As shown, the electronic device 1000 is in the form of a general electronic device. The components of the electronic device 1000 may include but are not limited to: the at least one processor 1001, the at least one computer storage medium 1002, and a bus 1003 connecting different system components (including the computer storage medium 1002 and the processor 1001).
[0138] Bus 1003 represents one or more of several types of bus structures, including a computer storage media bus or computer storage media controller, a peripheral bus, a processor, or a local bus using any of a variety of bus architectures.
[0139] The computer storage medium 1002 may include readable media in the form of volatile computer storage media, such as random access computer storage media (RAM) 1021 and / or cache storage media 1022 , and may further include read-only computer storage media (ROM) 1023 .
[0140] The computer storage medium 1002 may also include a program / utility 1025 having a set (at least one) of program modules 1024, such program modules 1024 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
[0141] The electronic device 1000 may also communicate with one or more external devices 1004 (e.g., keyboards, pointing devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 1000, and / or communicate with any device that enables the electronic device 1000 to communicate with one or more other electronic devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 1005. Furthermore, the electronic device 1000 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 1006. As shown, the network adapter 1006 communicates with other modules for the electronic device 1000 via a bus 1003. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 1000, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.
[0142] In some possible implementations, various aspects of a method for handling a turnaround conflict during autonomous operation of a train provided by the present disclosure may also be implemented in the form of a program product, which includes a program code. When the program product is run on a computer device, the program code is used to enable the computer device to execute the steps of the method for handling a turnaround conflict during autonomous operation of a train according to various exemplary embodiments of the present disclosure described above in this specification.
[0143] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access computer storage medium (RAM), a read-only computer storage medium (ROM), an erasable programmable read-only computer storage medium (EPROM or flash memory), an optical fiber, a portable compact disk read-only computer storage medium (CD-ROM), an optical computer storage medium, a magnetic computer storage medium, or any suitable combination of the above.
[0144] The program product for handling the turnaround conflict during autonomous operation of the train in the embodiment of the present disclosure can adopt a portable compact disk read-only computer storage medium (CD-ROM) and include program code, and can be run on an electronic device. However, the program product of the present disclosure is not limited to this. In this document, the readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, device or device.
[0145] The readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, wherein the readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The readable signal medium may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0146] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.
[0147] Program code for performing the disclosed operations may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user electronic device, partially on the user device, as a separate software package, partially on the user electronic device and partially on a remote electronic device, or entirely on a remote electronic device or server. In the case of a remote electronic device, the remote electronic device may be connected to the user electronic device via any type of network including a local area network (LAN) or a wide area network (WAN), or may be connected to an external electronic device (e.g., via the Internet using an Internet service provider).
[0148] It should be noted that although several modules of the device are mentioned in the above detailed description, this division is merely exemplary and not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules described above can be embodied in one module. Conversely, the features and functions of one module described above can be further divided into multiple modules to be embodied.
[0149] In addition, although the operations of the disclosed method are described in a specific order in the drawings, this does not require or imply that the operations must be performed in this specific order, or that all the operations shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps.
[0150] Those skilled in the art will appreciate that the embodiments of the present disclosure may be provided as methods, systems, or computer program products. Therefore, the present disclosure may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present disclosure may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk computer storage media, CD-ROM, optical computer storage media, etc.) containing computer-usable program codes.
[0151] The present disclosure is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to the present disclosure. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0152] These computer program instructions may also be stored in a computer-readable computer storage medium that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable computer storage medium produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0153] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0154] Obviously, those skilled in the art can make various changes and modifications to the present disclosure without departing from the spirit and scope of the present disclosure. Thus, if these modifications and variations of the present disclosure fall within the scope of the claims of the present disclosure and their equivalents, the present disclosure is also intended to include these modifications and variations.
Claims
1. A method for handling return conflicts during autonomous train operation, characterized in that: The method comprises: When the train is in an autonomous operation mode, if it is determined based on the turnaround turnout resource requests sent by the two trains that the turnaround turnout resources requested by the two trains are the same, then the turnaround routes of the two trains are obtained; Determining whether the turnaround tracks of the two trains are the same based on the turnaround routes of the two trains; If they are the same, the reversing switch resource is allocated to the first train of the two trains, so that the first train travels to the reversing destination based on the reversing switch resource and the reversing track, wherein the first train is the train that sends the reversing switch resource request earlier among the two trains; When it is determined that the first train has left the area corresponding to the turnaround switch resources and entered the turnaround destination, the turnaround switch resources are released and allocated to the second train of the two trains, so that the second train can travel to the turnaround destination based on the turnaround switch resources and the turnaround track; wherein the second train is the train that sends the turnaround switch resource request later than the other two trains.
2. The method according to claim 1, characterized in that The method further comprises: If they are not the same, the reversing turnout resource is allocated to the first train of the two trains, so that the first train drives into the first reversing track based on the reversing turnout resource, wherein the first reversing track is the reversing track used by the first train when making a reversal; When it is determined that the first train has entered the first reversing track and has left the area corresponding to the reversing turnout resource, the reversing turnout resource is released, and the reversing turnout resource is allocated to the second train, so that the second train enters the second reversing track based on the reversing turnout resource, wherein the second reversing track is the reversing track used by the second train when making a reversal; When it is determined that the second train has entered the second turnaround track and has left the area corresponding to the turnaround switch resource, the turnaround switch resource is released; When receiving a request from the first train to leave the first reversing track, the reversing switch resource is allocated to the first train, so that the first train leaves the first reversing track based on the reversing switch resource and enters the first reversing destination; When it is determined that the first train has left the area corresponding to the turnaround switch resource and entered the first turnaround destination, the turnaround switch resource is released; When a request for exiting the second switchback track is received from the second train, the switchback switch resources are allocated to the second train so that the second train exits the second switchback track based on the switchback switch resources and enters the second switchback destination.
3. The method according to claim 2, characterized in that When receiving a request from the second train to leave the second turnaround track, after allocating the turnaround turnout resource to the second train, the method further includes: When it is determined that the second train has left the area corresponding to the turnaround switch resource, the turnaround switch resource is released.
4. The method according to claim 1, characterized in that After allocating the turnaround switch resource to the second train of the two trains, the method further includes: When it is determined that the second train has left the area corresponding to the turnaround switch resource and entered the turnaround destination, the turnaround switch resource is released.
5. The method according to claim 1 or 2, characterized in that: Before allocating the turnaround switch resource to the first train of the two trains, the method further includes: Determine that the turnaround switch resource is not occupied.
6. The method according to claim 5, characterized in that The method further comprises: If the turnaround switch resource is occupied, a preset first waiting area is allocated to the first train, so that the first train enters the first waiting area to wait for the turnaround; and A preset second waiting area is allocated to the second train so that the second train enters the second waiting area to wait for turning back.
7. An electronic device, characterized in that: comprising a processor and a memory, wherein the processor and the memory are connected via a bus; The memory stores a computer program, and the processor is configured to perform the following operations based on the computer program: When the train is in an autonomous operation mode, if it is determined based on the turnaround turnout resource requests sent by the two trains that the turnaround turnout resources requested by the two trains are the same, then the turnaround routes of the two trains are obtained; Determining whether the turnaround tracks of the two trains are the same based on the turnaround routes of the two trains; If they are the same, the reversing switch resource is allocated to the first train of the two trains, so that the first train travels to the reversing destination based on the reversing switch resource and the reversing track, wherein the first train is the train that sends the reversing switch resource request earlier among the two trains; When it is determined that the first train has left the area corresponding to the turnaround switch resources and entered the turnaround destination, the turnaround switch resources are released and allocated to the second train of the two trains, so that the second train can travel to the turnaround destination based on the turnaround switch resources and the turnaround track; wherein the second train is the train that sends the turnaround switch resource request later than the other two trains.
8. The electronic device according to claim 7, characterized in that: The processor is further configured to: If they are not the same, the reversing turnout resource is allocated to the first train of the two trains, so that the first train drives into the first reversing track based on the reversing turnout resource, wherein the first reversing track is the reversing track used by the first train when making a reversal; When it is determined that the first train has entered the first reversing track and has left the area corresponding to the reversing turnout resource, the reversing turnout resource is released, and the reversing turnout resource is allocated to the second train, so that the second train enters the second reversing track based on the reversing turnout resource, wherein the second reversing track is the reversing track used by the second train when making a reversal; When it is determined that the second train has entered the second turnaround track and has left the area corresponding to the turnaround switch resource, the turnaround switch resource is released; When receiving a request from the first train to leave the first reversing track, the reversing switch resource is allocated to the first train, so that the first train leaves the first reversing track based on the reversing switch resource and enters the first reversing destination; When it is determined that the first train has left the area corresponding to the turnaround switch resource and entered the first turnaround destination, the turnaround switch resource is released; When a request for exiting the second switchback track is received from the second train, the switchback switch resources are allocated to the second train so that the second train exits the second switchback track based on the switchback switch resources and enters the second switchback destination.
9. The electronic device according to claim 8, characterized in that: The processor is further configured to: When receiving the request from the second train to leave the second turnaround track, the turnaround switch resource is allocated to the second train, and when it is determined that the second train has left the area corresponding to the turnaround switch resource, the turnaround switch resource is released.
10. The electronic device according to claim 7, characterized in that: The processor is further configured to: After the turnaround switch resource is allocated to the second train of the two trains, when it is determined that the second train has left the area corresponding to the turnaround switch resource and entered the turnaround destination, the turnaround switch resource is released.
Citation Information
Patent Citations
Railway turnout control method and system
CN107921980A
Determining method and device of train moving authority, and trains
CN109318941A
Long-short routing train control system and method
CN110406567A
Train turn-back method, device and equipment and medium
CN110758468A
Anti-deadlock method, device and equipment for TACS system and medium
CN114312932A
