CN113830143B - Day shift plan application method and device based on CTC system - Google Patents
Day shift plan application method and device based on CTC system Download PDFInfo
- Publication number
- CN113830143B CN113830143B CN202111427507.1A CN202111427507A CN113830143B CN 113830143 B CN113830143 B CN 113830143B CN 202111427507 A CN202111427507 A CN 202111427507A CN 113830143 B CN113830143 B CN 113830143B
- Authority
- CN
- China
- Prior art keywords
- plan
- train
- day
- day shift
- tdms
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 65
- 238000010586 diagram Methods 0.000 claims abstract description 80
- 238000013439 planning Methods 0.000 claims description 15
- 230000004044 response Effects 0.000 claims description 11
- 230000005540 biological transmission Effects 0.000 claims description 3
- 230000001174 ascending effect Effects 0.000 claims 1
- 238000012986 modification Methods 0.000 description 44
- 230000004048 modification Effects 0.000 description 44
- 238000012217 deletion Methods 0.000 description 33
- 230000037430 deletion Effects 0.000 description 27
- 238000012384 transportation and delivery Methods 0.000 description 26
- 238000006243 chemical reaction Methods 0.000 description 8
- 238000004891 communication Methods 0.000 description 8
- 230000001105 regulatory effect Effects 0.000 description 7
- 238000013507 mapping Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 5
- 230000003993 interaction Effects 0.000 description 4
- 238000007726 management method Methods 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000004458 analytical method Methods 0.000 description 2
- 238000005034 decoration Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000000153 supplemental effect Effects 0.000 description 2
- XEEYBQQBJWHFJM-UHFFFAOYSA-N Iron Chemical group [Fe] XEEYBQQBJWHFJM-UHFFFAOYSA-N 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- CSRZQMIRAZTJOY-UHFFFAOYSA-N trimethylsilyl iodide Chemical compound C[Si](C)(C)I CSRZQMIRAZTJOY-UHFFFAOYSA-N 0.000 description 1
Images
Landscapes
- Train Traffic Observation, Control, And Security (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a day shift plan application method and device based on a CTC system. Wherein, the method comprises the following steps: obtaining a predefined rule, wherein the predefined rule comprises: linked list rules, relationship rules; defining linked list data according to the predefined rule; acquiring day shift plan data and information flow direction data of the train according to the linked list data; and using the day shift plan data and the information flow direction data to execute a train day shift plan, a passenger train adjustment plan and a truck adjustment plan. The invention solves the technical problems that the basic diagram in the prior art is the basic driving scheme of the train at a certain stage, the flexibility is poor, the traffic flow per day is different actually, and the daily driving scheme of the train cannot be adapted by only one basic diagram.
Description
Technical Field
The invention relates to the field of railway informatization, in particular to a day shift plan application method and device based on a CTC system.
Background
Along with the continuous development of intelligent science and technology, people use intelligent equipment more and more among life, work, the study, use intelligent science and technology means, improved the quality of people's life, increased the efficiency of people's study and work.
A distributed autonomous dispatching centralized system (CTC) is a new generation dispatching centralized system, on the basis of a train dispatching command system platform, fully utilizes the pace technical achievements of automatic drawing of a running chart, automatic checking of train numbers and automatic issuing of dispatching commands, adopts a distributed autonomous concept, and a dispatching center issues a running plan to a station.
The TDMS is developed from a dispatching comprehensive management information system in a TMIS project, covers main dispatching work and seed services such as plan dispatching, passenger dispatching, cargo dispatching, machine dispatching, construction dispatching and the like except train (power supply) dispatching, is deployed at two levels of a state iron group and a railway bureau, and supports three-level dispatching posts of a group company, the bureau and a station section to compile a day-to-day work plan and a transportation daily organization and production management command.
The common modes of the CTC system operation diagram terminal in the process of drawing the train operation plan and line are free line drawing, line drawing according to a path, basic diagram drawing, line drawing according to a day shift plan and the like. The day shift plan is compiled by the TDMS end, the TDMS end can actively send the data to the CTC end, and the CTC end can also initiate a request to the TDMS end. The CTC system uses the basic graph layout provided by the TDMS end to generate a phase plan corresponding to the operation line. The TDMS sends a notification message to the CTC system to update the basic map periodically, which generally occurs immediately before the map is adjusted. After receiving the notification message, the TDMS interface server of the CTC system acquires the latest basic graph information from the intermediate library between the CTC and the TDMS, converts the data, and stores the latest basic graph information in the database of the CTC system, so that the latest basic graph data can be used by the runtime graph terminal of each scheduling station of the CTC system. The CTC system operation diagram terminal can be selectively generated according to a basic diagram when a train operation line is paved and drawn. Therefore, the basic diagram in the prior art is a basic driving scheme of a train at a certain stage, the flexibility is poor, the daily traffic flow is different actually, and the daily driving scheme of the train cannot be adapted by only one basic diagram.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a day shift plan application method and device based on a CTC system, which at least solve the technical problems that a basic diagram in the prior art is a basic driving scheme of a train at a certain stage, the flexibility is poor, the actual daily traffic flow is different, and the daily driving scheme of the train cannot be adapted by only one basic diagram.
According to an aspect of an embodiment of the present invention, there is provided a day shift plan application method based on a CTC system, including: obtaining a predefined rule, wherein the predefined rule comprises: linked list rules, relationship rules; defining linked list data according to the predefined rule; acquiring day shift plan data and information flow direction data of the train according to the linked list data; and using the day shift plan data and the information flow direction data to execute a train day shift plan, a passenger train adjustment plan and a truck adjustment plan.
Optionally, after the defining the linked list data according to the predefined rule, the method further includes: and configuring according to the predefined rule and the definition linked list data to obtain a configuration result.
Optionally, the daily train schedule data is a daily train basic operation schedule issued by the TDMS to the CTC system, including operation schedules of passenger trains, freight trains, and other trains.
Optionally, after the day shift plan data and the information flow data are used for executing a train day shift plan, a passenger train adjustment plan, and a truck adjustment plan, the method further includes: and checking the adjustment plans of the passenger car and the truck through a dispatching desk, and analyzing and feeding back the adjustment results.
According to another aspect of the embodiments of the present invention, there is also provided a day shift schedule application apparatus based on a CTC system, including: an obtaining module, configured to obtain a predefined rule, where the predefined rule includes: linked list rules, relationship rules; the defining module is used for defining linked list data according to the predefined rule; the planning module is used for acquiring day-shift planning data and information flow direction data of the train according to the linked list data; and the adjusting module is used for using the day shift plan data and the information flow direction data to execute a train day shift plan, a passenger train adjusting plan and a truck adjusting plan.
Optionally, the apparatus further comprises: and the configuration module is used for configuring according to the predefined rule and the definition linked list data to obtain a configuration result.
Optionally, the daily train schedule data is a daily train basic operation schedule issued by the TDMS to the CTC system, including operation schedules of passenger trains, freight trains, and other trains.
Optionally, the apparatus further comprises: and the checking module is used for checking the adjustment plans of the passenger car and the truck through the dispatching desk, and analyzing and feeding back the adjustment results.
According to another aspect of the embodiment of the present invention, a non-volatile storage medium is further provided, where the non-volatile storage medium includes a stored program, and the program controls, when running, a device in which the non-volatile storage medium is located to execute a day shift schedule application method based on a CTC system.
According to another aspect of the embodiments of the present invention, there is also provided an electronic device, including a processor and a memory; the memory has stored therein computer readable instructions for execution by the processor, wherein the computer readable instructions when executed perform a day shift schedule application method based on a CTC system.
In the embodiment of the present invention, obtaining a predefined rule is adopted, wherein the predefined rule includes: linked list rules, relationship rules; defining linked list data according to the predefined rule; acquiring day shift plan data and information flow direction data of the train according to the linked list data; the mode that the daily schedule data and the information flow direction data of the train are used for generating the adjustment plan of the passenger car and the freight car solves the technical problems that a basic diagram in the prior art is a basic driving scheme of the train at a certain stage, the flexibility is poor, the traffic flow of each day is different actually, and the daily driving scheme of the train cannot be adapted by only one basic diagram.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a schematic diagram illustrating an information flow of a train day shift schedule acquisition mode according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a second information flow of a train day shift plan acquisition mode according to an embodiment of the present invention;
FIG. 3 is a flow chart of a CTC-side TDMS interface server processing a train day shift plan in accordance with an embodiment of the present invention;
FIG. 4 is a schematic flow diagram of passenger vehicle adjustment plan information according to an embodiment of the present invention;
FIG. 5 is a flowchart of an application of a bus adjustment plan at a TDMS interface server according to an embodiment of the present invention;
FIG. 6 is a "coach adjustment plan" dialog box according to an embodiment of the invention;
FIG. 7 is a flow diagram of truck plan information according to an embodiment of the present invention;
FIG. 8 is a "truck alignment plan" dialog box according to an embodiment of the present invention;
FIG. 9 is a flow chart of a method for applying a day shift program based on a CTC system in accordance with an embodiment of the present invention;
fig. 10 is a block diagram illustrating a day shift schedule application apparatus based on a CTC system according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. 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.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In accordance with an embodiment of the present invention, there is provided a method embodiment of a CTC system based day shift program application method, it is noted that the steps illustrated in the flowchart of the drawings may be performed in a computer system such as a set of computer executable instructions and that while a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than that presented herein.
Example one
FIG. 9 is a flowchart of a method for applying a day shift schedule based on a CTC system, as shown in FIG. 9, including the steps of:
step S902, obtaining a predefined rule, wherein the predefined rule includes: linked list rules, relationship rules.
Step S904, defining linked list data according to the predefined rule.
And step S906, acquiring day shift plan data and information flow direction data of the train according to the linked list data.
Step S908, the day shift plan data and the information flow direction data are used to execute a train day shift plan, a passenger train adjustment plan, and a freight train adjustment plan.
Optionally, after the defining the linked list data according to the predefined rule, the method further includes: and configuring according to the predefined rule and the definition linked list data to obtain a configuration result.
Optionally, the daily train schedule data is a daily train basic operation schedule issued by the TDMS to the CTC system, including operation schedules of passenger trains, freight trains, and other trains.
Optionally, after the day shift plan data and the information flow data are used for executing a train day shift plan, a passenger train adjustment plan, and a truck adjustment plan, the method further includes: and checking the adjustment plans of the passenger car and the truck through a dispatching desk, and analyzing and feeding back the adjustment results.
Specifically, the technical solution of the embodiment of the present invention may be that a scheduling centralized system (abbreviated as a CTC system) is utilized, and the day shift plan used is a day shift plan transmitted by a transportation scheduling management information system (abbreviated as a TDMS) obtained through a TDMS interface server at the end of the CTC system, and includes a train day shift plan, a truck adjustment plan, and a passenger train adjustment plan. Predefined linked lists are defined as follows:
presentation programAnd starting to initialize the train operation plan linked list which is subjected to the map-up in the display range of the current operation map interface from the database.
And the representation program starts to initialize the day shift plan linked list in the display range of the current operation chart interface from the database.
And the passenger car to be mapped, which represents the program cache, adjusts the day shift plan linked list.
And the freight car to be loaded with the picture representing the program cache adjusts the day shift plan linked list.
Is shown asAnd adjusting the daily shift plan linked list for the next received single pass of the truck.
Setting configuration: 1) nAllowTdRbDrawOnHour, unit: and the default value of the hour is 3, which indicates that the plan is allowed to be adjusted after hours from the current time, and the departure time of the first node or the arrival time of the access first node is initiated mainly for the adjustment plan of the plan to be adjusted. 2) bAddRbLimitedByDrawOnTime: and whether the adjustment plan upper graph with the modification type of increase is controlled by nAllowTdRbDrawOnHour configuration, when the value is 1, the adjustment plan upper graph with the modification type of increase is controlled by the nAllowTdRbDrawOnHour configuration, when the value is 0, the adjustment plan upper graph with the modification type of increase is not controlled by the nAllowTdRbDrawOnHour configuration, and the default value is 0. 3) bUpdateSHRbLimititedByDrawOnTime: and whether the plan upper graph of the truck adjustment single trip with the modification type updated is controlled by nAllowTdRbDrawOnHour configuration, when the value is 1, the plan upper graph of the truck adjustment single trip with the modification type updated is controlled by the nAllowTdRbDrawOnHour configuration, when the value is 0, the plan upper graph of the truck adjustment single trip with the modification type updated is not controlled by the nAllowTdRbDrawOnHour configuration, and the default value is 1.
In addition, for the train day shift plan application method based on the CTC system, the method can be as follows: (1) and planning the day and shift of the train. The daily train operation plan is a daily basic train operation plan issued to the CTC system by the TDMS terminal, and comprises operation plans of passenger trains, freight trains and other trains. Referring to the railway transportation scheduling rule (high speed railway part), the transmission from the TDMS end to the CTC end is finished before 18 hours according to the daily schedule of the train. (2) The train day shift plan acquisition mode and the information flow direction. The train day shift plan acquisition modes include the following two modes:
the first method is as follows: and the TDMS terminal actively transmits. The TDMS end sends a day shift plan assignment notice to the CTC end, the TDMS interface server at the CTC end immediately sends a request message for obtaining the day shift plan according to a time range to the TDMS end after receiving the notice message, and the TDMS end responds after receiving the request message and sends the relevant train day shift plan to the CTC end. And after receiving the day shift plan request response information sent by the TDMS, the TDMS interface server at the CTC end analyzes, checks and stores the day shift plan of the train, and then sends a day shift plan updating notice to the corresponding CTC operation diagram terminal. The flow chart of the related information interaction is shown in fig. 1.
The second method comprises the following steps: and the CTC terminal runs the active request of the graph terminal. And operating on CTC operation diagram terminal software by a train dispatcher to actively request a day shift plan. The request information is transmitted to the TDMS end through the CTC application server, the CTC total application server and the TDMS interface server to which the dispatching section belongs, and after receiving the request information, the TDMS end responds and transmits the relevant day shift plan of the train to the CTC end. And after receiving the day shift plan request response information sent by the TDMS, the TDMS interface server at the CTC end analyzes, checks and stores the day shift plan of the train, and then sends a day shift plan updating notice to the corresponding CTC operation diagram terminal. The flow chart of the related information interaction is shown in fig. 2.
(3) An application method of a train day shift plan in a TDMS interface server.
1) And receiving a daily schedule issuing notice sent by the TDMS terminal.
After receiving the notification message of the day-shift plan assignment sent by the TDMS, the TDMS interface server at the CTC end immediately sends a request message for acquiring the day-shift plan according to the time range to the TDMS end, wherein the request message comprises a dispatching desk code, information for requesting the start time and the end time of the time range of the day-shift plan of the train and the like. The daily schedule time range of the requested train is generally not less than 12 hours, defaults to 36 hours, and can be configured. The start time of the schedule time range of the day shift of the train is requested to be the start time of the shift to which the current time belongs. The regulation of the shift: the first shift is from 18:00 to 6:00 the day, and the second shift is from 6:00 to 18:00 the day.
2) And receiving the request information sent by the terminal of the operation diagram.
After receiving the request information sent by the terminal of the operation chart, the TDMS interface server at the CTC end converts the information in the FZyCTC communication protocol format into a communication protocol format interacting with the TDMS and then sends the information to the TDMS end.
3) The application flow after receiving the day-shift plan request response sent by the TDMS end, and the TDMS interface server at the CTC end receives the day-shift plan request response sent by the TDMS end is shown in fig. 3.
Firstly, analyzing a train day and shift plan, firstly, judging whether the received train day and shift plan is a multi-packet plan, and if the received train day and shift plan is single-packet data, directly analyzing; if the data is multi-packet data, the information is analyzed after being completely received according to the packet number. When receiving multi-packet data, if the information type of the received data is the information type which is not being received or the packet number is discontinuous, discarding the received train day and shift plan.
Checking the day shift plan of the train and checking whether the day shift ID is valid. The day shift ID should be a positive integer other than 0.
Check if the plan modification type is correct. The types of modification of the passenger car adjustment plan are: a value of 1 indicates an increase, a value of 2 indicates a modification, and a value of 3 indicates a deletion. Plan modification type values other than 1, 2, 3 are considered incorrect. Check if the station code is valid. The station code should be the station code actually existing in the dispatching station, and if not, the station code is considered invalid. And checking whether the arrival node and the departure node are matched with the station codes. The arrival node and the departure node in the node information in the bus adjustment day shift plan respectively represent the ID value of the station name line of the arrival point and the ID value of the station name line of the departure point of the node on the operation diagram. And binding a unique station code to each station name line in the operation graph. If the arriving node or the departing node does not match the station code, the plan is considered invalid. Checking whether the stock path is effective. The track is the track actually existing in the station, and if not, the task track is invalid. Check whether the line is valid. Referring to logic 9, if correct, it is valid, otherwise it is invalid. And checking the items A-F, if one item does not meet the requirement, determining that the day shift plan of the train is wrong, and removing the wrong day shift plan from a received train day shift plan linked list.
And thirdly, storing the bus adjustment day shift plan, deleting the data in RB _ TRAIN and RB _ TRAINNODE in the time range of the CTC system database according to the time range of the request day shift plan, and then inserting the received TRAIN day shift plan.
(4) An application method of a train day shift plan in a CTC operation diagram terminal.
2) and (5) planning the daily shift of the train.
The method provides an interface for independently displaying and selecting the daily schedule of the train. The interface provides a summary information list (train number and access time) via station selection drop down list, train type selection (passenger and freight), direction selection (up and down), head type selection (origination and access), time range selection, and associated train day shift plans.
Judging whether each plan in the train day shift plans to be mapped has a mapped operation line with the same day shift ID in a current operation map terminal actual performance map interface, if so, popping a frame to prompt a train dispatcher, and if so, continuously generating the day shift plans with the same day shift ID, and if continuously generating the plans, then mapping the train day shift plans; if not, the train day shift plan will not be generated. The associated operations will log details.
Thirdly, after the daily schedule of the train is successfully loaded, the display interface of the operation chart is immediately refreshed, and the program cache linked list is updatedAndadding run lines of the top graph to the linked listIn (1).
For example, the application method of the CTC system-based passenger car adjustment plan in the embodiment of the present invention:
(1) and the passenger train adjustment plan is passenger train adjustment plan information sent to the CTC system by the TDMS side passenger console, and comprises information of starting and stopping of the passenger train, route changing, arrival and departure time changing, station track application and the like. The passenger car adjustment plan is actively sent by the TDMS.
(2) And the passenger car adjustment plan information flow direction is actively sent by a TDMS (time domain data System) side guest console, and the correct passenger car adjustment plan is sent to a CTC operation graph terminal of the corresponding scheduling section through a CTC general application server and a CTC application server belonging to the related scheduling section after being analyzed, checked for validity, stored and the like by a TDMS interface server of the CTC system. And feeding back the wrongly applied receipt mode to the TDMS end according to the illegal plan detected by the TDMS interface server. And the passenger car adjusting plan successfully arranged on the CTC operation diagram terminal also feeds back a receipt of successful application sending to the TDMS terminal. The information flow diagram of the bus adjustment plan is shown in fig. 4.
(3) An application method of a passenger car adjustment plan in a TDMS interface server, and a flow chart of the passenger car adjustment day shift plan in the TDMS interface server are shown in FIG. 5.
1) And analyzing the passenger car adjustment plan.
Firstly, judging whether a received passenger car adjustment plan is a multi-packet plan or not, and if the received passenger car adjustment plan is a single-packet plan, directly analyzing the received passenger car adjustment plan; if the data is multi-packet data, the information is analyzed after being completely received according to the packet number. When receiving multi-packet data, when the information type of the received data is the information type which is not being received or the information with discontinuous packet numbers, abandoning the received passenger car adjustment plan.
2) The passenger car adjustment plan is checked.
Check whether the day shift ID is valid. The day shift ID should be a positive integer other than 0.
Check if the plan modification type is correct. The types of modification of the passenger car adjustment plan are: a value of 1 indicates an increase, a value of 2 indicates a modification, and a value of 3 indicates a deletion. Plan modification type values other than 1, 2, 3 are considered incorrect. Check if the station code is valid. The station code should be the station code actually existing in the dispatching station, and if not, the station code is considered invalid. And checking whether the arrival node and the departure node are matched with the station codes. The arrival node and the departure node in the node information in the bus adjustment day shift plan respectively represent the ID value of the station name line of the arrival point and the ID value of the station name line of the departure point of the node on the operation diagram. And binding a unique station code to each station name line in the operation graph. If the arriving node or the departing node does not match the station code, the plan is considered invalid. Checking whether the stock path is effective. The track is the track actually existing in the station, and if not, the task track is invalid. Check whether the line is valid. Referring to logic 9, if correct, it is valid, otherwise it is invalid. And checking the items A-F, if one item is not satisfied, determining that the bus adjustment daily shift plan is wrong, feeding back error information in a return mode, and sending the error information to the TDMS, and simultaneously removing the wrong daily shift plan from a received bus adjustment daily shift plan linked list.
3) And storing the bus adjustment day shift plan.
Firstly, using the day shift ID of a passenger car adjustment day shift plan operation line to look up whether the day shift plan operation line with the same day shift ID exists in a table RB _ TRAIN for storing the day shift plan in a CTC system database, if so, deleting the relevant information of the day shift ID plan operation line in database tables RB _ TRAIN and RB _ TRAINNODE, and then inserting the information of the day shift ID plan operation line received this time; if not, directly inserting the currently received day shift ID plan operation line information into the tables RB _ TRAIN and RB _ TRAINNODE.
4) And sending the scheduling information to the terminal of the operation diagram of the corresponding scheduling section.
And sending the received correct bus adjustment day shift plan to the operation diagram terminal of the corresponding dispatching desk according to an FZy-CTC communication information format.
(4) An application method of a passenger car adjustment plan in a CTC operation diagram terminal.
1) The terminal of the operation chart is initialized when a program is started or shifts、AndwhereinThe linked list is empty.
2) After receiving the passenger car adjustment plan, firstly analyzing the adjustment plan, and because the plan is checked at the TDMS end, the terminal of the operation diagram is not operated to repeatedly check.
3) And (6) data conversion. Because some key attribute values used inside the terminal of the operation diagram are not defined in accordance with the corresponding key attribute values sent by the TDMS, conversion is needed. The data to be converted includes the head mark, tail mark and track name of the regulation plan operation line.
4) Day-class plan linked list for updating terminal buffer of operation chart. By usingThe day class ID of each passenger car in the chain table for adjusting the day class plan is used as a key wordFinding the train day shift plan with the same day shift ID, and if finding the train day shift plan, replacing the original cache linked list with the newly received bus adjustment day shift planThe corresponding train day shift plan in (1).
5) And updating the day shift plan display interface. And if the current display interface of the operation diagram terminal is a day shift plan display interface, immediately refreshing the interface.
6) Bus to be loaded with images and adjusting day-shift plan linked list for updating terminal cache of operation diagram. By usingThe day class ID of each passenger car in the chain table for adjusting the day class plan is used as a key wordFinding the passenger car with the same day class ID to adjust the day class plan if the same day class ID is foundThen, the newly received bus adjustment day shift plan is used to replace the original buffer chain tableThe day shift plan is adjusted for the corresponding passenger car in (1).
7) And the terminal interface of the operation diagram pops a box to prompt a dispatcher to receive a passenger car adjustment plan.
8) The passenger car adjusts the plan upper graph.
Providing an interface for independently displaying and selecting a plan on a passenger car adjustment plan, as shown in FIG. 6. The interface comprises a list of the passenger car adjustment plan to be subjected to drawing, wherein information such as 'generation/deletion' check items, train number, increase/deletion marks, head marks, tail marks, start time, end time, initial station, final station, day shift ID, receiving time and the like of the passenger car adjustment plan is displayed in the list, and the 'generation/deletion' check items are used for checking whether the passenger car adjustment plan is to be subjected to drawing or is cached in a program in a train linked list of the passenger car to be subjected to drawingIs deleted. The interface is provided with five buttons of full selection, full reverse selection, drawing uploading, deletion and cancellation, so that a train dispatcher can flexibly select a passenger train adjustment plan to be uploaded.
Judging whether an imaged operation line with the same day class ID exists in an actual performance drawing interface of a current operation drawing terminal of each plan in a coach adjustment plan dialog box, if so, popping a box to prompt a train dispatcher, if so, generating the day class plan with the same day class ID, and if so, generating the coach adjustment plan; if not, the adjustment plan will not be generated. The associated operations will log details.
Thirdly, drawing the modified type according to the passenger car adjustment plan, wherein the specific application method is as follows: [1]Increasing if the configuration value of the bAddRbLimitedByDrawOnTime is 1 and the departure time of the starting head node or the arrival time of the access head node of the passenger car adjustment plan operation line to be shown in the figureIf the following formula conditions are satisfied, the above-described conditions are not satisfied.Indicating the current time of day (common throughout). The alarm window prompt bar will prompt: the upper graph of the train number XX (passenger train adjustment plan) fails and is not within the allowable time range of the upper graph.The departure time of the starting head node or the arrival time of the access head node of the passenger car regulating plan operation line to be shownIf the following formula conditions are satisfied, the above-described conditions are not satisfied. The alarm window prompt bar will prompt: the upper graph of the train number XX (passenger train adjustment plan) fails and is not within the allowable time range of the upper graph.Except for the A and B scenes, both can be viewed. And after the drawing is successfully loaded, immediately refreshing the display interface of the running drawing. After the passenger car adjusts the plan to be mapped, the program buffer chain table is updatedAndadding run lines of the top graph to the linked listIn the 'passenger car adjustment plan' dialog box, the passenger car adjustment plan to be mapped is selectedIs deleted. [2]Updating the departure time of the starting head node or the arrival time of the access head node of the passenger car adjustment plan operation line to be shownIf the following formula conditions are satisfied, the above-described conditions are not satisfied. The alarm window prompt bar will prompt: the upper graph of the train number XX (passenger train adjustment plan) fails and is not within the allowable time range of the upper graph.In a linked listFinding out the operation line the same as the day shift ID of the passenger car regulation plan to be loaded on the map, and finding out the starting first node sending time or the access first node arrival time of the operation lineIf the following formula conditions are satisfied, the above-described conditions are not satisfied. The alarm window prompt bar will prompt: the upper graph of the train number XX (passenger train adjustment plan) fails and is not within the allowable time range of the upper graph.In addition to the A and B scenes, if in the linked listThe same operation line as the day shift ID of the passenger car adjustment plan to be mapped is found inIf the bus is determined to have the condition of the upper graph, the newly received bus adjustment plan is usedReplacement ofAnd after the drawing is successfully written, immediately refreshing the display interface of the running drawing. After the passenger car adjusts the plan to be mapped, the program buffer chain table is updatedAndupdating the operation line of the upper graph to the linked listIn the 'passenger car adjustment plan' dialog box, the passenger car adjustment plan to be mapped is selectedIs deleted. [3]Deleting the departure time of the starting head node or the arrival time of the access head node of the passenger car adjustment plan operation line to be deletedIf the following formula conditions are satisfied, the above-described conditions are not satisfied. The alarm window prompt bar will prompt: the upper graph of the train number XX (passenger train adjustment plan) fails and is not within the allowable time range of the upper graph.In a linked listAnd finding the same operation line as the day shift ID of the passenger car adjustment plan to be subjected to map deletion, and if the operation line cannot be found, not meeting the map deletion condition. The alarm window prompt bar will prompt: the XX (passenger train adjustment plan) on the train number fails to find the operation line corresponding to the day shift plan. If in a linked listFinding out the starting first node sending time or the access first node arrival time of the same operation line as the day shift ID of the passenger car regulation plan to be deletedIf the following formula conditions are satisfied, the above-described conditions are not satisfied. The alarm window prompt bar will prompt: train number XX (bus number)Whole plan) fails in the upper graph and is not within the upper graph allowable time range.The map may be deleted except for A, B and the C scene. And after the upper graph is successfully deleted, immediately refreshing the display interface of the running graph. After the passenger car adjusts the plan to be mapped, the program buffer chain table is updatedAndrun-line Slave-Linked List for Top-graph deletionIn the 'passenger car adjustment plan' dialog box, the passenger car adjustment plan to be mapped is selected fromIs deleted.
For another example, in the method for applying a truck alignment plan based on a CTC system in an embodiment of the present invention, (1) the truck alignment plan is a freight train alignment information issued by a TDMS end planning stage to the CTC system, and is divided into two types, a phase plan and a single trip alignment plan. The phase plan may include multiple truck adjustment plan messages, and the single-pass adjustment plan may include only one truck adjustment plan message, with the two messages having similar formats. And the truck adjustment plan, including the phase plan and the single-trip adjustment plan, is actively sent by the TDMS. (2) And the flow direction of the truck adjusting plan information is transmitted actively by a planning platform at the TDMS end. And after the analysis, validity check, storage and the like of a TDMS interface server of the CTC system, the correct truck adjustment plan is sent to a CTC operation chart terminal of a corresponding scheduling section through a CTC total application server and a CTC application server belonging to a related scheduling section. And feeding back the wrongly applied receipt mode to the TDMS end according to the illegal plan detected by the TDMS interface server. And the truck adjustment plan successfully arranged on the CTC operation diagram terminal also feeds back a receipt of successful application sending to the TDMS terminal. The information flow diagram of the truck trim plan is shown in fig. 7.
(3) The application method of the truck adjusting plan in the TDMS interface server is the same as that of the bus adjusting plan.
(4) The truck adjustment plan is divided into a truck adjustment stage plan and a truck adjustment single-pass plan. 1) The terminal of the operation chart is initialized when a program is started or shifts、AndwhereinThe linked list is empty. 2) After receiving the truck adjustment node plan/truck adjustment single-pass plan, firstly analyzing, and as the plan is checked at the TDMS end, the repeated check at the operation diagram terminal is not performed any more. 3) And (6) data conversion. Because some key attribute values used inside the terminal of the operation diagram are not defined in accordance with the corresponding key attribute values sent by the TDMS, conversion is needed. The data to be converted includes the head mark, tail mark and track name of the regulation plan operation line. 4) Day-class plan linked list for updating terminal buffer of operation chart. By usingEach truck in the link list adjusts the plan orThe day class ID of the truck adjustment plan is used as a key wordFinding the train day shift plan with the same day shift ID, and if finding the train day shift plan, replacing the original cache linked list with the newly received truck adjusting planThe corresponding train day shift plan in (1). 5) And updating the day shift plan display interface. And if the current display interface of the operation diagram terminal is a day shift plan display interface, immediately refreshing the interface. 6) Freight train to be loaded with chart and adjusting day shift plan linked list for updating terminal cache of operation chart. By usingPlan for adjusting stage of each truck or plan for adjusting single pass of truck in chain tableThe day class ID as a key wordFinding the freight train adjustment daily shift plan with the same daily shift ID, and if finding the adjustment daily shift plan, replacing the original cache linked list with the newly received freight train adjustment planThe corresponding truck in (1) adjusts the plan. 7) And the terminal interface of the operation diagram pops a box to prompt a dispatcher to receive a truck adjustment plan. 8) And adjusting the plan upper graph by the truck.
Providing an interface for independently displaying and selecting a plan on a truck adjustment plan, as shown in FIG. 8. The interface comprises a list of truck adjustment plans to be mapped, wherein information such as 'generation/deletion' check items, train numbers, stop marks, head marks, tail marks, start time, end time, start station, end station, day shift ID, receiving time and the like of the truck adjustment plans are displayed in the list, and the 'generation/deletion' check items are used for checking whether the truck adjustment plans are to be mapped or mappedFreight train chain table for waiting chart in program bufferIs deleted. Five buttons of full selection, full reverse selection, drawing uploading, deletion and cancellation are arranged on the interface, so that a train dispatcher can flexibly select a truck adjustment plan to be uploaded.
Judging whether each plan is provided with a drawing operation line with the same day class ID in a current operation diagram terminal actual performance diagram interface in a truck adjustment plan dialog box, if so, popping a box to prompt a train dispatcher, if so, generating the day class plan with the same day class ID, and if so, generating the truck adjustment plan; if not, the truck adjustment plan will not be generated. The associated operations will log details.
And thirdly, assigning values to modification types of the truck adjustment plan. Since the truck adjustment plan does not include the modification type, a value needs to be assigned to the modification type of the truck adjustment plan.
And when the attribute of the outage mark of the operation line of the truck adjustment plan is outage, defining the modification type of the truck adjustment plan as deletion.
In a linked listIf the same operation line as the daily shift plan ID of the truck adjustment plan to be mapped is not found, the modification type of the truck adjustment plan is defined as increasing.
In a linked listIf the same operation line as the daily shift plan ID of the truck adjustment plan to be mapped is found, the modification type of the truck adjustment plan is defined as updating.
Fourthly, according to the modification type upper graph of the truck adjustment plan, the specific application method is as follows:
[1] increase of
If bAddRbLimitedByDrawOnTimeIs 1, and the starting time of the starting head node or the arrival time of the access head node of the freight car regulating planning operation line to be loaded with the figureIf the following formula conditions are satisfied, the above-described conditions are not satisfied.Indicating the current time of day (common throughout). The alarm window prompt bar will prompt: the chart on the train number XX (truck adjustment plan) fails and is not within the allowable time range of the chart.
The departure time of the starting head node or the arrival time of the access head node of the freight train regulating plan operation line to be mappedIf the following formula conditions are satisfied, the above-described conditions are not satisfied. The alarm window prompt bar will prompt: the chart on the train number XX (truck adjustment plan) fails and is not within the allowable time range of the chart.
Except for the A and B scenes, both can be viewed. And after the drawing is successfully loaded, immediately refreshing the display interface of the running drawing. After the truck adjusts the plan to be mapped, the program buffer chain table is updatedAndadding run lines of the top graph to the linked listIn the 'truck adjustment plan' dialog box, the upper drawing is selectedRegulating plan of truckIs deleted.
[2] Updating
If the configuration value of bUpdateSHRbLimitedByDrawOnTime is 0, and the truck adjustment plan to be mapped is the truck adjustment single-pass adjustment planWhen in a linked listFinding a running line which is the same as the day shift ID of the truck adjustment single-pass plan to be mapped, if the running line exists and any node in the running line is not converted into an actual result, considering that the mapping condition is met, and mapping can be carried out; otherwise, the condition of drawing is not met, drawing can not be drawn, and the warning window prompt bar prompts that: the graph on the train number XX (truck adjustment single-pass plan) fails, and a node with actual performance is present corresponding to the operation line.
The departure time of the starting head node or the arrival time of the access head node of the freight train regulating plan operation line to be mappedIf the following formula conditions are satisfied, the above-described conditions are not satisfied. The alarm window prompt bar will prompt: the chart on the train number XX (truck adjustment plan) fails and is not within the allowable time range of the chart.
In a linked listFinding out the operation line the same as the day shift ID of the truck adjustment plan to be mapped, and finding out the starting first node sending time or the access first node arrival time of the operation lineIf the following formula conditions are satisfied, the above-described conditions are not satisfied. The alarm window prompt bar will prompt: the chart on the train number XX (truck adjustment plan) fails and is not within the allowable time range of the chart.
Except for A, B and C which do not have the above-mentioned condition, if in the linked listThe same operation line as the day shift ID of the truck adjustment plan to be mapped is found inIf the condition of the upper graph is satisfied, the corresponding newly received truck adjustment plan is usedReplacement ofAnd after the drawing is successfully written, immediately refreshing the display interface of the running drawing. After the truck adjusts the plan to be mapped, the program buffer chain table is updatedAndupdating the operation line of the upper graph to the linked listIn the 'truck adjustment plan' dialog box, the truck adjustment plan to be mapped is selectedIs deleted.
[3] Deleting
Delete the graph to be loadedThe departure time of the starting first node or the arrival time of the access first node of the truck adjusting plan operation lineIf the following formula conditions are satisfied, the above-described conditions are not satisfied. The alarm window prompt bar will prompt: the chart on the train number XX (truck adjustment plan) fails and is not within the allowable time range of the chart.
In a linked listAnd finding the same operation line as the daily shift ID of the truck adjustment plan to be subjected to drawing deletion, and if the operation line cannot be found, not meeting the drawing deletion condition. The alarm window prompt bar will prompt: the XX (truck adjustment plan) on the train number fails to get on the map, and the operation line corresponding to the day shift plan cannot be found.
If in a linked listFinding out the starting first node sending time or the access first node arrival time of the same operation line as the daily shift ID of the truck adjustment plan to be subjected to map deletionIf the following formula conditions are satisfied, the above-described conditions are not satisfied. The alarm window prompt bar will prompt: the chart on the train number XX (truck adjustment plan) fails and is not within the allowable time range of the chart.
The map may be deleted except for A, B and the C scene. And after the upper graph is successfully deleted, immediately refreshing the display interface of the running graph. After the truck adjusts the plan to be mapped, the program buffer chain table is updatedAndrun-line Slave-Linked List for Top-graph deletionRemoving, checking the truck adjustment plan to be drawn from the 'truck adjustment plan' dialog boxIs deleted.
Supplemental logic
Logic 1: the general operational wire node access interval ID checks the logic for correctness.
Whether the section ID is a section ID between a station to which the node belongs and a rear station (a station that has passed in the train traveling direction) adjacent to the node. If so, the ID of the access interval of the node is correct, otherwise, the ID is wrong.
Logic 2: the general operation line node access line is correct check logic.
Whether the line is actually existed in the interval or not, if so, the node access line is correct, and if not, the node access line is wrong.
Logic 3: the logic is checked whether the ID of the node leaving interval of the general operation line is correct.
Whether the section ID is a section ID between a station to which the node belongs and a station ahead of the node (a station that has not passed by in the train traveling direction). If yes, the ID of the node surrender interval is correct, otherwise, the ID is wrong.
Logic 4: the normal operation line node sends out the line to check the logic correctly.
If the line is actually existed in the interval, the node intersection line is correct if the line is true, otherwise, the node intersection line is wrong.
Logic 5: and checking whether the access interval ID of the interface station as the access first node is correct or not.
And referring to logic 10 'interface station line configuration', finding corresponding interface station line configuration according to a dispatching desk brevity code, an interface station code and an interface station name line ID of the day shift plan, and judging whether the access section ID is matched with the configured section ID, if so, judging that the access section ID is correct, otherwise, judging that the access section ID is wrong.
Logic 6: and whether the access line of the interface station serving as the access first node is correct or not is checked.
And referring to logic 10 'boundary station line configuration', finding corresponding boundary station line configuration according to a dispatching desk brevity code, a boundary station code and a boundary station name line ID of the day shift plan, and judging whether the access line is matched with the configured access line, if so, judging that the access line is correct, otherwise, judging that the access line is wrong.
Logic 7: and checking logic whether the delivery section ID of the boundary station as a delivery head node is correct or not.
And referring to logic 10 'interface station line configuration', finding out corresponding interface station line configuration according to a dispatching desk brevity code, an interface station code and an interface station name line ID of the day shift plan, and judging whether the delivery section ID is matched with the configured section ID, if so, judging that the delivery section ID is correct, otherwise, judging that the delivery section ID is wrong.
Logic 8: and checking logic whether the delivery line of the interface station as the delivery first node is correct or not.
And referring to logic 10 'interface station line configuration', finding out the corresponding interface station line configuration according to the simplified code of the dispatching desk, the interface station code and the interface station name line ID of the day shift plan, and judging whether the delivery line is matched with the configured delivery line, wherein if the delivery line is matched, the correctness is ensured, and otherwise, the mistake is caused.
Logic 9: the day shift plan runs a line node line check logic.
1) Head node
A. Access wire clip
B. Traffic line pin
2) Intermediate node
A. Access wire clip
B. Traffic line pin
3) Tail node
A. Access wire clip
B. Traffic line pin
Logic 10: and (5) allocating the lane of the boundary station.
Due to the limited scope of the dispatching desk, the situation of cross-dispatching desk operation and even cross-bureau operation can occur in the train operation process according to the train operation plan. Since the front station where the train is handed out by the station at the interface of the dispatching desk is not governed by the dispatching desk, the operation line cannot be acquired in the handing-out section and the handing-out line of the dispatching desk. Since the rear station accessed by the train at the station of the interface of the dispatching desk does not belong to the administration of the dispatching desk, the access interval and the access line of the operation line at the dispatching desk cannot be acquired. The problem is solved by increasing the lane configuration of the dividing bus station.
The keywords of the lane configuration of the boundary station are as follows:
keyword 1: dispatcher station brevity code
Keyword 2: demarcation interface station stop sign indicating number
Keyword 3: and the station name line ID of the interface station is used for distinguishing different directions of the multidirectional interface station.
Keyword 4: and adding station codes of stations. The station codes adjacent to the interface station and not under the jurisdiction of the dispatching desk, the rear station codes accessed into the interface station and the front station codes delivered out from the interface station.
Keyword 5: the section ID. The zone ID value between the demarcation bus stop and the additional bus stop.
Keyword 6: and the access line is different. And the line value when the section to which the section ID belongs is accessed at the boundary station.
Keyword 7: and (5) alternating out the line value. And the line value of the section to which the section ID belongs when the section is handed out at the boundary station.
Through the embodiment, the technical problems that a basic diagram in the prior art is a basic driving scheme of a train at a certain stage, the flexibility is poor, the traffic flow per day is different actually, and the basic diagram cannot be adapted to the driving scheme of the train per day are solved.
Example two
Fig. 10 is a block diagram illustrating a day shift schedule application apparatus based on a CTC system according to an embodiment of the present invention, as shown in fig. 10, the apparatus including:
an obtaining module 1000, configured to obtain a predefined rule, where the predefined rule includes: linked list rules, relationship rules.
A defining module 1002, configured to define linked list data according to the predefined rule.
And the planning module 1004 is used for acquiring day shift planning data and information flow direction data of the train according to the linked list data.
And the adjusting module 1006 is configured to use the day shift plan data and the information flow direction data to execute a train day shift plan, a passenger train adjusting plan, and a truck adjusting plan.
Optionally, the apparatus further comprises: and the configuration module is used for configuring according to the predefined rule and the definition linked list data to obtain a configuration result.
Optionally, the daily train schedule data is a daily train basic operation schedule issued by the TDMS to the CTC system, including operation schedules of passenger trains, freight trains, and other trains.
Optionally, the apparatus further comprises: and the checking module is used for checking the adjustment plans of the passenger car and the truck through the dispatching desk, and analyzing and feeding back the adjustment results.
Specifically, the technical solution of the embodiment of the present invention may be that a scheduling centralized system (abbreviated as a CTC system) is utilized, and the day shift plan used is a day shift plan transmitted by a transportation scheduling management information system (abbreviated as a TDMS) obtained through a TDMS interface server at the end of the CTC system, and includes a train day shift plan, a truck adjustment plan, and a passenger train adjustment plan. Predefined linked lists are defined as follows:
and the representation program starts to initialize the train operation plan linked list which is mapped in the display range of the current operation diagram interface from the database.
And the representation program starts to initialize the day shift plan linked list in the display range of the current operation chart interface from the database.
And the passenger car to be mapped, which represents the program cache, adjusts the day shift plan linked list.
And the freight car to be loaded with the picture representing the program cache adjusts the day shift plan linked list.
Is shown asAnd adjusting the daily shift plan linked list for the next received single pass of the truck.
Setting configuration: 1) nAllowTdRbDrawOnHour, unit: and the default value of the hour is 3, which indicates that the plan is allowed to be adjusted after hours from the current time, and the departure time of the first node or the arrival time of the access first node is initiated mainly for the adjustment plan of the plan to be adjusted. 2) bAddRbLimitedByDrawOnTime: and whether the adjustment plan upper graph with the modification type of increase is controlled by nAllowTdRbDrawOnHour configuration, when the value is 1, the adjustment plan upper graph with the modification type of increase is controlled by the nAllowTdRbDrawOnHour configuration, when the value is 0, the adjustment plan upper graph with the modification type of increase is not controlled by the nAllowTdRbDrawOnHour configuration, and the default value is 0. 3) bUpdateSHRbLimititedByDrawOnTime: and whether the plan upper graph of the truck adjustment single trip with the modification type updated is controlled by nAllowTdRbDrawOnHour configuration, when the value is 1, the plan upper graph of the truck adjustment single trip with the modification type updated is controlled by the nAllowTdRbDrawOnHour configuration, when the value is 0, the plan upper graph of the truck adjustment single trip with the modification type updated is not controlled by the nAllowTdRbDrawOnHour configuration, and the default value is 1.
In addition, for the train day shift plan application method based on the CTC system, the method can be as follows: (1) and planning the day and shift of the train. The daily train operation plan is a daily basic train operation plan issued to the CTC system by the TDMS terminal, and comprises operation plans of passenger trains, freight trains and other trains. Referring to the railway transportation scheduling rule (high speed railway part), the transmission from the TDMS end to the CTC end is finished before 18 hours according to the daily schedule of the train. (2) The train day shift plan acquisition mode and the information flow direction. The train day shift plan acquisition modes include the following two modes:
the first method is as follows: and the TDMS terminal actively transmits. The TDMS end sends a day shift plan assignment notice to the CTC end, the TDMS interface server at the CTC end immediately sends a request message for obtaining the day shift plan according to a time range to the TDMS end after receiving the notice message, and the TDMS end responds after receiving the request message and sends the relevant train day shift plan to the CTC end. And after receiving the day shift plan request response information sent by the TDMS, the TDMS interface server at the CTC end analyzes, checks and stores the day shift plan of the train, and then sends a day shift plan updating notice to the corresponding CTC operation diagram terminal. The flow chart of the related information interaction is shown in fig. 1.
The second method comprises the following steps: and the CTC terminal runs the active request of the graph terminal. And operating on CTC operation diagram terminal software by a train dispatcher to actively request a day shift plan. The request information is transmitted to the TDMS end through the CTC application server, the CTC total application server and the TDMS interface server to which the dispatching section belongs, and after receiving the request information, the TDMS end responds and transmits the relevant day shift plan of the train to the CTC end. And after receiving the day shift plan request response information sent by the TDMS, the TDMS interface server at the CTC end analyzes, checks and stores the day shift plan of the train, and then sends a day shift plan updating notice to the corresponding CTC operation diagram terminal. The flow chart of the related information interaction is shown in fig. 2.
(3) An application method of a train day shift plan in a TDMS interface server.
1) And receiving a daily schedule issuing notice sent by the TDMS terminal.
After receiving the notification message of the day-shift plan assignment sent by the TDMS, the TDMS interface server at the CTC end immediately sends a request message for acquiring the day-shift plan according to the time range to the TDMS end, wherein the request message comprises a dispatching desk code, information for requesting the start time and the end time of the time range of the day-shift plan of the train and the like. The daily schedule time range of the requested train is generally not less than 12 hours, defaults to 36 hours, and can be configured. The start time of the schedule time range of the day shift of the train is requested to be the start time of the shift to which the current time belongs. The regulation of the shift: the first shift is from 18:00 to 6:00 the day, and the second shift is from 6:00 to 18:00 the day.
2) And receiving the request information sent by the terminal of the operation diagram.
After receiving the request information sent by the terminal of the operation chart, the TDMS interface server at the CTC end converts the information in the FZyCTC communication protocol format into a communication protocol format interacting with the TDMS and then sends the information to the TDMS end.
3) The application flow after receiving the day-shift plan request response sent by the TDMS end, and the TDMS interface server at the CTC end receives the day-shift plan request response sent by the TDMS end is shown in fig. 3.
Firstly, analyzing a train day and shift plan, firstly, judging whether the received train day and shift plan is a multi-packet plan, and if the received train day and shift plan is single-packet data, directly analyzing; if the data is multi-packet data, the information is analyzed after being completely received according to the packet number. When receiving multi-packet data, if the information type of the received data is the information type which is not being received or the packet number is discontinuous, discarding the received train day and shift plan.
Checking the day shift plan of the train and checking whether the day shift ID is valid. The day shift ID should be a positive integer other than 0.
Check if the plan modification type is correct. The types of modification of the passenger car adjustment plan are: a value of 1 indicates an increase, a value of 2 indicates a modification, and a value of 3 indicates a deletion. Plan modification type values other than 1, 2, 3 are considered incorrect. Check if the station code is valid. The station code should be the station code actually existing in the dispatching station, and if not, the station code is considered invalid. And checking whether the arrival node and the departure node are matched with the station codes. The arrival node and the departure node in the node information in the bus adjustment day shift plan respectively represent the ID value of the station name line of the arrival point and the ID value of the station name line of the departure point of the node on the operation diagram. And binding a unique station code to each station name line in the operation graph. If the arriving node or the departing node does not match the station code, the plan is considered invalid. Checking whether the stock path is effective. The track is the track actually existing in the station, and if not, the task track is invalid. Check whether the line is valid. Referring to logic 9, if correct, it is valid, otherwise it is invalid. And checking the items A-F, if one item does not meet the requirement, determining that the day shift plan of the train is wrong, and removing the wrong day shift plan from a received train day shift plan linked list.
And thirdly, storing the bus adjustment day shift plan, deleting the data in RB _ TRAIN and RB _ TRAINNODE in the time range of the CTC system database according to the time range of the request day shift plan, and then inserting the received TRAIN day shift plan.
(4) An application method of a train day shift plan in a CTC operation diagram terminal.
2) and (5) planning the daily shift of the train.
The method provides an interface for independently displaying and selecting the daily schedule of the train. The interface provides a summary information list (train number and access time) via station selection drop down list, train type selection (passenger and freight), direction selection (up and down), head type selection (origination and access), time range selection, and associated train day shift plans.
Judging whether each plan in the train day shift plans to be mapped has a mapped operation line with the same day shift ID in a current operation map terminal actual performance map interface, if so, popping a frame to prompt a train dispatcher, and if so, continuously generating the day shift plans with the same day shift ID, and if continuously generating the plans, then mapping the train day shift plans; if not, the train day shift plan will not be generated. The associated operations will log details.
Thirdly, after the daily schedule of the train is successfully loaded, the display interface of the operation chart is immediately refreshed, and the program cache linked list is updatedAndadding run lines of the top graph to the linked listIn (1).
For example, the application method of the CTC system-based passenger car adjustment plan in the embodiment of the present invention:
(1) and the passenger train adjustment plan is passenger train adjustment plan information sent to the CTC system by the TDMS side passenger console, and comprises information of starting and stopping of the passenger train, route changing, arrival and departure time changing, station track application and the like. The passenger car adjustment plan is actively sent by the TDMS.
(2) And the passenger car adjustment plan information flow direction is actively sent by a TDMS (time domain data System) side guest console, and the correct passenger car adjustment plan is sent to a CTC operation graph terminal of the corresponding scheduling section through a CTC general application server and a CTC application server belonging to the related scheduling section after being analyzed, checked for validity, stored and the like by a TDMS interface server of the CTC system. And feeding back the wrongly applied receipt mode to the TDMS end according to the illegal plan detected by the TDMS interface server. And the passenger car adjusting plan successfully arranged on the CTC operation diagram terminal also feeds back a receipt of successful application sending to the TDMS terminal. The information flow diagram of the bus adjustment plan is shown in fig. 4.
(3) An application method of a passenger car adjustment plan in a TDMS interface server, and a flow chart of the passenger car adjustment day shift plan in the TDMS interface server are shown in FIG. 5.
1) And analyzing the passenger car adjustment plan.
Firstly, judging whether a received passenger car adjustment plan is a multi-packet plan or not, and if the received passenger car adjustment plan is a single-packet plan, directly analyzing the received passenger car adjustment plan; if the data is multi-packet data, the information is analyzed after being completely received according to the packet number. When receiving multi-packet data, when the information type of the received data is the information type which is not being received or the information with discontinuous packet numbers, abandoning the received passenger car adjustment plan.
2) The passenger car adjustment plan is checked.
Check whether the day shift ID is valid. The day shift ID should be a positive integer other than 0.
Check if the plan modification type is correct. The types of modification of the passenger car adjustment plan are: a value of 1 indicates an increase, a value of 2 indicates a modification, and a value of 3 indicates a deletion. Plan modification type values other than 1, 2, 3 are considered incorrect. Check if the station code is valid. The station code should be the station code actually existing in the dispatching station, and if not, the station code is considered invalid. And checking whether the arrival node and the departure node are matched with the station codes. The arrival node and the departure node in the node information in the bus adjustment day shift plan respectively represent the ID value of the station name line of the arrival point and the ID value of the station name line of the departure point of the node on the operation diagram. And binding a unique station code to each station name line in the operation graph. If the arriving node or the departing node does not match the station code, the plan is considered invalid. Checking whether the stock path is effective. The track is the track actually existing in the station, and if not, the task track is invalid. Check whether the line is valid. Referring to logic 9, if correct, it is valid, otherwise it is invalid. And checking the items A-F, if one item is not satisfied, determining that the bus adjustment daily shift plan is wrong, feeding back error information in a return mode, and sending the error information to the TDMS, and simultaneously removing the wrong daily shift plan from a received bus adjustment daily shift plan linked list.
3) And storing the bus adjustment day shift plan.
Firstly, using the day shift ID of a passenger car adjustment day shift plan operation line to look up whether the day shift plan operation line with the same day shift ID exists in a table RB _ TRAIN for storing the day shift plan in a CTC system database, if so, deleting the relevant information of the day shift ID plan operation line in database tables RB _ TRAIN and RB _ TRAINNODE, and then inserting the information of the day shift ID plan operation line received this time; if not, directly inserting the currently received day shift ID plan operation line information into the tables RB _ TRAIN and RB _ TRAINNODE.
4) And sending the scheduling information to the terminal of the operation diagram of the corresponding scheduling section.
And sending the received correct bus adjustment day shift plan to the operation diagram terminal of the corresponding dispatching desk according to an FZy-CTC communication information format.
(4) An application method of a passenger car adjustment plan in a CTC operation diagram terminal.
1) The terminal of the operation chart is initialized when a program is started or shifts、AndwhereinThe linked list is empty.
2) After receiving the passenger car adjustment plan, firstly analyzing the adjustment plan, and because the plan is checked at the TDMS end, the terminal of the operation diagram is not operated to repeatedly check.
3) And (6) data conversion. Because some key attribute values used inside the terminal of the operation diagram are not defined in accordance with the corresponding key attribute values sent by the TDMS, conversion is needed. The data to be converted includes the head mark, tail mark and track name of the regulation plan operation line.
4) Day-class plan linked list for updating terminal buffer of operation chart. By usingThe day class ID of each passenger car in the chain table for adjusting the day class plan is used as a key wordFinding the train day shift plan with the same day shift ID, and if finding the train day shift plan, replacing the original cache linked list with the newly received bus adjustment day shift planThe corresponding train day shift plan in (1).
5) And updating the day shift plan display interface. And if the current display interface of the operation diagram terminal is a day shift plan display interface, immediately refreshing the interface.
6) Bus to be loaded with images and adjusting day-shift plan linked list for updating terminal cache of operation diagram. By usingThe day class ID of each passenger car in the chain table for adjusting the day class plan is used as a key wordFinding the bus adjusting day shift plan with the same day shift ID, and if finding the bus adjusting day shift plan, replacing the original cache linked list with the newly received bus adjusting day shift planThe day shift plan is adjusted for the corresponding passenger car in (1).
7) And the terminal interface of the operation diagram pops a box to prompt a dispatcher to receive a passenger car adjustment plan.
8) The passenger car adjusts the plan upper graph.
Providing an interface for independently displaying and selecting a plan on a passenger car adjustment plan, as shown in FIG. 6. The interface comprises a list of the passenger car adjustment plan to be subjected to drawing, wherein information such as 'generation/deletion' check items, train number, increase/deletion marks, head marks, tail marks, start time, end time, initial station, final station, day shift ID, receiving time and the like of the passenger car adjustment plan is displayed in the list, and the 'generation/deletion' check items are used for checking whether the passenger car adjustment plan is to be subjected to drawing or is cached in a program in the passenger car to be subjected to drawingTrain chain tableIs deleted. The interface is provided with five buttons of full selection, full reverse selection, drawing uploading, deletion and cancellation, so that a train dispatcher can flexibly select a passenger train adjustment plan to be uploaded.
Judging whether an imaged operation line with the same day class ID exists in an actual performance drawing interface of a current operation drawing terminal of each plan in a coach adjustment plan dialog box, if so, popping a box to prompt a train dispatcher, if so, generating the day class plan with the same day class ID, and if so, generating the coach adjustment plan; if not, the adjustment plan will not be generated. The associated operations will log details.
Thirdly, drawing the modified type according to the passenger car adjustment plan, wherein the specific application method is as follows: [1]Increasing if the configuration value of the bAddRbLimitedByDrawOnTime is 1 and the departure time of the starting head node or the arrival time of the access head node of the passenger car adjustment plan operation line to be shown in the figureIf the following formula conditions are satisfied, the above-described conditions are not satisfied.Indicating the current time of day (common throughout). The alarm window prompt bar will prompt: the upper graph of the train number XX (passenger train adjustment plan) fails and is not within the allowable time range of the upper graph.The departure time of the starting head node or the arrival time of the access head node of the passenger car regulating plan operation line to be shownIf the following formula conditions are satisfied, the above-described conditions are not satisfied. The alarm window prompt bar will prompt: failure in the XX (adjustment plan for passenger train) upper chartIn the upper graph, the time is allowed.Except for the A and B scenes, both can be viewed. And after the drawing is successfully loaded, immediately refreshing the display interface of the running drawing. After the passenger car adjusts the plan to be mapped, the program buffer chain table is updatedAndadding run lines of the top graph to the linked listIn the 'passenger car adjustment plan' dialog box, the passenger car adjustment plan to be mapped is selectedIs deleted. [2]Updating the departure time of the starting head node or the arrival time of the access head node of the passenger car adjustment plan operation line to be shownIf the following formula conditions are satisfied, the above-described conditions are not satisfied. The alarm window prompt bar will prompt: the upper graph of the train number XX (passenger train adjustment plan) fails and is not within the allowable time range of the upper graph.In a linked listFinding out the operation line the same as the day shift ID of the passenger car regulation plan to be loaded on the map, and finding out the starting first node sending time or the access first node arrival time of the operation lineIf the following formula conditions are satisfied, the above-described conditions are not satisfied. The alarm window prompt bar will prompt: number of cars XX (Passenger car adjustment plan) fails to be within the upper graph allowable time range.In addition to the A and B scenes, if in the linked listThe same operation line as the day shift ID of the passenger car adjustment plan to be mapped is found inIf the bus is determined to have the condition of the upper graph, the newly received bus adjustment plan is usedReplacement ofAnd after the drawing is successfully written, immediately refreshing the display interface of the running drawing. After the passenger car adjusts the plan to be mapped, the program buffer chain table is updatedAndupdating the operation line of the upper graph to the linked listIn the 'passenger car adjustment plan' dialog box, the passenger car adjustment plan to be mapped is selectedIs deleted. [3]Deleting the departure time of the starting head node or the arrival time of the access head node of the passenger car adjustment plan operation line to be deletedIf the following formula conditions are satisfied, the above-described conditions are not satisfied. The alarm window prompt bar will prompt:the upper graph of the train number XX (passenger train adjustment plan) fails and is not within the allowable time range of the upper graph.In a linked listAnd finding the same operation line as the day shift ID of the passenger car adjustment plan to be subjected to map deletion, and if the operation line cannot be found, not meeting the map deletion condition. The alarm window prompt bar will prompt: the XX (passenger train adjustment plan) on the train number fails to find the operation line corresponding to the day shift plan. If in a linked listFinding out the starting first node sending time or the access first node arrival time of the same operation line as the day shift ID of the passenger car regulation plan to be deletedIf the following formula conditions are satisfied, the above-described conditions are not satisfied. The alarm window prompt bar will prompt: the upper graph of the train number XX (passenger train adjustment plan) fails and is not within the allowable time range of the upper graph.The map may be deleted except for A, B and the C scene. And after the upper graph is successfully deleted, immediately refreshing the display interface of the running graph. After the passenger car adjusts the plan to be mapped, the program buffer chain table is updatedAndrun-line Slave-Linked List for Top-graph deletionIn the 'passenger car adjustment plan' dialog box, the passenger car adjustment plan to be mapped is selected fromIs deleted.
For another example, in the method for applying a truck alignment plan based on a CTC system in an embodiment of the present invention, (1) the truck alignment plan is a freight train alignment information issued by a TDMS end planning stage to the CTC system, and is divided into two types, a phase plan and a single trip alignment plan. The phase plan may include multiple truck adjustment plan messages, and the single-pass adjustment plan may include only one truck adjustment plan message, with the two messages having similar formats. And the truck adjustment plan, including the phase plan and the single-trip adjustment plan, is actively sent by the TDMS. (2) And the flow direction of the truck adjusting plan information is transmitted actively by a planning platform at the TDMS end. And after the analysis, validity check, storage and the like of a TDMS interface server of the CTC system, the correct truck adjustment plan is sent to a CTC operation chart terminal of a corresponding scheduling section through a CTC total application server and a CTC application server belonging to a related scheduling section. And feeding back the wrongly applied receipt mode to the TDMS end according to the illegal plan detected by the TDMS interface server. And the truck adjustment plan successfully arranged on the CTC operation diagram terminal also feeds back a receipt of successful application sending to the TDMS terminal. The information flow diagram of the truck trim plan is shown in fig. 7.
(3) The application method of the truck adjusting plan in the TDMS interface server is the same as that of the bus adjusting plan.
(4) The truck adjustment plan is divided into a truck adjustment stage plan and a truck adjustment single-pass plan. 1) The terminal of the operation chart is initialized when a program is started or shifts、AndwhereinThe linked list is empty. 2) After receiving the truck adjustment node plan/truck adjustment single-pass plan, firstly analyzing, and as the plan is checked at the TDMS end, the repeated check at the operation diagram terminal is not performed any more. 3) And (6) data conversion. Because some key attribute values used inside the terminal of the operation diagram are not defined in accordance with the corresponding key attribute values sent by the TDMS, conversion is needed. The data to be converted includes the head mark, tail mark and track name of the regulation plan operation line. 4) Day-class plan linked list for updating terminal buffer of operation chart. By usingEach truck in the link list adjusts the plan orThe day class ID of the truck adjustment plan is used as a key wordFinding the train day shift plan with the same day shift ID, and if finding the train day shift plan, replacing the original cache linked list with the newly received truck adjusting planThe corresponding train day shift plan in (1). 5) And updating the day shift plan display interface. And if the current display interface of the operation diagram terminal is a day shift plan display interface, immediately refreshing the interface. 6) Freight train to be loaded with chart and adjusting day shift plan linked list for updating terminal cache of operation chart. By usingPlan for adjusting stage of each truck or plan for adjusting single pass of truck in chain tableThe day class ID as a key wordFinding the freight train adjustment daily shift plan with the same daily shift ID, and if finding the adjustment daily shift plan, replacing the original cache linked list with the newly received freight train adjustment planThe corresponding truck in (1) adjusts the plan. 7) And the terminal interface of the operation diagram pops a box to prompt a dispatcher to receive a truck adjustment plan. 8) And adjusting the plan upper graph by the truck.
Providing an interface for independently displaying and selecting a plan on a truck adjustment plan, as shown in FIG. 8. The interface comprises a list of the freight train adjustment plans to be subjected to drawing, wherein information such as 'generation/deletion' check items, train numbers, stop marks, head marks, tail marks, start time, end time, start stations, end stations, day shift IDs (identification) and receiving time of the freight train adjustment plans is displayed in the list, and the 'generation/deletion' check items are used for checking whether the freight train adjustment plans are to be subjected to drawing or are cached in a program in a train-train chain list of the freight trains to be subjected to drawingIs deleted. Five buttons of full selection, full reverse selection, drawing uploading, deletion and cancellation are arranged on the interface, so that a train dispatcher can flexibly select a truck adjustment plan to be uploaded.
Judging whether each plan is provided with a drawing operation line with the same day class ID in a current operation diagram terminal actual performance diagram interface in a truck adjustment plan dialog box, if so, popping a box to prompt a train dispatcher, if so, generating the day class plan with the same day class ID, and if so, generating the truck adjustment plan; if not, the truck adjustment plan will not be generated. The associated operations will log details.
And thirdly, assigning values to modification types of the truck adjustment plan. Since the truck adjustment plan does not include the modification type, a value needs to be assigned to the modification type of the truck adjustment plan.
And when the attribute of the outage mark of the operation line of the truck adjustment plan is outage, defining the modification type of the truck adjustment plan as deletion.
In a linked listIf the same operation line as the daily shift plan ID of the truck adjustment plan to be mapped is not found, the modification type of the truck adjustment plan is defined as increasing.
In a linked listIf the same operation line as the daily shift plan ID of the truck adjustment plan to be mapped is found, the modification type of the truck adjustment plan is defined as updating.
Fourthly, according to the modification type upper graph of the truck adjustment plan, the specific application method is as follows:
[1] increase of
If the configuration value of the bAddRbLimitedByDrawOnTime is 1, the departure time of the starting head node or the arrival time of the access head node of the freight train adjustment plan operation line to be shown in the figureIf the following formula conditions are satisfied, the above-described conditions are not satisfied.Indicating the current time of day (common throughout). The alarm window prompt bar will prompt: the chart on the train number XX (truck adjustment plan) fails and is not within the allowable time range of the chart.
The departure time of the starting head node or the arrival time of the access head node of the freight train regulating plan operation line to be mappedIf the following formula conditions are satisfied, the above-described conditions are not satisfied. The alarm window prompt bar will prompt: the chart on the train number XX (truck adjustment plan) fails and is not within the allowable time range of the chart.
Except for the A and B scenes, both can be viewed. And after the drawing is successfully loaded, immediately refreshing the display interface of the running drawing. After the truck adjusts the plan to be mapped, the program buffer chain table is updatedAndadding run lines of the top graph to the linked listIn the 'truck adjustment plan' dialog box, the truck adjustment plan to be mapped is selectedIs deleted.
[2] Updating
If the configuration value of bUpdateSHRbLimitedByDrawOnTime is 0, and the truck adjustment plan to be mapped is the truck adjustment single-pass adjustment planWhen in a linked listFinding a running line which is the same as the day shift ID of the truck adjustment single-pass plan to be mapped, if the running line exists and any node in the running line is not converted into an actual result, considering that the mapping condition is met, and mapping can be carried out; otherwise, the condition of drawing is considered not to be met, and drawing can not be drawnAnd the warning window prompt bar prompts: the graph on the train number XX (truck adjustment single-pass plan) fails, and a node with actual performance is present corresponding to the operation line.
The departure time of the starting head node or the arrival time of the access head node of the freight train regulating plan operation line to be mappedIf the following formula conditions are satisfied, the above-described conditions are not satisfied. The alarm window prompt bar will prompt: the chart on the train number XX (truck adjustment plan) fails and is not within the allowable time range of the chart.
In a linked listFinding out the operation line the same as the day shift ID of the truck adjustment plan to be mapped, and finding out the starting first node sending time or the access first node arrival time of the operation lineIf the following formula conditions are satisfied, the above-described conditions are not satisfied. The alarm window prompt bar will prompt: the chart on the train number XX (truck adjustment plan) fails and is not within the allowable time range of the chart.
Except for A, B and C which do not have the above-mentioned condition, if in the linked listThe same operation line as the day shift ID of the truck adjustment plan to be mapped is found inIf the condition of the upper graph is met,will use the corresponding newly received truck trim planReplacement ofAnd after the drawing is successfully written, immediately refreshing the display interface of the running drawing. After the truck adjusts the plan to be mapped, the program buffer chain table is updatedAndupdating the operation line of the upper graph to the linked listIn the 'truck adjustment plan' dialog box, the truck adjustment plan to be mapped is selectedIs deleted.
[3] Deleting
Starting time of starting head node or arrival time of access head node of freight car regulation plan operation line to be deletedIf the following formula conditions are satisfied, the above-described conditions are not satisfied. The alarm window prompt bar will prompt: the chart on the train number XX (truck adjustment plan) fails and is not within the allowable time range of the chart.
In a linked listFinding the same operation line as the daily class ID of the truck adjustment plan to be subjected to map deletion, if not, not finding the operation lineAnd preparing a graph deleting condition. The alarm window prompt bar will prompt: the XX (truck adjustment plan) on the train number fails to get on the map, and the operation line corresponding to the day shift plan cannot be found.
If in a linked listFinding out the starting first node sending time or the access first node arrival time of the same operation line as the daily shift ID of the truck adjustment plan to be subjected to map deletionIf the following formula conditions are satisfied, the above-described conditions are not satisfied. The alarm window prompt bar will prompt: the chart on the train number XX (truck adjustment plan) fails and is not within the allowable time range of the chart.
The map may be deleted except for A, B and the C scene. And after the upper graph is successfully deleted, immediately refreshing the display interface of the running graph. After the truck adjusts the plan to be mapped, the program buffer chain table is updatedAndrun-line Slave-Linked List for Top-graph deletionRemoving, checking the truck adjustment plan to be drawn from the 'truck adjustment plan' dialog boxIs deleted.
Supplemental logic
Logic 1: the general operational wire node access interval ID checks the logic for correctness.
Whether the section ID is a section ID between a station to which the node belongs and a rear station (a station that has passed in the train traveling direction) adjacent to the node. If so, the ID of the access interval of the node is correct, otherwise, the ID is wrong.
Logic 2: the general operation line node access line is correct check logic.
Whether the line is actually existed in the interval or not, if so, the node access line is correct, and if not, the node access line is wrong.
Logic 3: the logic is checked whether the ID of the node leaving interval of the general operation line is correct.
Whether the section ID is a section ID between a station to which the node belongs and a station ahead of the node (a station that has not passed by in the train traveling direction). If yes, the ID of the node surrender interval is correct, otherwise, the ID is wrong.
Logic 4: the normal operation line node sends out the line to check the logic correctly.
If the line is actually existed in the interval, the node intersection line is correct if the line is true, otherwise, the node intersection line is wrong.
Logic 5: and checking whether the access interval ID of the interface station as the access first node is correct or not.
And referring to logic 10 'interface station line configuration', finding corresponding interface station line configuration according to a dispatching desk brevity code, an interface station code and an interface station name line ID of the day shift plan, and judging whether the access section ID is matched with the configured section ID, if so, judging that the access section ID is correct, otherwise, judging that the access section ID is wrong.
Logic 6: and whether the access line of the interface station serving as the access first node is correct or not is checked.
And referring to logic 10 'boundary station line configuration', finding corresponding boundary station line configuration according to a dispatching desk brevity code, a boundary station code and a boundary station name line ID of the day shift plan, and judging whether the access line is matched with the configured access line, if so, judging that the access line is correct, otherwise, judging that the access line is wrong.
Logic 7: and checking logic whether the delivery section ID of the boundary station as a delivery head node is correct or not.
And referring to logic 10 'interface station line configuration', finding out corresponding interface station line configuration according to a dispatching desk brevity code, an interface station code and an interface station name line ID of the day shift plan, and judging whether the delivery section ID is matched with the configured section ID, if so, judging that the delivery section ID is correct, otherwise, judging that the delivery section ID is wrong.
Logic 8: and checking logic whether the delivery line of the interface station as the delivery first node is correct or not.
And referring to logic 10 'interface station line configuration', finding out the corresponding interface station line configuration according to the simplified code of the dispatching desk, the interface station code and the interface station name line ID of the day shift plan, and judging whether the delivery line is matched with the configured delivery line, wherein if the delivery line is matched, the correctness is ensured, and otherwise, the mistake is caused.
Logic 9: the day shift plan runs a line node line check logic.
4) Head node
C. Access wire clip
D. Traffic line pin
5) Intermediate node
C. Access wire clip
D. Traffic line pin
6) Tail node
C. Access wire clip
D. Traffic line pin
And (3) carrying out traffic line classification: and 8, logic.
Logic 10: and (5) allocating the lane of the boundary station.
Due to the limited scope of the dispatching desk, the situation of cross-dispatching desk operation and even cross-bureau operation can occur in the train operation process according to the train operation plan. Since the front station where the train is handed out by the station at the interface of the dispatching desk is not governed by the dispatching desk, the operation line cannot be acquired in the handing-out section and the handing-out line of the dispatching desk. Since the rear station accessed by the train at the station of the interface of the dispatching desk does not belong to the administration of the dispatching desk, the access interval and the access line of the operation line at the dispatching desk cannot be acquired. The problem is solved by increasing the lane configuration of the dividing bus station.
The keywords of the lane configuration of the boundary station are as follows:
keyword 1: dispatcher station brevity code
Keyword 2: demarcation interface station stop sign indicating number
Keyword 3: and the station name line ID of the interface station is used for distinguishing different directions of the multidirectional interface station.
Keyword 4: and adding station codes of stations. The station codes adjacent to the interface station and not under the jurisdiction of the dispatching desk, the rear station codes accessed into the interface station and the front station codes delivered out from the interface station.
Keyword 5: the section ID. The zone ID value between the demarcation bus stop and the additional bus stop.
Keyword 6: and the access line is different. And the line value when the section to which the section ID belongs is accessed at the boundary station.
Keyword 7: and (5) alternating out the line value. And the line value of the section to which the section ID belongs when the section is handed out at the boundary station.
Through the embodiment, the technical problems that a basic diagram in the prior art is a basic driving scheme of a train at a certain stage, the flexibility is poor, the traffic flow per day is different actually, and the basic diagram cannot be adapted to the driving scheme of the train per day are solved.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
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 units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
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 in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer 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 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 Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.
Claims (7)
1. A day shift plan application method based on a CTC system is characterized by comprising the following steps:
obtaining a predefined rule, wherein the predefined rule comprises: linked list rules, relationship rules;
defining linked list data according to the predefined rule;
acquiring day shift plan data and information flow direction data according to the linked list data: the daily shift plan is a daily train basic operation plan issued to the CTC system by the TDMS, and comprises operation plans of passenger trains, freight trains and other trains; according to railway transportation scheduling rules, the transmission of the daily schedule plan of the train to a CTC end is finished by the TDMS end before 18 o' clock; the train day shift plan acquisition modes include the following two modes: the first method is as follows: the TDMS terminal actively sends: the TDMS end sends a day shift plan assignment notice to the CTC end, the TDMS interface server at the CTC end immediately sends a request message for acquiring the day shift plan according to a time range to the TDMS end after receiving the notice message, and the TDMS end responds after receiving the request message and sends the relevant train day shift plan to the CTC end; after receiving the day shift plan request response information sent by the TDMS, the TDMS interface server at the CTC end analyzes, checks and stores the day shift plan of the train, and then sends a day shift plan updating notice to the corresponding CTC operation diagram terminal; the second method comprises the following steps: the CTC terminal runs a terminal active request: the train dispatcher operates on CTC operation diagram terminal software to actively request a day shift plan, request information is sent to a TDMS end through a CTC application server, a CTC total application server and a TDMS interface server which a dispatching section belongs to, and the TDMS end responds after receiving the request information and sends the related train day shift plan to the CTC end; after receiving the day shift plan request response information sent by the TDMS, the TDMS interface server at the CTC end analyzes, checks and stores the day shift plan of the train, and then sends a day shift plan updating notice to the corresponding CTC operation diagram terminal;
the application method of the train day shift plan in the TDMS interface server comprises the following steps: receiving a daily schedule issuing notice sent by a TDMS end; receiving request information sent by a terminal of the operation diagram; receiving a day-to-duty plan request response sent by a TDMS end;
the application method of the train day shift plan in the CTC operation diagram terminal comprises the following steps: the terminal of the operation chart is initialized when a program is started or shiftsAnd(ii) a The daily shift plan of the train is shown: providing an interface for independently displaying and selecting a daily schedule plan of the train; the interface provides a pull-down list selected by stations, vehicle type selection items of buses and trucks, ascending and descending direction selection items, head type selection items of starting and accessing, time range selection items and a summary information list of related daily shift plans of trains; judging whether each plan in the daily schedule plans of the train to be mapped has a mapped operation line with the same daily schedule ID in the actual performance chart interface of the current operation chart terminal, if so, popping a frame to prompt a train dispatcher, and if so, displaying the operation line with the same daily schedule IDIf the daily shift plan is on the map and is continuously generated, the daily shift plan of the train is on the map; if the selection is not generated, the daily shift plan of the train is not displayed, and the related operation records a detailed log; after the daily schedule of the train is successfully loaded, the display interface of the operation chart is immediately refreshed, and the program cache linked list is updatedAndadding run lines of the top graph to the linked list(ii) a Wherein:the representation program starts to initialize a train operation plan linked list which is shown in the current operation diagram interface display range from a database;the representation program starts to initialize a day shift plan linked list in the current operation diagram interface display range from a database;
and using the day shift plan data and the information flow direction data to execute a train day shift plan, a passenger train adjustment plan and a truck adjustment plan.
2. The method of claim 1, wherein after defining linked list data according to the predefined rule, the method further comprises: and configuring according to the predefined rule and the definition linked list data to obtain a configuration result.
3. The method of claim 1, wherein after using the day shift plan data and information flow data for generation of a train day shift plan, a passenger train adjustment plan, a freight train adjustment plan, the method further comprises: and checking the adjustment plans of the passenger car and the truck through a dispatching desk, and analyzing and feeding back the adjustment results.
4. A CTC system-based day shift schedule application apparatus including the CTC system-based day shift schedule application method of any of claims 1-3, comprising:
an obtaining module, configured to obtain a predefined rule, where the predefined rule includes: linked list rules, relationship rules;
the defining module is used for defining linked list data according to the predefined rule;
the planning module is used for acquiring day-shift planning data and information flow direction data of the train according to the linked list data;
and the adjusting module is used for using the day shift plan data and the information flow direction data to execute a train day shift plan, a passenger train adjusting plan and a truck adjusting plan.
5. The apparatus of claim 4, further comprising:
and the checking module is used for checking the adjustment plans of the passenger car and the truck through the dispatching desk, and analyzing and feeding back the adjustment results.
6. A non-volatile storage medium, comprising a stored program, wherein the program, when executed, controls an apparatus in which the non-volatile storage medium is located to perform the method of any of claims 1 to 3.
7. An electronic device comprising a processor and a memory; the memory has stored therein computer readable instructions for execution by the processor, wherein the computer readable instructions when executed perform the method of any one of claims 1 to 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111427507.1A CN113830143B (en) | 2021-11-29 | 2021-11-29 | Day shift plan application method and device based on CTC system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111427507.1A CN113830143B (en) | 2021-11-29 | 2021-11-29 | Day shift plan application method and device based on CTC system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113830143A CN113830143A (en) | 2021-12-24 |
CN113830143B true CN113830143B (en) | 2022-04-01 |
Family
ID=78971839
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111427507.1A Active CN113830143B (en) | 2021-11-29 | 2021-11-29 | Day shift plan application method and device based on CTC system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113830143B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115092214A (en) * | 2022-05-25 | 2022-09-23 | 卡斯柯信号有限公司 | Integrated method and device for passenger car shunting and freight car shunting based on CTC3.0 |
CN114997729A (en) * | 2022-07-01 | 2022-09-02 | 卡斯柯信号有限公司 | Post linkage device and method applied to CTC construction plan |
CN115489573B (en) * | 2022-09-26 | 2023-09-01 | 卡斯柯信号有限公司 | Train operation adjusting method and device based on CTC |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH01168563A (en) * | 1987-12-23 | 1989-07-04 | Hitachi Ltd | Train diagram planning support method and device therefor |
CN108622142A (en) * | 2018-03-30 | 2018-10-09 | 卡斯柯信号有限公司 | A kind of train intelligent operation adjustment system and method based on real-time passenger flow |
CN108769215B (en) * | 2018-05-31 | 2021-03-02 | 北京全路通信信号研究设计院集团有限公司 | Transportation information integration system |
CN111071307B (en) * | 2020-01-02 | 2021-12-28 | 中国铁道科学研究院集团有限公司通信信号研究所 | Method for setting multi-direction section default lines among different subgraphs |
CN111791923B (en) * | 2020-05-21 | 2021-06-29 | 北京交通大学 | Energy-saving-oriented single-track railway train scheduling method and system |
CN213168107U (en) * | 2020-05-26 | 2021-05-11 | 中铁上海设计院集团有限公司 | Railway scheduling system for realizing unification of plan scheduling and traveling scheduling |
CN111930813B (en) * | 2020-07-29 | 2024-09-13 | 交控科技股份有限公司 | PIS log equivalent operation chart generation method taking train as statistical unit |
CN113128774B (en) * | 2021-04-26 | 2023-09-19 | 北京交通大学 | Train operation adjustment optimization method under fixed train operation line sequence |
CN113665640B (en) * | 2021-10-21 | 2022-01-25 | 中国铁道科学研究院集团有限公司通信信号研究所 | Method and system for adjusting train operation plan in dispatching section containing multidirectional stations |
-
2021
- 2021-11-29 CN CN202111427507.1A patent/CN113830143B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN113830143A (en) | 2021-12-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113830143B (en) | Day shift plan application method and device based on CTC system | |
CN109532960B (en) | Automatic dispatching system for marshalling station | |
CN105253170A (en) | City railway transport vehicle scheduling management and running chart display method | |
DE102015109660A1 (en) | Method and system for on-demand transport services | |
CN109088864B (en) | Transponder data generation and management system | |
US20130318002A1 (en) | Resource management plan creation device and resource management plan creation method | |
Luo et al. | Constructing spatiotemporal load profiles of transit vehicles with multiple data sources | |
CN113408914A (en) | Method and device for compiling train planned operation diagram, electronic equipment and storage medium | |
WO2023015746A1 (en) | Ctc3.0-based automatic generation and execution method for detachment and attachment plan of lead locomotive | |
Ertem et al. | Freight transportation using high-speed train systems | |
CN109375984B (en) | Station guiding display system | |
Qu et al. | Estimating Wait Time and Passenger Load in a Saturated Metro Network: A Data‐Driven Approach | |
US9250077B2 (en) | Ground-transportation network representation | |
CN111612187A (en) | Network appointment system, underground taxi taking system and method and readable storage medium | |
CN115489573B (en) | Train operation adjusting method and device based on CTC | |
CN113247057B (en) | Data system based on global present vehicle management system and data processing method thereof | |
JP4632169B2 (en) | Allocation support device and program for operation schedule | |
JP2766607B2 (en) | In-car inspection system | |
JP2003141577A (en) | System and method for selling train ticket | |
CA2919902A1 (en) | Ground-transportation network representation | |
JP2001312788A (en) | Server, system and method for managing cooperative operation and computer-readable storage medium | |
CN109857734B (en) | Data construction and storage method for describing passenger train schedule | |
JPH0692237A (en) | Method and system for solving problem | |
WO2024116865A1 (en) | Transportation resource lending/borrowing management device, transportation resource lending/borrowing management system, and transportation resource lending/borrowing management method | |
CN111985698B (en) | Method and device for determining split loading of kitchen and bathroom type vehicles conveyed and installed at home |
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 |