Method, medium and system for checking the number of trains in a section

By configuring inspection rules and virtual platform interpolation processing, the problem of limited number of trains in the interval is solved, accurate inspection of the number of trains in the interval is achieved, operation congestion is avoided, and operational efficiency and safety are improved.

CN119682807BActive Publication Date: 2025-09-23CASCO SIGNAL LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411903708.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-23
Publication Date
2025-09-23
Estimated Expiration
2044-12-23

AI Technical Summary

Technical Problem

Existing technologies cannot effectively limit the number of trains between sections, resulting in operational congestion and failure to meet transportation efficiency requirements.

Method used

By configuring inspection rules, traversing the single trip in the timetable, recording entry and exit information, using counters to count the number of trains in the interval, and recording alarm information when the upper limit is exceeded, combined with virtual platform interpolation processing, the timetable compilation is refined.

Benefits of technology

It enables accurate inspection of the number of trains in the section, avoids operation congestion, improves operational efficiency and safety, and provides flexible application scenarios and graphical displays for easy adjustment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119682807B_ABST
    Figure CN119682807B_ABST
Patent Text Reader

Abstract

The present invention relates to a method, medium, and system for checking the number of trains in a section. The method comprises the following steps: configuring check rules and reading all check rules from a configuration file using OGT software; traversing all trains' single trips according to the timetable, and when a single trip matches any section in the check rules, storing entry and exit records in an entry and exit record table; after the traversal is complete, sorting the entry and exit record table from early to late according to time points to obtain entry and exit information for all trains on the timeline; traversing the entry and exit information, and obtaining the total number of trains in each section using a counter; and recording an alarm message each time the counter changes when the total number of trains in a section is greater than or equal to an upper limit on the number of trains. Compared with the prior art, the present invention can refine the compilation of timetables by checking the number of trains simultaneously existing in a section, thereby improving operational efficiency and ensuring safety.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of rail transit technology, and in particular to a method, medium and system for checking the number of trains in a section. Background Art

[0002] As an important part of urban public transportation, rail transit can effectively improve travel efficiency, alleviate urban congestion, improve air quality, and promote urban development. It is also an important indicator of the level of a city's transportation infrastructure construction. Among them, the timetable, as an indispensable part of rail transportation, stipulates the arrival and departure times of trains at various stations, as well as the running time of trains within the interval. A standardized and efficient timetable can greatly improve the operational efficiency and safety of rail transit. The compilation of timetables for multiple trains and complex routes also greatly tests the ability of cartographers. Timetable editing software often provides some legality checks to provide reference for cartographers. Currently, the more common checks include but are not limited to:

[0003] 1. Platform conflict check: By checking the arrival and departure times of the platform, we can ensure that at most one vehicle can be on a platform at the same time.

[0004] 2. Departure interval control: by checking the departure interval of the terminal platform, a prompt will be given when it exceeds the upper limit or falls below the lower limit;

[0005] 3. Uniqueness check: Check the service number or one-way number to ensure global uniqueness;

[0006] These checks can help cartographers avoid basic errors. However, when faced with inspections of complex scenarios, cartographers are often required to manually analyze and inspect the scene and use their experience to set safe time intervals.

[0007] The number of interval trains is one of the key points that need to be paid attention to in rail transit. During transportation, it is often necessary to limit the number of trains that exist simultaneously in a specific interval. Usually, the signal system provides a real-time interval number limitation function during the train operation, but the transportation efficiency cannot meet the task requirements. For example, patent application CN118917102A discloses a method for calculating the number of trains assigned to the line of an intelligent rail express system. This method comprehensively considers constraints such as the charging requirements and turnaround preparation time of the intelligent rail train, and combines the inverse function model with the mathematical programming model to more accurately determine the number of trains assigned to the line of the intelligent rail express system. However, this method cannot limit the number of interval trains based on the operating timetable, and cannot avoid the operation congestion caused by the limit on the number of interval trains during the actual operation stage. Summary of the Invention

[0008] The purpose of the present invention is to overcome the defects of the above-mentioned existing technologies and provide a method, medium and system for checking the number of trains in a section, which can refine the compilation of timetables by checking the number of trains existing simultaneously in the section, improve operating efficiency and ensure safety.

[0009] The purpose of the present invention can be achieved by the following technical solutions:

[0010] A method for checking the number of trains in a section, comprising the following steps:

[0011] Configure inspection rules, and read all the inspection rules from the configuration file through the OGT software. The inspection rules include interval description, upper limit of train number and interval;

[0012] Traversing the single trips of all trains according to the timetable, and when the single trip matches any of the intervals in the inspection rule, storing the entry and exit interval records in the entry and exit interval record table;

[0013] After the traversal is completed, the entry and exit interval record table is sorted according to time points from early to late to obtain the entry and exit interval information of all trains on the time axis;

[0014] Traversing the entry and exit interval information, and obtaining the total number of trains in each interval through a counter;

[0015] When the total number of trains in the interval is greater than or equal to the upper limit of the number of trains configured in the inspection rule, an alarm message is recorded every time the counter changes.

[0016] Furthermore, the section is two connected endpoints on the train running line and the track between the endpoints, and has directionality.

[0017] Furthermore, the timetable includes train arrival times and train departure times at the platform.

[0018] Furthermore, the entry and exit interval record includes: time point, entry and exit interval attributes, entered or exited track and current one-way pointer.

[0019] Furthermore, when traversing the entry and exit interval information, the counter is incremented by 1 when the entry and exit interval attribute of the entry and exit interval record is an entry interval attribute, and is decremented by 1 when the entry and exit interval attribute of the entry and exit interval record is an exit interval attribute.

[0020] Furthermore, when different trains enter or leave the section at the same time, the counter is first increased and then decreased based on the first-in-last-out principle.

[0021] Furthermore, the warning information includes a one-way description, a section description, the track entered or left, the time point and the number of trains in the section.

[0022] Furthermore, the alarm information is printed sequentially into the alarm dialog box, and through the one-way description, the OGT software automatically positions and displays the graphical timetable of the alarm information at the position corresponding to the one-way.

[0023] Furthermore, when configuring the inspection rule, if there is an intersection between the two intervals, the intervals are decoupled by the OGT software.

[0024] Furthermore, when the endpoint of the interval is an arbitrary track, the arbitrary track is used as a virtual platform, and the virtual platform is interpolated and fitted according to the track length or the time value obtained by the simulated sports car to obtain the train arrival time and departure time of the virtual platform, and the train arrival time and departure time of the virtual platform are recorded as the same time point.

[0025] Furthermore, if the two intervals are connected end to end and the interval endpoint at the connection is the virtual platform, the OGT software deletes the two entry and exit interval records at the connection.

[0026] Furthermore, by configuring the combination of the interval and the upper limit of the number of trains, the number of trains in the interval is checked in different application scenarios.

[0027] According to another aspect of the present invention, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the method for checking the number of trains in a certain section is implemented.

[0028] According to another aspect of the present invention, there is provided a system for checking the number of trains in a section, comprising:

[0029] An inspection rule configuration module is used to configure inspection rules and read all the inspection rules from the configuration file through the OGT software;

[0030] A train one-way traversal module is used to traverse the one-way of all trains according to the timetable, and when the one-way coincides with any of the intervals in the inspection rule, store the entry and exit interval records in the entry and exit interval record table;

[0031] An entry and exit interval information acquisition module is used to sort the entry and exit interval record table from early to late according to time points after completing the traversal, and obtain the entry and exit interval information of all trains on the time axis;

[0032] An interval train number acquisition module is used to traverse the entry and exit interval information and obtain the total number of trains in each interval through a counter;

[0033] An alarm information recording module is used to record alarm information whenever the counter changes when the total number of trains in the interval is greater than or equal to the upper limit of the number of trains configured in the inspection rule.

[0034] Compared with the prior art, the present invention has the following beneficial effects:

[0035] 1. The present invention traverses the one-way journeys of all trains according to the timetable, and obtains the entry and exit interval information of all trains on the time axis based on the entry and exit interval records of the one-way journey that coincide with any interval in the inspection rules; based on the entry and exit interval information, the real-time number of trains in any interval in the timetable is obtained through a counter, the number of trains in each interval is compared with the upper limit of the number of trains in the interval, and alarm information is recorded, thereby realizing the inspection of the number of trains in the intervals that are of greater concern to line operations, and effectively avoiding operation congestion caused by the limit on the number of trains in the interval during the actual operation stage.

