A railway diagram drawing method and device, electronic equipment and storage medium

By drawing train number templates on railway timetables and displaying fault information, the problem of dispatchers not being able to intuitively understand the impact of faults was solved, and efficient determination of dispatching plans was achieved.

CN117227807BActive Publication Date: 2026-03-24MASTERY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-25
Publication Date
2026-03-24

AI Technical Summary

Technical Problem

When determining scheduling plans, railway dispatchers cannot intuitively know the impact of the current fault on other trains on the line section, resulting in low efficiency in determining scheduling plans.

Method used

By acquiring the train number template diagram, determining the time display line, and then determining the display area in the train number template diagram based on the faulty line segment and trigger time, adding fault types, and intuitively displaying the train operation status and fault information.

Benefits of technology

It improves the efficiency of railway dispatchers in determining dispatching plans, enabling dispatchers to quickly and accurately schedule train routes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117227807B_ABST
    Figure CN117227807B_ABST
Patent Text Reader

Abstract

The application relates to a railway operation diagram drawing method and device, an electronic device and a storage medium, and relates to the field of train scheduling technology. The method comprises the following steps: obtaining a train template diagram, the train template diagram comprising the running track line of each train; determining a time display line, the time display line corresponding to a real-time time on a time axis; obtaining at least one fault line section on a target line section and the fault type and triggering time corresponding to each fault line section; determining a display area in the train template diagram based on the fault line section and the triggering time; and adding the fault type in the display area. The application has the effect of improving the efficiency of railway dispatch personnel in determining a scheduling scheme.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of train scheduling technology, and particularly relates to a railway diagram drawing method and device, an electronic device and a storage medium. BACKGROUND

[0002] With the continuous increase of high-speed rail network coverage in China and the change of people's life and travel concept, the railway has become the main mode of passenger transport in China. When the train is delayed or conflicted, in order to facilitate the railway dispatch personnel to know the train operation situation in time and adjust the train, the railway diagram is generated. The railway diagram helps the railway dispatch personnel to organize train operation and dispatch.

[0003] In the related art, the running status of the running equipment and the communication system needs to be monitored in real time when the train is running, and then the related monitoring personnel needs to push the monitored fault problem and fault time to the railway dispatch personnel, so that the railway dispatch personnel can dispatch the train according to the railway diagram.

[0004] Since the railway dispatch personnel needs to receive the fault problem and fault time sent by the related monitoring personnel when dispatching the train according to the railway diagram, and then queries the planning of each train to determine the affected train, and then determines the dispatching scheme of the affected train, in this process, since only the fault problem and fault time are received, the railway dispatch personnel cannot intuitively know the influence of the current fault on other trains in the line section, and the railway dispatch personnel needs to do more work, thereby leading to low efficiency of determining the dispatching scheme. SUMMARY

[0005] In order to improve the efficiency of the railway dispatch personnel in determining the dispatching scheme, the present application provides a railway diagram drawing method, device, electronic device and storage medium.

[0006] In a first aspect, the present application provides a railway diagram drawing method, which adopts the following technical scheme:

[0007] A railway diagram drawing method,

[0008] Obtain a train template diagram, the train template diagram includes a running track line of each train, the running track line represents the corresponding relationship between the train and the time axis at each stop station, and the running track line of each train is applied to the same time axis;

[0009] Determine a time display line, the time display line corresponds to a real-time time on the time axis;

[0010] acquire at least one fault line section on a target line section, and a fault type corresponding to each fault line section and a triggering time, the triggering time being a start time and / or an end time of the fault type;

[0011] determine a display area in the train template diagram based on the fault line section and the triggering time;

[0012] add the fault type in the display area.

[0013] By adopting the technical solution, the train template diagram is acquired, and the running track lines of each train are applied on the same time axis, so that the train dispatcher can intuitively observe the running condition of the train through the train template diagram; the time display line is determined, so that the train dispatcher can view the current position of each train based on the current time; the fault line section on the target line section and the fault type corresponding to each fault line section and the triggering time are acquired, the display area is determined in the train template diagram, and the fault type is added in the area. Thus, the train dispatcher can intuitively see the fault line section and the fault type on the railway running line in the train template diagram, and can schedule the train running track line according to the current fault line section, thereby improving the efficiency of the railway dispatcher in determining a scheduling scheme.

[0014] In another possible implementation manner, before the train template diagram is acquired, the method further includes:

[0015] acquire a base template, the base template being constructed by taking a time axis and station information as horizontal and vertical coordinates respectively, and the station information including each station arranged in sequence between target line sections;

