A method and apparatus for calculating a countdown to departure
By obtaining the ATO operation plan and calculating the train's complete stop time based on the data processing cycle, the departure countdown problem caused by the on-board system's inability to receive the ATO plan in a timely manner is solved, and efficient control of the train's automatic operation is achieved.
Patent Information
- Application Number
- CN202411868293.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-18
- Publication Date
- 2025-10-17
- Estimated Expiration
- 2044-12-18
AI Technical Summary
After the train arrives at the station, the onboard system is unable to receive the ATO operation plan in a timely manner, resulting in the inability to automatically calculate the departure countdown, affecting the train's automatic operation efficiency.
By obtaining the ATO operation plan, it is determined whether it is received within the train's complete stop cycle. If so, the current time on the ground is determined to be the complete stop time. Otherwise, the complete stop time is calculated according to the data processing cycle, and the departure countdown is calculated using the complete stop time and departure time.
Accurately calculate the departure countdown every time the train comes to a complete stop, ensuring that the onboard system can automatically control the opening and closing of the doors, thereby improving the efficiency of the train's automatic operation.
Smart Images

Figure CN119705544B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of train control technology, and in particular to a method and device for calculating departure countdown. BACKGROUND
[0002] In order to improve train operation efficiency, after the train arrives at a station, the on-board system parses the received ATO (Automatic Train Operation) operation plan information package, automatically calculates the departure countdown according to the current station departure time in the ATO operation plan information package and the current ground time, and controls the automatic closing of the train door at the time when the departure countdown is 0.
[0003] Currently, when the train travels into the designated stopping section of the station, the on-board system continuously detects whether the train has completely stopped and accurately stopped in the designated stopping section based on the data processing period, and determines the data processing period in which the train is completely and accurately stopped as the complete stopping period of the train when detecting that the train has completely and accurately stopped. If the ATO operation plan is received during the complete stopping period of the train, the on-board system can automatically calculate the departure countdown according to the departure time in the ATO operation plan and the current ground time when the train arrives at the station.
[0004] However, since the period of sending the ATO operation plan by the ATO system is longer than the data processing period of the on-board system, the ATO operation plan cannot be received in each complete stopping period. If the ATO operation plan is not received during the complete stopping period of the train, the on-board system cannot automatically calculate the departure countdown at the time when the train completely stops, and the train door cannot be automatically controlled in the case that the on-board system fails to calculate the departure countdown, resulting in a decrease in the efficiency of automatic train operation. SUMMARY
[0005] In view of the above problems, the present application provides a method and device for calculating departure countdown, which mainly aims to improve the efficiency of automatic train operation.
[0006] To achieve the above object, the present application mainly provides the following technical solutions:
[0007] In a first aspect, the present application provides a method for calculating departure countdown, which comprises:
[0008] obtaining an ATO operation plan containing the departure time of a target stopping station;
[0009] determining whether the ATO operation plan is received in the complete stopping period of the train, the complete stopping period being the data processing period in which the train is completely stopped;
[0010] If yes, determine the ground current time in the ATO operation plan as the complete stop time of the train;
[0011] If no, determine the complete stop time according to the first data processing period of receiving the ATO operation plan and the complete stop period;
[0012] Calculate the departure countdown of the target stop station by using the complete stop time and the departure time.
[0013] In a second aspect, the present application provides a device for calculating a departure countdown, the device comprising:
[0014] An acquisition unit, configured to acquire an ATO operation plan containing a departure time of a target stop station;
[0015] A judgment unit, configured to judge whether the ATO operation plan acquired by the acquisition unit is received within a complete stop period of a train, the complete stop period being a data processing period in which the train is completely stopped;
[0016] A determination unit, configured to, if the judgment unit judges that the ATO operation plan is received within the complete stop period of the train, determine the ground current time in the ATO operation plan as the complete stop time of the train;
[0017] The determination unit is further configured to, if the judgment unit judges that the ATO operation plan is not received within the complete stop period of the train, determine the complete stop time according to the first data processing period of receiving the ATO operation plan and the complete stop period;
[0018] A calculation unit, configured to calculate the departure countdown of the target stop station by using the complete stop time determined by the determination unit and the departure time acquired by the acquisition unit.
[0019] In a third aspect, the present application further provides a computing device, comprising at least one processor and a memory, wherein the memory stores instructions executable by the processor, and the instructions are executed by the processor, so that the processor can execute the method for calculating a departure countdown according to the first aspect.
[0020] In a fourth aspect, the present application further provides a readable storage medium for storing a computer program, wherein the computer program controls a device where the storage medium is located to execute the method for calculating a departure countdown according to the first aspect when the computer program is running.
[0021] By the above technical scheme, the method and device for calculating the departure countdown time provided by the application can acquire the ATO operation plan containing the departure time of the target stop station when the train reaches the target stop station. Since the ATO operation plan containing the departure time of the target stop station may not be received at the time when the train completely stops, the ground current time in the ATO operation plan cannot be directly determined as the complete stop time of the train. When the ATO operation plan is received within the complete stop period of the train, the ground current time in the ATO operation plan is determined as the complete stop time. When the ATO operation plan is not received within the complete stop period of the train, the first data processing period of the ATO operation plan is used to measure the time interval between the complete stop period of the train, so as to determine the complete stop time of the train. According to the complete stop time of the train and the departure time of the target stop station, the departure countdown time of the target stop station can be calculated. Through the above scheme, the departure countdown time from the departure time can be obtained when the train completely stops each time. When the train-mounted system knows the departure countdown time, the opening instruction can be automatically sent, and the train door can be automatically opened. When the train countdown time ends, the train door can be automatically closed, thereby improving the efficiency of the automatic operation of the train. BRIEF DESCRIPTION OF DRAWINGS
[0022] The above and other objects, features and advantages of the present application will become more apparent from the following detailed description read in conjunction with the accompanying drawings, in which several embodiments of the application are shown. In the drawings, identical or corresponding symbols refer to identical or corresponding parts throughout several views, wherein:
[0023] Figure 1 A flow chart of a method for calculating a departure countdown time according to an embodiment of the application is schematically shown;
[0024] Figure 2 A flow chart of another method for calculating a departure countdown time according to an embodiment of the application is schematically shown;
[0025] Figure 3 A structure diagram of a device for calculating a departure countdown time according to an embodiment of the application is schematically shown;
[0026] Figure 4 A structure diagram of another device for calculating a departure countdown time according to an embodiment of the application is schematically shown. DETAILED DESCRIPTION
[0027] Exemplary embodiments of the present application will be described in greater detail below with reference to the accompanying drawings. While exemplary embodiments of the present application are shown in the drawings, it is understood that the present application can be embodied in various forms without being limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the application to those skilled in the art.
[0028] It should be noted that, unless otherwise specified, technical terms or scientific terms used in the present application should be understood as their common meanings to those skilled in the art to which the present application pertains.
[0029] Currently, in order to realize automatic departure of a train according to the departure time in the ATO operation plan, the departure countdown time from the departure time is usually calculated when the train arrives at the station and stops stably and accurately according to the departure time in the ATO operation plan received at the time of stopping stably and accurately, and when the departure countdown ends, the train door is automatically controlled to be closed, and then the train is controlled to be switched from the stopping state to the starting state, so as to realize the automatic operation of the train. However, when the train stops accurately and stably, the ATO operation plan may not be received, and the time when the train stops completely cannot be known, at which time the departure countdown cannot be automatically calculated, and thus the vehicle-mounted system cannot send the instruction of opening the train door according to the departure countdown, which affects the train operation. Based on this, the present inventor considers calculating the departure countdown of the train according to the ATO operation plan before the train arrives at the station, and then thinks that the length of each data processing period is the same when the vehicle-mounted system is running, if the data processing period in which the ATO operation plan is received is determined first, and then the number of running times of the data processing period is determined, the length of the data processing period in which the ATO operation plan is received from the time when the train stops completely can be known, and then the time when the train stops completely can be calculated to participate in the calculation of the departure countdown of the train.
[0030] Therefore, the present inventor proposes a method for calculating the departure countdown, which can automatically calculate the departure countdown of the target stopping station at the time when the train stops completely according to the data processing period in which the ATO operation plan is received and the data processing period when the train stops completely. The method for calculating the departure countdown of the present embodiment, as shown in Figure 1 , at least includes 101-105.
[0031] 101. Obtain the ATO operation plan containing the departure time of the target stopping station.
[0032] In the present application, after the train-mounted system establishes a secure connection with the temporary speed limit server, the temporary speed limit server sends an ATO operation plan to the train-mounted system, which generally includes two operation plans, a first operation plan and a second operation plan, each containing a respective departure track number and arrival track number. The train-mounted system matches the departure track number and arrival track number in the ATO operation plan with the current track number information received from the balise to determine which operation plan to use. The information packet sent by the balise to the train-mounted system includes the current track number and precise stopping point information, which is usually a numerical variable with 15 digits, and the maximum value that can be configured by the numerical variable is “32767”. Before matching the current track number, the precise stopping point information is used to determine which of the departure track number and arrival track number to match with the current track number. Generally, the precise stopping point information sent by the balise distributed at the departure signal is the maximum value, and the precise stopping point information sent by the balise distributed at other locations is the non-maximum value. When the train-mounted system receives the maximum value of the precise stopping point information, it means that the train is about to depart, so the current track number is matched with the two departure track numbers in the ATO operation plan. If the current track number matches the departure track number in the first operation plan, the train-mounted system uses the first operation plan, and if the current track number matches the departure track number in the second operation plan, the train-mounted system uses the second operation plan. When the train-mounted system receives the non-maximum value of the precise stopping point information, it means that the train is about to arrive at the precise stopping point, so the current track number is matched with the two arrival track numbers in the ATO operation plan. If the current track number matches the arrival track number in the first operation plan, the train-mounted system uses the first operation plan, and if the current track number matches the arrival track number in the second operation plan, the train-mounted system uses the second operation plan. If the train-mounted system matches the first operation plan, the target stop station is the departure station in the second operation plan, and the train-mounted system can automatically calculate the departure countdown time based on the departure time of the target stop station. If the train-mounted system matches the second operation plan, the target stop station is the arrival station in the second operation plan, and the train-mounted system cannot calculate the departure countdown time of the target stop station based on the second operation plan.
[0033] Therefore, when the train reaches the target stop station, it is first queried whether the departure time of the target stop station is included in the ATO running plan currently being executed. If yes, the ATO running plan containing the departure time of the target stop station is obtained. If no, it means that the on-board system cannot calculate the departure countdown time of the target stop station according to the ATO running plan, and the departure countdown time can be displayed as "none" through the display interface of the departure countdown time to prompt the train driver, or an alarm can be sent to prompt the train driver.
[0034] It should be noted that the ATO running plan also includes a terminal stop station running plan, that is, the arrival station in the first segment running plan is the terminal stop station, and the second segment running plan is a null value. At this time, even if the on-board system matches the first segment running plan, it cannot calculate the departure countdown time of the target stop station. In order to normally execute automatic door opening when the train arrives at the terminal stop station, when the on-board system cannot calculate the departure countdown time, it is first determined whether the target stop station is the terminal stop station. If it is determined that the target stop station is the terminal stop station, an open door instruction is sent to the door control unit at the complete stop time of the train to arrive at the station, so as to execute automatic door opening in the case that the train arrives at the terminal stop station but cannot calculate the departure countdown time. When it is determined whether the target stop station is the terminal stop station, it can be determined according to whether a terminal running instruction sent by the train dispatching system is received.
[0035] 102, whether the ATO running plan is received within the complete stop period of the train.
[0036] When the on-board system knows the target stop station to be arrived according to the ATO running plan, the position of the train can be monitored through the position sensor. When it is determined that the train enters the preset stop interval of the target stop station, based on the data processing period of the on-board system, the train speed is detected once every period whether it is reduced to 0 and whether it is completely stopped in the preset stop interval of the target stop station, to determine whether the train accurately completes the stop, that is, the complete stop. The data processing period in which the complete stop of the train is detected is determined as the complete stop period. The data processing period is the period in which the on-board system executes the running code once. The length of each period is specific, which can be 200 milliseconds or 300 milliseconds, and is determined according to the actual running situation, which is not limited here.
[0037] When the ATO operation plan does not change, the temporary speed limit server usually sends the ATO operation plan to the vehicle system in a specific operation plan sending period, which can be 20 seconds or 25 seconds, and is determined according to the actual operation, and is not limited here. The operation plan sending period is usually longer than the data processing period, and thus the ATO operation plan is not necessarily sent to the vehicle system within the complete stop period of the train. If the ATO operation plan obtained containing the departure time of the target stop station is not received within the complete stop period, the ground current time in the ATO operation plan cannot be used as the complete stop time of the train. Therefore, after obtaining the ATO operation plan, it is necessary to determine whether the ATO operation plan is received within the complete stop period of the train.
[0038] 103. Determine the ground current time in the ATO operation plan as the complete stop time of the train.
[0039] In this step, it is determined that the ATO operation plan is received within the complete stop period of the train, and the ground current time in the ATO operation plan is determined as the complete stop time of the train.
[0040] 104. Determine the complete stop time according to the first data processing period in which the ATO operation plan is received and the complete stop period.
[0041] In this step, it is determined that the ATO operation plan is not received within the complete stop period of the train, and the complete stop time is determined according to the data processing period in which the ATO operation plan is received and the complete stop period.
[0042] When the complete stop time of the train is determined, the first data processing period in which the ATO operation plan is received can be determined as a first data processing period, the time difference between the first data processing period and the complete stop period can be determined according to the number of periods between the first data processing period and the complete stop period and the length of each data processing period, and then the ground current time in the ATO operation plan is added to the time difference to determine the complete stop time. When the first data processing period is queried, the operation log of the on-board system can be used for the query. In addition, when the ATO operation plan is received, it can be determined whether the train is in a running state, and if the train is running and has not arrived at the target stop station, the cumulative period number is automatically recorded. When the ATO operation plan is received in the first data processing period, the cumulative period number is 0, and the cumulative period number increases by 1 for each period until a certain data processing period is determined as the complete stop period. When the train completely stops, the current cumulative period number is obtained, the time difference between the first data processing period and the complete stop period is determined according to the cumulative period number and the length of each data processing period, and then the ground current time in the ATO operation plan is added to the time difference to determine the complete stop time.
[0043] 105. Calculate the departure countdown time of the target stop station using the complete stop time and the departure time.
[0044] When the complete stop time of the train at the target stop station is determined, the departure time of the target stop station is obtained according to the ATO operation plan, the departure time difference between the departure time and the complete stop time is calculated, and the departure time difference is determined as the departure countdown time.
[0045] It should be noted that when the train completely stops, although the on-board system can determine the departure countdown time, there is still a situation where the on-board system cannot automatically control the opening of the door according to the departure countdown time, specifically when the departure countdown time is not less than 0. During the automatic operation of the train, there may be a situation where the train arrives late due to a sudden situation, such as bad weather or road obstacles. When a sudden situation occurs, there may also be a situation where the communication signal is not good, i.e., the ATO operation plan newly issued by the temporary speed limit server may not be temporarily received, and the departure time of the target stop station in the ATO operation plan stored in the on-board system is still based on the occurrence time when the sudden situation does not occur. When the train arrives at the target stop station with a large amount of delay, the departure time may be earlier than the complete stop time, and thus the departure countdown time may be less than or equal to 0. When the departure countdown time is less than or equal to 0, the on-board system cannot determine whether the door needs to be opened at the moment, i.e., the automatic door opening cannot be performed. Therefore, when the departure countdown of the complete stop time of the train is not greater than 0, the on-board system can issue an alarm to the train driver to prompt the driver that the automatic door opening cannot be performed at the moment, and guide the driver to trigger the door opening instruction.
[0046] Based on the above Figure 1 The implementation mode can be seen that as long as the departure time of the target stop station is contained in the ATO operation plan stored by the vehicle-mounted system, the departure countdown of the target stop station can be calculated according to the currently received ATO operation plan or the previously received ATO operation plan at the complete stop time of the train arriving at the target stop station. Since the time length of each data processing period is the same, the scheme is based on the data processing period of the vehicle-mounted system to calculate the time difference between the first data processing period of receiving the ATO operation plan and the complete stop period, so that the complete stop time of the train can be more accurately calculated, and the calculated departure countdown is more accurate, and the vehicle-mounted system can automatically control the opening and closing operations of the train according to the departure countdown, thereby improving the efficiency of the automatic operation of the train.
[0047] In some embodiments of the above embodiments, according to the embodiments of the application shown in the above Figure 1 The embodiments of the application will be described in more detail below, and the steps of calculating the departure countdown of the target stop station by using the complete stop time and the departure time, and the steps of controlling the train to close the door according to the departure countdown, at least include 201-204, as shown in the above Figure 2
[0048] 201. Determine the complete stop time according to the first data processing period and the complete stop period.
[0049] In this step, the first data processing period of receiving the ATO operation plan is determined by querying the operation log of the vehicle-mounted system, and the number of periods between the first data processing period and the complete stop period is determined according to the operation log. The operation time length of each data processing period is obtained, the operation time length is multiplied by the number of periods, and the first time length between the first data processing period and the complete stop period is obtained, which can reflect the time difference between the time of receiving the ATO operation plan and the current time. The ground current time in the ATO operation plan is obtained, and the complete stop time of the train arriving at the target stop station is obtained by adding the first time length to the ground current time.
[0050] 202. Calculate the first countdown by using the complete stop time and the departure time.
[0051] In the embodiment, since the automatic door closing and the automatic departure are to be performed according to the departure countdown, the departure countdown is calculated according to the departure time and the full stop time, and the automatic door closing is performed first when the departure countdown is 0, and then the automatic departure is performed after the door is closed. The door closing process needs some time, and thus the actual departure time of the train is later than the departure time in the ATO operation plan. The automatic door closing time is the departure time in the ATO operation plan. To improve the reliability of the train in performing the automatic operation plan, the delay time in the door closing process is considered in calculating the departure countdown. The delay time is obtained according to the historical operation data, and includes at least the door closing time of the door control unit in performing the door closing command, and can also include the linkage time of the train door and the platform screen door, and the trigger time of the subsequent route automatic trigger. The departure time is subtracted from the full stop time to obtain the departure time difference, and then the delay time is subtracted to obtain the first countdown considering the delay time.
[0052] 203. Determine the departure countdown according to the first countdown and the train stop time.
[0053] In this step, in addition to the normal arrival of the train, the early arrival and the late arrival of the train are also considered. If the train arrives early, the train can depart early or according to the departure time; if the train arrives late, the train should not depart according to the departure time. When the train arrives late and departs according to the departure time, the departure countdown time can be short, and there is not enough time for passengers to get on and off the train, and there is a risk of passengers being blocked by the train door. Therefore, for the safety of passengers, the embodiment predefines a train stop time, which can be 2 minutes or 3 minutes, and is determined according to the actual train operation and is not limited here. When the train arrives late, the first countdown can be less than the train stop time, and the train stop time is determined as the actual departure countdown to give passengers enough time to get on and off the train; when the train arrives early, the first countdown is greater than the train stop time, and the first countdown is sufficient, and the first countdown can be determined as the departure countdown.
[0054] 204. Control the train to close the door according to the departure countdown.
[0055] When the train has completely stopped and the calculated first countdown is less than the train's stop duration, it can be further determined whether the first countdown is less than or equal to 0. If a train is delayed for a significant period, the train's complete stop time may be later than the departure time in the ATO operation plan. In this case, the first countdown will be less than or equal to 0. When the first countdown is less than or equal to 0, the train's doors cannot automatically open or close. In this case, the onboard system can issue an alarm to the train driver. Alternatively, the departure countdown can be adjusted to 0 to prevent the driver from misinterpreting a negative departure countdown and making a misjudgment. Alternatively, the departure countdown can be adjusted to 0 and an alarm can be issued simultaneously. When the train driver, based on the onboard system's alarm, knows that the train's doors cannot open or close automatically, they will proactively trigger the train's door opening and closing commands. Upon receiving the driver-initiated door opening or closing commands, the onboard system transmits these commands to the door control unit to control the automatic opening or closing of the doors. In some embodiments, after receiving the door opening command initiated by the driver, the departure countdown can be automatically reset to the train stop time to achieve automatic door closing and automatic departure.
[0056] When the departure countdown is not less than 0, the train will be monitored in real time during the train stop. When the departure countdown reaches 0, the onboard system automatically sends a door closing command to the door control unit to instruct the door control unit to control the train doors to close. The door closing command can also be sent to the platform screen door to instruct it to close.
[0057] Based on the above Figure 2 As can be seen from the implementation, this solution not only considers early or late train arrivals when calculating the departure countdown, but also automatically opens and closes doors based on the positive or negative countdown and the duration of the train's stops, further improving passenger safety. This ensures that when controlling the train's doors according to the departure countdown, passengers are given ample time to board and exit the train, preventing passengers or belongings from being blocked by the doors and impacting train operations, thereby improving the train's automatic operation efficiency.
[0058] Furthermore, as a response to the above Figure 1 、 2 The embodiment of the method shown in the figure is implemented. The embodiment of the present invention provides a device for calculating the departure countdown, which is used to automatically calculate the departure countdown when the train is completely stopped. The embodiment of the device corresponds to the aforementioned method embodiment. For ease of reading, this embodiment will no longer repeat the details of the aforementioned method embodiment one by one, but it should be clear that the device in this embodiment can correspond to all the contents of the aforementioned method embodiment. Specifically, Figure 3 As shown, the device includes:
[0059] The acquisition unit 31 is configured to acquire an ATO operation plan containing a departure time of a target stop station;
[0060] The determination unit 32 is configured to determine whether the ATO operation plan acquired by the acquisition unit 31 is received within a complete stop period of the train, the complete stop period being a data processing period in which the train is completely stopped;
[0061] The determination unit 33 is configured to, if the determination unit 32 determines that the ATO operation plan is received within the complete stop period of the train, determine a ground current time in the ATO operation plan as a complete stop time of the train;
[0062] The determination unit 33 is further configured to, if the determination unit 32 determines that the ATO operation plan is not received within the complete stop period of the train, determine the complete stop time according to a first data processing period in which the ATO operation plan is received and the complete stop period;
[0063] The calculation unit 34 is configured to calculate a departure countdown time of the target stop station by using the complete stop time determined by the determination unit 33 and the departure time acquired by the acquisition unit 31.
[0064] Further, as shown in Figure 4 The determination unit 33 comprises:
[0065] The first determination module 331 is configured to determine a number of periods between the first data processing period and the complete stop period;
[0066] The second determination module 332 is configured to determine a first time length between the first data processing period and the complete stop period according to the number of periods determined by the first determination module 331 and a running time length of each data processing period;
[0067] The calculation module 333 is configured to calculate the complete stop time by adding the first time length determined by the second determination module 332 to the ground current time in the ATO operation plan.
[0068] Further, as shown in Figure 4 The calculation unit 34 comprises:
[0069] The calculation module 341 is configured to calculate a first countdown time by using the complete stop time and the departure time;
[0070] The determination module 342 is configured to determine the departure countdown time according to the first countdown time calculated by the calculation module 341 and a train stop time length.
[0071] Further, as shown in Figure 4 The determination module 342 comprises:
[0072] The first determining sub-module 3421 is configured to determine the train stopping time length as the departure countdown time when the first countdown time is less than the train stopping time length.
[0073] The second determining sub-module 3422 is configured to determine the first countdown time as the departure countdown time when the first countdown time is not less than the train stopping time length.
[0074] Further, as shown in the figure, Figure 4 the calculation module 341 comprises:
[0075] The acquisition sub-module 3411 is configured to acquire a delay time length of train departure, the delay time length at least comprising a time length for executing a door closing command by the door control unit;
[0076] The operation sub-module 3412 is configured to subtract the complete stopping time length and the delay time length acquired by the acquisition sub-module 3411 from the departure time to obtain the first countdown time.
[0077] Further, as shown in the figure, Figure 4 the device further comprises a control unit 35 comprising:
[0078] The monitoring module 351 is configured to monitor the departure countdown time in real time;
[0079] The sending module 352 is configured to send a door closing command to the door control unit to command the door control unit to control the train door to close when the monitoring module 351 monitors that the departure countdown time is 0.
[0080] Further, as shown in the figure, Figure 4 the control unit 35 further comprises:
[0081] The alarm module 353 is configured to determine that the departure countdown time is 0 when the first countdown time is less than or equal to 0, and issue an alarm;
[0082] The receiving module 354 is configured to receive a door closing command initiated by a driver;
[0083] The sending module 352 is further configured to send the door closing command received by the receiving module 354 to the door control unit.
[0084] Further, the embodiment of the present application further provides a computing device, which comprises at least one processor and a memory, wherein the memory stores instructions executable by the processor, and the instructions are executed by the processor, so that the processor can execute the method for calculating the departure countdown time as described in the above Figure 1 、 2 .
[0085] Further, the embodiment of the present application also provides a readable storage medium for storing a computer program, wherein the computer program controls a device where the storage medium is arranged to execute the method for counting down the starting time as described in the above. Figure 1 、 2
[0086] In the above embodiments, the description of each embodiment has its own focus, and the parts not described in detail in a certain embodiment can be referred to the relevant description of other embodiments.
[0087] It can be understood that the related features in the above method and device can be mutually referred. In addition, the "first", "second" and the like in the above embodiments are used to distinguish the embodiments, and do not represent the advantages and disadvantages of the embodiments.
[0088] Those skilled in the art can clearly understand that, for the convenience and brevity of the description, the specific working process of the system, device and unit described above can refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.
[0089] The algorithms and displays provided herein are not inherently related to any particular computer, virtual system, or other apparatus. Various general purpose systems can be used with programs in accordance with the teachings herein, or it can prove convenient to construct more specialized apparatus to perform the required method steps. The required structure for a variety of these systems will be apparent from the description above. In addition, the present application is not intended to be limited to a particular programming language. It will be appreciated that a variety of programming languages can be used to implement the teachings of the application as described herein, and any references below to specific languages are provided for disclosure of enablement only.
[0090] In addition, the memory can include non-persistent memory in the computer readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash memory, including at least one memory chip.
[0091] Those skilled in the art will appreciate that embodiments of the present application can be devised for use with either a method, system, or computer program product. Accordingly, the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application can take the form of a computer program product on one or more computer readable storage media (including, but not limited to, disk storage, CD-ROMs, optical storage devices, etc.) embodying computer readable program code thereon for use with any one or more computer systems.
[0092] The computer program instructions can also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart block or blocks. Figure 1 one or more flowcharts and / or blocks in the flowcharts and / or combination thereof. Figure 1 one or more flowcharts and / or blocks in the flowcharts and / or combination thereof.
[0093] The computer program instructions can also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart block or blocks. Figure 1 one or more flowcharts and / or blocks in the flowcharts and / or combination thereof. Figure 1 one or more flowcharts and / or blocks in the flowcharts and / or combination thereof.
[0094] The computer program instructions can also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart block or blocks. Figure 1 one or more flowcharts and / or blocks in the flowcharts and / or combination thereof. Figure 1 one or more flowcharts and / or blocks in the flowcharts and / or combination thereof.
[0095] In one typical configuration, the computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.
[0096] The memory can include non-persistent memory and / or volatile memory, such as a random access memory (RAM) including a cache area for the temporary storage of data. The memory can also include non-volatile memory, such as read only memory (ROM) for storing structural information and / or instruction code to implement the functions of the computing device. The memory can additionally or alternatively include mass storage for persistent storage of information and instructions. For example, mass storage can include semiconductor-based memory, a disk drive, and / or some other suitable type of memory.
[0097] Computer-readable media includes permanent and non-permanent, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD), or other optical storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information accessible to a computing device. According to the definition herein, computer-readable media does not include transitory media such as modulated data signals and carriers.
[0098] It should also be noted that the terms "comprising", "comprises", "including", "includes" or any other variation thereof are intended to cover a non-exclusive inclusion, such that a process, method, article or apparatus that comprises a list of elements does not include only those elements recited, but can also include other elements not expressly listed or inherent to such process, method, article or apparatus. Without further limitation, an element preceded by "comprises a" does not, without more constraints, foreclose the existence of additional identical elements in the process, method, article or apparatus that includes the element.
[0099] Those skilled in the art will appreciate that embodiments of the present application can be devised for use with various computer system configurations, including hand-held devices, multiprocessor systems, microprocessor-based or programmable consumer electronics, minicomputers, mainframe computers and the like. Embodiments of the present application can also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules can be located in both local and remote memory storage devices.
[0100] The above description is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto, and any person skilled in the art can easily think of changes or replacements within the technical range disclosed by the present application, which should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. A method for calculating a departure countdown, characterized in that: The method comprises: Get the ATO operation plan including the departure time of the target stop; Determining whether the ATO operation plan is received within a complete stop period of the train, where the complete stop period is a data processing period during which a complete stop of the train is detected; If so, determining the current ground time in the ATO operation plan as the complete stop time of the train; If not, determining the complete docking time according to the first data processing cycle of the ATO operation plan received and the complete docking cycle; Calculating a departure countdown for the target stop using the complete stop time and the departure time; Determining the complete docking time according to the first data processing cycle of the ATO operation plan received and the complete docking cycle includes: determining a difference in the number of cycles between the first data processing cycle and the full docking cycle; determining a first duration between the first data processing cycle and the complete docking cycle according to the number of cycles and the running duration of each data processing cycle; The current ground time in the ATO operation plan is calculated plus the first duration to obtain the complete stop time.
2. The method according to claim 1, characterized in that Calculating the departure countdown of the target stop station using the complete stop time and the departure time includes: Calculating a first countdown using the complete stop time and the departure time; The departure countdown is determined according to the first countdown and the train stop duration.
3. The method according to claim 2, characterized in that Determining the departure countdown according to the first countdown and the train stop duration includes: When the first countdown is less than the train stop duration, determining the train stop duration as the departure countdown; When the first countdown is not less than the train stop time, the first countdown is determined to be the departure countdown.
4. The method according to claim 2, characterized in that Calculating a first countdown using the complete stop time and the departure time includes: Obtaining a delay time for train departure, wherein the delay time at least includes a door closing time for a door control unit to execute a door closing command and a linkage time for a train door to be linked to a platform screen door; The first countdown is obtained by subtracting the complete stop time and the delay time from the departure time.
5. The method according to claim 4, characterized in that The method further comprises: Real-time monitoring of the departure countdown; When the departure countdown reaches 0, a door closing command is sent to the door control unit to instruct the door control unit to control the train door to close.
6. The method according to claim 3, characterized in that The method further comprises: When the first countdown is less than or equal to 0, determining that the departure countdown is 0 and issuing an alarm; Receive the door closing command initiated by the driver; The door closing command is sent to the door control unit.
7. A device for calculating the countdown of departure, characterized in that: The device comprises: An acquisition unit, used for acquiring an ATO operation plan including a departure time of a target stop; a judging unit, configured to judge whether the ATO operation plan acquired by the acquiring unit is received within a complete stop cycle of the train, wherein the complete stop cycle is a data processing cycle during which a complete stop of the train is detected; a determining unit configured to determine the current ground time in the ATO operation plan as the complete stop time of the train if the determining unit determines that the ATO operation plan is received within the complete stop period of the train; The determining unit is further configured to determine the complete stop time according to the first data processing cycle of the received ATO operation plan and the complete stop period if the judging unit determines that the ATO operation plan is not received within the complete stop period of the train; a calculation unit, configured to calculate a departure countdown for the target stop using the complete stop time determined by the determination unit and the departure time acquired by the acquisition unit; The determining unit includes: determining a difference in the number of cycles between the first data processing cycle and the full docking cycle; determining a first duration between the first data processing cycle and the complete docking cycle according to the number of cycles and the running duration of each data processing cycle; The current ground time in the ATO operation plan is calculated plus the first duration to obtain the complete stop time.
8. A computing device, characterized in that The computing device includes: at least one processor, and a memory, wherein the memory stores instructions that can be executed by the processor, and the instructions are executed by the processor, so that the processor can execute a method for calculating a start countdown as described in any one of claims 1-6.
9. A readable storage medium, characterized in that: The readable storage medium is used to store a computer program, wherein when the computer program is running, it controls the device where the readable storage medium is located to execute the method for calculating the departure countdown according to any one of claims 1 to 6.
Citation Information
Patent Citations
Simulation method and simulator for urban rail traffic operation linkage
CN102211599A
Train departure timing information display method
CN110497937A