Method and device for adjusting interconnection cross-line operation diagram
1. A method for adjusting an interconnection cross-line operation diagram is characterized by comprising the following steps:
if the train has early and late points on the local line of the cross-line adjustment model and the adjustment state obtained based on the first working diagram adjustment algorithm is failed, obtaining the adjustment result of the train on the local line;
determining whether the last adjusting station in the adjusting result on the local line is an overline station or not according to the overline adjusting model;
if the last adjusting station is an inter-line station, adjusting the running chart of the train on an adjacent line based on a second running chart adjusting algorithm;
the crossover line adjusting model comprises at least one crossover line station, a plurality of local lines and adjacent lines, wherein each local line and each adjacent line take the crossover line station as a dividing point, and the local line and the adjacent lines are connected in a front-back mode.
2. The method of claim 1, further comprising:
and if the final adjusting station is not the cross-line station, recovering the target operation plan of the train.
3. The method for adjusting an interconnection and interworking overline operation diagram according to claim 1, wherein if the last adjustment station is an overline station, adjusting the overline operation diagram of the train on an adjacent line according to an operation diagram adjustment algorithm comprises:
sending the adjustment result of the last adjustment station to a line crossing station in the adjacent line;
and adjusting the running chart of the train on the adjacent line based on a second running chart adjusting algorithm.
4. The method for adjusting an interconnection and interworking overline operation diagram according to claim 1, wherein if the last adjustment station is an overline station, after the train is adjusted on an adjacent line by an overline operation diagram adjustment algorithm, the method comprises:
if the adjustment state in the adjustment result is successful, sending a notice to the local line where the train is located, updating the adjustment result of the train cross-line operation diagram, and enabling the train to run according to the updated operation diagram;
and if the adjustment state in the adjustment result is failure, recovering the target operation plan of the train.
5. The method for adjusting an interconnection cross-line working diagram according to claim 2 or 4, wherein the restoring the target operation plan of the train comprises:
if the adjustment state is failure only through the first operation diagram adjustment algorithm on the local line, only recovering the operation diagram of the copy line, and notifying manual control;
and if the adjustment state obtained on the adjacent line is failed through the second operation diagram adjustment algorithm, the adjacent line is recovered, and then the line is informed to recover the operation diagram, and manual control is informed.
6. The method for adjusting the interconnection overline operation graph according to claim 1, 3 or 4, wherein the method further comprises:
setting a maximum adjusting station number in advance through configuration, wherein a default value is the number from a current station to a last station of a line where the current station is located, and the default value is used for representing the maximum station number which can be adjusted when an operation diagram adjusting algorithm receives an adjusting point;
within the range of the maximum number of stations to be adjusted, adjusting the current operation plan back to the target operation plan, and indicating that the adjustment is successful;
if the current operation plan cannot be adjusted back to the target operation plan within the range of the maximum adjustment station number or adjusted to the last station, the adjustment is failed.
7. An apparatus for adjusting an interconnection cross-line operation diagram, comprising:
the train online adjustment system comprises an acquisition module, a judging module and a control module, wherein the acquisition module is used for acquiring an adjustment result of a train on a local line if the train has an early point and a late point on the local line of an overline adjustment model and the adjustment state obtained based on a first operation diagram adjustment algorithm is failed;
the judging module is used for determining whether the last adjusting station in the adjusting result on the local line is an overline station or not according to the overline adjusting model;
the adjusting module is used for adjusting the running chart of the train on the adjacent line based on a second running chart adjusting algorithm if the last adjusting station is the line crossing station;
the crossover line adjusting model comprises at least one crossover line station, a plurality of local lines and adjacent lines, wherein each local line and each adjacent line take the crossover line station as a dividing point, and the local line and the adjacent lines are connected in a front-back mode.
8. An electronic device comprising a processor and a memory storing a computer program, wherein the processor when executing the computer program performs the steps of the method of inter-working interconnection overline graph adjustment according to any of claims 1 to 6.
9. 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 the method of interworking cross-line graph adjustment of any of claims 1 to 6.
Background
The 'interconnection and intercommunication' of urban rail transit means that trains can be safely operated in lines or networks containing equipment of different manufacturers, destinations can be reached without transfer, a novel operation mode of 'fast driving at a large station' can be realized, and the travel time of passengers is shortened. In addition, resource sharing can be realized, the construction, maintenance and operation costs of rail transit are reduced, comprehensive standby of vehicles on different lines is facilitated, and line transformation and extension are facilitated.
The train operation diagram (hereinafter referred to as operation diagram) is a technical file for representing the operation of trains in railway sections and the arrival, departure and passing time of trains in stations, and defines the procedure of occupying the sections by trains of each train number. The operation diagram is a time of a train in a state of running in each section and stopping or passing at each station, is an illustration of a relation between time and space, and is also a two-dimensional line diagram.
The operation chart adjustment refers to a process of adjusting the subsequent operation plan to the matching target operation plan as much as possible when the actual operation occurs early or late. At present, each urban rail transit signal manufacturer has a mature single-line operation diagram adjusting algorithm, and the core logic of the algorithm is realized by adjusting the arrival and departure time and the interval operation time of the subsequent stop of the current train. With the continuous development of urban rail transit, subway lines form networks, and interconnection and intercommunication among the lines gradually become a normal state. In this context, the single-wire operation adjustment algorithm cannot meet the requirement of cross-wire operation.
Disclosure of Invention
Aiming at the problems in the prior art, the invention provides a method and a device for adjusting an interconnection cross-line operation diagram.
In a first aspect, the present invention provides a method for adjusting an interconnection cross-line operation diagram, including:
if the train has early and late points on the local line of the cross-line adjustment model and the adjustment state obtained based on the first working diagram adjustment algorithm is failed, obtaining the adjustment result of the train on the local line;
determining whether the last adjusting station in the adjusting result on the local line is an overline station or not according to the overline adjusting model;
if the last adjusting station is an inter-line station, adjusting the running chart of the train on an adjacent line based on a second running chart adjusting algorithm;
the crossover line adjusting model comprises at least one crossover line station, a plurality of local lines and adjacent lines, wherein each local line and each adjacent line take the crossover line station as a dividing point, and the local line and the adjacent lines are connected in a front-back mode.
The method for adjusting the interconnection and intercommunication cross-line operation diagram provided by the invention further comprises the following steps:
and if the final adjusting station is not the cross-line station, recovering the target operation plan of the train.
According to the method for adjusting the interconnection and intercommunication overline operation diagram provided by the invention, if the last adjusting station is an overline station, the overline operation diagram of the train on the adjacent line is adjusted according to an operation diagram adjusting algorithm, and the method comprises the following steps:
sending the adjustment result of the last adjustment station to a line crossing station in the adjacent line;
and adjusting the running chart of the train on the adjacent line based on a second running chart adjusting algorithm.
The method for adjusting the interconnection and intercommunication overline operation diagram provided by the invention is characterized in that if the last adjusting station is an overline station, the method comprises the following steps of adjusting the overline operation diagram of the train on an adjacent line according to an operation diagram adjusting algorithm:
if the adjustment state in the adjustment result is successful, sending a notice to the local line where the train is located, updating the adjustment result of the train cross-line operation diagram, and enabling the train to run according to the updated operation diagram;
and if the adjustment state in the adjustment result is failure, recovering the target operation plan of the train.
According to the method for adjusting the interconnection and intercommunication cross-line operation diagram provided by the invention, the recovering of the target operation plan of the train comprises the following steps:
if the adjustment state is failure only through the operation diagram adjustment algorithm on the local line, only the operation diagram of the copy line is recovered, and manual control is informed;
if the adjustment state is failure through the operation diagram adjustment algorithm on the adjacent line, the operation diagram of the adjacent line is recovered, then the line is informed to recover the operation diagram, and manual control is informed.
The method for adjusting the interconnection and intercommunication cross-line operation diagram provided by the invention is characterized by further comprising the following steps of:
setting a maximum adjusting station number in advance through configuration, wherein a default value is the number from a current station to a last station of a line where the current station is located, and the default value is used for representing the maximum station number which can be adjusted when an operation diagram adjusting algorithm receives an adjusting point;
within the range of the maximum number of stations to be adjusted, adjusting the current operation plan back to the target operation plan, and indicating that the adjustment is successful;
if the current operation protection cannot be adjusted back to the target operation plan within the range of the maximum adjustment station number or adjusted to the last station, the adjustment is failed.
In a second aspect, the present invention provides an apparatus for adjusting an interconnection cross-line operation diagram, including:
the train online adjustment system comprises an acquisition module, a judging module and a control module, wherein the acquisition module is used for acquiring an adjustment result of a train on a local line if the train has an early point and a late point on the local line of an overline adjustment model and the adjustment state obtained based on a first operation diagram adjustment algorithm is failed;
the judging module is used for determining whether the last adjusting station in the adjusting result on the local line is an overline station or not according to the overline adjusting model;
the adjusting module is used for adjusting the cross-line operation diagram of the train on the adjacent line based on a second operation diagram adjusting algorithm if the last adjusting station is the cross-line station;
the crossover line adjusting model comprises at least one crossover line station, a plurality of local lines and adjacent lines, wherein each local line and each adjacent line take the crossover line station as a dividing point, and the local line and the adjacent lines are connected in a front-back mode.
In a third aspect, the present invention provides an electronic device, including a processor and a memory storing a computer program, where the processor implements the steps of the method for adjusting the interconnection and interworking cross-line operation graph in the first aspect when executing the program.
In a fourth aspect, the present invention provides a processor-readable storage medium, which stores a computer program for causing a processor to execute the steps of the method for interconnecting and interworking overline operation graph adjustment of the first aspect.
The invention provides a method and a device for adjusting an interconnection cross-line operation diagram, which can realize reliable cross-line operation diagram adjustment by providing an operation diagram adjustment algorithm standard; and the operation diagrams of different manufacturers can be adjusted according to the standard, and the requirement of complex overline application is met.
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 adjusting an interconnection cross-line operation diagram according to the present invention;
FIG. 2 is a schematic diagram of a cross-line tuning model provided by the present invention;
FIG. 3 is a schematic diagram of "tune to/fire point" provided by the present invention;
FIG. 4 is an overall flow chart for adjusting the interconnection cross-line operation diagram provided by the present invention;
FIG. 5 is a diagram of the distribution of river jumper and Chongqing No. 5 line station provided by the present invention;
FIG. 6 is a diagram illustrating an example of adjusting the cross-line operation of 01001 in the present invention;
FIG. 7 is a schematic structural diagram of an apparatus for adjusting an interconnection cross-line diagram according to the present invention;
fig. 8 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.
The following describes a method and an apparatus for adjusting an interconnection cross-line operation diagram according to the present invention with reference to fig. 1 to 8.
Fig. 1 is a schematic flowchart of a method for adjusting an interconnection cross-line operating diagram provided in the present invention, and as shown in fig. 1, the method for adjusting an interconnection cross-line operating diagram includes:
step 101, if the train has early and late points on the local line of the cross-line adjustment model and the adjustment state obtained based on the first operation diagram adjustment algorithm is failed, obtaining the adjustment result of the train on the local line;
102, determining whether the last adjusting station in the adjusting result on the local line is an inter-line station or not according to the inter-line adjusting model;
103, if the final adjusting station is an inter-line station, adjusting the running chart of the train on an adjacent line based on a second running chart adjusting algorithm;
the crossover line adjusting model comprises at least one crossover line station, a plurality of local lines and adjacent lines, wherein each local line and each adjacent line take the crossover line station as a dividing point, and the local line and the adjacent lines are connected in a front-back mode.
Specifically, in order to realize interconnection and intercommunication of trains, namely train cross-line operation, it is a prerequisite guarantee to ensure that trains are sent in a corresponding operation diagram in a point-to-point manner. In order to realize the train cross-line operation in a point-to-point manner, the invention provides a cross-line adjustment model, which means that when a train is operated in a cross-line manner, a corresponding operation diagram is provided with a cross-line station, the operation line is divided into a local line and an adjacent line, the local line and the adjacent line are connected in a front-to-back manner, the local line is in the front, and the adjacent line is in the back, so that the operation line is correspondingly divided into a plurality of local lines and adjacent lines.
Fig. 2 is a schematic diagram of the cross-line model provided by the present invention, as shown in fig. 2, a train (one operation line in the operation diagram) starts from line 1 and performs cross-line operation, and only line 2 or line 4 can be selected to perform operation after arriving at the cross-line station. Because the operation chart adjustment is performed by taking a train (operation line) as a minimum unit, all the operation lines to be adjusted are connected back and forth in the cross-line adjustment process, and the condition of bifurcation does not exist. Based on the above, the complex line crossing situation can be decomposed into a plurality of models of 'local line + adjacent line'. Taking the case of fig. 1 as an example, it can be defined as a model of "(line 1) + adjacent line (line 2) ' +" (line 1) + adjacent line (line 4) ' + "(line 2) + adjacent line (line 3) '".
The train firstly runs on a local line of an over-line adjustment model, an actual arrival and departure point of the train on the local line is determined, the actual arrival and departure point is compared with a departure point of each station in a target running plan of the train, if the actual arrival and departure time of the train on the local line is earlier than or later than the arrival and departure time of the station in the target running plan, the arrival and departure time comprises: arrival time and departure time, for example, at a certain station A of the line 1, the arrival time t0 in the target operation plan is (10: 22: 05, 10: 23: 00), and the actual arrival time t1 is (10: 22: 55, 10: 23: 40), then the train has a late situation at the station A; if the actual arrival time t2 is (10: 20: 00, 10: 20: 55), the train has an early arrival condition at station A.
And if the train is a cross-line station, a second operation chart adjusting algorithm is applied to the adjacent line to adjust the operation chart of the train on the adjacent line.
The invention provides a method for adjusting an interconnection cross-line operation diagram, which realizes reliable cross-line operation diagram adjustment by providing an operation diagram adjustment algorithm standard; and the operation diagrams of different manufacturers can be adjusted according to the standard, and the requirement of complex overline application is met.
Optionally, the method further includes:
and if the final adjusting station is not the line crossing station, recovering the current day planned operation diagram of the train.
Specifically, if the final adjustment station is determined not to be an inter-line station, that is, the adjustment result obtained by the first operation diagram adjustment algorithm on the local line reflects that the corresponding adjustment state is a failure, the operation diagram of the train on the local line, that is, the target operation plan, is recovered, and an adjustment failure notification is sent for manual intervention.
The invention provides a method for adjusting an interconnection cross-line operation diagram, which realizes reliable cross-line operation diagram adjustment by providing an operation diagram adjustment algorithm standard; and the operation diagrams of different manufacturers can be adjusted according to the standard, and the requirement of complex overline application is met.
Optionally, if the last adjustment station is an inter-line station, adjusting the inter-line working diagram of the train on the adjacent line according to a working diagram adjustment algorithm includes:
sending the adjustment result of the last adjustment station to a line crossing station in the adjacent line;
and adjusting the running chart of the train on the adjacent line based on a second running chart adjusting algorithm.
Specifically, the single-line operation diagram adjustment algorithm is adjusted according to the 'actual arrival point' of the train, and obviously, the method cannot meet the requirement of cross-line operation. As shown in fig. 3, it is assumed that the train arrives at the local station a and a late point occurs, the local operation diagram adjustment algorithm starts to adjust, and if the train is adjusted to the cross-line station and is not adjusted to return to the target planned operation, the single-line operation diagram adjustment algorithm returns a result that the adjustment state is failed. For the adjustment of the overline, the above-mentioned situation is not adjusted and is ended, the adjustment result of the overline station should be transmitted to the adjacent line, and further adjusted by the operation chart adjustment algorithm of the adjacent line.
Therefore, a new "adjust to issue" type is required, and the value of the new "adjust to issue" type is the adjustment result (adjusted arrival/issue time of the line crossing station) of the line running chart adjustment algorithm to the line crossing station. The neighbor-run graph adjustment algorithm may be adjusted according to the arrival point adjustment logic, but to distinguish that it is not an actual arrival point.
And according to an adjustment result obtained by applying a first operation diagram adjustment algorithm on the current line, determining that the adjustment state in the adjustment result is failure, and when the final adjustment station is an overline station, sending the adjustment result to a corresponding overline station on a corresponding adjacent line in the overline adjustment model, and applying a second operation diagram adjustment algorithm from a new overline station to a starting point on the adjacent line to adjust the operation diagram of the train.
The invention provides a method for adjusting an interconnection cross-line operation diagram, which realizes reliable cross-line operation diagram adjustment by providing an operation diagram adjustment algorithm standard; and the operation diagrams of different manufacturers can be adjusted according to the standard, and the requirement of complex overline application is met.
Optionally, if the last adjustment station is an inter-line station, adjusting the inter-line working diagram of the train on the adjacent line according to a working diagram adjustment algorithm includes:
if the adjustment state in the adjustment result is successful, sending a notice to the local line where the train is located, updating the adjustment result of the train cross-line operation diagram, and enabling the train to run according to the updated operation diagram;
and if the adjustment state in the adjustment result is failure, recovering the current day planned operation diagram of the train.
Specifically, the adjustment result includes an adjustment state and a last adjustment station, the adjustment state includes success or failure of adjustment, and the last adjustment station indicates time and interval information after adjustment of the station.
Optionally, the recovering the target operation plan of the train includes:
if the adjustment state is failure only through the first operation chart adjustment algorithm on the local line, only recovering the target operation plan of the copy line, and notifying manual control;
and if the adjustment state obtained on the adjacent line is failed through a second operation chart adjustment algorithm, the adjacent line is informed to recover the operation chart after the target operation plan of the adjacent line is recovered, and manual control is informed.
Specifically, the target operation plan of the train includes a target operation plan of the local line and an adjacent line, and if the adjustment state in the adjustment result obtained by the first operation diagram adjustment algorithm on the local line is a failure and the final adjustment station is not an inter-line station, only the operation diagram on the local line, that is, the target operation plan on the local line is restored.
If the adjustment state in the first adjustment result obtained by the first operation diagram adjustment algorithm on the local line is failed, namely the current operation plan cannot be adjusted back to the target operation plan within the range of the maximum adjustment station number or adjusted to the last station on the local line, and the last adjustment station is a cross-line station, a second operation diagram adjustment algorithm needs to be further adopted on the adjacent line, the current operation plan cannot be adjusted back to the target operation plan within the range of the maximum adjustment station number or adjusted to the last station, namely the adjustment state in the second adjustment result is failed, the operation diagram of the adjacent line is recovered to the target operation plan of the adjacent line, and meanwhile, the corresponding local line in the cross-line adjustment model, namely the local line associated with the adjacent line, is notified to the target operation plan corresponding to the adjacent line, and finally, the manual control is notified, so that the authority can be handed over to the manual control under the condition that the adjustment cannot be performed, the reliability is improved.
Optionally, the method further includes:
setting a maximum adjusting station number in advance through configuration, wherein a default value is the number from a current station to a last station of a line where the current station is located, and the default value is used for representing the maximum station number which can be adjusted when an operation diagram adjusting algorithm receives an adjusting point;
within the range of the maximum number of stations to be adjusted, adjusting the current operation plan back to the target operation plan, and indicating that the adjustment is successful;
if the current operation plan cannot be adjusted back to the target operation plan within the range of the maximum adjustment station number or adjusted to the last station, the adjustment is failed.
Specifically, the maximum number of adjusting stations can be set manually according to experience or according to a statistical result, so that the calculation is performed by circularly applying a running chart adjusting algorithm to avoid consuming excessive resources on the same local line or adjacent lines, and the calculation efficiency is improved.
If the maximum adjusting station number setting value is too large, all stations can be circularly calculated on the local line or the adjacent line for many times, so that resource waste is caused;
if the maximum adjusting station number setting value is too small, all stations may not be circulated once on the local line or the adjacent line, that is, a judgment result is given, so that the obtained adjusting result is not accurate enough.
The adjustment result comprises an adjustment state and a final adjustment station, wherein the adjustment state comprises adjustment success and adjustment failure. The adjustment state is successful, which means that the current operation plan of the current line and/or the adjacent line is adjusted back to the target operation plan within the range of the maximum adjustment station number. The final adjustment station comprises: the local station name and the arrival time.
The adjustment state is adjustment failure, which means that the current operation plan of the current line and/or the adjacent line cannot be adjusted back to the target operation plan within the range of the maximum adjustment station number or adjusted to the last station.
The invention provides a method for adjusting an interconnection cross-line operation diagram, which realizes reliable cross-line operation diagram adjustment by providing an operation diagram adjustment algorithm standard; and the operation diagrams of different manufacturers can be adjusted according to the standard, and the requirement of complex overline application is met.
The overall process of the present invention is described below by taking fig. 4 as an example.
The complex cross-line condition can be simplified into a plurality of independent local line and adjacent line models, so the core of the model is a cross-line adjustment process of a single local line and adjacent line model. Fig. 4 shows a flow chart of the "local line + neighboring line" model, and the following describes the steps of the flow chart:
1. the actual arrival point of the train is generated on the local line, and 2 is entered;
2. judging whether the early or late stage is carried out, if so, carrying out 3, and if not, carrying out 10;
3. the adjustment algorithm of the running chart of the line carries out the adjustment of the running chart according to the actual early and late arrival conditions of the train, the adjustment is successfully carried out by 10, and the adjustment is failed by 4;
4. acquiring an adjusting end station, judging whether the station is an overline station, and if so, entering 5, and if not, entering 8;
5. the result of the adjustment algorithm of the line to the line crossing station (the arrival time at the line crossing station after adjustment) is taken as an 'adjustment arrival/departure point' and sent to the line crossing, step 6;
6. the cross-line adjustment algorithm adjusts the operation chart according to the 'adjustment to/sending point', and the step 7 is carried out;
7. judging whether the operation chart is adjusted successfully, if so, entering 9, and if not, entering 8;
8. restoring the running chart, namely restoring only the copy line running chart if only the local line adjusting algorithm adjusts the running chart, and informing the local line to restore the running chart after the adjacent line running chart needs to be restored if the adjacent line adjusting algorithm adjusts the running chart;
9. informing that the adjustment of the local line is successful;
10. and (6) ending.
For more complete explanation, the river jump line-Chongqing No. 5 line overline adjustment is taken as an example for explanation. Fig. 5 is a distribution diagram of river jumper and Chongqing No. 5 line station provided by the invention. The river jumper and Chongqing No. 5 line crossing station are jump and pedal stations as shown in FIG. 5.
Fig. 6 is a diagram illustrating an example of adjusting the cross-line operation of 01001 in the present invention. As shown in fig. 6, 01001 times of train overline running chart from the shengquan temple station in the river jumper to the Huayan temple station in the Chongqing No. 5 line. Wherein, the black solid line represents the current-day planned operation chart (called as the current-day plan for short) of the 01001-time train, the black dotted line represents the operation chart (called as the work plan for short) of the 01001-time train adjusted according to the existing actual arrival/departure point, and the covered part of the black bold line represents the area which has actually run.
As shown in FIG. 6, a current arrival point S (11: 52: 45) at the Jiangtao line at the Stone forest temple station is 2 minutes 45 seconds later than the planned arrival point S (11: 50: 50), and the adjustment process is as follows:
1. adjusting a river jump running chart adjusting algorithm, adjusting the arrival/departure point to S (11: 58: 50/11: 59: 50) when the river jump running chart is adjusted to the jumping and pedaling station, and failing to reach (11: 57: 50/11: 59: 00);
2. constructing an 'adjustment starting point (11: 59: 50)' (or adjustment to the point (11: 58: 50)) and sending the adjustment starting point to a Chongqing No. 5 line;
3. the Chongqing No. 5 line is adjusted according to an adjustment starting point (or adjusted to a point), but the point cannot be marked as thickened black on the running chart (namely the point is considered to actually run through an area);
4. when the destination point is adjusted to the golden road building station, the destination point is adjusted to be S (12: 07: 50), the current day plan is adjusted, and the adjustment is successful;
5. and (5) feeding back the river jump operating diagram, successfully adjusting and finishing the adjustment.
The following describes the device for adjusting an interconnection and intercommunication cross-line operating diagram provided by the present invention, and the device for adjusting an interconnection and intercommunication cross-line operating diagram described below and the method for adjusting an interconnection and intercommunication cross-line operating diagram described above can be referred to correspondingly.
Fig. 7 is a schematic structural diagram of an apparatus for adjusting an interconnection cross-line operating diagram provided in the present invention, and as shown in fig. 7, the apparatus for adjusting an interconnection cross-line operating diagram includes:
an obtaining module 701, configured to obtain an adjustment result of a train on a local line if the train has an early-late point on the local line of an over-line adjustment model and an adjustment state obtained based on a first operation diagram adjustment algorithm is a failure;
a determining module 702, configured to determine, according to the cross-line adjustment model, whether a last adjustment station in the adjustment result on the local line is a cross-line station;
an adjusting module 703, configured to adjust an operation diagram of the train on an adjacent line based on a second operation diagram adjusting algorithm if the last adjusting station is an inter-line station;
the crossover line adjusting model comprises at least one crossover line station, a plurality of local lines and adjacent lines, wherein each local line and each adjacent line take the crossover line station as a dividing point, and the local line and the adjacent lines are connected in a front-back mode.
Optionally, the determining module 702 is further configured to recover the target operation plan of the train if the last adjustment station is not the inter-line station.
Optionally, the adjusting module 703 is further configured to send the adjustment result of the last adjusting station to the line crossing station in the adjacent line;
and adjusting the running chart of the train on the adjacent line based on a second running chart adjusting algorithm.
Optionally, the apparatus further includes an execution module 704, configured to send a notification to a local line where the train is located if the adjustment state in the adjustment result is successful, update an adjustment result of the train cross-line working diagram, where the train runs according to the updated working diagram;
and if the adjustment state in the adjustment result is failure, recovering the target operation plan of the train.
Optionally, the execution module is further configured to recover the target operation plan of the train, and includes:
if the adjustment state is failure only through the first operation diagram adjustment algorithm on the local line, only recovering the operation diagram of the copy line, and notifying manual control;
and if the adjustment state obtained on the adjacent line is failed through the second operation diagram adjustment algorithm, the adjacent line is recovered, and then the line is informed to recover the operation diagram, and manual control is informed.
Optionally, the apparatus further includes a preset module 705, configured to set a maximum number of adjustment stations in advance through configuration, where a default value is a number from a current station to a last station on a line, and is used to characterize a maximum number of adjustment stations that can be adjusted by receiving an adjustment point by an operation diagram adjustment algorithm;
within the range of the maximum number of stations to be adjusted, adjusting the current operation plan back to the target operation plan, and indicating that the adjustment is successful;
if the current operation plan cannot be adjusted back to the target operation plan within the range of the maximum adjustment station number or adjusted to the last station, the adjustment is failed.
It should be noted that the division of the unit in the present invention is schematic, and is only a logic function division, and there may be another division manner in actual implementation. In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented as a software functional unit and sold or used as a stand-alone product, may be stored in a processor readable storage medium. 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 several instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) 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.
It should be noted that, the apparatus provided in the present invention can implement all the method steps implemented by the method embodiments and achieve the same technical effects, and detailed descriptions of the same parts and beneficial effects as the method embodiments in this embodiment are omitted here.
Fig. 8 illustrates a physical structure diagram of an electronic device, and as shown in fig. 8, the electronic device may include: a processor (processor)810, a Communication Interface 820, a memory 830 and a Communication bus 840, wherein the processor 810, the Communication Interface 820 and the memory 830 communicate with each other via the Communication bus 840.
Optionally, the processor 810 may be a Central Processing Unit (CPU), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA), or a Complex Programmable Logic Device (CPLD), and may also adopt a multi-core architecture.
The processor 810 may invoke computer programs in the memory 830 to perform the steps of a method of interconnecting and interworking crossline roadmap adjustment, including, for example:
if the train has early and late points on the local line of the cross-line adjustment model and the adjustment state obtained based on the first working diagram adjustment algorithm is failed, obtaining the adjustment result of the train on the local line;
determining whether the last adjusting station in the adjusting result on the local line is an overline station or not according to the overline adjusting model;
if the last adjusting station is an inter-line station, adjusting the running chart of the train on an adjacent line based on a second running chart adjusting algorithm;
the crossover line adjusting model comprises at least one crossover line station, a plurality of local lines and adjacent lines, wherein each local line and each adjacent line take the crossover line station as a dividing point, and the local line and the adjacent lines are connected in a front-back mode.
In addition, the logic instructions in the memory 830 may be implemented in software functional units and stored in a computer readable storage medium when the logic instructions are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It should be noted that, the electronic device provided in the embodiment of the present invention can implement all the method steps implemented by the above method embodiment, and can achieve the same technical effect, and detailed descriptions of the same parts and beneficial effects as those of the method embodiment in this embodiment are not repeated herein.
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 the steps of the method for interconnecting and interconnecting cross-line working diagram adjustment provided by the above methods, for example, including:
if the train has early and late points on the local line of the cross-line adjustment model and the adjustment state obtained based on the first working diagram adjustment algorithm is failed, obtaining the adjustment result of the train on the local line;
determining whether the last adjusting station in the adjusting result on the local line is an overline station or not according to the overline adjusting model;
if the last adjusting station is an inter-line station, adjusting the running chart of the train on an adjacent line based on a second running chart adjusting algorithm;
the crossover line adjusting model comprises at least one crossover line station, a plurality of local lines and adjacent lines, wherein each local line and each adjacent line take the crossover line station as a dividing point, and the local line and the adjacent lines are connected in a front-back mode.
On the other hand, an embodiment of the present application further provides a processor-readable storage medium, where the processor-readable storage medium stores a computer program, where the computer program is configured to enable the processor to execute the steps of the method for adjusting an interconnection and interworking cross-line working diagram provided in the foregoing embodiments, for example, the method includes:
if the train has early and late points on the local line of the cross-line adjustment model and the adjustment state obtained based on the first working diagram adjustment algorithm is failed, obtaining the adjustment result of the train on the local line;
determining whether the last adjusting station in the adjusting result on the local line is an overline station or not according to the overline adjusting model;
if the last adjusting station is an inter-line station, adjusting the running chart of the train on an adjacent line based on a second running chart adjusting algorithm;
the crossover line adjusting model comprises at least one crossover line station, a plurality of local lines and adjacent lines, wherein each local line and each adjacent line take the crossover line station as a dividing point, and the local line and the adjacent lines are connected in a front-back mode.
The processor-readable storage medium can be any available medium or data storage device that can be accessed by a processor, including, but not limited to, magnetic memory (e.g., floppy disks, hard disks, magnetic tape, magneto-optical disks (MOs), etc.), optical memory (e.g., CDs, DVDs, BDs, HVDs, etc.), and semiconductor memory (e.g., ROMs, EPROMs, EEPROMs, non-volatile memory (NAND FLASH), Solid State Disks (SSDs)), etc.
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.