[0016] acquire train information of each train, the train information including a terminal station, a starting station, a stopover station, and a time plan of the train between each stopover station;

[0017] draw a running track line of each train on the base template based on the train information of each train, to obtain the train template diagram.

[0018] In another possible implementation manner, the method further includes:

[0019] determine a new train demand, the new train demand including a train stopover station, a starting station, and a terminal station;

[0020] determine a target train running track line from the train running information based on the new train demand;

[0021] draw each target train running line on the base template, to obtain a new train running track line.

[0022] In another possible implementation manner, the display area is determined in the train template diagram based on the fault line segment and the start time and / or the end time, and the display area includes:

[0023] An intersection point of the fault line segment and the trigger time in the train template diagram;

[0024] The display area is determined in the train template based on the intersection point.

[0025] In another possible implementation manner, the display area is determined in the train template based on the intersection point, and the display area includes:

[0026] The intersection point is taken as a geometric center of a preset graph, and the preset graph is drawn in the train template diagram based on a preset size;

[0027] The preset graph is divided into N sub-areas, and N is greater than or equal to 2;

[0028] A sub-area without a running track passing through is determined as a candidate area;

[0029] Any candidate area is determined as a display area.

[0030] In a second aspect, the present application provides a railway operation diagram drawing device, which adopts the following technical scheme:

[0031] A railway operation diagram drawing device includes:

[0032] A train template acquisition module is configured to acquire a train template diagram, the train template diagram including a running track line of each train, the running track line representing a corresponding relationship between the train and a time axis at each stop station, and the running track line of each train being applied to a same time axis;

[0033] A time determination module is configured to determine a time display line, the time display line corresponding to a real-time time on the time axis;

[0034] A fault acquisition module is configured to acquire at least one fault line segment on a target line segment, and a fault type and a trigger time corresponding to each fault line segment, the trigger time being a start time and / or an end time of the fault type;

[0035] A display area determination module is configured to determine a display area in the train template diagram based on the fault line segment and the trigger time;

[0036] An adding module is configured to add the fault type in the display area.

[0037] In another possible implementation manner, before the train template acquisition module acquires the train template diagram, the train template acquisition module further includes:

[0038] The base map template acquisition module is used to acquire a base map template, which is constructed using a time axis and station information as the horizontal and vertical axes, respectively. The station information includes the stations arranged sequentially between the target line segments.

[0039] The train number information acquisition module is used to acquire the train number information for each train, which includes the destination station, origin station, stops, and the time schedule of the train between each stop.

[0040] The trajectory line drawing module is used to draw the running trajectory line of each train on the base map template based on the train number information of each train, so as to obtain the train number template map.

[0041] In another possible implementation, when the display area determination module determines the display area in the train template diagram based on the faulty line segment and the start time and / or end time, it is specifically used for:

[0042] Based on the intersection point of the faulty line segment and the triggering time in the train template diagram;

[0043] The determined display area in the train number template is based on the intersection point.

[0044] In another possible implementation, the display area determination module, when determining the display area in the train number template based on the intersection point, is specifically used for:

[0045] Using the intersection point as the geometric center of the preset graphic, and drawing the preset graphic in the train template drawing based on the preset dimensions;

[0046] The preset graphic is divided into N sub-regions, where N is greater than or equal to 2;

[0047] The sub-regions that are not traversed by the running trajectory are identified as candidate regions;

[0048] Select any of the candidate areas as the display area.

[0049] In another possible implementation, the device further includes:

[0050] The train demand determination module is used to determine new train demand, which includes train stop stations, origin stations and destination stations;

[0051] The target trajectory line determination module is used to determine the target train's operating trajectory line from the train's operating information based on the newly added train demand;

[0052] A new trajectory line drawing module has been added, which is used to draw the running line of each target train on the base map template to obtain the running trajectory line of the new train.

[0053] Thirdly, this application provides an electronic device that adopts the following technical solution:

[0054] An electronic device comprising:

[0055] At least one processor;

[0056] Memory;

[0057] At least one application, wherein the application is stored in memory and configured to be executed by at least one processor, the at least one configuration being for: executing a railway timetable drawing method as shown in any possible implementation of the first aspect.

[0058] Fourthly, this application provides a computer-readable storage medium, which adopts the following technical solution:

[0059] A computer-readable storage medium, when the computer program is executed in a computer, causes the computer to perform a railway timetable drawing method as described in any one of the first aspects.

[0060] In summary, this application includes at least one of the following beneficial technical effects:

