CN110758493B - Train arrival time prediction method and system - Google Patents

Train arrival time prediction method and system Download PDF

Info

Publication number
CN110758493B
CN110758493B CN201911114507.9A CN201911114507A CN110758493B CN 110758493 B CN110758493 B CN 110758493B CN 201911114507 A CN201911114507 A CN 201911114507A CN 110758493 B CN110758493 B CN 110758493B
Authority
CN
China
Prior art keywords
train
time
station
arrival time
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911114507.9A
Other languages
Chinese (zh)
Other versions
CN110758493A (en
Inventor
尹志勇
江坤
周伯尼
王紫成
陈逸
王昕怡
何富君
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CRSC Urban Rail Transit Technology Co Ltd
Original Assignee
CRSC Urban Rail Transit Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by CRSC Urban Rail Transit Technology Co Ltd filed Critical CRSC Urban Rail Transit Technology Co Ltd
Priority to CN201911114507.9A priority Critical patent/CN110758493B/en
Publication of CN110758493A publication Critical patent/CN110758493A/en
Application granted granted Critical
Publication of CN110758493B publication Critical patent/CN110758493B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B61RAILWAYS
    • B61LGUIDING RAILWAY TRAFFIC; ENSURING THE SAFETY OF RAILWAY TRAFFIC
    • B61L27/00Central railway traffic control systems; Trackside control; Communication systems specially adapted therefor
    • B61L27/10Operations, e.g. scheduling or time tables

Abstract

The embodiment of the invention provides a train arrival time prediction method and a train arrival time prediction system, wherein when a train corresponding to each train number in a target train number window in a target station is a communication train, the time offset of train operation at the current time is determined according to the actual departure time of the train at the previous station of the target station, the predicted arrival time at the target station, the planned departure time of the train at the previous station in a train operation diagram and the planned arrival time at the target station; and adjusting the time offset according to the train information acquired by the axle counting equipment, and predicting the arrival time of the train at the target station. The method can realize accurate prediction of train arrival time by determining the time offset, introducing the train information acquired by the axle counting equipment and adjusting the time offset, thereby improving the operation efficiency of the train. Moreover, the train arrival time is predicted by taking the Beijing time as a reference, so that the reliability of a prediction result can be ensured.

Description

Train arrival time prediction method and system
Technical Field
The invention relates to the technical field of urban rail transit, in particular to a train arrival time prediction method and a train arrival time prediction system.
Background
With the continuous improvement of urban rail transit service and management level, information service is more and more emphasized by modern urban rail transit systems. A Passenger Information System (PIS) plays a crucial role in indicating the boarding time of passengers, and therefore it is crucial to display an accurate train arrival time on the PIS.
At present, the distance between the current position of the train and the station is usually determined, the train arrival time is predicted by using the ratio of the distance to the current speed, and the predicted train arrival time is sent to the PIS in a train arrival countdown mode. The method has the problems of large deviation amount between the predicted train arrival time and the actual train arrival time and low accuracy.
Therefore, it is urgently needed to provide a train arrival time prediction method and system.
Disclosure of Invention
To overcome the above problems or at least partially solve the above problems, embodiments of the present invention provide a train arrival time prediction method and system.
In a first aspect, an embodiment of the present invention provides a train arrival time prediction method, including:
for each train number in a target train number window in a target station, if the train corresponding to the train number is judged to be a communication train, determining the time offset of train operation at the current time based on the actual departure time of the train at the previous station of the target station, the predicted arrival time at the target station, the planned departure time of the train at the previous station in the train operation diagram and the planned arrival time at the target station;
and adjusting the time offset based on train information acquired by the axle counting device between the previous station and the target station, and predicting the arrival time of the train at the target station.
Preferably, after predicting the arrival time of the trains corresponding to all the train numbers in the target train number window at the target station, the method further includes:
selecting a preset number of trains which are ahead at the station-entering time of the target station;
and displaying the trains with the preset number on a passenger information system in a countdown mode at the arrival time of the target station.
Preferably, the arrival time of the trains corresponding to the preset number of train numbers at the target station is within a preset time period after the current time.
Preferably, the train arrival time prediction method further includes:
if the train is judged and known to be a non-communication train, searching a signal machine in the same running direction as the train between the starting logic section and the terminal logic section based on the starting logic section where a starting station of the train is located and the terminal logic section where a terminal station of the train is located, and determining a running path of the train between the starting logic section and the terminal logic section;
and predicting the arrival time of the train at the target station based on the actual departure time of the train at the starting station and the actual arrival time and the actual departure time of each station before the target station on the running path.
Preferably, the searching for a signal machine in the same running direction as the train between the starting logical zone and the ending logical zone based on the starting logical zone where the starting station of the train is located and the ending logical zone where the ending station of the train is located, and determining the driving path of the train between the starting logical zone and the ending logical zone specifically includes:
taking the starting logic section as a target node, judging whether a signal machine which is the same as the running direction of the train is arranged between a forward logic section adjacent to the target node and the target node, and if the signal machine is judged to be arranged, determining that the train enters the forward logic section adjacent to the target node after passing through the target node based on the signal machine;
and taking the forward logic section adjacent to the target node as the target node, and continuously judging whether the annunciator is arranged between the target node and the forward logic section adjacent to the target node until the forward logic section adjacent to the target node is the destination logic section.
Preferably, the determining a time offset of the train operation at the current time based on an actual departure time of the train at a station previous to the target station, a predicted arrival time at the target station, and a planned departure time of the train at the station previous to the train and a planned arrival time at the target station in the train operation diagram specifically includes:
if the fact that the actual departure time is inconsistent with the planned departure time is judged and obtained, determining the time offset as a difference value between the planned departure time and the actual departure time;
if the predicted arrival time is judged and obtained to be inconsistent with the planned arrival time and the current time is before the planned departure time, determining that the time offset is zero;
if the predicted arrival time is judged and obtained to be inconsistent with the planned arrival time and the current time is equal to or behind the planned departure time, determining the time offset as the difference value between the planned departure time and the current time;
if the predicted arrival time is judged and obtained to be behind the planned arrival time, determining the time offset as the difference value between the planned departure time and the current time;
if the difference between the current time and the predicted arrival time is judged and obtained to be larger than or equal to the difference between the planned departure time and the planned arrival time, determining the time offset as the difference between the planned departure time and the current time;
and if the difference between the current time and the predicted arrival time is smaller than the difference between the planned departure time and the planned arrival time, determining the time offset as the difference between the planned arrival time and the predicted arrival time.
In a second aspect, an embodiment of the present invention provides a train arrival time prediction system, including: the system comprises a time offset determination module and an inbound time prediction module. Wherein the content of the first and second substances,
the time offset determining module is used for determining the time offset of train operation at the current time based on the actual departure time of the train at the previous station of the target station, the predicted arrival time of the train at the target station, the planned departure time of the train at the previous station in the train operation diagram and the planned arrival time of the train at the target station if the train corresponding to the train number is judged to be the communication train for each train number in a target train number window in the target station;
and the arrival time prediction module is used for adjusting the time offset based on train information acquired by the axle counting device between the previous station and the target station and predicting the arrival time of the train at the target station.
Preferably, the train arrival time prediction system further includes: a travel path determination module;
the travel path determination module is configured to: if the train is judged and known to be a non-communication train, searching a signal machine in the same running direction as the train between the starting logic section and the terminal logic section based on the starting logic section where a starting station of the train is located and the terminal logic section where a terminal station of the train is located, and determining a running path of the train between the starting logic section and the terminal logic section;
correspondingly, the inbound time prediction module is further configured to:
and predicting the arrival time of the train at the target station based on the actual departure time of the train at the starting station and the actual arrival time and the actual departure time of each station before the target station on the running path.
In a third aspect, an embodiment of the present invention provides an electronic device, including: a memory, a processor and a computer program stored on the memory and operable on the processor, the processor when executing the program implementing the steps of the train arrival time prediction method according to the first aspect.
In a fourth aspect, an embodiment of the present invention provides a non-transitory computer readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the steps of the train arrival time prediction method according to the first aspect.
According to the train arrival time prediction method and the train arrival time prediction system provided by the embodiment of the invention, when a train corresponding to each train number in a target train number window in a target station is a communication train, the time offset of train operation at the current time is determined according to the actual departure time of the train at the previous station of the target station, the predicted arrival time at the target station, the planned departure time of the train at the previous station in a train operation diagram and the planned arrival time at the target station; and adjusting the time offset according to the train information acquired by the axle counting equipment, and predicting the arrival time of the train at the target station. The method can realize accurate prediction of train arrival time by determining the time offset, introducing the train information acquired by the axle counting equipment and adjusting the time offset, thereby improving the operation efficiency of the train. Moreover, the train arrival time is predicted by taking the Beijing time as a reference, so that the reliability of a prediction result can be ensured.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart of a train arrival time prediction method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of an ATS determining, by iteration, whether a signal in the same direction as the train runs exists between every two adjacent logic sections in a train arrival time prediction method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a train arrival time prediction system according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the description of the embodiments of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience in describing the embodiments of the present invention and simplifying the description, but do not indicate or imply that the referred devices or elements must have specific orientations, be configured in specific orientations, and operate, and thus, should not be construed as limiting the embodiments of the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
In the description of the embodiments of the present invention, it should be noted that, unless explicitly stated or limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. Specific meanings of the above terms in the embodiments of the present invention can be understood in specific cases by those of ordinary skill in the art.
As shown in fig. 1, an embodiment of the present invention provides a train arrival time prediction method, including:
s1, for each train number in a target train number window in a target station, if the train corresponding to the train number is judged to be a communication train, determining the time offset of train operation at the current time based on the actual departure time of the train at the previous station of the target station, the predicted arrival time at the target station, the planned departure time of the train at the previous station in the train operation diagram and the planned arrival time at the target station;
and S2, adjusting the time offset based on the train information obtained by the axle counting device between the previous station and the target station, and predicting the arrival time of the train at the target station.
Specifically, in the Train arrival time prediction method provided in the embodiment of the present invention, an execution main body is an Automatic Train monitoring system (ATS), and the ATS is used to predict Train arrival time, and the ATS may operate in a LINUX system. The ATS can read the relevant content of the station yard information and the private configuration file in the interface server, perform corresponding layered processing on the data according to the acquired information, establish a reasonable data structure which comprises four layers of lines, station yards, station train number windows, stations and the like, manage and inquire each other among the layers, establish a complete data center and construct a train operation diagram. The network structure of the ATS is clear and easy to troubleshoot.
First the ATS performs step S1. The target station may refer to each station in a train operation diagram, that is, each station in the whole urban rail transit system. The train number window refers to a train number window in a station yard graph in a station, a plurality of station yard graphs can be arranged in one station, each station yard graph can comprise a plurality of train number windows, and the train number of each train is displayed in each train number window. The target train number window may refer to any one train number window corresponding to the target train station, and a plurality of train numbers exist in the target train number window. Since the train operation diagram includes a large number of stations, it is a continuous operation to predict the train arrival time, that is, the train arrival time needs to be predicted as soon as the train arrives. Therefore, in the embodiment of the invention, all stations in the train operation diagram can be traversed, all train number windows in each station are searched, all train numbers are searched in each train number window, and finally the train arrival time of each train number is predicted. In the embodiment of the invention, the station-entering time of the trains of all the train numbers in the target train number window in the target station at the target station is taken as an example for prediction.
Hereinafter, the target station is a station B, and the station preceding the target station is a station a. The target train number window contains train number I (I is more than or equal to 1 and less than or equal to n, and n is the number of all train numbers in the target train number window), and the train number I corresponds to the train I. For the train number I in the target train number window, the ATS judges whether the train I corresponding to the train number I is a communication train, namely whether the train I is in communication connection with the ATS, namely whether the train I is contained in a train operation diagram. If the train I is a communication train, namely the train I is in communication connection with the ATS and is contained in the train operation diagram, the time offset of the train I operation at the current time is determined according to the actual departure time of the train I at the station A, the predicted arrival time of the train I at the station B, the planned departure time of the train I at the station A and the planned arrival time of the train I at the station B in the train operation diagram. The time offset of the train I running at the current time refers to a deviation between actual time of the train I in the running process and planned time in a train running diagram, and can be specifically represented by early-late point information of the train I at the current time. It should be noted that the time offset in the embodiment of the present invention may be a positive value or a negative value, where the positive value indicates the early train point I at the current time, and the negative value indicates the late train point I at the current time. The specific time length of the train I at the early and late points at the current moment is the absolute value of the time offset. All the time in the embodiment of the invention is calculated by taking Beijing time as reference time.
For example, the information of the early and late points when the train I departs from the station a can be determined according to the actual departure time of the train I at the station a and the precedence and magnitude relationship between the planned departure time of the train I at the station a in the train operation diagram, and the information of the early and late points when the train I arrives at the station B can be determined according to the predicted arrival time of the train I at the station B and the precedence and magnitude relationship between the planned arrival times of the train I at the station B in the train operation diagram. And the stop time length of the train I at the station A can be determined according to the actual arrival time and the actual departure time of the train I at the station A. The predicted arrival time of the train I at the station B is a theoretical value obtained by prediction, and may be specifically determined according to the actual departure time of the train I at the station a, the speed of the train I, and the distance between the station a and the station B, or may be determined according to other parameters, which is not specifically limited in the embodiment of the present invention.
The ATS then performs step S2. After the time offset of the train I running at the current time is determined, because the running state of the train I cannot be determined when the train I runs on the line between the station a and the station B and whether the deviation of the early-late point information is caused or not is not determined, in the embodiment of the invention, the axle counting device is introduced, the axle counting device is arranged on the line between the station a and the station B and is used for acquiring the train information of the train I, and the train information of the train I can include the time when the head of the train I passes through the axle counting device. The ATS can determine the time length of the train head of the train I reaching the station B after passing through the axle counting equipment according to the train information acquired by the axle counting equipment, and then adjusts the time offset to predict the arrival time of the train I at the station B.
According to the train arrival time prediction method provided by the embodiment of the invention, when a train corresponding to each train number in a target train number window in a target station is a communication train, the time offset of train operation at the current time is determined according to the actual departure time of the train at the previous station of the target station, the predicted arrival time at the target station, the planned departure time of the train at the previous station in a train operation diagram and the planned arrival time at the target station; and adjusting the time offset according to the train information acquired by the axle counting equipment, and predicting the arrival time of the train at the target station. The method can realize accurate prediction of train arrival time by determining the time offset, introducing the train information acquired by the axle counting equipment and adjusting the time offset, thereby improving the operation efficiency of the train. Moreover, the train arrival time is predicted by taking the Beijing time as a reference, so that the reliability of a prediction result can be ensured.
On the basis of the foregoing embodiment, the method for predicting train arrival time provided in the embodiment of the present invention, after predicting arrival times of trains corresponding to all train numbers in the target train number window at the target station, further includes:
selecting a preset number of train numbers in the target train number window, wherein the preset number of train numbers is in front of the arrival time of the target station;
and displaying the trains with the preset number on a passenger information system in a countdown mode at the arrival time of the target station.
Specifically, in the embodiment of the present invention, after the arrival times of the trains at the station B corresponding to all the train numbers in the target train number window are predicted, the arrival times of all the trains at the station B may be sorted according to the time sequence, and a preset number of trains with the top sorting result are selected. The preset number may be set as needed, and may be, for example, 2 or 3.
Then, a predetermined number of trains are displayed on a Passenger Information System (PIS) in a countdown manner at the arrival time of the B station. The PIS is installed in the target station and used for receiving, storing and displaying the arrival time of the train at the station B. The ATS and the PIS are communicated in a TCP/IP communication service mode to ensure the stability of communication. The TCP/IP communication service mode structure is quite clear, the data flow direction is clear and transparent, and great help is provided for the problems of time prediction and accurate data output.
Since the PIS has a fixed display mode and generally displays in a countdown mode, the train arrival time of the train received by the PIS at the station B is counted down relative to the current time. When the PIS is used for storing, the arrival time of the trains corresponding to all train numbers is stored according to the sequence of time, and a list can be formed.
On the basis of the above embodiment, in the train arrival time prediction method provided in the embodiment of the present invention, the arrival times of the trains at the target station, which correspond to the preset number of train numbers, are all within the preset time period after the current time.
Specifically, in the embodiment of the present invention, trains corresponding to a preset number of train numbers within a preset time period at the arrival time may be specifically selected. In order to ensure that a preset number of train numbers are available in a preset time period, different values can be selected according to whether the train number is in a riding peak time period or not, the preset time period is changed into a configurable time period for high train flow and high traffic flow intensive prediction pressure in the peak time period, all trains which are going to enter the station in the configurable time period after the current moment of the target station are predicted, and the preset time period is automatically adjusted to be a default prediction time period in the peak evening period. For example, the configurable time period of the peak period can be selected to be 20min, and the default prediction time period of the peak period can be selected to be 30min, so that the preset number can be kept unchanged, the prediction pressure is reduced, and meanwhile accurate prediction can be realized.
On the basis of the above embodiment, the train arrival time prediction method provided in the embodiment of the present invention further includes:
if the train is judged and known to be a non-communication train, searching a signal machine in the same running direction as the train between the starting logic section and the terminal logic section based on the starting logic section where a starting station of the train is located and the terminal logic section where a terminal station of the train is located, and determining a running path of the train between the starting logic section and the terminal logic section;
and predicting the arrival time of the train at the target station based on the actual departure time of the train at the starting station and the actual arrival time and the actual departure time of each station before the target station on the running path.
Specifically, in the embodiment of the present invention, if the train I is a non-communication train, that is, the train I is not in communication connection with the ATS, and the train I is not included in the train diagram, according to a start logical section in which a start station of the train I is located and a destination logical section in which a destination station of the train I is located, a signal machine having the same running direction as that of the train I is searched between the start logical section and the destination logical section, and a running path of the train I between the start logical section and the destination logical section is determined. And determining all the signalers between the starting logical section and the terminal logical section, wherein the signalers have the same running direction with the train I, and the path formed by all the signalers is the running path of the train I between the starting logical section and the terminal logical section.
Since the train I has no train operation plan, the arrival time of the train I at the target station can be predicted only by the actual departure time of the originating station and the actual arrival time and the actual departure time of each station before the target station on the travel route. According to the actual arrival time and the actual departure time of a certain c station before the target station on the driving path of the train I, the stop time of the train I at the c station can be determined. For two stations d and e adjacent to each other before the station B on the traveling path, the section operation time of the train I between the station d and the station e can be determined according to the actual departure time of the train I at the station d and the actual arrival time of the train I at the station e. The arrival time of the train at the target station may be determined according to the sum of the actual departure time of the originating station, the stop time of each station before the target station on the travel path of the train, and the section travel time between two adjacent stations.
On the basis of the foregoing embodiment, the method for predicting train arrival time provided in an embodiment of the present invention, where a signal machine having the same running direction as the train is searched between a starting logical section and a terminal logical section based on the starting logical section where a starting station of the train is located and the terminal logical section where a terminal station of the train is located, and a running path of the train between the starting logical section and the terminal logical section is determined, specifically includes:
taking the starting logic section as a target node, judging whether a signal machine which is the same as the running direction of the train is arranged between a forward logic section adjacent to the target node and the target node, and if the signal machine is judged to be arranged, determining that the train enters the forward logic section adjacent to the target node after passing through the target node based on the signal machine;
and taking the forward logic section adjacent to the target node as the target node, and continuously judging whether the annunciator is arranged between the target node and the forward logic section adjacent to the target node until the forward logic section adjacent to the target node is the destination logic section.
Specifically, in the embodiment of the present invention, when a signal in the same direction as the running direction of the train I is searched between the starting logical zone and the destination logical zone and the travel path of the train I between the starting logical zone and the destination logical zone is determined, the search is performed in an iterative manner. Firstly, taking a starting logic section m1 as a target node, judging whether a signal machine in the same running direction as that of the train I is arranged between a forward logic section m2 adjacent to the target node and the target node, namely judging whether a signal machine in the same running direction as that of the train I is arranged between m1 and m2, and if the signal machine is arranged, determining that the train I enters the forward logic section m2 after passing through the target node according to the direction indicated by the signal machine. Then, taking the forward logic section m2 as a target node, continuously judging whether a signal is arranged between the target node and the forward logic section m3 adjacent to m2, namely judging whether a signal in the same running direction as the train I exists between m2 and m3, and if the signal exists, determining that the train I enters the forward logic section m3 after passing through the target node according to the direction indicated by the signal. The iteration is repeated until the final forward logical sector is the end logical sector.
If no signal machine in the same running direction as the train I exists between the m1 and the m2, the forward logic section m2 is directly used as a target node, and whether the signal machine is arranged between the target node and the forward logic section m3 adjacent to the m2 or not is continuously judged.
As shown in fig. 2, a schematic diagram of a structure for iteratively determining whether a signal machine with the same operation direction as the train I exists between every two adjacent logic sections for the ATS is shown. In fig. 2, the train I travels from the initial logical zone 21 to the final logical zone 22, and the initial logical zone 21 and the final logical zone 22 further have a forward logical zone 23 adjacent to the initial logical zone 21 and a forward logical zone 24 adjacent to the forward logical zone 23. Between the forward logic section 23 and the forward logic section 24 there is a signal 25 in the same direction as the train I.
On the basis of the foregoing embodiment, the method for predicting train arrival time provided in an embodiment of the present invention includes that, the determining a time offset of train operation at a current time based on an actual departure time of the train at a station before the target station, a predicted arrival time at the target station, and a planned departure time of the train at the station before and a planned arrival time at the target station in the train operation diagram specifically includes:
if the fact that the actual departure time is inconsistent with the planned departure time is judged and obtained, determining the time offset as a difference value between the planned departure time and the actual departure time;
if the predicted arrival time is judged and obtained to be inconsistent with the planned arrival time and the current time is before the planned departure time, determining that the time offset is zero;
if the predicted arrival time is judged and obtained to be inconsistent with the planned arrival time and the current time is equal to or behind the planned departure time, determining the time offset as the difference value between the planned departure time and the current time;
if the predicted arrival time is judged and obtained to be behind the planned arrival time, determining the time offset as the difference value between the planned departure time and the current time;
if the difference between the current time and the predicted arrival time is judged and obtained to be larger than or equal to the difference between the planned departure time and the planned arrival time, determining the time offset as the difference between the planned departure time and the current time;
and if the difference between the current time and the predicted arrival time is smaller than the difference between the planned departure time and the planned arrival time, determining the time offset as the difference between the planned arrival time and the predicted arrival time.
Specifically, in the embodiment of the present invention, when the time offset of the train operation at the current time is determined, it is first determined whether the actual departure time of the train I at the station a is consistent with the planned departure time of the train I at the station a in the train operation diagram, and if so, the time offset is considered to be zero, that is, the train I is scheduled to depart from the station a. If the actual departure time of the train I at the station A is not consistent with the planned departure time of the train I at the station A in the train operation diagram, the possibility that the train I is early or late when the train I is departed at the station A is indicated, and the time offset is determined to be the difference value between the planned departure time and the actual departure time. The difference may be specifically the planned departure time minus the actual departure time, where the difference is positive indicating the early point of train I and the difference is negative indicating the late point of train I. The difference may also be the actual departure time minus the planned departure time, where a positive difference indicates a late point of train I and a negative difference indicates an early point of train I.
If the actual departure time of the train I at the station A is inconsistent with the planned departure time of the train I at the station A in the train operation diagram and the current time is before the planned departure time, the time offset amount can be considered to be zero, the time offset condition of the train I is not considered, and the train I is set as the default departure time according to the planned departure time in the train operation diagram.
And if the actual departure time of the train I at the station A is not consistent with the planned departure time of the train I at the station A in the train operation diagram, and the current time is equal to the planned departure time or is behind the planned departure time, determining the time offset as the difference between the planned departure time and the current time. The difference may be specifically the planned departure time minus the current time, where the difference is positive indicating the early point of train I and the difference is negative indicating the late point of train I. The difference value can also be the current time minus the planned departure time, wherein the difference value is positive and indicates the late point of the train I, and the difference value is negative and indicates the early point of the train I.
If the predicted arrival time is behind the planned arrival time, determining the time offset as the difference value between the planned departure time and the current time; the difference may be specifically the planned departure time minus the current time, where the difference is positive indicating the early point of train I and the difference is negative indicating the late point of train I. The difference value can also be the current time minus the planned departure time, wherein the difference value is positive and indicates the late point of the train I, and the difference value is negative and indicates the early point of the train I.
If the difference value between the current time and the predicted arrival time is larger than or equal to the difference value between the planned departure time and the planned arrival time, determining the time offset as the difference value between the planned departure time and the current time; the difference may be specifically the planned departure time minus the current time, where the difference is positive indicating the early point of train I and the difference is negative indicating the late point of train I. The difference value can also be the current time minus the planned departure time, wherein the difference value is positive and indicates the late point of the train I, and the difference value is negative and indicates the early point of the train I.
If the difference value between the current time and the predicted arrival time is smaller than the difference value between the planned departure time and the planned arrival time, determining the time offset as the difference value between the planned arrival time and the predicted arrival time; the difference may specifically be the planned arrival time minus the predicted arrival time, where the difference is positive indicating the train I early, and the difference is negative indicating the train I late. The difference value can also be the predicted arrival time minus the planned arrival time, wherein the difference value is positive and indicates the train I late point, and the difference value is negative and indicates the train I early point.
It should be noted that, in order to ensure consistency of calculation results in the embodiments of the present invention, methods for calculating time offsets in the embodiments of the present invention are consistent, and all the methods use the scheduled time to subtract the predicted time, or all the methods use the predicted time to subtract the scheduled time.
The train arrival time prediction method provided by the embodiment of the invention has the following advantages: 1) the ATS and the PIS are communicated in a TCP/IP communication service mode, dual-network redundant transmission is adopted, and the stability of data transmission is ensured. 2) The prediction of the arrival time of the communication train is simple, clear and definite; for the prediction of the non-communication train arrival time, the train arrival time is calculated by continuously iterating two adjacent logic sections in the train running direction to search the running path of the train, the searching efficiency of the running path of the non-communication train is high, and the prediction result is more accurate.
Take the case that the train predicted by the ATS is transmitted to the PIS where passengers are visible at the arrival time of the B station as an example. And the ATS acquires corresponding information of the all-line station according to the configuration information and the arrival and departure time of the train operation diagram in the scheduling day, configures a corresponding platform information point table according to the information, takes the platform PIS as a receiver of the prediction result, empties the prediction result of the train every time the train stops stably, and updates the prediction result of the next train. And simultaneously, the prediction results of all trains of the station are changed, the ATS packs the pre-updated prediction results by using different types of codes and function codes, the data packet is sent to the PIS through the interface server, and the PIS displays the train arrival time according to the difference value between the train arrival time and the current Beijing time.
As shown in fig. 3, on the basis of the above embodiment, an embodiment of the present invention provides a train arrival time prediction system, including: a time offset determination module 31 and an arrival time prediction module 32. Wherein the content of the first and second substances,
the time offset determining module 31 is configured to, for each train number in a target train number window in a target station, determine, if it is determined that a train corresponding to the train number is a communication train, a time offset of train operation at a current time based on an actual departure time of the train at a previous station of the target station, a predicted arrival time at the target station, a planned departure time of the train at the previous station in the train operation diagram, and a planned arrival time at the target station;
the arrival time prediction module 32 is configured to adjust the time offset based on train information obtained by the axle counting device between the previous station and the target station, and predict an arrival time of the train at the target station.
Specifically, the functions of the modules in the train arrival time prediction system provided in the embodiment of the present invention correspond to the operation flows of the steps in the above method embodiments one to one, and the implementation effects are also consistent.
On the basis of the above embodiment, the train arrival time prediction system provided in the embodiment of the present invention further includes: a travel path determination module to: if the train is judged and known to be a non-communication train, searching a signal machine in the same running direction as the train between the starting logic section and the terminal logic section based on the starting logic section where a starting station of the train is located and the terminal logic section where a terminal station of the train is located, and determining a running path of the train between the starting logic section and the terminal logic section;
correspondingly, the inbound time prediction module is further configured to:
and predicting the arrival time of the train at the target station based on the actual departure time of the train at the starting station and the actual arrival time and the actual departure time of each station before the target station on the running path.
As shown in fig. 4, on the basis of the above embodiment, an embodiment of the present invention provides an electronic device, including: a processor (processor)401, a memory (memory)402, a communication Interface (Communications Interface)403, and a bus 404; wherein the content of the first and second substances,
the processor 401, the memory 402 and the communication interface 403 are communicated with each other through a bus 404. The memory 402 stores program instructions executable by the processor 401, and the processor 401 is configured to call the program instructions in the memory 402 to perform the method provided by the above-mentioned embodiments of the method, for example, including: for each train number in a target train number window in a target station, if the train corresponding to the train number is judged to be a communication train, determining the time offset of train operation at the current time based on the actual departure time of the train at the previous station of the target station, the predicted arrival time at the target station, the planned departure time of the train at the previous station in the train operation diagram and the planned arrival time at the target station; and adjusting the time offset based on train information acquired by the axle counting device between the previous station and the target station, and predicting the arrival time of the train at the target station.
The logic instructions in memory 402 may be implemented in software functional units and stored in a computer readable storage medium when sold or used as a stand-alone article of manufacture. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
On the basis of the foregoing embodiments, an embodiment of the present invention provides a non-transitory computer-readable storage medium storing computer instructions, which cause the computer to execute the method provided by the foregoing method embodiments, for example, including: for each train number in a target train number window in a target station, if the train corresponding to the train number is judged to be a communication train, determining the time offset of train operation at the current time based on the actual departure time of the train at the previous station of the target station, the predicted arrival time at the target station, the planned departure time of the train at the previous station in the train operation diagram and the planned arrival time at the target station; and adjusting the time offset based on train information acquired by the axle counting device between the previous station and the target station, and predicting the arrival time of the train at the target station.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (8)