[0036] 2. In view of the sparse characteristics of timetables, which only contain standing train arrival and departure times at platforms, this invention introduces virtual platforms and performs interpolation processing based on typical values ​​to refine the grid, providing timetable makers with an accurate reference for optimizing train operation diagrams.

[0037] 3. The present invention combines a variety of application scenarios by flexibly configuring intervals and the upper limit of the number of trains. Combined with the graphical display of the timetable, key positions can be quickly located, making it convenient for users to check and adjust. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 This is a flow chart of the method for checking the number of trains in a section proposed by the present invention;

[0039] Figure 2 To indicate intention at any moment for graphical display;

[0040] Figure 3 This is a schematic diagram of the interpolation method for virtual platform train arrival and departure points;

[0041] Figure 4 Schematic diagram of the decoupling method for interval configuration;

[0042] Figure 5 This is a schematic diagram of the platform layout;

[0043] Figure 6 This is a schematic diagram of the multi-interval inspection process;

[0044] Figure 7 This is a schematic diagram of the multi-section platform layout;

[0045] Figure 8 Graphically display time indication for multiple intervals. DETAILED DESCRIPTION

[0046] The present invention is described in detail below with reference to the accompanying drawings and specific embodiments. This embodiment is implemented based on the technical solution of the present invention, and provides a detailed implementation method and specific operation process, but the protection scope of the present invention is not limited to the following embodiments.

[0047] Abbreviations involved:

[0048] Offline Graphical Timetable: Offline Graphical Timetable, OGT

[0049] Example 1

[0050] This embodiment provides a method for checking the number of trains in a section. Figure 1 As shown, the following steps are included:

[0051] S1. Configure inspection rules and read all inspection rules from the configuration file through OGT software.

[0052] When the timetable editing software OGT (offline graphical timetable) starts, it reads all check rule configurations from the configuration file and stores them as a rule list in memory. While running, OGT checks the number of trains in a section based on an open timetable file or after creating and editing a new timetable. A check rule consists of a section description, a maximum number of trains, and one or more sections.

[0053] The user performs Valid Check in the OGT software, selects the Track Section Limit Check option, and clicks OK to confirm the check.

[0054] For the inspection rule configuration, when the two configured intervals have an intersection, the software will decouple the intervals, such as Figure 3 As shown, combined with Figure 4 The platform layout shown explains the decoupling process of interval configuration, and the inspection intervals are abcde and gcdf.

[0055] The specific steps of the decoupling process include:

[0056] Initialize variables;

[0057] Traverse the interval abcde:

[0058] Point a: Temporary subinterval is inserted into point a {a};

[0059] Point b: temporary subinterval is inserted into point b {ab};

[0060] Point c: insert the temporary subinterval into point c {abc}. Point c has two upper connections. Store the temporary subinterval into the list {{abc}}. Clear the temporary subinterval and insert {c} into point c.

[0061] Point d: insert the temporary subinterval into point d {cd}. Point d has two lower connections, which are stored in the list {{abc}, {cd}}. Clear the temporary subinterval and insert point d {d}.

[0062] Point e: insert the temporary subinterval into point e {de} and store it in the list {{abc}, {cd}, {de}};

[0063] Traverse the interval gcdf:

[0064] Point g: Temporary subinterval is inserted into point g {g};

[0065] Point c: insert {gc} at point c, which has two upper connections, store the temporary subinterval in the list {{abc}, {cd}, {de}, {gc}}, clear the temporary subinterval, and insert {c} at point c;

[0066] Point d: Insert point d {cd}. Point d has two lower connections. It is determined that {cd} already exists in the list. Clear the temporary subinterval and insert point d {d}.

[0067] Point f, insert point f {df}, store into the list {{abc}, {cd}, {de}, {gc}, {df}};

[0068] At this point, the interval configuration is split into abc, cd, de, gc, and df, completing the decoupling of the interval configuration. Decoupling can greatly simplify the complexity of data configuration and avoid unnecessary waste of computing resources.

[0069] S2. Traverse the one-way of all trains according to the timetable. When the one-way coincides with any interval in the inspection rule, store the entry and exit interval records in the entry and exit interval record table.

[0070] A section corresponds to two connected endpoints on a train route and the tracks between them, where the endpoints are also tracks. For example, the section from track A to track B is AcdeB. Sections are also directional. For example, AcdeB corresponds to the upward direction, while BedcA corresponds to the downward direction. By configuring a combination of sections and train quantity limits, the number of section trains can be checked in different application scenarios. Application scenarios include: checking the total number of trains on the up and down tracks on bridges or tunnels in real time, checking the number of trains in a section during peak hours, checking the number of trains stopping at all or some platforms at a certain time, and checking the number of all trains running in the section.

[0071] The timetable includes the train arrival time and train departure time at the platform. The OGT software traverses all one-way trips of all trains according to the timetable, and when a part of the train's running path matches any interval in the inspection rule. Taking the AcdeB interval as an example, for the departure time of point A (indicating the entry interval) and the arrival time of point B (indicating the exit interval), two entry and exit interval records are stored in the entry and exit interval record table. The entry and exit interval record structure contains: 1 time point (nTime), 1 entry and exit interval attribute (bType), 1 entering or leaving track (nNodeId) and the current one-way pointer (pTrip).

[0072] like Figure 2 The figure shows a graphical timetable, with the horizontal axis representing time and the vertical axis representing platform. In this embodiment, three trains 001, 002, and 003 run sequentially from platform F to platform G, passing through points A and B. The upper limit of the number of trains in the AB section is configured to 2 for inspection.

[0073] Traverse the running paths of the three trains and determine whether they pass through the AB section, then:

[0074] For vehicle 001, record two CheckItems into CheckItemList:

[0075] {nTime=08:00:00, bType=1, nNodeId=1, pTrip=001}

[0076] {nTime=08:05:00, bType=0, nNodeId=2, pTrip=001}

[0077] For car 002, record two CheckItems into CheckItemList:

[0078] {nTime=08:03:00, bType=1, nNodeId=1, pTrip=002}

[0079] {nTime=08:08:00, bType=0, nNodeId=2, pTrip=002}

[0080] For car 003, record two CheckItems into CheckItemList:

[0081] {nTime=08:06:00, bType=1, nNodeId=1, pTrip=003}

[0082] {nTime=08:11:00, bType=0, nNodeId=2, pTrip=003}

[0083] Where nTime is the time point, bType is the entry and exit interval attribute. When bType = 0, it is the exit interval attribute, and when bType = 1, it is the entry interval attribute. nNodeId is the track entered or left, and pTrip is the current one-way pointer.

[0084] Since the timetable only contains the train arrival time and train departure time of the platform, for interval endpoints that require flexible configuration, such as when the interval endpoint is configured as an arbitrary track, the concept of virtual platform is introduced: OGT interpolates and fits these virtual platforms based on the track length or the time value obtained by the simulated sports car, and the recorded arrival and departure times are at the same time point. Take the actual train running path FabEcdG as an example, where F, E and G are real platforms with arrival and departure times in the timetable, and a, b, c and d are virtual platform nodes that need to be interpolated in the path. The interpolation fitting steps include:

[0085] Traverse all nodes in the path and determine whether the current station is a virtual station:

[0086] If node F is a real station and the virtual station list is empty, only the departure time of station F will be recorded.

[0087] Continue traversing, for point a, which is a virtual station, insert it into the virtual station list {a};

[0088] Continue traversing, for point b, which is a virtual station, insert it into the virtual station list {a, b};

[0089] Continue traversing. For point E, which is a real platform and the virtual platform list is not empty, interpolate the platforms in the list:

[0090] Calculate the time difference between the arrival time of the current station and the reference time:

[0091] tInterval = tArrival - tBegin

[0092] Where tInterval is the time difference, tArrival is the arrival time, and tBegin is the reference time.

[0093] Calculate the arrival time of points a and b based on the configuration file:

[0094]

[0095] Where tArrival_a is the arrival time at point a, tArrival_b is the arrival time at point b, distance_F_a is the distance between point F and point a, distance_a_b is the distance between point a and point b, and distance_b_E is the distance between point b and point E.

[0096] Clear the virtual station list and record the base time as the departure time of the current point E;

[0097] When traversing to point G, repeat the above steps to interpolate points c and d to complete all interpolations.

[0098] S3. After the traversal is completed, the entry and exit interval record table is sorted from early to late according to the time point to obtain the entry and exit interval information of all trains on the time axis.

[0099] The entry and exit interval record table is sorted by time point to obtain the entry and exit interval information as follows:

[0100] {{nTime=08:00:00, bType=1, nNodeId=1, pTrip=001},

[0101] {nTime=08:03:00, bType=1, nNodeId=1, pTrip=002},

[0102] {nTime=08:05:00, bType=0, nNodeId=2, pTrip=001},

[0103] {nTime=08:06:00, bType=1, nNodeId=1, pTrip=003},

[0104] {nTime=08:08:00, bType=0, nNodeId=2, pTrip=002},

[0105] {nTime=08:11:00, bType=0, nNodeId=2, pTrip=003}}

[0106] S4. Traverse the entry and exit interval record table and obtain the total number of trains in each interval through the counter according to the entry and exit interval information.

[0107] A new counter is created with a value of 0. The entry and exit interval record table is traversed. When the entry and exit interval attribute of an entry and exit interval record is an entry interval attribute, the counter is incremented by 1. When the entry and exit interval attribute of an entry and exit interval record is an exit interval attribute, the counter is decremented by 1, thereby determining the number of trains in the interval. When different trains enter or leave the interval at the same time, the counter is incremented first and then decremented based on the first-in, last-out order. If two intervals are connected end to end, such as Ac and cB, and point c is a virtual platform, meaning the arrival time is equal to the departure time, the counter will be decremented first and then incremented for the same train, resulting in a false alarm. In this scenario, the OGT software will delete the two entry and exit interval records at the connection point.

[0108] S5. When the total number of trains in the section is greater than or equal to the upper limit of the number of trains configured in the inspection rule, an alarm message is recorded every time the counter changes.

[0109] When the number of trains in a section is greater than or equal to the upper limit of the number of trains configured in the inspection rule, an alarm message is recorded. The alarm message includes a one-way description, section description, the track entered or left, the time point, and the number of trains in the section, as shown below:

[0110] "Limit Exceeded, When train %s (one-way description) entering / leaving zone %s (zone description Desc) from node: %s (entering or leaving track nNodeId) at time: %s (time point nTime), Traincount: %d (number of trains in the zone at this time nCount)."

[0111] Continue to traverse the entry and exit interval record table until the end. When the total number of trains in the interval is greater than or equal to the upper limit of the number of trains configured in the inspection rule, an alarm message is recorded every time the counter changes.

[0112] In this embodiment, the counter obtained by traversing the entry and exit interval record table is:

[0113] bType=1:nCount=1

[0114] bType=1:nCount=2,

[0115] nCount>=MaxNumOfTrain

[0116] Recording alarm: "Limit Exceeded, When train 002entering zone %s from node:1attime:08:03:00, Train count:2."

[0117] bType=0:nCount=1

[0118] bType=1:nCount=2,

[0119] nCount>=MaxNumOfTrain

[0120] Recording alarm: "Limit Exceeded, When train 003entering zone %s from node:1attime:08:06:00, Train count:2."

[0121] bType=0:nCount=1

[0122] bType=0:nCount=0

[0123] Where bType is the entry and exit interval attribute, nCount is the number of trains in the interval, and MaxNumOfTrain is the upper limit of the number of trains in the interval.

[0124] It can be seen from the recorded alarm that when train 002 enters the AB section from track 1 at 08:03:00, the total number of trains in the section is equal to the upper limit of the number of trains; when train 003 enters the AB section from track 1 at 08:06:00, the total number of trains in the section is equal to the upper limit of the number of trains.

[0125] The alarm information is printed in sequence in the alarm dialog box. At this time, the user double-clicks an alarm, and the OGT software automatically locates the graphical timetable and displays the location of the single trip according to the single trip description recorded in the alarm, making it convenient for the user to view and adjust.

[0126] Example 2

[0127] This embodiment provides a method for checking the number of trains in multiple sections. The specific process is as follows: Figure 6 As shown, the inspection of multiple intervals is to perform basic inspection on the decoupled intervals. The layout of multiple intervals in this embodiment is as follows Figure 7 As shown, A1 and A2 tables represent the up and down platforms of station A.

[0128] Figure 8The timetable to be checked is shown below: Trains 001 and 002 are traveling in the upward direction, following the route A1-B1-C1-D1-E1; Trains 003 and 004 are traveling in the downward direction, following the route E2-D2-C2-B2-A2; and Trains 005 and 006 are traveling in the upward direction, following the route f-C1-D1-g.