[0061] 1. Obtain a train schedule template map and apply the running trajectories of all trains to the same timeline, allowing train dispatchers to visually observe train operations. Determining the time display line allows dispatchers to view the current location of each train based on the current time. Obtaining faulty track segments on the target line segment, along with the corresponding fault type and trigger time for each segment, allows for the creation of display areas within the train schedule template map, where fault types can be added. This enables railway dispatchers to visually see faulty track segments and fault types on the railway line within the train schedule template map. Furthermore, it allows dispatchers to schedule trains based on the current faulty track segment, thereby improving the efficiency of dispatching plans. Attached Figure Description

[0062] Figure 1 This is a flowchart illustrating a method for drawing railway timetables according to an embodiment of this application.

[0063] Figure 2 This is the base map template diagram in the embodiments of this application.

[0064] Figure 3 This is a train number template diagram in the embodiments of this application.

[0065] Figure 4 This is a schematic diagram of each sub-region in the embodiments of this application.

[0066] Figure 5 This is a schematic diagram of the display area in an embodiment of this application.

[0067] Figure 6 This is a schematic flowchart of a railway timetable drawing device according to an embodiment of this application.

[0068] Figure 7 This is a schematic diagram of the structure of an electronic device according to an embodiment of this application. Detailed Implementation

[0069] The present application will be further described in detail below with reference to the accompanying drawings.

[0070] After reading this specification, those skilled in the art may make modifications to this embodiment without contributing any inventive step, but such modifications are protected by patent law as long as they fall within the scope of the claims of this application.

[0071] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0072] Furthermore, the term "and / or" in this article is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Additionally, the character " / " in this article, unless otherwise specified, generally indicates that the preceding and following related objects have an "or" relationship.

[0073] The following is in conjunction with the instruction manual appendix. Figures 1-7 The embodiments of this application will be described in further detail.

[0074] This application provides a method for drawing railway timetables, executed by an electronic device. This electronic device can be a server or a terminal device. The server can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services. The terminal device can be a smartphone, tablet, laptop, desktop computer, etc., but is not limited to these. The terminal device and the server can be directly or indirectly connected via wired or wireless communication. This application does not impose any limitations on this.Figure 1 As shown, the method includes steps S1, S2, S3, S4, and S5, wherein:

[0075] Step S1: Obtain the train schedule template image.

[0076] The train number template includes the running trajectory line of each train. The running trajectory line represents the correspondence between the train at each stop and the time axis. The running trajectory lines of each train are applied to the same time axis.

[0077] In this embodiment, the electronic device sends an access request to the railway operation platform. Based on the access request, the railway operation platform retrieves railway data and feeds the retrieved data back to the electronic device. This allows the electronic device to obtain the stopping stations and stopping times of each train from the railway operation platform, thereby accurately determining the correspondence between each train's stopping stations and time axis. A base map template is drawn based on the correspondence between the train's stopping stations and time axis. The base map template uses a dual-axis coordinate system, with time as the X-axis and stopping stations as the Y-axis. It should be noted that the trajectory lines of each train need to be drawn on the same base map template to obtain the train number template map, which allows railway dispatchers to intuitively observe the train operation status.

[0078] Step S2: Determine the time display line.

[0079] The time display line corresponds to the real-time moment on the time axis.

[0080] In the embodiments of this application, reference is made to Figure 2 The time display line runs vertically through the train schedule template diagram from top to bottom, moving from left to right on the time axis as the system time changes. The time display line is perpendicular to the X-axis and parallel to the Y-axis, and can be represented by vertical lines with arrows or different colors. This allows railway dispatchers to visually see the current time on the train schedule template diagram, facilitating the viewing of each train's current location. Simultaneously, the current time is displayed in the upper left corner of the train schedule template diagram in the format of "hour (H):minute (M):second (S)," enabling accurate determination of the real-time train operation time on the train schedule template diagram.

[0081] Step S3: Obtain at least one faulty line segment on the target line segment and the fault information corresponding to each faulty line segment.

[0082] The fault information includes the fault type and the trigger time, where the trigger time is the start and / or end time of the fault type.

[0083] In this embodiment, the target line segment is the total railway operating line segment recorded in the train number template diagram, such as the Zhangbei Line. The faulty line segment is the line segment in the target line segment where a fault occurs; that is, the area or station where a fault occurs between two stations on the railway operating line. For example, the Zhangbei Line has stops at stations A, B, C, and D. Where a fault occurs between station C and station D, the fault type and trigger time are determined.