1. A train arrival time prediction method is characterized by comprising the following steps:
for each train number in a target train number window in a target station, if the train corresponding to the train number is judged to be a communication train, determining the time offset of train operation at the current time based on the actual departure time of the train at the previous station of the target station, the predicted arrival time at the target station, the planned departure time of the train at the previous station in the train operation diagram and the planned arrival time at the target station;
adjusting the time offset based on train information acquired by axle counting equipment between the previous station and the target station, and predicting the arrival time of the train at the target station;
further comprising:
if the train is judged and known to be a non-communication train, searching a signal machine in the same running direction as the train between the starting logic section and the terminal logic section based on the starting logic section where a starting station of the train is located and the terminal logic section where a terminal station of the train is located, and determining a running path of the train between the starting logic section and the terminal logic section;
and predicting the arrival time of the train at the target station based on the actual departure time of the train at the starting station and the actual arrival time and the actual departure time of each station before the target station on the running path.
2. The method for predicting the train arrival time according to claim 1, wherein after predicting the arrival time of the trains corresponding to all the train numbers in the target train number window at the target station, the method further comprises:
selecting a preset number of trains which are ahead at the station-entering time of the target station;
and displaying the trains with the preset number on a passenger information system in a countdown mode at the arrival time of the target station.
3. The train arrival time prediction method according to claim 2, wherein the arrival time of the trains corresponding to the preset number of train numbers at the target station is within a preset time period after the current time.
4. The method for predicting the train arrival time according to claim 1, wherein the searching for a signal having the same running direction as the train between the starting logical zone and the ending logical zone based on the starting logical zone where the starting station of the train is located and the ending logical zone where the ending station of the train is located, and determining the running path of the train between the starting logical zone and the ending logical zone specifically comprises:
taking the starting logic section as a target node, judging whether a signal machine which is the same as the running direction of the train is arranged between a forward logic section adjacent to the target node and the target node, and if the signal machine is judged to be arranged, determining that the train enters the forward logic section adjacent to the target node after passing through the target node based on the signal machine;
and taking the forward logic section adjacent to the target node as the target node, and continuously judging whether the annunciator is arranged between the target node and the forward logic section adjacent to the target node until the forward logic section adjacent to the target node is the destination logic section.
5. The train arrival time prediction method according to any one of claims 1 to 4, wherein the determining a time offset of the train operation at a current time based on an actual departure time of the train at a station preceding the target station, a predicted arrival time at the target station, and a planned departure time of the train at the station preceding the train in the train operation diagram, and a planned arrival time at the target station specifically includes:
if the fact that the actual departure time is inconsistent with the planned departure time is judged and obtained, determining the time offset as a difference value between the planned departure time and the actual departure time;
if the predicted arrival time is judged and obtained to be inconsistent with the planned arrival time and the current time is before the planned departure time, determining that the time offset is zero;
if the predicted arrival time is judged and obtained to be inconsistent with the planned arrival time and the current time is equal to or behind the planned departure time, determining the time offset as the difference value between the planned departure time and the current time;
if the predicted arrival time is judged and obtained to be behind the planned arrival time, determining the time offset as the difference value between the planned departure time and the current time;
if the difference between the current time and the predicted arrival time is judged and obtained to be larger than or equal to the difference between the planned departure time and the planned arrival time, determining the time offset as the difference between the planned departure time and the current time;
and if the difference between the current time and the predicted arrival time is smaller than the difference between the planned departure time and the planned arrival time, determining the time offset as the difference between the planned arrival time and the predicted arrival time.
6. A train arrival time prediction system, comprising:
the time offset determining module is used for determining the time offset of train operation at the current time based on the actual departure time of the train at the previous station of the target station, the predicted arrival time of the train at the target station, the planned departure time of the train at the previous station in the train operation diagram and the planned arrival time of the train at the target station if the train corresponding to the train number is judged to be the communication train for each train number in a target train number window in the target station;
the arrival time prediction module is used for adjusting the time offset based on train information acquired by the axle counting device between the previous station and the target station and predicting the arrival time of the train at the target station;
further comprising: a travel path determination module;
the travel path determination module is configured to: if the train is judged and known to be a non-communication train, searching a signal machine in the same running direction as the train between the starting logic section and the terminal logic section based on the starting logic section where a starting station of the train is located and the terminal logic section where a terminal station of the train is located, and determining a running path of the train between the starting logic section and the terminal logic section;
correspondingly, the inbound time prediction module is further configured to:
and predicting the arrival time of the train at the target station based on the actual departure time of the train at the starting station and the actual arrival time and the actual departure time of each station before the target station on the running path.
7. An electronic device, comprising: memory, processor and computer program stored on the memory and executable on the processor, characterized in that the processor when executing the program implements the steps of the train arrival time prediction method according to any of claims 1-5.
8. A non-transitory computer readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the train arrival time prediction method according to any one of claims 1-5.
CN201911114507.9A 2019-11-14 2019-11-14 Train arrival time prediction method and system Active CN110758493B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911114507.9A CN110758493B (en) 2019-11-14 2019-11-14 Train arrival time prediction method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911114507.9A CN110758493B (en) 2019-11-14 2019-11-14 Train arrival time prediction method and system

