CN114074695B - Train route handling method, device, equipment and storage medium - Google Patents

Train route handling method, device, equipment and storage medium Download PDF

Info

Publication number
CN114074695B
CN114074695B CN202010805442.9A CN202010805442A CN114074695B CN 114074695 B CN114074695 B CN 114074695B CN 202010805442 A CN202010805442 A CN 202010805442A CN 114074695 B CN114074695 B CN 114074695B
Authority
CN
China
Prior art keywords
route
train
list
configuration information
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010805442.9A
Other languages
Chinese (zh)
Other versions
CN114074695A (en
Inventor
杨慧敏
蒋琛
林仁华
惠冰
陶雪莲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BYD Co Ltd
Original Assignee
BYD Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BYD Co Ltd filed Critical BYD Co Ltd
Priority to CN202010805442.9A priority Critical patent/CN114074695B/en
Publication of CN114074695A publication Critical patent/CN114074695A/en
Application granted granted Critical
Publication of CN114074695B publication Critical patent/CN114074695B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B61RAILWAYS
    • B61LGUIDING RAILWAY TRAFFIC; ENSURING THE SAFETY OF RAILWAY TRAFFIC
    • B61L27/00Central railway traffic control systems; Trackside control; Communication systems specially adapted therefor

Abstract

The invention is suitable for the technical field of rail transit, and provides a train route handling method, a device, equipment and a storage medium, wherein the method comprises the following steps: the method comprises the steps of obtaining a route triggering request message from an automatic route message queue, obtaining a train group number according to the route triggering request message, obtaining a train control mode according to the train group number, judging whether the train control mode is the automatic control mode or not, obtaining train information according to the train group number if the control mode is the automatic control mode, wherein the train information comprises a train type, obtaining a first route list through first route configuration information if the train type is a first-yard train, triggering a route according to the first route list, obtaining the first route list through intersection configuration information if the train type is a planned train, and triggering the route according to the first route list to avoid uncertain factors caused by direct map searching, so that the stability and the safety of the route are improved.

Description

Train route handling method, device, equipment and storage medium
Technical Field
The invention belongs to the technical field of rail transit, and particularly relates to a train route transaction method, a train route transaction device, train route transaction equipment and a storage medium.
Background
The routing selection in the prior art is difficult, a directed graph of the routing needs to be generated, corresponding paths are generated through graph searching, a directed graph searching algorithm is complex and easy to make mistakes, and the loop searching path has limitations.
Disclosure of Invention
The invention aims to provide a train route handling method, a train route handling device, train route handling equipment and a storage medium, and aims to solve the problems of high complexity and low safety factor caused by selecting a route through a directed graph search algorithm in the prior art.
In one aspect, the invention provides a train route handling method, which comprises the following steps:
acquiring an access triggering request message from an automatic access message queue, and acquiring a train group number according to the access triggering request message;
acquiring a train control mode according to the train group number, and judging whether the train control mode is an automatic control mode;
if the control mode is an automatic control mode, obtaining train information according to the train group number, wherein the train information comprises a train type;
if the train type is a head yard train, acquiring a first route list through first route configuration information, and if the train type is a planned train, acquiring the first route list through route configuration information;
and triggering the route according to the first route list.
In another aspect, the present invention further provides a train route handling device, including:
the system comprises a message acquisition unit, a route triggering unit and a train group number acquisition unit, wherein the message acquisition unit is used for acquiring a route triggering request message from an automatic route message queue and acquiring a train group number according to the route triggering request message;
the control mode judging unit is used for acquiring a train control mode according to the train group number and judging whether the train control mode is an automatic control mode;
the train information acquisition unit is used for acquiring train information according to the train group number if the control mode is an automatic control mode, wherein the train information comprises a train type;
the route list acquiring unit is used for acquiring a first route list through first route configuration information if the train type is a head yard train, and acquiring the first route list through route crossing configuration information if the train type is a planned train; and
and the route triggering unit is used for triggering a route according to the first route list.
In another aspect, the present invention also provides a computing device, which includes a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method as described above when executing the computer program.
In another aspect, the present invention also provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of the method as described above.
The method comprises the steps of obtaining a route triggering request message from an automatic route message queue, obtaining a train group number according to the route triggering request message, obtaining a train control mode according to the train group number, judging whether the train control mode is the automatic control mode or not, obtaining train information according to the train group number if the control mode is the automatic control mode, wherein the train information comprises a train type, obtaining a first route list through first route configuration information if the train type is a head-mounted train, obtaining the first route list through cross-road configuration information if the train type is a planning train, and triggering a route according to the first route list so as to avoid uncertain factors caused by direct searching through a directed graph, thereby improving stability and safety of the route.
Drawings
Fig. 1 is a flowchart of an implementation of a train route handling method according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a process of acquiring a first route list according to first route configuration information according to a second embodiment of the present invention;
fig. 3 is a flowchart illustrating a process of acquiring a first route list according to traffic route configuration information according to a third embodiment of the present invention;
fig. 4 is a flowchart illustrating a process of triggering an access according to a first access list according to a fourth embodiment of the present invention;
fig. 5 is a structural example diagram of a directed graph of a partial route provided by the fifth embodiment of the present invention;
fig. 6 is a schematic structural view of a train route transaction apparatus according to a sixth embodiment of the present invention; and
fig. 7 is a schematic structural diagram of a computing device according to a seventh embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The following detailed description of specific implementations of the present invention is provided in conjunction with specific embodiments:
the first embodiment is as follows:
fig. 1 shows an implementation flow of a train route transaction method according to a first embodiment of the present invention, and for convenience of description, only the parts related to the embodiment of the present invention are shown, which are detailed as follows:
in step S101, an access trigger request message is acquired from the automatic access message queue, and a train group number is acquired according to the access trigger request message.
The embodiment of the invention is suitable for Automatic route handling in an ATS (Automatic Train Supervision) system, and is particularly suitable for Automatic route handling in a scene with a simpler line path (such as a tram) in the ATS system. In the prior art, multiple vehicles and multiple processes generally request automatic route at the same time, in the embodiment of the invention, a route triggering request message is processed by adopting a processing mechanism of a message queue. In the specific implementation, the received route triggering request messages are sequentially put into the automatic route message queue according to the time sequence, and when the route triggering request is processed, the processing is sequentially carried out according to the sequence of each route triggering request message in the automatic route message queue.
In step S102, a train control mode is acquired based on the train consist number, and it is determined whether the train control mode is an automatic control mode.
In step S103, if the train control mode is the automatic control mode, train information is acquired based on the train set number.
In the embodiment of the invention, the train control mode comprises a manual control mode and an automatic control mode, if the train control mode is the manual control mode, the process is ended, the train access is controlled in a manual mode, and if the train control mode is the automatic control mode, train information is obtained according to the train group number, wherein the train information comprises information such as the train type, the current position of the train, the train working mode, the train running direction and the like. The Train type comprises a head Train and a plan Train, if the Train type is the head Train, the Train information further comprises a destination code, if the Train type is the plan Train, the Train information further comprises a traffic number, and the Train working mode comprises a CBTC (Communication Based Train Control) mode and a degradation mode.
In step S104, if the train type is a first yard train, a first route list is obtained through the first route configuration information.
In the embodiment of the present invention, since the number of destination codes of the first vehicle is limited, it is preferable to configure the route information to generate the first route configuration information before the route is processed by the first route configuration information, where the first route configuration information is static data, and thus, the safety and stability of the route taken by the first vehicle can be improved. Specifically, route information is configured, and when first route configuration information is generated, second route configuration information can be generated according to directed graphs of all routes so that a user can perform manual verification and modification, and the modification of the second route configuration information by the user is received to obtain the first route configuration information, so that the accuracy of the first route configuration information is improved while labor cost is saved. The first route configuration information includes information corresponding to each route, and the reachable destination code information includes all reachable destination codes corresponding to the route.
When generating the second route configuration information according to the directed graph of all routes, the second route configuration information may be generated according to the routes in the directed graph, the connection direction between the routes, and the destination code corresponding to each route, and the like, and the generated first route configuration information may refer to the exemplary description about part of the first route configuration information in the fifth embodiment.
After the second route configuration information is generated, the modification of the second route configuration information by the user is received, particularly the modification of some corresponding special positions in the second route configuration information, and the first route configuration information is generated, for example, different destination codes are set for the forward route and reverse route of the turnout at the turnout position by the user, and for example, different routes are set for the same destination at the loop position by the user, so that the accuracy of the first route configuration information is improved, and the stability and the safety of the head code vehicle when the route is handled at the special position are improved.
The specific implementation of obtaining the first route list through the first route configuration information may refer to the description in embodiment two, and is not described herein again.
In step S105, if the train type is a planned train, a first route list is acquired according to the traffic route configuration information.
In the embodiment of the present invention, considering that the number of routes of the planned vehicle is limited and fixed, before the route is handled through the route configuration information, it is preferable to configure the route information of the planned vehicle to generate the route configuration information, where the route configuration information includes all the route numbers, the train operation direction corresponding to each route number, and the route list. Of course, the intersection configuration information may also include information other than the above, such as whether to loop, and the like, and is not limited herein. After generating the traffic configuration information, when the planning vehicle loads the plan, the traffic configuration information is loaded at the same time, so that the route is handled through the traffic configuration information. The generated intersection configuration information may refer to the exemplary description about the partial intersection configuration information in the fifth embodiment.
The specific implementation of obtaining the first route list through the intersection configuration may refer to the description of the third embodiment, and is not described herein again.
In step S106, a route is triggered according to the first route list.
In the embodiment of the invention, more than one route may be in the first route list, so that the triggered route list can be sorted according to the train running direction to ensure that the routes close to the train are triggered first and then are triggered after the routes far away from the train, then one route is obtained from the sorted first route list as the current route according to the sorting, whether the current route meets the preset triggering condition is judged, if so, a command for handling the current route is issued, the information of the current route and the issued information of the command are stored in the route triggering record list, when feedback information corresponding to the command is received and executed, a registration call-back mechanism is adopted to obtain the handling state of the current route from the feedback information, the handling state is stored in the route triggering record list, whether the current route is the last route in the sorted first route list is judged, if so, the route triggering is finished, if not, the route is jumped to the step of obtaining one route from the sorted first route list as the current route, and the subsequent automatic judgment is facilitated. The preset trigger conditions may include that the route is not triggered, the previous route of the route is locked, the start-end signal of the route is in the automatic trigger mode, and the start-end signal of the route is in the non-locked and non-open state. The issued information and the handling state both comprise time information, so that the route command issued information and the route handling feedback information can be timely and accurately obtained. The specific implementation mode of acquiring the handling state of the current route from the feedback information by adopting the registration callback mechanism can be that the current time is added when a route command is issued, and a callback function is registered, when the feedback information which is sent by a linkage system (CI) and corresponds to the command is executed is received, the callback function is automatically called, the feedback information is analyzed, and the analyzed route handling condition is stored in a route trigger record list, so that the route handling state is immediately and accurately obtained, the subsequent automatic route logic judgment is facilitated, and the asynchronous feedback route handling state is realized by the command issuing and registration callback mechanism.
In the embodiment of the invention, the route triggering request message is acquired from the automatic route message queue, the train group number is acquired according to the route triggering request message, the train control mode is acquired according to the train group number, whether the train control mode is the automatic control mode is judged, if the control mode is the automatic control mode, the train information is acquired according to the train group number, the train information comprises the train type, if the train type is a head train, the route is processed through the first route configuration information, if the train type is the head train, the first route list is acquired through the first route configuration information, if the train type is a planned train, the first route list is acquired through the route crossing configuration information, and the route is triggered according to the first route list, so that uncertain factors caused by direct map search are avoided, and the stability and the safety of the route are improved.
Example two:
fig. 2 is a diagram illustrating an example of a process for acquiring a first route list according to first route configuration information according to a second embodiment of the present invention, where for convenience of description, only parts related to the second embodiment of the present invention are shown, and details are as follows:
in step S201, a trigger zone is determined according to the current position of the train and the train operation mode.
In an embodiment of the present invention, the trigger section refers to a section that can be triggered by a train at a current location and in a current train operation mode, the trigger section corresponds to one or more routes, when the train operation mode is a CBTC mode, the trigger section corresponds to a logical section, and when the train operation mode is a degradation mode, the trigger section corresponds to a physical section, where the physical section refers to a minimum unit that a track is physically divided, and the logical section logically divides a minimum unit of a physical section.
In step S202, it is determined whether the destination corresponding to the destination code has reached or whether the destination route has been triggered, and if the destination has reached or the destination route has been triggered, the process is terminated, and if the destination has not reached and the destination route has not been triggered, step S203 is executed.
In step S203, it is determined whether a route trigger record list corresponding to the train set number exists, and if so, step S205 is executed, and if not, step S204 is executed;
in the embodiment of the present invention, the route trigger record list is used to identify a route trigger state, and the route trigger record list stores route trigger and feedback records, which may further include time identifiers.
In step S204, a route trigger record list corresponding to the train car group number is created.
In the embodiment of the invention, if the route trigger record list corresponding to the train set number does not exist, the corresponding route trigger record list is established, so that the route trigger record list is automatically established according to the judgment result.
In step S205, a route trigger record list corresponding to the train car group number is acquired.
In step S206, a first route list is screened from the first route configuration information according to the destination code, the train traveling direction, the trigger section, and the route trigger record list.
In the embodiment of the present invention, each route of the first route configuration information is configured with reachable destination code information, the reachable destination code information includes all reachable destination codes corresponding to the route, when the first route list is selected from the first route configuration information according to the destination code, the train running direction, the trigger section and the route trigger record list, preferably, one or more triggerable routes are obtained from the first route configuration information according to the train running direction, the trigger section and the route trigger record list, and the reachable destination code information corresponding to each triggerable route is determined whether the reachable destination code information includes the destination code of the head code train, if the destination code of the head code train is included, it indicates that the triggerable route can reach the destination, it is determined that the reachable destination code information belongs to the triggerable route list corresponding to the first route list, if the destination code is not included, it indicates that the triggerable route of the destination cannot reach the destination, it is determined that the reachable destination code information belongs to the first route list corresponding to the first route list, and the stability of the reachable route information is improved, thereby realizing direct route search of the reachable route information.
In the embodiment of the invention, the triggering section is determined according to the current position of the train and the working mode of the train, whether the destination corresponding to the destination code reaches or whether the destination route is triggered is judged, if the destination does not reach and the destination route is not triggered, the route triggering record list corresponding to the train set number is obtained, and the first route list is screened out from the first route configuration information according to the destination code, the running direction of the train, the triggering section and the route triggering record list, so that the first route list is obtained through the destination code information in the first route configuration information, and the safety and the stability of the head code train route are improved.
Example three:
fig. 3 is a diagram illustrating an example of a flow for acquiring a first route list through route configuration information according to a third embodiment of the present invention, and for convenience of description, only a portion related to the third embodiment of the present invention is shown, and the detailed description is as follows:
in step S301, a trigger zone is determined according to the current position of the train and the train operation mode.
In the embodiment of the present invention, the detailed implementation of step S301 may refer to the description of step S201 in embodiment two, and is not repeated herein.
In step S302, a second route list corresponding to the acquired traffic route number is searched for from the traffic route configuration information.
In the embodiment of the invention, when the planning vehicle loads the planning information, the traffic configuration information is loaded at the same time, the traffic configuration information comprises all traffic numbers, train running directions and route lists corresponding to all the traffic numbers, and a second route list corresponding to the acquired traffic numbers is found from the traffic configuration information according to the acquired traffic numbers.
In step S303, it is determined whether the last route in the second route list is triggered, if so, the process is ended, and if not, step S304 is executed.
In step S304, it is determined whether or not a route trigger record list corresponding to the train car group number exists, and if so, step S306 is executed, and if not, step S305 is executed.
In step S305, a route trigger record list corresponding to the train car group number is created.
In step S306, a route trigger record list corresponding to the train car group number is acquired.
In the embodiment of the present invention, the detailed implementation of steps S304-S306 can refer to the description of steps S203-S205 in embodiment two, and will not be described herein again.
In step S307, a first route list is screened from the second route list according to the train running direction, the trigger section, and the route trigger record list.
In the embodiment of the invention, the triggering section is determined according to the current position of the train and the working mode of the train, the second route list corresponding to the acquired intersection number is searched from the intersection configuration information, whether the last route in the second route list is triggered or not is judged, if the last route is not triggered, the route triggering record list corresponding to the train group number is acquired, and the first route list is screened from the second route list according to the running direction of the train, the triggering section and the route triggering record list, so that the first route list is acquired through the intersection configuration information, and the safety and the stability of planned train route are improved.
Example four:
fig. 4 is a diagram illustrating an example of a process for triggering an access according to a first access list according to a fourth embodiment of the present invention, and for convenience of description, only a portion related to the fourth embodiment of the present invention is shown, and the detailed description is as follows:
in step S401, the first route list is sorted according to the train traveling direction.
In the embodiment of the invention, more than one route may be in the first route list, so that the trigger route list can be sequenced according to the running direction of the train to ensure that the route close to the train is triggered first and the route far away from the train is triggered later.
In step S402, a route is obtained from the sorted first route list as a current route.
In step S403, it is determined whether the current route is triggered, if not, step S404 is executed, and if triggered, the process jumps to step S402.
In step S404, it is determined whether the current route is the previous route, and if yes, step S405 is executed, and if not, step S406 is executed.
In step S405, it is determined whether the previous route of the current route is locked, and if not, the process jumps to step S402, and if locked, the process proceeds to step S406.
In step S406, it is determined whether the current route start traffic signal is in the auto trigger mode and whether the current route start traffic signal is in the non-locked and non-open state, if so, step S407 is executed, and if not, step S411 is executed.
In step S407, a command to handle the current route is issued, and information of the current route and issued information of the command are stored in the route trigger record list.
In step S408, when receiving the feedback information corresponding to the execution of the command, a registration callback mechanism is used to obtain the transaction status of the current route from the feedback information, and the transaction status is saved in the route trigger record list.
In step S409, it is determined whether the current route is the last route in the sorted first route list, if so, it indicates that the route transaction is completed, the process ends, and if not, the process goes to step S402.
In step S410, an alarm is triggered and alarm information is recorded, and then it jumps to step S402.
In the embodiment of the invention, a route is obtained from a first route list after sequencing as a current route, if the current route is not triggered, the last route of the current route is locked, the signal machine at the starting end of the current route is in an automatic trigger mode, and the signal machine at the starting end of the current route is in an unlocked state and an unopened state, a command for handling the current route is issued, and the information of the current route and the issued information of the command are stored in a route trigger record list, otherwise, an alarm is triggered, so that a user can timely process according to the alarm information, when the feedback information corresponding to the command is received and executed, a registration callback mechanism is adopted to obtain the handling state of the current route from the feedback information, and the handling state is stored in the route trigger record list, thereby realizing the handling state of the asynchronous feedback route through the command issuing and registration callback mechanisms.
Example five:
fig. 5 is a diagram illustrating a structural example of a directed graph of a partial route provided in the fifth embodiment of the present invention, and for convenience of description, only the portion related to the fifth embodiment of the present invention is illustrated, and the detailed description is as follows:
as shown in the directed diagram illustration of the route in fig. 5, the node indicates a route, the arrow indicates two connection directions of the route, the number in the node is the route id (route number), the node is marked as the destination code of the route, 26-19-23-24-35-25-33 is a loop line, the protection sections of 26 and 27 are two routes in different directions at the switch, the destination codes of 26 and 27 are YH2, 33 and 46 are two routes in different directions at the switch, and the destination codes of 46 and 33 are WH2.
Part of the first route configuration information corresponding to fig. 5 is as follows:
Figure RE-GDA0002838980020000111
the first route configuration information shows reachable destination code information for the four routes with route numbers 26, 27, 33, 46 in fig. 5. The number 27 is set as YH2 and BYD2, the number 26 is set as route, the number YH2, EH2, SH2, TH2, F404 is set as destination, the trigger number 27 is set as route if the destination of the train is BYD2, and the trigger number 26 is set as route if the destination of the train is F404. In addition, the destination code of the 26-numbered route is not WH2, indicating that no access is allowed through the loop (26-19-23-24-35-25-33) to WH2. Although this is possible on a directed graph, in connection with engineering practice, a train must travel from the number 46 on the route at number 26, obviously having just arrived at the destination (WH 2), and no longer having to loop back to the destination (WH 2).
Part of the intersection configuration information corresponding to fig. 5 is as follows:
<path
id="6"
start-platform-id="2"
start-station-id="1"
end-platform-id="2"
end-station-id="1"
dir="up"
path="2-13-10-8-6-2"
route-path="35-25-33-26-19-23-24"
type="long|circle"
loopflag="1"
description = "station four originated inner loop"/>
The intersection configuration information shows the intersection configuration information of the loop in fig. 5, the intersection id (intersection number) is 6, the intersection direction is up (uplink), the loop flag of the intersection is 1 (loop), the route list corresponding to the intersection number is 35-25-33-26-19-23-24, and the route list is arranged according to the route triggering sequence. When the planned vehicle is planned, the planned vehicle can be arranged according to the traffic route configuration information, when the traffic route information of the planned vehicle is obtained, the first route list can be obtained by reading the configuration file, and the route does not need to be dynamically searched through a directed graph.
Example six:
fig. 6 is a schematic structural diagram of a train route transaction apparatus according to a sixth embodiment of the present invention, and for convenience of description, only the parts related to the embodiment of the present invention are shown, where the parts include:
a message obtaining unit 61, configured to obtain an access trigger request message from the automatic access message queue, and obtain a train group number according to the access trigger request message;
the control mode judging unit 62 is configured to obtain a train control mode according to the train set number, and judge whether the train control mode is an automatic control mode;
a train information obtaining unit 63, configured to obtain train information according to a train set number if the control mode is the automatic control mode, where the train information includes a train type, and the train type includes a first yard train and a planned train;
an access list obtaining unit 64, configured to obtain a first access list through the first access configuration information if the train type is a first yard train, and obtain the first access list through the route switching configuration information if the train type is a planned train; and
and an access triggering unit 65, configured to trigger an access according to the first access list.
In the embodiment of the present invention, each unit of the train route handling apparatus may be implemented by a corresponding hardware or software unit, and each unit may be an independent software or hardware unit, or may be integrated into a software or hardware unit, which is not limited herein. For the specific implementation of each unit of the train route transaction device, reference may be made to the description of the foregoing method embodiment, and no further description is provided herein.
Example seven:
fig. 7 shows a schematic structural diagram of a computing device provided in a seventh embodiment of the present invention, and for convenience of explanation, only the parts related to the embodiment of the present invention are shown.
The computing device 7 of an embodiment of the invention comprises a processor 70, a memory 71 and a computer program 72 stored in the memory 71 and executable on the processor 70. The steps in the above-described method embodiments, such as steps S101 to S106 shown in fig. 1, are implemented when the processor 70 executes the computer program 72. Alternatively, the processor 70, when executing the computer program 72, implements the functions of the units in the above-described apparatus embodiments, such as the functions of the units 61 to 65 shown in fig. 6.
In the embodiment of the invention, the route triggering request message is acquired from the automatic route message queue, the train group number is acquired according to the route triggering request message, the train control mode is acquired according to the train group number, whether the train control mode is the automatic control mode is judged, if the control mode is the automatic control mode, the train information is acquired according to the train group number, the train information comprises the train type, if the train type is a head train, the first route list is acquired through the first route configuration information, if the train type is a planned train, the first route list is acquired through the cross route configuration information, and the route is triggered according to the first route list, so that uncertain factors caused by direct searching through a directed graph are avoided, and the stability and the safety of the route are improved.
Example eight:
in an embodiment of the present invention, a computer-readable storage medium is provided, which stores a computer program that, when executed by a processor, implements the steps in the above-described method embodiments, e.g., steps S101 to S106 shown in fig. 1. Alternatively, the computer program may be adapted to perform the functions of the units of the above-described device embodiments, such as the functions of the units 61 to 65 shown in fig. 6, when executed by the processor.
In the embodiment of the invention, the route triggering request message is acquired from the automatic route message queue, the train group number is acquired according to the route triggering request message, the train control mode is acquired according to the train group number, whether the train control mode is the automatic control mode is judged, if the control mode is the automatic control mode, the train information is acquired according to the train group number, the train information comprises the train type, if the train type is a head train, the first route list is acquired through the first route configuration information, if the train type is a planned train, the first route list is acquired through the cross route configuration information, and the route is triggered according to the first route list, so that uncertain factors caused by direct searching through a directed graph are avoided, and the stability and the safety of the route are improved.
The computer readable storage medium of the embodiments of the present invention may include any entity or device capable of carrying computer program code, a recording medium, such as a ROM/RAM, a magnetic disk, an optical disk, a flash memory, or the like.
The above description is intended to be illustrative of the preferred embodiment of the present invention and should not be taken as limiting the invention, but rather, the intention is to cover all modifications, equivalents, and alternatives falling within the spirit and scope of the invention.

Claims (9)

1. A train route handling method is characterized by comprising the following steps:
acquiring an access triggering request message from an automatic access message queue, and acquiring a train group number according to the access triggering request message;
acquiring a train control mode according to the train group number, and judging whether the train control mode is an automatic control mode;
if the control mode is an automatic control mode, obtaining train information according to the train group number, wherein the train information comprises a train type;
if the train type is a head yard train, acquiring a first route list through first route configuration information, and if the train type is a planned train, acquiring the first route list through route configuration information;
configuring route information to generate first route configuration information, wherein the first route configuration information is static data;
when the route information is configured and the first route configuration information is generated, second route configuration information can be generated according to directed graphs of all routes so that a user can manually check and modify the second route configuration information, and the modification of the second route configuration information by the user is received to obtain the first route configuration information;
and triggering the route according to the first route list.
2. The method of claim 1, wherein the step of obtaining the first routing list via routing configuration information is preceded by:
and configuring the traffic information of all the planned vehicles to generate the traffic configuration information, wherein the traffic configuration information comprises all traffic numbers, train running directions corresponding to each traffic number and a route list.
3. The method according to claim 1, wherein the train information further includes a current position of the train, a train operation mode, and a train operation direction, wherein if the train type is a head yard train, the train information further includes a destination code, and the step of obtaining the first route list through the first route configuration information includes:
determining a trigger zone according to the current position of the train and the working mode of the train;
judging whether the destination corresponding to the destination code reaches or whether the destination route is triggered;
if the destination does not reach and the destination route is not triggered, acquiring a route triggering record list corresponding to the train set number;
and screening the first route list from the first route configuration information according to the destination code, the train running direction, the triggering section and the route triggering record list.
4. The method of claim 3, wherein the first route configuration information includes reachable destination code information corresponding to each route, and the step of screening the first route list from the first route configuration information according to the destination code, the train moving direction, the trigger section and the route trigger record list comprises:
acquiring one or more triggerable routes and the reachable destination code information corresponding to each triggerable route from the first route configuration information according to the train running direction, the triggering section and the route triggering record list;
and judging whether the reachable destination code information contains the destination code, if so, judging that the triggerable route corresponding to the reachable destination code information belongs to the first route list.
5. The method according to claim 1, wherein the train information further includes a current location of the train, a train operation mode, and a train moving direction, wherein if the train type is a planned train, the train information further includes a route number, and the step of obtaining the first route list through the route configuration information includes:
determining a trigger zone according to the current position of the train and the working mode of the train;
searching a second route list corresponding to the traffic route number from the traffic route configuration information;
judging whether the last route in the second route list is triggered;
if not, acquiring a route triggering record list corresponding to the train set number;
and screening the first route list from the second route list according to the train running direction, the triggering section and the route triggering record list.
6. The method of claim 1, wherein said step of triggering an route based on said first route list comprises:
sorting the routes in the first route list according to the train running direction;
acquiring a route from the sorted first route list as a current route, and judging whether the current route meets a preset trigger condition;
if yes, issuing a command for handling the current route, and storing the information of the current route and the issued information of the command in the route trigger record list;
when receiving feedback information corresponding to the command, acquiring a handling state of a current route from the feedback information by adopting a registration callback mechanism, and storing the handling state into the route trigger record list;
and judging whether the current route is the last route in the sorted first route list, if so, determining that the route triggering is finished, and if not, skipping to the step of acquiring a route from the sorted first route list as the current route.
7. A train route transaction apparatus, comprising:
the system comprises a message acquisition unit, a route triggering unit and a route triggering unit, wherein the message acquisition unit is used for acquiring route triggering request messages from an automatic route message queue and acquiring train group numbers according to the route triggering request messages;
the control mode judging unit is used for acquiring a train control mode according to the train group number and judging whether the train control mode is an automatic control mode;
the train information acquisition unit is used for acquiring train information according to the train group number if the control mode is an automatic control mode, wherein the train information comprises a train type;
the route list acquiring unit is used for acquiring a first route list through first route configuration information if the train type is a head yard train, and acquiring the first route list through route crossing configuration information if the train type is a planned train;
the first route configuration unit is used for configuring the route information and generating first route configuration information, wherein the first route configuration information is static data;
the second route configuration unit is configured to configure the route information, and when the first route configuration information is generated, second route configuration information may be generated according to directed graphs of all routes, so that a user may perform manual verification and modification, and receive modification of the second route configuration information by the user, so as to obtain the first route configuration information;
and the route triggering unit is used for triggering a route according to the first route list.
8. A computing device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 6 when executing the computer program.
9. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 6.
CN202010805442.9A 2020-08-12 2020-08-12 Train route handling method, device, equipment and storage medium Active CN114074695B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010805442.9A CN114074695B (en) 2020-08-12 2020-08-12 Train route handling method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010805442.9A CN114074695B (en) 2020-08-12 2020-08-12 Train route handling method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114074695A CN114074695A (en) 2022-02-22
CN114074695B true CN114074695B (en) 2023-03-24

Family

ID=80280260

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010805442.9A Active CN114074695B (en) 2020-08-12 2020-08-12 Train route handling method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114074695B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115092215A (en) * 2022-05-24 2022-09-23 卡斯柯信号有限公司 Connection relation-based intersection checking method
CN115432039A (en) * 2022-08-30 2022-12-06 通号城市轨道交通技术有限公司 Protection section selection method and device, electronic equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102874279A (en) * 2012-09-26 2013-01-16 北京交控科技有限公司 Train route handling method
CN104462133A (en) * 2013-09-23 2015-03-25 北京南车时代信息技术有限公司 Automatic generating method and device for interlocking data sheet

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000038136A (en) * 1998-07-23 2000-02-08 Nippon Signal Co Ltd:The Train number indicator for train route control system, and train number display method in train route control system
CN103707905B (en) * 2013-12-05 2015-12-02 北京交控科技有限公司 The fixed automatic route of figure
CN105539526B (en) * 2016-01-29 2017-09-29 上海富欣智能交通控制有限公司 Rail transit train route control method
CN106828544B (en) * 2016-12-09 2018-11-23 交控科技股份有限公司 A kind of movement across lines route triggering method and device
CN109178041B (en) * 2018-08-13 2020-07-17 中铁二院工程集团有限责任公司 Automatic control system for urban rail vehicle station yard access
CN109649453A (en) * 2018-12-07 2019-04-19 天津津航计算技术研究所 A kind of train route handles method automatically
CN110481599B (en) * 2019-07-31 2021-09-10 交控科技股份有限公司 Method and device for processing route change of train
CN110901701B (en) * 2019-12-06 2021-08-03 上海富欣智能交通控制有限公司 Rail train route handling method and system
CN111353705B (en) * 2020-02-28 2021-04-06 交控科技股份有限公司 Urban rail transit multi-field route management system and comprehensive management and control system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102874279A (en) * 2012-09-26 2013-01-16 北京交控科技有限公司 Train route handling method
CN104462133A (en) * 2013-09-23 2015-03-25 北京南车时代信息技术有限公司 Automatic generating method and device for interlocking data sheet

Also Published As

Publication number Publication date
CN114074695A (en) 2022-02-22

Similar Documents

Publication Publication Date Title
CN114074695B (en) Train route handling method, device, equipment and storage medium
JP6614464B6 (en) Vehicle scheduling method, apparatus, equipment, and storage medium
JP5017866B2 (en) Travel route search system and method, travel route search server, and travel route search program
CN109032103A (en) Test method, device, equipment and the storage medium of automatic driving vehicle
CN109189081A (en) AGV dispatch control method and device
JP7336529B2 (en) AGV Abnormal Processing Method, Device, Electronic Device, and Storage Medium
CN110751334A (en) AGV (automatic guided vehicle) scheduling method and device based on intersection region prediction
CN112208590B (en) Train route control method and device based on static route table
CN108628299A (en) moving body, moving body control system and movable body control method
CN113821039A (en) Time window-based path planning method, device, equipment and storage medium
CN114407929A (en) Unmanned obstacle-detouring processing method and device, electronic equipment and storage medium
CN114281080B (en) Method for deadlock removal in AMR scheduling system
CN109945880B (en) Path planning method, related equipment and readable storage medium
CN112172872B (en) Method, device, electronic equipment and storage medium for detecting train conflict
CN116700298B (en) Path planning method, system, equipment and storage medium
CN112329277A (en) Indoor roadster test sequence compiling method and device based on CTCS-2
KR20210097440A (en) Method and apparatus for performing vehicle platooning
CN114170847B (en) Traffic control method of mobile robot system
CN114655280A (en) Train reversing control method and device and train
US20200033138A1 (en) Vehicle control system, management table production method, and recording medium
CN111114597B (en) Train tracking processing method of COCC automatic monitoring system
CN114910088B (en) Method, system and storage medium for planning mixed road path
KR102655720B1 (en) Apparatus and Method for Controlling Tree Structure-based Traffic for Multi AGV
CN107339995A (en) Guider and its transport information matching process
KR20240025753A (en) Method and device for setting up shared lock on area within airway

Legal Events

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