[0084] Specifically, electronic devices send access requests to the railway operation platform. Once the access request is approved, the electronic devices retrieve the track information for the target line segment from the platform. This includes the types of faults present on the target line segment and the start and / or end times for each fault type. Fault types include, but are not limited to, section closure, slow-moving traffic, station closure, slow-moving traffic, track power outage, comprehensive track maintenance window, power grid maintenance, and telephone blockage. When labeling fault types, only the start and / or end times are indicated. For example, the fault type between station C and station D is slow-moving traffic, with a start time of 8:30.

[0085] Step S4: Determine the display area in the train template diagram based on the faulty line segment and the trigger time.

[0086] In this embodiment, the trigger time is the start or end time of a certain fault type. That is, if the fault type is determined to be slow-moving traffic in a section, and the start time is 8:30, then 8:30 is the trigger time for slow-moving traffic in a section. The location of the stop where the fault occurred can be determined based on the faulty line segment; the location of the faulty line segment in the train schedule template can be determined based on the location of the stop; and the time of the fault occurrence can be determined based on the trigger time. The corresponding trigger time is found on the time axis of the train schedule template, thus allowing for convenient and quick determination of the specific location of the fault in the train schedule template based on the faulty line segment and the trigger time. The display area is determined by expanding outwards from the specific location of the fault in the train schedule template around it.

[0087] Step S5: Add the fault type to the display area.

[0088] In this embodiment, when adding fault types in the display area, appropriate identifiers, symbols, colors, and text can be selected according to the fault type. This embodiment does not impose specific limitations. This allows railway dispatchers to intuitively see the faulty line segments and fault types on the railway operation line in the train template diagram. At the same time, it allows railway dispatchers to schedule train operation tracks based on the current faulty line segments, thereby improving the efficiency of railway dispatchers in determining scheduling plans.

[0089] Furthermore, before obtaining the train number template, the process also includes drawing an initial base template for the base train number template, comprising: steps SA1, SA2, and SA3, wherein:

[0090] Step SA1: Obtain the base image template.

[0091] The base map template is constructed using the time axis and station information as the horizontal and vertical axes, respectively. The station information includes the stations arranged sequentially between the target line segments.

[0092] In this embodiment, the base map template is drawn using a timeline as the horizontal axis, extending to the right, and station information as the vertical axis, extending downwards, in the drawing software. The timeline spans 24 hours. Vertical lines are drawn according to the timeline scale, and horizontal lines are drawn according to the station information, resulting in a timeline and a grid of station lines, i.e., the base map template. The drawing software can be qETRC, VUE, or canvas; this embodiment does not specifically limit it. For example, vertical time lines are drawn on the timeline at ten-minute intervals, distinguishing between hourly and half-hourly timelines. Figure 2 For example, the ten-minute display line is a thin line, the half-hour display line is represented by a broken line, and the hourly time line is displayed by a thick line.

[0093] Step SA2: Obtain the train number information for each train.

[0094] The train information includes the destination station, origin station, stops, and the train's time schedule between each stop.

[0095] In this embodiment of the application, the electronic device obtains the destination station, origin station, intermediate stations, and time schedule of each train from the railway operation platform.

[0096] Step SA3: Based on the train number information of each train, draw the running trajectory line of each train on the base map template to obtain the train number template map.

[0097] In the embodiments of this application, reference is made to Figure 3 The process involves mapping the obtained train stops and their corresponding time schedules to these stops, and then marking these points on the grid of the base map template. Specifically, markings are made at the intersections of the station lines and time lines, and these marked points are then connected sequentially to obtain the train number template map. The creation of the base map template provides the foundation for drawing the train number template map, thus eliminating the need to redraw the base map template when drawing train routes, thereby increasing the efficiency of train number template map creation.

[0098] One possible implementation of this application embodiment determines a display area in the train number template diagram based on the faulty line segment and the start time and / or end time, including: steps S41 and S42, wherein:

[0099] Step S41: Determine the intersection point of the faulty line segment and the trigger time in the train template diagram.

[0100] In this embodiment, the train schedule template is drawn on a grid with a timeline and station lines. The faulty line segment represents the section between two stations where a fault occurs. That is, when the fault occurs between two stations, the faulty line segment is the section between the two stations; when the fault occurs at a station, the faulty line segment is the section from the station before that station to the station after that station. The location of the faulty station can be determined based on the faulty line segment. Based on the trigger time, the start time or end time of the fault at that station can be obtained. Then, the corresponding location, i.e., the intersection point of the station lines and the timeline, is found on the timeline and the grid with station lines.