Publications (2)

Publication Number Publication Date
CN110758493A CN110758493A (en) 2020-02-07
CN110758493B true CN110758493B (en) 2021-01-05

Family

ID=69337797

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911114507.9A Active CN110758493B (en) 2019-11-14 2019-11-14 Train arrival time prediction method and system

Country Status (1)

Country Link
CN (1) CN110758493B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112078633B (en) * 2020-08-28 2022-08-16 通号城市轨道交通技术有限公司 Rail transit train dispatching method and system
CN112455499A (en) * 2020-11-25 2021-03-09 北京交大微联科技有限公司 Train arrival broadcasting method, system and storage medium and train
CN113033945A (en) * 2021-01-18 2021-06-25 中国民航信息网络股份有限公司 Guarantee standard management method and device and server
CN113401172A (en) * 2021-06-28 2021-09-17 通号城市轨道交通技术有限公司 Method and device for adjusting operation line with train as core
CN113204737B (en) * 2021-07-06 2021-09-17 中国铁道科学研究院集团有限公司通信信号研究所 Train group generation method of assessment and evaluation system for station attendant

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015182623A (en) * 2014-03-25 2015-10-22 株式会社日立製作所 Automatic train operation system, train operation support system, and train service management system
CN105774848A (en) * 2016-02-26 2016-07-20 苏州富欣智能交通控制有限公司 Rail transit train arrival time forecasting method
CN106274994A (en) * 2016-08-30 2017-01-04 湖南中车时代通信信号有限公司 A kind of train arrival time Forecasting Methodology and system completely
CN106494463A (en) * 2016-10-13 2017-03-15 交控科技股份有限公司 Track train method of adjustment and device at equal intervals
CN106627677A (en) * 2016-12-31 2017-05-10 中国铁道科学研究院电子计算技术研究所 Method and device for predicting arrival time of target train of railway travel service system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107914740B (en) * 2017-11-23 2020-04-17 交控科技股份有限公司 Train self-organizing dispatching system and method based on real-time passenger flow

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015182623A (en) * 2014-03-25 2015-10-22 株式会社日立製作所 Automatic train operation system, train operation support system, and train service management system
CN105774848A (en) * 2016-02-26 2016-07-20 苏州富欣智能交通控制有限公司 Rail transit train arrival time forecasting method
CN106274994A (en) * 2016-08-30 2017-01-04 湖南中车时代通信信号有限公司 A kind of train arrival time Forecasting Methodology and system completely
CN106494463A (en) * 2016-10-13 2017-03-15 交控科技股份有限公司 Track train method of adjustment and device at equal intervals
CN106627677A (en) * 2016-12-31 2017-05-10 中国铁道科学研究院电子计算技术研究所 Method and device for predicting arrival time of target train of railway travel service system