[0129] The inspection rule includes two inspection sections: A1-B1-C1-D1-E1 and E2-D2-C2-B2-A2. The upper limit of the number of trains in the section is 4. The inspection steps are as follows:

[0130] Traverse all one-way intervals and record the entry and exit interval records:

[0131] For train 001, there are three sections that match {A1-B1-C1}, {C1-D1}, and {D1-E1}, and a total of 6 entry and exit records are recorded. The entry and exit of C1 and D1, which are adjacent to each other, need to be ignored. Finally, two entry and exit records are recorded:

[0132] {nTime=08:00:00, bType=1, nNodeId=A1, pTrip=001}

[0133] {nTime=08:20:00, bType=0, nNodeId=E1, pTrip=001}

[0134] Check all trains in turn:

[0135] Train 002:

[0136] {nTime=08:05:00, bType=1, nNodeId=A1, pTrip=002}

[0137] {nTime=08:23:00, bType=0, nNodeId=E1, pTrip=002}

[0138] Train 003:

[0139] {nTime=08:08:00, bType=1, nNodeId=E2, pTrip=003}

[0140] {nTime=08:27:00, bType=0, nNodeId=A2, pTrip=003}

[0141] Train 004:

[0142] {nTime=08:13:00, bType=1, nNodeId=E2, pTrip=004}

[0143] {nTime=08:32:00, bType=0, nNodeId=A2, pTrip=004}

[0144] Train 005:

[0145] {nTime=08:06:00, bType=1, nNodeId=C1, pTrip=005}

[0146] {nTime=08:11:00, bType=0, nNodeId=D1, pTrip=005}

[0147] Train 006:

[0148] {nTime=08:21:00, bType=1, nNodeId=C1, pTrip=006}

[0149] {nTime=08:26:00, bType=0, nNodeId=D1, pTrip=006}

[0150] Sort the entry and exit interval record table by time, traverse and generate alarm information as follows:

[0151] "Limit Exceeded, When train 003entering zone%s from node:E2 at time:08:08:00, Train count:4."

[0152] "Limit Exceeded, When train 004entering zone%s from node:E2 at time:08:13:00, Train count:4."

[0153] "Limit Exceeded, When train 006entering zone%s from node:C1 at time:08:21:00, Train count:4."

[0154] As can be seen from the above alarm information, when train 003 enters the section from the down platform E2 at 08:08:00, the total number of trains in the section is equal to the upper limit of the number of trains; when train 004 enters the section from the down platform E2 at 08:13:00, the total number of trains in the section is equal to the upper limit of the number of trains; when train 006 enters the section from the up platform C1 at 08:21:00, the total number of trains in the section is equal to the upper limit of the number of trains.

[0155] The rest is the same as in Example 1.

[0156] Example 3

[0157] This embodiment provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the method for checking the number of trains in a section as proposed in Example 1 can be implemented.

[0158] The rest is the same as in Example 1.

[0159] Example 4

[0160] This embodiment provides a system for checking the number of trains in a section, including:

[0161] Inspection rule configuration module, used to configure inspection rules and read all inspection rules from the configuration file through OGT software;

[0162] The train one-way traversal module is used to traverse the one-way of all trains according to the timetable. When a one-way coincides with any interval in the inspection rule, the entry and exit interval records are stored in the entry and exit interval record table;

[0163] The entry and exit interval information acquisition module is used to sort the entry and exit interval record table from early to late according to the time point after completing the traversal, and obtain the entry and exit interval information of all trains on the time axis;

[0164] The module for obtaining the number of trains in each section is used to traverse the information of entering and leaving the section and obtain the total number of trains in each section through the counter;

[0165] The alarm information recording module is used to record alarm information whenever the counter changes when the total number of trains in the section is greater than or equal to the upper limit of the number of trains configured in the inspection rule.

[0166] The rest is the same as in Example 1.

[0167] The above describes in detail the preferred embodiments of the present invention. It should be understood that those skilled in the art can make numerous modifications and variations based on the concepts of the present invention without inventive effort. Therefore, any technical solutions that can be derived by those skilled in the art through logical analysis, reasoning, or limited experimentation based on the concepts of the present invention and the prior art should be within the scope of protection defined by the claims.

Claims

1. A method for checking the number of trains in a section, characterized in that: The following steps are involved: Configure inspection rules. All inspection rules are read from the configuration file by the OGT software. The inspection rules include interval description, upper limit of train quantity and interval. The interval is the two connected endpoints on the train running line and the track between the two endpoints, which is directional. Traverse the single trips of all trains according to the timetable. When the single trip matches any of the intervals in the inspection rules, store the entry and exit interval records in the entry and exit interval record table. When the endpoint of the interval is an arbitrary track, use the arbitrary track as a virtual platform. Interpolate and fit the virtual platform based on the track length or the time value obtained by simulating the sports car to obtain the train arrival time and departure time of the virtual platform. The train arrival time and departure time of the virtual platform are recorded as the same time point. If two intervals are connected end to end and the interval endpoint at the connection is the virtual platform, the OGT software deletes the two entry and exit interval records at the connection; After the traversal is completed, the entry and exit interval record table is sorted according to time points from early to late to obtain the entry and exit interval information of all trains on the time axis; Traversing the entry and exit interval information, and obtaining the total number of trains in each interval through a counter; When the total number of trains in the interval is greater than or equal to the upper limit of the number of trains configured in the inspection rule, an alarm message is recorded every time the counter changes.

2. The method for checking the number of trains in a section according to claim 1, wherein: The timetable includes train arrival times and train departure times at the platform.

3. The method for checking the number of trains in a section according to claim 1, wherein: The entry and exit interval record includes: time point, entry and exit interval attributes, entered or exited track and current one-way pointer.

4. The method for checking the number of trains in a section according to claim 3, characterized in that: When traversing the entry and exit interval information, the counter is incremented by 1 when the entry and exit interval attribute of the entry and exit interval record is an entry interval attribute, and is decremented by 1 when the entry and exit interval attribute of the entry and exit interval record is an exit interval attribute.

5. The method for checking the number of trains in a section according to claim 1, wherein: When different trains enter or leave the section at the same time, the counter is incremented first and decremented later based on the first-in-last-out principle.

6. The method for checking the number of trains in a section according to claim 1, wherein: The warning information includes a single trip description, a section description, the track entered or left, the time point, and the number of trains in the section.

7. The method for checking the number of trains in a section according to claim 6, characterized in that: The alarm information is printed in sequence into the alarm dialog box. Through the one-way description, the OGT software automatically positions and displays the graphical timetable of the alarm information at the position corresponding to the one-way.

8. The method for checking the number of trains in a section according to claim 1, characterized in that: When configuring the inspection rule, there is an intersection between the two intervals, and the intervals are decoupled by the OGT software.

9. The method for checking the number of trains in a section according to claim 1, characterized in that: By configuring the combination of the interval and the upper limit of the number of trains, the number of interval trains in different application scenarios is checked.

10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for checking the number of trains in a section as described in any one of claims 1 to 9 can be implemented.

11. A system for checking the number of trains in a section, characterized in that: include: An inspection rule configuration module is used to configure inspection rules. All inspection rules are read from a configuration file via the OGT software. The inspection rules include an interval description, an upper limit on the number of trains, and an interval. An interval is a directional interval between two connected endpoints on a train route and the track between the two endpoints. A train one-way traversal module is used to traverse the one-way of all trains according to the timetable. When the one-way coincides with any interval in the inspection rule, the entry and exit interval records are stored in the entry and exit interval record table. When the endpoint of the interval is an arbitrary track, the arbitrary track is used as a virtual platform. The virtual platform is interpolated and fitted based on the track length or the time value obtained by simulating the sports car to obtain the train arrival time and departure time of the virtual platform. The train arrival time and departure time of the virtual platform are recorded as the same time point. If two intervals are connected end to end and the interval endpoint at the connection is the virtual platform, the OGT software will delete the two entry and exit interval records at the connection. An entry and exit interval information acquisition module is used to sort the entry and exit interval record table from early to late according to time points after completing the traversal, and obtain the entry and exit interval information of all trains on the time axis; An interval train number acquisition module is used to traverse the entry and exit interval information and obtain the total number of trains in each interval through a counter; An alarm information recording module is used to record alarm information whenever the counter changes when the total number of trains in the interval is greater than or equal to the upper limit of the number of trains configured in the inspection rule.

Citation Information

Patent Citations

  • Method for calculating number of trains attached to lines of intelligent rail express system

    CN118917102A

  • Running chart stage plan logic checking method

    CN111152818A

  • Train operation scheme optimization method and system

    CN114655282A