[0101] Step S42: Determine the display area based on the intersection point in the train number template.

[0102] In this application embodiment, determining the display area in the train number template based on the intersection point includes two implementation methods: Method 1 and Method 2.

[0103] Specifically, Method 1 may include drawing a preset graphic on a train template map with the intersection point as the geometric center of the preset graphic and based on preset dimensions; dividing the preset graphic into N sub-regions, where N is greater than or equal to 2; identifying sub-regions not traversed by the train track as candidate regions; and selecting any candidate region as the display area. This ensures that the display area is close to the fault type, allowing for a more intuitive view of the railway line's operation, thus facilitating railway dispatchers to schedule train tracks based on faulty line sections.

[0104] One possible implementation of this application embodiment, based on determining the display area of ​​the intersection point in the train number template, includes: steps S421, S422, S423, and S424, wherein:

[0105] Step S421: Using the intersection point as the geometric center of the preset graphic, draw the preset graphic in the train number template drawing based on the preset dimensions.

[0106] In the embodiments of this application, reference is made to Figure 4In the train schedule template, a preset graphic is drawn with the intersection point as the geometric center according to the preset size. The preset graphic can be, but is not limited to, a circle or a rectangle. The preset size is determined according to the preset graphic and the size of the required display area. For example, using the rectangle drawing tool in canvas, a rectangle with a length of 6cm and a width of 3cm is drawn with the intersection point as the center.

[0107] Step S422: Divide the preset graphic into N sub-regions, where N is greater than or equal to 2.

[0108] In this embodiment, the preset graphic is divided into N sub-regions according to the requirements. The division can be based on the intersection point or a custom size. This embodiment does not make specific limitations. For example, if the rectangle is divided according to a length of 3cm and a width of 1.5cm, the preset graphic is divided into 4 sub-regions, namely, sub-region 1, sub-region 2, sub-region 3 and sub-region 4.

[0109] Step S423: Determine the sub-regions that have not been traversed by the running trajectory as candidate regions.

[0110] In this embodiment of the application, the train trajectory lines in each sub-region are marked with different colors. Then, the marked train trajectory lines in each sub-region are detected, and the unmarked sub-regions are determined as candidate regions. For example, if sub-regions 1 and 3 are marked, and sub-regions 2 and 4 are not marked, then sub-regions 2 and 4 are both determined as candidate regions.

[0111] Step S424: Select any candidate area as the display area.

[0112] In this embodiment of the application, the candidate area is an area without train track lines. Any candidate area is determined as the display area, that is, the fault type is added in the area so that the railway dispatcher can clearly see the problem of the faulty line section, and then the railway dispatcher can schedule the railway line according to the fault type.

[0113] Add fault types to the identified display area. The specific adding process is as follows (refer to...). Figure 5Assuming a station is closed, it needs to be marked on the train schedule template map. The specific marking method is as follows: Draw a 90-degree flipped "I" shape on the faulty station line in the display area; the red horizontal line of the 90-degree flipped "I" shape indicates the station closure, and the reason for the closure and the scope of the closure are also indicated. When the power grid is under maintenance, the line under maintenance is marked in red text in the display area. When a slow-moving section needs to be marked, draw a 90-degree flipped red "I" shape in the display area; the red horizontal line of the 90-degree flipped "I" shape indicates a broken line, and the location of the slow-moving section, the reason, the speed limit, and whether it is an uphill or downhill direction are indicated in the display area.

[0114] Method two may specifically include determining the position of the time display line and judging whether the starting position of the time display line and the time axis are located within a first preset area; the first preset area represents the area from the time display line to the starting position of the time axis, and the first preset area is a reasonable area obtained through calculation. For example, the first preset area is the area of ​​the time line greater than or equal to half an hour, that is, the first preset area is greater than or equal to the area from the 0 o'clock time line to the 0.30 o'clock time line in the base map template.

[0115] When a first preset area is detected, the transparency of the train track lines within the first preset area is reduced, or the train track lines within the first preset area are hidden, and then the processed first preset area is obtained; at the same time, the processed first preset area is divided into at least one sub-area according to the stops, that is, there is a sub-area between every two stops.

[0116] The system identifies the station or station area where the fault type occurred within a second preset area. This second preset area extends from the time display line to the one-hour timeline to the right. Then, it determines the station and trigger time within this second preset area. Based on the faulty station, it identifies the station line within the processed first preset area, and the sub-area above or below this station line is designated as the display area. This allows for the display of fault types on inactive train tracks when there are many tracks in the train schedule template, preventing the identification of sub-areas without tracks. This reduces the obstruction of inactive tracks caused by fault type additions and provides a clear view of the railway's operational status, facilitating train dispatching based on faulty sections.