Also Published As

Publication number Publication date
CN110758493A (en) 2020-02-07

Similar Documents

Publication Publication Date Title
CN110758493B (en) Train arrival time prediction method and system
CN107144286B (en) Navigation method and device
CN109484435B (en) Train positioning method and device suitable for intelligent rail transit detection system
CN111003030B (en) Method and device for generating temporary speed limit message test case of train control system
US11039384B2 (en) Wireless communication system, information acquiring terminal, computer program, method for determining whether to adopt provided information
US10967868B2 (en) Method for driving assistance, in accordance with a signal system
CN107818426A (en) A kind of method and apparatus for counting bus operation order of classes or grades at school
CN112208590B (en) Train route control method and device based on static route table
CN111968398B (en) Method, device, terminal and medium for determining running state of public transport means
CN109996299B (en) High-speed rail user identification method, device, equipment and medium
CN110312230A (en) Communication means, device and the train system of train system
CN111223321A (en) Method, equipment and system for automatic driving planning
CN108538054B (en) Method and system for acquiring traffic road condition information based on mobile phone signaling data
CN110659549B (en) Method and device for notifying congestion degree of train
CN104527733B (en) A kind of method and system that riding information is provided to Metro Passenger
CN108260149B (en) Method and device for determining position of high-speed rail UE
CN104867322A (en) Method and device for determining bus stops
CN109945880A (en) Paths planning method, relevant device and readable storage medium storing program for executing
MX2007014603A (en) Providing traffic information relating to a prediction of congestion status and using the same.
CN116205460A (en) Bus stop announcement generation method, device and application based on passenger portrait and ETA data
CN104590326B (en) A kind of subway dispatching method that can ensure that safe driving and system
CN110599089B (en) Isolation strip position determining method and device, storage medium and electronic equipment
JP6275599B2 (en) Operation management device and on-board device
CN112070305A (en) Method for evaluating ADS-B four-dimensional track quality
CN114944078B (en) Information processing method, apparatus, device, storage medium, and computer program product

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant