Compilation method and system for flexibly marshaled train working diagram and electronic equipment
By acquiring user-input operation commands and operating parameters, and using preset verification rules to generate train operation lines, the problem of poor interactivity and low efficiency in the existing technology of timetable compilation is solved. It realizes the efficient and accurate generation of flexible train timetables, which is suitable for complex application scenarios with dynamic changes.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- TRAFFIC CONTROL TECH CO LTD
- Filing Date
- 2025-12-25
- Publication Date
- 2026-05-12
AI Technical Summary
Existing methods for creating urban rail transit timetables suffer from poor interactivity, low efficiency and accuracy, and are ill-suited to adapting to complex and dynamically changing application scenarios.
By acquiring user input commands and multiple operating parameters, and using preset verification rules to verify the parameters, train operation lines are generated, including designated locations on the routes of newly added train services where the headway is less than the stop time. This method is highly interactive, efficient, and accurate.
It enables the efficient and accurate generation of flexible train timetables, suitable for complex and dynamically changing application scenarios, and improves the interactivity and accuracy of timetable compilation.
Smart Images

Figure CN122009285A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of urban rail transit technology, and in particular to a method, system and electronic equipment for compiling flexible train timetables. Background Technology
[0002] Urban rail transit timetables are the foundation for organizing train operations, and their quality directly affects operational safety and efficiency. With the diversification of passenger demand and the increasing complexity of operational models, flexible train formation capable of responding to real-time passenger flow changes has become a crucial development trend. Currently, traditional timetable creation methods heavily rely on manual operation by professional timetable creators, resulting in poor interactivity. When faced with the need for multi-train coordination and multi-location train formation and de-formation, these methods suffer from low efficiency and accuracy, poor flexibility, and difficulty adapting to dynamically changing and complex application scenarios. Summary of the Invention
[0003] This invention provides a method, system, and electronic device for creating flexible train timetables, which addresses the shortcomings of existing train timetable creation methods, such as poor interactivity, low efficiency and accuracy, and poor adaptability.
[0004] This invention provides a method for compiling flexible train timetables, comprising: The system obtains user-inputted operation commands and multiple operating parameters, including: reference train number, designated location, route of the newly added train number, and the headway between the reference train number and the newly added train number, and the stop time of the reference train number at the designated location. In response to the operation command, the multiple operating parameters are verified according to preset verification rules; the preset verification rules include: if the specified location is on the route of the newly added train, and the train interval time is less than the stop time, then the verification passes. If the verification is successful, a train running line is generated on the running diagram interface based on the multiple operating parameters.
[0005] In some embodiments, the operation instructions are used to indicate the addition of a new train formation or the addition of a new train de-formation; the designated location is on the operating line of the reference train.
[0006] In some embodiments, after generating the train running line on the running diagram interface, the method further includes: When the operation instruction indicates the addition of a new train formation, the designated location is assigned a formation attribute, and the line type of the route from the designated location to the end point of the reference train is changed to a virtual formation line type.
[0007] In some embodiments, after generating the train running line on the running diagram interface, the method further includes: When the operation instruction indicates the addition of a new train decommissioning service, the designated location is assigned a decommissioning attribute.
[0008] In some embodiments, after assigning the decompilation attribute to the specified location, the method further includes: If it is determined that there is a marshalling location on the operating line from the origin of the reference train to the designated location, the alignment of the operating line from the marshalling location to the designated location is changed to a virtual marshalling alignment. If it is determined that there is no marshalling location on the operating line from the origin of the reference train to the designated location, the number of the newly added train is updated, and the line type of the operating line from the origin of the reference train to the designated location is changed to a virtual marshalling line type.
[0009] In some embodiments, generating a train running line on the running diagram interface based on the plurality of operating parameters includes: When the operation instruction indicates the addition of a train formation, a route from the starting point of the new train formation to the designated location is generated based on the multiple operating parameters, and this route is used as the operating route of the new train formation.
[0010] In some embodiments, generating a train running line on the running diagram interface based on the plurality of operating parameters includes: When the operation instruction indicates the addition of a new train, a route from the designated location to the destination of the new train is generated based on the multiple operating parameters, and this route is used as the operating route of the new train.
[0011] In some embodiments, after verifying the plurality of operating parameters, the method further includes: If the verification fails, an alarm message is generated and an alarm notification is issued.
[0012] The present invention also provides a system for compiling flexible train timetables, comprising: The acquisition unit is used to acquire user-input operation instructions and multiple operating parameters, including: reference train number, designated location, route of the newly added train number, and the headway between the reference train number and the newly added train number, and the stop time of the reference train number at the designated location; The verification unit is used to respond to the operation command and verify the multiple operating parameters according to the preset verification rules. The preset verification rules include: if the specified location is on the route of the newly added train and the train interval time is less than the stop time, then the verification passes. The generation unit is used to generate a train running line on the running diagram interface based on the multiple running parameters, provided that the verification is successful.
[0013] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the method for compiling a flexible train timetable as described above.
[0014] The present invention provides a method, system, and electronic device for creating flexible train timetables. By acquiring user-input operation commands and multiple operating parameters, including a reference train number, a designated location, the route of a newly added train, the headway between the reference train and the newly added train, and the stop time of the reference train at the designated location, the system responds to the operation commands and verifies these parameters according to preset verification rules. These rules stipulate that if the designated location is on the route of the newly added train and the headway is less than the stop time, the verification passes. Upon successful verification, train routes are generated on the timetable interface based on these operating parameters. This method offers strong interactivity, high efficiency and accuracy, and is suitable for complex, dynamically changing application scenarios. Attached Figure Description
[0015] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0016] Figure 1 This is one of the flowcharts illustrating the method for compiling a flexible train timetable provided in this embodiment of the invention.
[0017] Figure 2 This is a schematic diagram of the process for adding new train formations in one direction, provided in an embodiment of the present invention.
[0018] Figure 3 This is a schematic diagram of the process for adding and unloading train numbers in one direction, provided in an embodiment of the present invention.
[0019] Figure 4 This is the second flowchart illustrating the method for compiling a flexible train timetable provided in this embodiment of the invention.
[0020] Figure 5 This is one of the flowcharts illustrating the connection of multiple target train routes provided in this embodiment of the invention.
[0021] Figure 6 This is the second schematic diagram of the process for connecting multiple target train routes provided in the embodiments of the present invention.
[0022] Figure 7This is a schematic diagram of the structure of the flexible train timetable compilation system provided in the embodiment of the present invention.
[0023] Figure 8 This is a schematic diagram of the structure of the electronic device provided in an embodiment of the present invention. Detailed Implementation
[0024] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.
[0025] The terms "first," "second," etc., used in this invention are used to distinguish similar objects, not to describe a specific order or sequence. It should be understood that such terms can be used interchangeably where appropriate so that embodiments of the invention can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first" and "second" are generally of the same class, not limited in number; for example, the first object can be one or more. Furthermore, in this invention, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.
[0026] Figure 1 This is one of the flowcharts illustrating the method for creating flexible train timetables according to an embodiment of the present invention. Figure 1 As shown, a method for compiling a flexible train timetable is provided, including the following steps: step 110, step 120, and step 130. This method's steps are merely one possible implementation of the invention.
[0027] Step 110: Obtain the user-inputted operation instructions and multiple operating parameters, including: reference train number, specified location, route of the newly added train number, and the headway between the reference train number and the newly added train number, and the stop time of the reference train number at the specified location.
[0028] Optionally, the operation command can be a train formation command or a train unforming command.
[0029] In some embodiments, the operation instructions are used to indicate the addition of new train formations or the addition of new train de-formation; the specified location is on the operating line of the reference train.
[0030] The designated location is the specific location where the marshalling or demarcation operation takes place; the route of the newly added train refers to the path that the newly added train needs to follow, which defines the origin, destination and stops along the way of the newly added train.
[0031] Specifically, it receives operation commands issued by users at specified locations on a reference train number via the graphical interface. For example, a user can right-click on the running line of train W7 at PB1 station and select "Add Train Formation".
[0032] The reference train number is a train selected by the user that already exists on the timetable. The reference train number serves as the baseline or anchor point for the entire operation.
[0033] Step 120: In response to the operation command, verify multiple operating parameters according to the preset verification rules; the preset verification rules include: if the specified location is on the route of the newly added train and the train interval is less than the stop time, then the verification passes.
[0034] Optionally, the preset verification rules include at least location verification rules and time verification rules.
[0035] In some embodiments, after verifying multiple operating parameters, the method further includes: If the verification fails, an alarm message is generated and an alarm notification is issued.
[0036] Optionally, if the specified location is not on the route of the newly added train, or the headway is less than the stop time, the verification will fail.
[0037] Step 130: If the verification is successful, generate the train running line on the running diagram interface based on multiple operating parameters.
[0038] Optionally, based on the arrival and departure times of reference trains at designated locations, and combined with headway times, the planned arrival and departure times of the new trains at relevant stations are calculated. The spatial path of the new trains is determined by combining their route information. The time and spatial information are combined to form a series of key spatiotemporal points on the operating line. Based on these calculated spatiotemporal points, the complete operating line of the new trains is automatically drawn at the corresponding positions on the timetable interface. This operating line, like other existing operating lines, contains necessary elements such as train number and time scale.
[0039] Optionally, specific grouping or ungrouping attributes can be automatically marked for train lines and related elements.
[0040] In some embodiments, a train running line is generated on the running diagram interface based on multiple operating parameters, including: When an operation command indicates the addition of a train formation, a route from the starting point of the new train formation to a designated location is generated based on multiple operating parameters, and this route is used as the operating route for the new train formation.
[0041] Optionally, when the operation instruction indicates the addition of a new train formation, the route from the designated location to the end point of the reference train is completed, forming a route from the starting point of the new train formation to the end point of the reference train formation.
[0042] In some embodiments, a train running line is generated on the running diagram interface based on multiple operating parameters, including: When the operation command indicates that a new train number needs to be added, a route from the specified location to the destination of the new train number is generated based on multiple operating parameters, and this route is used as the operating route of the new train number.
[0043] Optionally, if the operation instruction indicates the addition of a new train number, the route from the origin of the reference train number to the designated location is completed to form a route from the origin of the reference train number to the destination of the new train number.
[0044] In this embodiment of the invention, by acquiring user-input operation commands and multiple operating parameters, including: a reference train number, a specified location, the route of the newly added train, the headway between the reference train number and the newly added train, and the stop time of the reference train at the specified location; in response to the operation command, the multiple operating parameters are verified according to preset verification rules; the preset verification rules include: if the specified location is on the route of the newly added train and the headway is less than the stop time, then the verification passes; if the verification is successful, a train line is generated on the timetable interface based on the multiple operating parameters, which is highly interactive, efficient, and accurate, and suitable for complex application scenarios with dynamic changes.
[0045] In some embodiments, after generating the train track on the timetable interface, the method further includes: When the operation command indicates that a new train formation is to be added, the formation attribute is assigned to the specified location, and the line type of the route from the specified location to the end point of the reference train is changed to a virtual formation line type.
[0046] The virtual grouping line type can be dashed, dotted, or different colored.
[0047] Optionally, when the operation instruction indicates the addition of a new train formation, the designated location is marked as the formation point, and the line type of the route from the designated location to the end point of the reference train is changed from a solid line to a dashed line or a dotted line representing the virtual formation.
[0048] In some embodiments, after generating the train track on the timetable interface, the method further includes: When the operation command indicates that a new train number should be added for unloading, the unloading attribute should be assigned to the specified location.
[0049] Optionally, if the operation instruction indicates that a new train number needs to be added for disassembly, the designated location can be marked as the disassembly location.
[0050] In some embodiments, after assigning the decompilation attribute to a specified location, the method further includes: If a marshalling location exists on the route from the origin of the reference train to the designated location, the route configuration of the route from the marshalling location to the designated location will be changed to a virtual marshalling route configuration. If it is determined that there is no marshalling location on the route from the origin of the reference train to the designated location, update the number of the newly added train and change the route type of the route from the origin of the reference train to the designated location to a virtual marshalling route type.
[0051] Specifically, if a marshalling location exists on the route from the origin of the reference train to the designated location, the line type of the route from the marshalling location to the designated location will be changed to a dashed line or a dotted line representing virtual marshalling.
[0052] Specifically, if it is determined that there is no marshalling location on the route from the origin of the reference train to the designated location, the number of the newly added train is updated, and the line type of the route from the origin of the reference train to the designated location is changed to a dashed line or a dotted line representing virtual marshalling.
[0053] Assume the parking area is p, the route is q, and the number of trains is w; each route q has a unique direction q. d (Up or down), each q consists of multiple p; each train w has a unique route q, and the system draws each running line by sequentially connecting each p point in q.
[0054] Figure 2 This is a schematic diagram illustrating the process of adding new train formations in one direction, as provided in an embodiment of the present invention. Figure 2 As shown, the timetable creation steps for adding new train formations in one direction are as follows: S210. Based on user operation, determine the reference train number and the newly added train number. The reference train number does not contain the train number attribute. Also determine the train number location, train number type, route, scale information and headway of the newly added train number and other operating parameters. It should be noted that users can perform operations such as parameter input, selection, or confirmation on the interactive interface of the runtime graph.
[0055] S220. Assume the reference train number is w7, its route is q7, the route origin is p7, and the route destination is p7. z 7. The entered grouping location is p b 1, p b 1∈q7, w7 in p b The dwell time of train 1 is t1, the train formation type is virtual formation, the route of the newly added train w8 is q8, the origin of the route is p8, and the destination of the route is p. z 8. The headway is t2; Among them, the headway time t2 refers to the time between the reference train w7 and the newly added train w8 at the marshalling yard p. b The headway at point 1.
[0056] S230, The system checks whether the position condition is met, i.e., p b 1∈q8; S240. The system checks whether the time condition is met, i.e., t2 < t1; S250. After the verification is passed, the system automatically draws from p8 to p... b The running line of 1; Specifically, p b 1∈q8, i.e., grouping location p b 1. If the route of the newly added train is such that t2 < t1, then the verification passes.
[0057] Optionally, the grouping location p b 1. If, on a newly added train route, the train interval time t2 is greater than or equal to the stop time t1, the verification fails, an alarm message is generated, and an alarm is triggered.
[0058] S260, System completion by p b 1 to p z The intersection of 7 forms a path from p8 to p z The new train number W8 runs on the 7th line; S270, the system assigns p b 1. Grouping attributes, and p b 1 to p z The line type of line 7 is changed to virtual grouping line type.
[0059] Optionally, p b 1 to p z The line type of the running line of 7 becomes a dashed line or a dotted line.
[0060] Figure 3 This is a schematic diagram illustrating the process of adding and decommissioning train services in one direction, as provided in an embodiment of the present invention. Figure 3 As shown, the train scheduling steps for adding or removing trains in one direction are as follows: S310. Based on user operations, determine parameters such as specified train number, newly added decoupling train number, decoupling location, decoupling type, route of newly added train number, scale information, and headway; It should be noted that users can perform operations such as parameter input, selection, or confirmation on the interactive interface of the runtime graph.
[0061] S320. Assume the reference train number is w9, its route is q9, the route origin is p9, and the route destination is p9. z 9. The decompilation location is p. j 2, and p j2∈q9, w9 in p j The stop time for train 2 is t3, the decoupling type is virtual decoupling, the route for the newly added train w10 is q10, the route origin is p10, and the route destination is p. z 10. The headway is t4; Among them, the headway time t4 refers to the time between the reference train w9 and the newly added train w10 at the disassembly point p. j The headway at point 2.
[0062] S330, The system checks whether the position condition is met, i.e., p j 2∈q10; S340. The system checks whether the time condition is met, i.e., t4 < t3; S350, After verification, the system automatically draws the data from p. j 2 to p z The running line of 10; Optionally, if the location condition and / or the time condition are not met, the verification fails, an alarm message is generated, and an alarm is triggered.
[0063] S360, system completion from p9 to p j The intersection of route 2 forms a path from p9 to p. z The new train W10 runs on the W10 line; S370, the system assigns p j 2. Decode attributes and identify (p9, p) j 2) Are there any marshalling yards p within the interval? b 2; If so, then use train number w10 as the new train number, and set p b 2 to p j The train line type of line 2 is changed to virtual train formation type; otherwise, a new train number is generated, and p9 to p j The line type of line 2 is a virtual grouping line type.
[0064] Alternatively, the virtual grouping line type can be a dashed line or a dotted line.
[0065] Figure 4 This is a second schematic flowchart illustrating the method for creating flexible train timetables according to an embodiment of the present invention. Figure 4 As shown, in some embodiments, the method for compiling flexible train timetables includes... Step 410: Obtain the user-inputted operation instructions and multiple operating parameters, including the operating direction and parking area of multiple target trains; Step 420: In response to the operation command, verify multiple operating parameters according to the preset verification rules; the preset verification rules include: multiple target trains include two first trains and one second train, the first trains and the second trains run in opposite directions, and the connection point of the first trains and the second trains is located in the same parking area, then the verification passes. Optionally, the validation rules can be determined based on user input or historical experience data.
[0066] Step 430: If the verification is successful, generate the train running line on the running diagram interface based on multiple operating parameters.
[0067] Optionally, if the verification is successful, train operation lines can be assigned grouping or degrouping attributes.
[0068] Specifically, once the verification is confirmed to be successful, multiple target train numbers are connected on the train schedule interface based on multiple operating parameters to generate a train running line.
[0069] Figure 5 This is one of the flowcharts illustrating the connection of multiple target train routes provided in an embodiment of the present invention. For example... Figure 5 As shown, the steps to link multiple target train routes are as follows: Step 510: Select two trains traveling in the same direction and one train traveling in the opposite direction from left to right, and connect them. Step 520: Assume the train numbers of the three lines are w1, w2, and w3 from left to right, and the directions of intersection are q from left to right. d 1. q d 2. q d 3. The parking areas at the connecting points are p1, p2, and p3 respectively; Step 530, System identifies q d 1. q d 2. q d If p1, p2, and p3 are moving in the direction of q, then... d 1=q d 2≠q d 3. If parking areas p1=p2=p3, the system verification passes, confirms that grouping can be performed, and automatically connects the 3 running lines; Step 540: The system assigns grouping attributes to p1 and p2, assigns grouping operation attributes to p3, and changes the line type of the operation line of w3 to the virtual grouping line type.
[0070] Figure 6 This is a second schematic diagram illustrating the process of linking multiple target train routes according to an embodiment of the present invention. For example... Figure 6 As shown, the steps to link multiple target train routes are as follows: Step 610: Select train numbers in one direction and two train numbers in opposite directions from left to right, and connect them. Step 620: Assume the train numbers of the three lines from left to right are w4, w5, and w6, and the directions of intersection from left to right are q. d 4. q d 5. q d 6. The parking areas at the connecting points are p4, p5, and p6 respectively; Step 630, System identifies q d 4. q d 5. q d If p4, p5, and p6 are in the direction q, then... d 4≠q d 5=q d 6. If parking areas p4=p5=p6, the system verification passes and is considered ready for decompilation, automatically connecting the 3 running lines; Step 640: The system assigns decomposition attributes to p4, assigns single-vehicle running attributes to p5 and p6, and changes the running line type of w4 to virtual grouping line type.
[0071] The following describes the flexible train timetable compilation system provided by the embodiments of the present invention. The flexible train timetable compilation system described below and the flexible train timetable compilation method described above can be referred to in correspondence.
[0072] Figure 7 This is a schematic diagram of the structure of the flexible train timetable compilation system provided in an embodiment of the present invention, as shown below. Figure 7 As shown, the flexible train timetable creation system 700 includes: The acquisition unit 710 is used to acquire the operation instructions and multiple operating parameters input by the user. The multiple operating parameters include: reference train number, specified location, route of the newly added train number, and the headway time between the reference train number and the newly added train number, and the stop time of the reference train number at the specified location. The verification unit 720 is used to respond to operation commands and verify multiple operating parameters according to preset verification rules. The preset verification rules include: if the specified location is on the route of the newly added train and the train interval is less than the stop time, then the verification passes. The generation unit 730 is used to generate a train running line on the running diagram interface based on multiple operating parameters, provided that the verification has passed.
[0073] Optionally, the operation command is used to indicate the addition of new train formations or the addition of new train de-formation; the specified location is on the operating line of the reference train.
[0074] Optionally, the system for generating flexible train timetables also includes: The first update unit is used to assign formation attributes to a specified location when the operation instruction indicates the addition of a formation train, and to change the line type of the running line from the specified location to the end point of the reference train to a virtual formation line type.
[0075] Optionally, the system for generating flexible train timetables also includes: The second update unit is used to assign decommissioning attributes to a specified location when the operation instruction indicates that a new decommissioning train number should be added.
[0076] Optionally, the system for generating flexible train timetables also includes: The third update unit is used to change the line type of the line from the origin of the reference train to the designated location into a virtual line type when there is a marshalling location on the line from the origin of the route to the designated location. The fourth update unit is used to update the number of the newly added train when there is no marshalling location on the running line from the origin of the reference train to the designated location, and to change the line type of the running line from the origin of the reference train to the designated location into a virtual marshalling line type.
[0077] Optionally, a train running line is generated on the running diagram interface based on multiple operating parameters, including: When an operation command indicates the addition of a train formation, a route from the starting point of the new train formation to a designated location is generated based on multiple operating parameters, and this route is used as the operating route for the new train formation.
[0078] Optionally, a train running line is generated on the running diagram interface based on multiple operating parameters, including: When the operation command indicates that a new train number needs to be added, a route from the specified location to the destination of the new train number is generated based on multiple operating parameters, and this route is used as the operating route of the new train number.
[0079] Optionally, the system for generating flexible train timetables also includes: The alarm unit is used to generate alarm information and provide alarm prompts when the verification fails.
[0080] It should be noted that the flexible train timetable compilation system provided in this embodiment of the invention can realize all the method steps implemented in the above-mentioned flexible train timetable compilation method embodiment, and can achieve the same technical effect. Here, the parts that are the same as those in the method embodiment and the beneficial effects will not be described in detail.
[0081] Figure 8 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention, such as... Figure 8As shown, the electronic device may include a processor 810, a communications interface 820, a memory 830, and a communication bus 840. The processor 810, communications interface 820, and memory 830 communicate with each other via the communication bus 840. The processor 810 can call logical instructions in the memory 830 to execute a method for creating a flexible train timetable. This method includes: acquiring user-inputted operation instructions and multiple operating parameters, including: a reference train number, a designated location, the route of the newly added train, the headway between the reference train number and the newly added train, and the stop time of the reference train at the designated location; responding to the operation instructions, verifying the multiple operating parameters according to preset verification rules; the preset verification rules include: if the designated location is on the route of the newly added train and the headway is less than the stop time, the verification passes; if the verification passes, generating train lines on the timetable interface based on the multiple operating parameters.
[0082] Furthermore, the logical instructions in the aforementioned memory 830 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0083] On the other hand, the present invention also provides a computer program product, which includes a computer program that can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the method for compiling a flexible train timetable provided by the above methods. The method includes: acquiring user-input operation instructions and multiple operating parameters, the multiple operating parameters including: a reference train number, a designated location, the route of a newly added train number, the headway between the reference train number and the newly added train number, and the stop time of the reference train number at the designated location; responding to the operation instructions, verifying the multiple operating parameters according to preset verification rules; the preset verification rules include: if the designated location is on the route of the newly added train number and the headway is less than the stop time, then the verification passes; if the verification is passed, generating a train running line on the timetable interface based on the multiple operating parameters.
[0084] In another aspect, the present invention also provides a non-transitory computer-readable storage medium storing a computer program thereon. When executed by a processor, the computer program implements a method for compiling a flexible train timetable provided by the methods described above. The method includes: acquiring user-inputted operation instructions and multiple operating parameters, the multiple operating parameters including: a reference train number, a designated location, the route of a newly added train number, the headway between the reference train number and the newly added train number, and the stop time of the reference train number at the designated location; responding to the operation instructions, verifying the multiple operating parameters according to preset verification rules; the preset verification rules include: if the designated location is on the route of the newly added train number and the headway is less than the stop time, then the verification passes; if the verification is successful, generating a train running line on the timetable interface based on the multiple operating parameters.
[0085] The system embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0086] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.
[0087] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for compiling a flexible train timetable, characterized in that, include: The system obtains user-inputted operation commands and multiple operating parameters, including: reference train number, designated location, route of the newly added train number, and the headway between the reference train number and the newly added train number, and the stop time of the reference train number at the designated location. In response to the operation command, the multiple operating parameters are verified according to preset verification rules; the preset verification rules include: if the specified location is on the route of the newly added train, and the train interval time is less than the stop time, then the verification passes. If the verification is successful, a train running line is generated on the running diagram interface based on the multiple operating parameters.
2. The method for compiling a flexible train timetable according to claim 1, characterized in that, The operation instructions are used to indicate the addition of new train formations or the addition of new train de-formation; the designated location is on the operating line of the reference train.
3. The method for compiling a flexible train timetable according to claim 2, characterized in that, After generating the train route on the timetable interface, the process also includes: When the operation instruction indicates the addition of a new train formation, the designated location is assigned a formation attribute, and the line type of the route from the designated location to the end point of the reference train is changed to a virtual formation line type.
4. The method for compiling a flexible train timetable according to claim 2, characterized in that, After generating the train route on the timetable interface, the process also includes: When the operation instruction indicates the addition of a new train decommissioning service, the designated location is assigned a decommissioning attribute.
5. The method for compiling a flexible train timetable according to claim 4, characterized in that, After assigning the decompilation attribute to the specified location, the method further includes: If it is determined that there is a marshalling location on the operating line from the origin of the reference train to the designated location, the alignment of the operating line from the marshalling location to the designated location is changed to a virtual marshalling alignment. If it is determined that there is no marshalling location on the operating line from the origin of the reference train to the designated location, the number of the newly added train is updated, and the line type of the operating line from the origin of the reference train to the designated location is changed to a virtual marshalling line type.
6. The method for compiling a flexible train timetable according to claim 2, characterized in that, The process of generating a train running line on the running diagram interface based on the multiple operating parameters includes: When the operation instruction indicates the addition of a train formation, a route from the starting point of the new train formation to the designated location is generated based on the multiple operating parameters, and this route is used as the operating route of the new train formation.
7. The method for compiling a flexible train timetable according to claim 2, characterized in that, The process of generating a train running line on the running diagram interface based on the multiple operating parameters includes: When the operation instruction indicates the addition of a new train, a route from the designated location to the destination of the new train is generated based on the multiple operating parameters, and this route is used as the operating route of the new train.
8. The method for compiling a flexible train timetable according to claim 1, characterized in that, After verifying the multiple operating parameters, the process further includes: If the verification fails, an alarm message is generated and an alarm notification is issued.
9. A system for compiling flexible train timetables, characterized in that, include: The acquisition unit is used to acquire user-input operation instructions and multiple operating parameters, including: reference train number, designated location, route of the newly added train number, and the headway between the reference train number and the newly added train number, and the stop time of the reference train number at the designated location; The verification unit is used to respond to the operation command and verify the multiple operating parameters according to the preset verification rules. The preset verification rules include: if the specified location is on the route of the newly added train and the train interval time is less than the stop time, then the verification passes. The generation unit is used to generate a train running line on the running diagram interface based on the multiple running parameters, provided that the verification is successful.
10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that, When the processor executes the computer program, it implements the method for compiling a flexible train timetable as described in any one of claims 1 to 8.