[0117] It should be noted that when there are many railway track lines in the train template diagram and it is impossible to find a sub-area without track lines, Method 2 can be used to determine the display area.

[0118] For example, when the time display line is at 1:00, the requirements of the first preset area are met. If a fault occurs between station A and station B within one hour after the time display line, i.e., between 1:00 and 2:00, and since the train template diagram includes stations A, B, C, and D, the first preset area is divided into four sub-areas based on these stations: sub-area A1, sub-area B1, and sub-area C1. Since the sub-area between station A and station B is sub-area A1, sub-area A1 is designated as the display area, and the fault type between station A and station B is added to sub-area A1. If the station experiencing the fault is station B, since the sub-area above station B's line is sub-area A1, and the sub-area below station B's line is sub-area B1, either sub-area A1 or sub-area B1 is selected as the display area.

[0119] Specifically, the designated display area in the train schedule template allows for the real-time addition of fault types, enabling train dispatchers to visually identify faults on the train lines. This facilitates quick and easy determination of train dispatching plans based on the faults, further improving the efficiency of railway dispatchers in determining dispatching strategies.

[0120] One possible implementation of this application embodiment further includes steps S6, S7, and S8, wherein:

[0121] Step S6: Determine the demand for new trains;

[0122] The new train demand includes train stops, originating stations, and terminating stations.

[0123] In this embodiment of the application, when it is necessary to add train operation lines to the train template diagram, the train stops, starting stations and ending stations of the train are added as needed. It should be noted that the demand for adding trains is determined based on the actual passenger flow and the existing train operation trajectory.

[0124] Step S7: Determine the target train's trajectory line from the train's operation information based on the new train demand.

[0125] In this embodiment, after determining the new train demand, a train track matching the new train demand is selected from the existing train track lines. That is, a train track line whose starting station, intermediate stations, and destination are all the same as the new train demand. This existing train track line matching the new train demand is then identified as the target train track line, allowing for convenient and quick determination of the target train track line. For example, if the new train demand is to start from station B, pass through station C, and arrive at station D, then by querying the existing train track lines for the starting station, intermediate stations, and destination that match these, the target train track line is identified. It should be noted that there can be one or more target train track lines; this embodiment does not impose a specific limitation.

[0126] Step S8: Draw each target train line on the base map template to obtain the new train's trajectory line.

[0127] In this embodiment, the stops along the target train's trajectory are marked on the base map template, and then the marked stops are connected in sequence to form a continuous trajectory, i.e., a new train's trajectory. Alternatively, the target train's trajectory can be directly copied onto the base map template to obtain the new train's trajectory. This allows for convenient and quick determination of the new train's trajectory when there is a large passenger flow requiring additional trains, thereby improving the efficiency of railway dispatchers in determining dispatching plans.

[0128] It should be noted that new train numbers can be drawn in the base map template or in the train number template. The specific method depends on the actual usage and is not specifically limited in this embodiment.

[0129] The above embodiments describe a railway timetable drawing method from the perspective of process flow. The following embodiments describe a railway timetable drawing method apparatus 60 from the perspective of virtual modules or virtual units. For details, please refer to the following embodiments.

[0130] This application provides a railway timetable drawing method apparatus 60, such as... Figure 6 As shown, a railway timetable drawing device 60 may specifically include:

[0131] A railway timetable drawing device 60 includes:

[0132] The train number template acquisition module 601 is used to acquire the train number template diagram. The train number template diagram includes the running trajectory line of each train. The running trajectory line represents the correspondence between the train at each stop and the time axis. The running trajectory lines of each train are applied to the same time axis.

[0133] The time determination module 602 is used to determine the time display line, which corresponds to the real time on the time axis.

[0134] The fault acquisition module 603 is used to acquire at least one faulty line segment on the target line segment, as well as the fault type and trigger time corresponding to each faulty line segment. The trigger time is the start time and / or end time of the fault type.

[0135] Display area determination module 604 is used to determine the display area in the train template diagram based on the faulty line segment and the trigger time.

[0136] Add module 605 to add fault types to the display area.

