Turning back method and system of train
1. A method of turning back a train, comprising:
obtaining information of a turn-back section occupied by a target train;
under the condition that the number of the turning sections occupied by the target train is not less than 2 and the information of each turning section occupied by the target train contains target attribute information, taking the combination of the turning sections occupied by the target train as a turning area, and controlling the target train to turn back according to the turning area;
the target attribute information is used for representing that the turn-back section is a candidate section of a turn-back area of a target train.
2. The method for turning back a train according to claim 1, wherein, when the number of turning back sections occupied by the target train is not less than 2 and information of each of the turning back sections occupied by the target train includes target attribute information, a combination of the turning back sections occupied by the target train is used as a turning back area, and the target train is controlled to turn back according to the turning back area, the method includes:
acquiring a section ID corresponding to each pressure-occupied turn-back section based on the information of each pressure-occupied turn-back section;
and when the number of the turning sections occupied by the target train is not less than 2, the information of each turning section occupied by the target train contains target attribute information, and each turning section occupied by the target train is determined to be a continuous section based on a section ID corresponding to each turning section occupied by the target train, taking the combination of the turning sections occupied by the target train as a turning area, and controlling the target train to turn back according to the turning area.
3. The method for turning back a train according to claim 1 or 2, further comprising, before the acquiring information of the turning back section occupied by the target train, the steps of:
for each of the turnaround sections, in a case where the turnaround section is a candidate section of a target train turnaround area, adding the target attribute information to information of the turnaround section.
4. The method of turning back a train according to claim 1, further comprising, after the obtaining of the turning back section information of the target train occupancy:
and under the condition that the number of the turning sections with the pressure occupied by the target train is less than 2, taking the turning sections with the pressure occupied as turning areas, and controlling the target train to turn back according to the turning areas.
5. A fold back system for a train, comprising:
the acquisition module is used for acquiring the information of a turn-back section occupied by the target train;
the turn-back module is used for taking the combination of the turn-back sections with the pressure as a turn-back area and controlling the target train to turn back according to the turn-back area under the condition that the number of the turn-back sections with the pressure of the target train is not less than 2 and the information of each turn-back section with the pressure contains target attribute information;
the target attribute information is used for representing that the turn-back section is a candidate section of a turn-back area of a target train.
6. The foldback system of a train of claim 5, wherein the foldback module comprises:
an ID acquisition unit configured to acquire a segment ID corresponding to each of the pressure-occupied turn-back segments based on information of each of the pressure-occupied turn-back segments;
and the turning-back unit is used for controlling the target train to turn back according to the turning-back area under the condition that the number of turning-back sections occupied by the target train is not less than 2, the information of each turning-back section occupied by the pressure contains target attribute information, and each turning-back section occupied by the pressure is determined to be a continuous section based on a section ID corresponding to each turning-back section occupied by the pressure.
7. The foldback system of a train of claim 5 or 6, further comprising:
and the attribute configuration module is used for adding the target attribute information to the information of the turn-back section under the condition that the turn-back section is a candidate section of a target train turn-back area for each turn-back section.
8. The foldback system of a train of claim 5, further comprising:
and the turn-back module is also used for taking the turn-back sections occupying the pressure as turn-back areas under the condition that the number of the turn-back sections occupying the pressure of the target train is less than 2, and controlling the target train to turn back according to the turn-back areas.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the program implements the steps of the method of fold return of a train as claimed in any one of claims 1 to 4.
10. A non-transitory computer readable storage medium having stored thereon a computer program, wherein the computer program when executed by a processor implements the steps of a method of fold back for a train according to any of claims 1 to 4.
Background
On the basis of full-automatic operation of urban rail transit, a full-automatic driving system is assembled on a train, and dynamic marshalling of a large marshalling train in a peak time period and a small marshalling train in an off-peak time period is realized through a coupling decoupling technology.
However, due to the problem of line design, some of the folding areas can only meet the requirement that a small marshalling train folds back on one block, and the length of the folding area can not completely meet the single block length of the large marshalling train. Under the condition, the large marshalling train has the problems that a plurality of sections cannot be unlocked due to continuous pressure occupation or red light running in the turn-back process and the like, so that automatic turn-back failure is caused.
In the prior art, a route is usually designed to be a turn-back area which can meet the turn-back length of a large marshalling train, and the turn-back area can also meet the turn-back of a small marshalling train. Some lines cannot meet the design condition, and the design wastes line resources to a certain extent.
Disclosure of Invention
The invention provides a method and a system for turning back a train, which are used for solving the defect of automatic turning back failure caused by continuous pressure occupation of a plurality of sections of a large marshalling train in the prior art and realizing flexible automatic turning back of the train occupying a plurality of small marshalling turning back areas.
The invention provides a method for turning back a train, which comprises the following steps:
obtaining information of a turn-back section occupied by a target train;
under the condition that the number of the turning sections occupied by the target train is not less than 2 and the information of each turning section occupied by the target train contains target attribute information, taking the combination of the turning sections occupied by the target train as a turning area, and controlling the target train to turn back according to the turning area;
the target attribute information is used for representing that the turn-back section is a candidate section of a turn-back area of a target train.
According to the present invention, there is provided a method of turning back a train, wherein when the number of turning back sections occupied by a target train is not less than 2 and information of each of the turning back sections occupied by the target train includes target attribute information, a combination of the turning back sections occupied by the target train is used as a turning back area, and the target train is controlled to turn back according to the turning back area, the method including:
acquiring a section ID corresponding to each pressure-occupied turn-back section based on the information of each pressure-occupied turn-back section;
and when the number of the turning sections occupied by the target train is not less than 2, the information of each turning section occupied by the target train contains target attribute information, and each turning section occupied by the target train is determined to be a continuous section based on a section ID corresponding to each turning section occupied by the target train, taking the combination of the turning sections occupied by the target train as a turning area, and controlling the target train to turn back according to the turning area.
According to the method for turning back the train provided by the invention, before the information of the turning back section occupied by the target train is obtained, the method comprises the following steps:
for each of the turnaround sections, in a case where the turnaround section is a candidate section of a target train turnaround area, adding the target attribute information to information of the turnaround section.
According to the method for turning back the train provided by the invention, after the obtaining of the turning back section information of the occupied pressure of the target train, the method further comprises the following steps:
and under the condition that the number of the turning sections with the pressure occupied by the target train is less than 2, taking the turning sections with the pressure occupied as turning areas, and controlling the target train to turn back according to the turning areas.
The present invention also provides a turning back system of a train, comprising:
the acquisition module is used for acquiring the information of a turn-back section occupied by the target train;
the turn-back module is used for taking the combination of the turn-back sections with the pressure as a turn-back area and controlling the target train to turn back according to the turn-back area under the condition that the number of the turn-back sections with the pressure of the target train is not less than 2 and the information of each turn-back section with the pressure contains target attribute information;
the target attribute information is used for representing that the turn-back section is a candidate section of a turn-back area of a target train.
According to the invention, the turn-back module of the train comprises:
an ID acquisition unit configured to acquire a segment ID corresponding to each of the pressure-occupied turn-back segments based on information of each of the pressure-occupied turn-back segments;
and the turning-back unit is used for controlling the target train to turn back according to the turning-back area under the condition that the number of turning-back sections occupied by the target train is not less than 2, the information of each turning-back section occupied by the pressure contains target attribute information, and each turning-back section occupied by the pressure is determined to be a continuous section based on a section ID corresponding to each turning-back section occupied by the pressure.
According to the invention, the folding back system of the train further comprises:
and the attribute configuration module is used for adding the target attribute information to the information of the turn-back section under the condition that the turn-back section is a candidate section of a target train turn-back area for each turn-back section.
According to the invention, the turning-back system of the train further comprises:
and the turn-back module is also used for taking the turn-back sections occupying the pressure as turn-back areas under the condition that the number of the turn-back sections occupying the pressure of the target train is less than 2, and controlling the target train to turn back according to the turn-back areas.
The invention also provides an electronic device, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the program to realize the steps of the train turning method.
The present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the method of turning back a train as described in any of the above.
According to the method and the system for turning back the train, the marshalling condition of the train is judged according to the number of the turning-back sections occupying the pressure based on the information of the turning-back sections occupying the pressure of the target train, the condition that the train is a large marshalling train is known, and then the turning-back sections configuring the attribute information are connected through the target attribute information to form a large marshalling turning-back area, so that the line resource can be saved or the condition that the line resource is limited is avoided, and more flexible turning-back of the large marshalling train is realized.
Drawings
In order to more clearly illustrate the technical solutions of the present invention or the prior art, the drawings needed for the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
FIG. 1 is a schematic flow chart of a method for turning back a train according to the present invention;
FIG. 2 is a schematic diagram of a fold-back system of a train provided by the present invention;
fig. 3 is a schematic structural diagram of an electronic device provided in the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a schematic flow chart of a method for turning back a train according to the present invention. As shown in fig. 1, a method for turning back a train according to an embodiment of the present invention includes: and step 101, acquiring information of a return section occupied by the target train.
It can be understood that the urban rail transit signal system is generally composed of an Automatic Train Control (ATC), and the ATC includes three subsystems: an Automatic Train monitoring system (ATS), an Automatic Train Protection system (ATP), and an Automatic Train Operation system (ATO).
The three subsystems form a closed-loop system through an information exchange network, realize the combination of ground control and on-board control and the combination of local control and central control, and form an automatic train control system which is based on safety equipment and integrates the functions of train command, operation adjustment, train driving automation and the like.
The ATO system is used for adjusting the speed of the train by controlling the traction and the braking of the train, so that the train can run more stably, the arrival and the stop can be more accurate, and the switching between the head and the tail of the train can be completed more quickly to shorten the time required by turning back.
The ATP system is used to secure a safe separation distance between two trains by displaying a signal to a driver to prevent a collision (rear-end collision, head-on collision, or side collision).
The ATS system is used for keeping the balanced distance of all on-line trains by controlling the stop time of each train at a station and the running speed of each train in an interval, and avoiding congestion or large neutral gear among the trains.
The main body of the execution of the train folding back method is a train folding back system, and the target of the execution of the folding back method is a train provided with the train folding back system. The train can be a rail vehicle such as a subway, a train or a light rail, and the type of the train is not particularly limited in the embodiment of the invention.
Preferably, the target train is a subway train formed by connecting a plurality of cars together, wherein the train consist refers to the composition and the composition of the train, namely, the train types are combined in a preset number according to a corresponding arrangement mode.
The target train is classified into a large-consist train and a small-consist train according to the number of the vehicles in the train consist corresponding to the target train.
Preferably, the large consist train is an eight car consist and the small consist train is a four car consist.
The turning-back section is a section which is provided at a terminal station or an intermediate station at both ends of a line and is specially used for changing the running direction of a train to enable the turning-back train to run.
Specifically, the retracing system of the train acquires a retracing section of the pressure occupied when the target train stops, and acquires information of the retracing section from the ATC system.
The embodiment of the present invention does not specifically limit the content and storage manner of the information in the foldback section.
Preferably, the information of each turnaround section at least includes a turnaround section ID to know the turnaround section occupied by the train. And storing the data in a database in the ATS system in a table form, wherein the horizontal row of the table can be the ID of the foldback section, and the vertical column can be the related information field of the foldback section and the corresponding content thereof.
And 102, under the condition that the number of the turning sections occupied by the target train is not less than 2 and the information of the turning sections occupied by the target train contains the target attribute information, taking the combination of the turning sections occupied by the target train as a turning area, and controlling the target train to turn according to the turning area.
The target attribute information is used for representing the turn-back section as a candidate section of the turn-back area of the target train.
It should be noted that, in principle, each of the turnaround sections can be used as a turnaround area for a small consist. The target attribute information belongs to one kind of information of the foldback section. The information of each of the turnaround sections includes target attribute information indicating that the turnaround section can be used as a part of a turnaround area of the large train set for turnaround of the large train set.
Specifically, after the return system of the train acquires information of all return sections occupied by the target train, judging the occupied pressure condition of the target train from two aspects of the number of the occupied pressure return sections and the information content based on the acquired information, combining all the return sections occupied by the target train to obtain the return area of the target train under the condition that the acquired information of all the return sections of the occupied pressure condition meets the occupied pressure condition that the number of the return sections is not less than 2 and the information of all the return sections of the occupied pressure condition contains attribute information for representing that the return sections can be used as a part of the return area of the large marshalling train, and receiving a control instruction from an ATC system to enable the target train to return in the obtained return area.
The number of the pressure-occupied return sections is judged, the number of the pressure-occupied return sections is obtained according to the information of all the pressure-occupied return sections, and the pressure-occupied return sections are compared with a preset threshold value to obtain a comparison result. Wherein, the comparison result is divided into two types, one is qualified in comparison, and the other is unqualified in comparison.
And if the comparison is qualified, the number of the turning sections occupied by the target train is not less than 2, which indicates that the turning area of the target train needs to be formed by combining at least two turning sections.
And if the comparison is unqualified, the number of the turning sections occupied by the target train is less than 2, the turning area of the target train is the current occupied pressing turning section, and the combination is not needed.
The method for acquiring the number of the pressure-occupied return sections in the embodiment of the present invention is not particularly limited. For example, a sensor may be provided in the retrace section, and the ATC system automatically acquires the number of sensors that generate sensing when the train stops and transmits the number of sensors to the retrace system of the train. The number of the sections can be counted by the train turning-back system according to the section ID in the obtained turning-back section information with the pressure.
And judging the information content of the secondary pressure folding section, searching according to the information of each compressed folding section and the target attribute information to obtain a query result. The query result is divided into two types, one is a successful query, and the other is a failed query.
If the query is successful, that is, the information of each occupied folded section contains the target attribute information, it indicates that all the occupied folded sections can be combined into the folded area of the target train.
And if the query fails, the information of at least one occupied turning section does not contain the target attribute information, and the result shows that all occupied turning sections cannot be combined into the turning area of the target train.
It can be understood that the storage form set for the target attribute information determines the determination manner of the information content occupying the fold-back section, and the storage form of the target attribute information and the determination method of the information content occupying the fold-back section are not particularly limited in the embodiment of the present invention.
For example, the target attribute information may be added to corresponding fields in the train turning-back section information in the form of storage of characters "Y" and "N", and when the information content of the occupied turning-back section is judged, the character content may be retrieved under the corresponding field of each of the pressed turning-back section information. The results of retrieving the character content can also be counted, if the total number of the Y is equal to the number of the pressed turning sections, the result is that the query is successful, and the results corresponding to all the other conditions are that the query is failed.
The embodiment of the invention judges the marshalling condition of the train according to the number of the retracing sections occupying the pressure of the target train based on the information of the retracing sections occupying the pressure of the target train, and connects and configures the retracing sections of the attribute information to form a large marshalling retracing area through the target attribute information after acquiring the condition that the train is a large marshalling train, thereby saving line resources or avoiding the condition of being limited by the line resources and realizing more flexible retracing of the large marshalling train.
In addition to any of the above embodiments, when the number of the turning sections occupied by the target train is not less than 2 and the information of the turning sections of each occupied pressure includes the target attribute information, a combination of the turning sections of each occupied pressure is used as a turning area, and the target train is controlled to turn back according to the turning area, the method includes:
based on the information of the turn-back sections of each pressure, the section ID corresponding to the turn-back section of each pressure is acquired.
Specifically, the train turning-back system acquires the section ID of each turned-back section under the occupied pressure from the information of the turned-back section under the occupied pressure acquired in step S101.
And when the number of the turning sections occupied by the target train is not less than 2, the information of the turning sections of each occupied pressure comprises target attribute information, and the turning sections of each occupied pressure are determined to be continuous sections based on the section ID corresponding to the turning sections of each occupied pressure, the combination of the turning sections of each occupied pressure is used as a turning area, and the target train is controlled to turn back according to the turning area.
Specifically, the turning-back system of the train judges the continuous condition of the turning-back sections occupied by the pressure according to the acquired section IDs of all the turning-back sections occupied by the target train, combines all the turning-back sections occupied by the target train to obtain a turning-back area of the target train when three conditions are met, and receives a control instruction from the ATC system, so that the target train turns back in the turning-back area.
The first condition is that the number of the turning sections meeting the pressure occupation condition is not less than 2 when the pressure occupation condition is known; the information of the turn-back sections under the second condition comprises attribute information for representing that the turn-back sections can be used as part of a turn-back area of the large-marshalling train; the third condition is that all the turn sections of the pressure are continuous.
The embodiment of the invention judges the marshalling condition of the train according to the number of the retracing sections occupying the pressure based on the information of the retracing sections occupying the pressure of the target train, and then connects and configures the retracing sections of the attribute information according to the sequence of the target attribute information to form the large marshalling retracing area after acquiring the condition that the train is a large marshalling train.
On the basis of any of the above embodiments, before acquiring information of a turnaround section occupied by a target train, the method further includes:
for each of the turnaround sections, in the case where the turnaround section is a candidate section of the target train turnaround area, target attribute information is added to information of the turnaround section.
It should be noted that the information of all the turnaround sections is stored in the database of the train turnaround system and/or the database of the ATC system, and the storage of the information of the turnaround sections is not particularly limited in the embodiment of the present invention.
Specifically, all the fold-back sections are counted, and for each fold-back section required to be a fold-back area of a large-consist train, target attribute information for characterizing the fold-back area combinable into the large-consist train is added under a corresponding field in the information of the fold-back section.
The embodiment of the invention is based on configuring the target attribute information of the turn-back sections which can be used as the turn-back areas of the turn-back of the large marshalling train, so that the small marshalling train can be normally turned back, and the turn-back sections with the attribute can be sequentially connected and configured through the attribute to form the turn-back areas of the large marshalling train.
On the basis of any of the above embodiments, after obtaining the information of the turning back section of the target train occupation pressure, the method further includes: and when the number of the turning sections occupying the pressure of the target train is less than 2, taking the turning sections occupying the pressure as turning areas, and controlling the target train to turn according to the turning areas.
Specifically, in step S102, after the turning-back system of the train acquires information of all turning-back sections of the target train occupation pressure, the number of the turning-back sections of the occupation pressure is acquired based on the acquired information of all turning-back sections of the occupation pressure, and is compared with a preset threshold value to acquire a comparison result. And if the comparison result is unqualified, namely the number of the turning sections occupying the pressure of the target train is less than 2, taking the turning section occupying the pressure of the target train at present as the turning area of the target train, and receiving a control command from the ATC system to turn the target train in the obtained turning area.
An example of an embodiment of setting a train turnaround will now be described.
For example, in principle, each small consist train can normally make a retrace pass in a retrace section, so when occupying one retrace section, the train retrace system directly receives an ATC command to make a retrace in the retrace section. Therefore, when a train stops at the turnaround block _41 and turnaround block _42, the train is a large-consist train.
As known from the train foldback system, block _41 and block _42 are each marked with target attribute information "Y," indicating that these two foldback zones can be combined into a foldback region of the train, i.e., area _ block _41+ block _42 or area _ block _42+ block _ 41. When the area of the train is a combination of block _41 and block _42, the original route of the train is folded from a small mileage to a large mileage. When the area of the retracing is a combination of block _42+ block _41, the travel route of the train is to be retraced from a big mileage to a small mileage. The retracing area formed by combining the retracing sections can be used for retracing the trains in two driving directions.
When a train stops at a retracing section block _41 and a retracing section block _42, the train retracing system learns that both block _41 and block _42 are marked with target attribute information 'Y', which indicates that the two retracing sections can be combined into a retracing section of the train, and determines that block _41 and block _42 are continuous sections through section IDs, the retracing sections are combined in a front-back sequence, which can be represented as area _41+ block _42, that is, the travel route of the train is retraced from a small mileage to a large mileage.
The method and the device for judging the train formation condition of the small-formation train can enable the small-formation train to normally turn back on the turn-back section with the current pressure on the basis of the information of the turn-back section with the pressure occupied by the target train and judge the train formation condition of the train through the number of the turn-back sections with the pressure occupied.
Fig. 2 is a schematic structural diagram of a train folding system provided by the present invention. Based on the content of any of the above embodiments, as shown in fig. 2, the system includes: an acquisition module 210 and a foldback module 220, wherein:
the acquisition module is used for acquiring the information of a turn-back section occupied by the target train;
the turn-back module is used for taking the combination of the turn-back sections with each pressure as a turn-back area and controlling the target train to turn back according to the turn-back area under the condition that the number of the turn-back sections with the pressure occupied by the target train is not less than 2 and the information of the turn-back sections with each pressure contains target attribute information;
the target attribute information is used for representing the turn-back section as a candidate section of the turn-back area of the target train.
Specifically, the acquisition module 210 and the foldback module 220 are electrically connected in sequence.
The obtaining module 210 obtains a turnaround section occupied by the pressure of the target train when the target train stops, and obtains information of the turnaround section from the ATC system.
After the turning-back module 220 acquires the information of all turning-back sections occupied by the target train, the number and the information content of the turning-back sections occupied by the target train are judged based on the acquired information, under the condition that the occupied pressure condition of the target train is not less than 2, the number of the turning-back sections of which the occupied pressure condition meets the occupied pressure is acquired, and the information of each turning-back section of the occupied pressure contains attribute information which is used for representing that the turning-back section can be used as a part of a large marshalling train turning-back area, all the turning-back sections occupied by the target train are combined to obtain the turning-back area of the target train, and a control instruction from an ATC system is received, so that the target train turns back in the obtained turning-back area.
The target attribute information is used for representing the turn-back section as a candidate section of the turn-back area of the target train.
On the basis of any of the above embodiments, the foldback module 220 includes an ID acquisition unit and a foldback unit, where:
an ID acquisition unit for acquiring a section ID corresponding to a turn-back section of each pressure on the basis of information of the turn-back section of each pressure;
and the turning-back unit is used for controlling the target train to turn back according to the turning-back area under the condition that the number of the turning-back sections occupied by the target train is not less than 2, the information of the turning-back sections of each occupied pressure comprises target attribute information, and the turning-back sections of each occupied pressure are determined to be continuous sections based on the section ID corresponding to the turning-back sections of each occupied pressure.
On the basis of any one of the above embodiments, the folding system of a train further includes an attribute configuration module, wherein:
and the attribute configuration module is used for adding target attribute information to the information of the turn-back section under the condition that the turn-back section is a candidate section of the target train turn-back area for each turn-back section.
On the basis of any one of the above embodiments, the folding back system of a train further includes:
and the turn-back module is also used for taking the turn-back sections occupying the pressure as turn-back areas under the condition that the number of the turn-back sections occupying the pressure of the target train is less than 2, and controlling the target train to turn back according to the turn-back areas.
The train turning-back system provided by the embodiment of the invention is used for executing the train-based turning-back method provided by the invention, and the implementation mode of the train-based turning-back system is consistent with that of the train turning-back method provided by the invention, and the same beneficial effects can be achieved, and the details are not repeated here.
The embodiment of the invention judges the marshalling condition of the train according to the number of the retracing sections occupying the pressure of the target train based on the information of the retracing sections occupying the pressure of the target train, and connects and configures the retracing sections of the attribute information to form a large marshalling retracing area through the target attribute information after acquiring the condition that the train is a large marshalling train, thereby saving line resources or avoiding the condition of being limited by the line resources and realizing more flexible retracing of the large marshalling train.
Fig. 3 illustrates a physical structure diagram of an electronic device, which may include, as shown in fig. 3: a processor (processor)310, a communication interface (communication interface)320, a memory (memory)330 and a communication bus 340, wherein the processor 310, the communication interface 320 and the memory 330 communicate with each other via the communication bus 340. The processor 310 may invoke logic instructions in the memory 330 to perform a method of train turnaround, the method comprising: obtaining information of a turn-back section occupied by a target train; under the condition that the number of the turning sections occupied by the target train is not less than 2 and the information of each turning section occupied by the target train contains target attribute information, taking the combination of the turning sections occupied by the target train as a turning area and controlling the target train to turn back according to the turning area; the target attribute information is used for representing the turn-back section as a candidate section of the turn-back area of the target train.
In addition, the logic instructions in the memory 330 may be implemented in the form of software functional units and stored in a computer readable storage medium when the software functional units are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
In another aspect, the present invention also provides a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, enable the computer to perform a method of turning back a train provided by the above methods, the method comprising: obtaining information of a turn-back section occupied by a target train; under the condition that the number of the turning sections occupied by the target train is not less than 2 and the information of each turning section occupied by the target train contains target attribute information, taking the combination of the turning sections occupied by the target train as a turning area and controlling the target train to turn back according to the turning area; the target attribute information is used for representing the turn-back section as a candidate section of the turn-back area of the target train.
In yet another aspect, the present invention also provides a non-transitory computer-readable storage medium having stored thereon a computer program which, when executed by a processor, is implemented to perform the method for turning back a train provided above, the method comprising: obtaining information of a turn-back section occupied by a target train; under the condition that the number of the turning sections occupied by the target train is not less than 2 and the information of each turning section occupied by the target train contains target attribute information, taking the combination of the turning sections occupied by the target train as a turning area and controlling the target train to turn back according to the turning area; the target attribute information is used for representing the turn-back section as a candidate section of the turn-back area of the target train.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
- 上一篇:石墨接头机器人自动装卡簧、装栓机
- 下一篇:列车停站方法、装置、电子设备和存储介质