[0137] This application discloses a railway timetable drawing method apparatus 60. The apparatus includes a train number template acquisition module 601 that acquires a train number template image and applies the running trajectories of each train to the same time axis, allowing train dispatchers to visually observe train operations. A time determination module 602 determines a time display line, enabling train dispatchers to view the current location of each train based on the current time. A fault acquisition module 603 acquires faulty line segments on the target line segment, along with the corresponding fault type and trigger time. A display area determination module 604 determines a display area in the train number template image, and an addition module 605 adds fault types within the display area. This allows railway dispatchers to visually see faulty line segments and fault types on the railway line in the train number template image. Furthermore, it enables dispatchers to schedule trains based on the current faulty line segments, thereby improving the efficiency of railway dispatchers in determining scheduling plans.

[0138] In another possible implementation, the train number template acquisition module 601 further includes the following before acquiring the train number template image:

[0139] The base map template acquisition module is used to acquire the base map template. The base map template is constructed using the time axis and station information as the horizontal and vertical axes, respectively. The station information includes the stations arranged in order between the target line segments.

[0140] The train number information acquisition module is used to acquire the train number information for each train, including the destination station, origin station, stops, and the time schedule of the train between each stop.

[0141] The trajectory line drawing module is used to draw the running trajectory line of each train on the base map template based on the train number information of each train, so as to obtain the train number template map.

[0142] In another possible implementation, when determining the display area in the train template diagram based on the faulty line segment and the start and / or end times, the display area determination module 604 is specifically used for:

[0143] Based on the intersection of the faulty line segment and the triggering time in the train template diagram;

[0144] The display area is determined based on the intersection point in the train number template.

[0145] In another possible implementation, when determining the display area based on the intersection point in the train number template, the display area determination module 604 is specifically used for:

[0146] The intersection point is used as the geometric center of the preset graphic, and the preset graphic is drawn on the train template based on the preset dimensions;

[0147] Divide the preset graphic into N sub-regions, where N is greater than or equal to 2;

[0148] The sub-regions that are not traversed by the running trajectory are identified as candidate regions;

[0149] Select any candidate area as the display area.

[0150] In another possible implementation, device 60 further includes:

[0151] The train demand determination module is used to determine new train demand, which includes the train's stops, originating stations, and destination stations.

[0152] The target trajectory line determination module is used to determine the target train's running trajectory line from the train's operation information based on the new train demand;

[0153] A new trajectory line drawing module has been added, which is used to draw the running line of each target train on the base map template to obtain the running trajectory line of the new train.

[0154] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0155] This application provides an electronic device, such as... Figure 7 As shown, Figure 7 The illustrated electronic device 70 includes a processor 701 and a memory 703. The processor 701 and the memory 703 are connected, for example, via a bus 702. Optionally, the electronic device 70 may also include a transceiver 704. It should be noted that in practical applications, the transceiver 704 is not limited to one type, and the structure of this electronic device 70 does not constitute a limitation on the embodiments of this application.

[0156] Processor 701 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. Processor 701 may also be a combination that implements computational functions, such as including one or more microprocessor combinations, a combination of a DSP and a microprocessor, etc.

[0157] Bus 702 may include a pathway for transmitting information between the aforementioned components. Bus 702 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. Bus 702 can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 7 The symbol is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.

[0158] The memory 703 may be a ROM (Read Only Memory) or other type of static storage device capable of storing static information and instructions, RAM (Random Access Memory) or other type of dynamic storage device capable of storing information and instructions, or an EEPROM (Electrically Erasable Programmable Read Only Memory), CD-ROM (Compact Disc Read Only Memory) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital universal optical discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but not limited thereto.

[0159] The memory 703 is used to store application code that executes the solution of this application, and its execution is controlled by the processor 701. The processor 701 is used to execute the application code stored in the memory 703 to implement the content shown in the foregoing method embodiments.

[0160] Electronic devices include, but are not limited to: mobile terminals such as mobile phones, laptops, digital radio receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), and in-vehicle terminals (such as in-vehicle navigation terminals), as well as fixed terminals such as digital TVs and desktop computers. Servers can also be included. Figure 7 The electronic device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.

[0161] This application provides a computer-readable storage medium storing a computer program that, when run on a computer, enables the computer to execute the corresponding content in the aforementioned method embodiments. Compared with related technologies, this application's embodiments obtain a train number template diagram, applying the running trajectories of each train to the same time axis, facilitating train dispatchers to intuitively observe train operation through the train number template diagram; the determination of the time display line allows train dispatchers to view the current location of each train based on the current time; obtaining faulty line segments on the target line segment, as well as the fault type and trigger time corresponding to each faulty line segment, allows for the determination of a display area in the train number template diagram, and the addition of fault types within that area. This enables railway dispatchers to intuitively see faulty line segments and fault types on the railway operating line in the train number template diagram, and simultaneously allows railway dispatchers to schedule train running trajectories based on the current faulty line segments, thereby improving the efficiency of railway dispatchers in determining scheduling plans.

[0162] It should be understood that although the steps in the flowcharts of the accompanying figures are shown sequentially as indicated by the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the accompanying figures may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the sub-steps or stages of other steps.

[0163] The above are only some embodiments of this application. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of this application, and these improvements and modifications should also be considered within the scope of protection of this application.

Claims

1. A method for drawing railway timetables, characterized in that, include: Obtain a train schedule template image, which includes the running trajectory line of each train. The running trajectory line represents the correspondence between the train at each stop and the time axis, and the running trajectory lines of each train are applied to the same time axis; determine a time display line, which corresponds to the real time on the time axis; Obtain at least one faulty line segment on the target line segment, as well as the fault type and trigger time corresponding to each faulty line segment, wherein the trigger time is the start time and / or end time of the fault type; Based on the faulty line segment and the triggering time, a display area is determined in the train template diagram; Add the fault type to the display area; The step of determining the display area in the train template diagram based on the faulty line segment and the triggering time includes: based on the intersection point of the faulty line segment and the triggering time in the train template diagram; Using the intersection point as the geometric center of the preset graphic, and drawing the preset graphic in the train template based on the preset size; dividing the preset graphic into N sub-regions, where N is greater than or equal to 2; determining the sub-regions through which no running trajectory passes as candidate regions; and determining any of the candidate regions as the display region.

2. The method for drawing railway timetables according to claim 1, characterized in that, Before obtaining the train number template map, the method further includes: obtaining a base map template, which is constructed using a time axis and station information as horizontal and vertical coordinates, respectively, wherein the station information includes the stations arranged sequentially between the target line segments; obtaining the train number information for each train, which includes the terminal station, starting station, stops, and the time schedule of the train between each stop; and drawing the running trajectory line of each train on the base map template based on the train number information of each train to obtain the train number template map.

3. The method for drawing railway timetables according to claim 2, characterized in that, The method further includes: determining new train demand, the new train demand including train stops, starting stations and ending stations; determining target train operation trajectory lines from the train operation information based on the new train demand; and drawing each target train operation line on the base map template to obtain the new train operation trajectory line.

4. A railway timetable drawing device, based on the railway timetable drawing method according to any one of claims 1-3, characterized in that, include: The train number template acquisition module is used to acquire a train number template diagram, which includes the running trajectory line of each train. The running trajectory line represents the correspondence between the train at each stop and the time axis, and the running trajectory lines of each train are applied to the same time axis. The time determination module is used to determine the time display line, which corresponds to the real time on the time axis. The fault acquisition module is used to acquire at least one faulty line segment on the target line segment, as well as the fault type and trigger time corresponding to each faulty line segment, wherein the trigger time is the start time and / or end time of the fault type. The display area determination module is used to determine the display area in the train template diagram based on the faulty line segment and the triggering time. Add a module to add the fault type within the display area.

5. The railway timetable drawing device according to claim 4, characterized in that, Before acquiring the train number template, the train number template acquisition module further includes: a base map template acquisition module, used to acquire a base map template, which is constructed using a time axis and station information as horizontal and vertical coordinates, respectively, and the station information includes the stations arranged sequentially between the target line segments; a train number information acquisition module, used to acquire the train number information for each train, which includes the terminal station, starting station, stops, and the time schedule of the train between each stop; and a trajectory line drawing module, used to draw the running trajectory line of each train on the base map template based on the train number information of each train, thereby obtaining the train number template.

6. The railway timetable drawing device according to claim 5, characterized in that, The device further includes: a train demand determination module for determining new train demand, the new train demand including train stopping stations, starting stations and ending stations; a target trajectory line determination module for determining the target train running trajectory line from the train operation information based on the new train demand; and a new trajectory line drawing module for drawing each target train running line on the base map template to obtain the new train running trajectory line.

7. An electronic device, characterized in that, It includes: At least one processor; Memory; At least one application, wherein the at least one application is stored in the memory and configured to be executed by the at least one processor, the at least one application being used to execute a railway timetable drawing method according to any one of claims 1 to 3.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed in the computer, the computer is instructed to perform a railway timetable drawing method according to any one of claims 1 to 3.

Citation Information

Patent Citations

  • Train operation diagram correction device and train operation diagram correction program

    CN106794854A

  • Train operation command device

    JP2012245801A