A method for generating PIS log equivalent operation diagram with train as statistical unit

By using the train as a statistical unit to analyze the PIS equipment log data and generate a running chart, it solves the problem of insufficient data analysis significance in the data interaction between the ATS front-end machine and the PIS equipment, achieves complete analysis and intuitive display of data, and reduces operational costs. personnel workload, improving the reliability of data communication and error detection efficiency.

CN111930813BActive Publication Date: 2024-09-13TRAFFIC CONTROL TECH CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202010744220.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-07-29
Publication Date
2024-09-13
Estimated Expiration
2040-07-29

AI Technical Summary

Technical Problem

The existing data interaction method between the ATS front-end computer and PIS equipment cannot effectively detect the meaning of the data, resulting in relatively weak data analysis meaning, which cannot be directly compared with the operation chart, and cannot fully analyze the train arrival and departure information. Increase the workload of operations personnel.

Method used

Using the method of using trains as statistical units, log data is extracted from PIS equipment, the train operation data in each frame of data is segmented and analyzed, and stored in a data linked list. The train status change points are judged to generate operation chart curves and display the train arrival at the station. and departure time to form an intuitive operation chart, which is convenient for comparison with the operation chart and detection of data packet loss or errors.

Benefits of technology

It achieves complete analysis and intuitive display of PIS logs, enhances data comparability, reduces the workload of operators, and improves the efficiency of assessing the reliability of data communication between the ATS front-end machine and PIS equipment and improving the efficiency of error finding.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111930813B
    Figure CN111930813B
Patent Text Reader

Abstract

An embodiment of the present invention provides a method for generating an equivalent operation diagram of a PIS log using a train as a statistical unit. The method includes extracting PIS log data from a PIS device, segmenting the PIS log data in a frame format; extracting train operation data from each frame of data after segmentation, and storing it in a first data linked list; parsing the train operation data in the first data linked list, obtaining the arrival time and departure time of the train, and storing it in a second data linked list; generating an operation diagram curve according to the second data linked list. In this way, the status of each train in the platform train data can be extracted with the train as the research object, and displayed in a manner similar to an operation diagram, so that the PIS log and the operation diagram can be comparable, which is convenient for operators to judge data packet loss or data errors between the ATS front-end and the PIS device, while reducing the workload of operators.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present invention generally relate to the field of rail transit, and more specifically, to a method for generating a PIS log equivalent operation diagram using trains as statistical units. Background Art

[0002] The interaction data between the ATS front-end and the PIS (passenger information system) device is recorded in the form of a log. By analyzing the log, the rationality and real-time nature of the data can be judged. The ATS front-end will save the data it sends and receives locally, and the PIS device can also save the received and sent data. By calculating the time difference between the sending and receiving data on the ATS side, the reliability of the communication between the devices can be evaluated, but this method cannot detect the significance of the data sent by the ATS communication front-end.

[0003] The data sent by the ATS front-end to the PIS device is in units of platforms, that is, which trains will approach or enter the platform at what time. If time is used as a variable and the platform is used as the analysis object, it can only be concluded that the platform status changes over time between approaching and arriving. This analysis is relatively weak, and can only be used to analyze the PIS data independently, and cannot be directly compared with the operation diagram. The train data in the operation data needs to be converted into approaching and arriving information. In real situations, the operation diagram generally does not record the approaching information.

[0004] Therefore, it is urgent to convert the data received by the PIS device and use new elements as analysis objects so that the PIS log can be displayed in a more intuitive way. Summary of the invention

[0005] According to an embodiment of the present invention, a PIS log equivalent operation diagram generation solution using trains as statistical units is provided.

[0006] In a first aspect of the present invention, a method for generating a PIS log equivalent operation diagram using trains as statistical units is provided. The method comprises:

[0007] Extract PIS log data from the PIS device and segment the PIS log data in a frame format;

[0008] Extracting train operation data from each frame of data after segmentation and storing them in a first data linked list;

[0009] Parsing the train operation data in the first data linked table to obtain the train arrival time and departure time, and storing them in the second data linked table;

[0010] Generate a running diagram curve according to the second data linked list.

[0011] Furthermore, the first data linked list is used to store train operation data corresponding to a train index number, and the train operation data is stored in the linked list elements of the first data linked list according to the time sequence of frame extraction.

[0012] Further, the parsing of the train data in the first data linked list includes:

[0013] Extracting pairs of adjacent linked list elements with different train states from the first data linked list;

[0014] Determine whether the states of the trains in the adjacent linked list element pair are respectively about to enter the station and the arrived station. If yes, use the time point corresponding to the arrived station state as the time when the train arrives at the platform;

[0015] It is determined whether the successive train states of the adjacent linked list element pair are the arrival state and the departure state respectively. If yes, the time point corresponding to the departure state is used as the time when the train leaves the platform.

[0016] Furthermore, the second data linked list is used to store the train arrival time and train departure time corresponding to a train index number; the arrival time and train departure time are stored in the linked list elements of the second data linked list in chronological order.

[0017] In a second aspect of the present invention, a device for generating a PIS log equivalent operation diagram using trains as statistical units is provided. The device comprises:

[0018] An extraction and segmentation module is used to extract PIS log data from a PIS device and segment the PIS log data in a frame format;

[0019] A first storage module is used to extract the train operation data from each frame of data after segmentation and store it in a first data linked list;

[0020] A parsing module, used for parsing the train operation data in the first data linked table;

[0021] A second storage module is used to store the obtained arrival time and departure time of the train in a second data linked table;

[0022] A generating module is used to generate a running diagram curve according to the second data linked list.

[0023] Furthermore, the first data linked list is used to store train operation data corresponding to a train index number, and the train operation data is stored in the linked list elements of the first data linked list according to the time sequence of frame extraction.

[0024] Furthermore, the parsing module includes:

[0025] An extraction module, used for extracting pairs of adjacent linked list elements with different train states in the first data linked list;

[0026] The first judgment module is used to judge whether the states of the trains in the adjacent linked list element pair are respectively about to enter the station and the arrived station. If yes, the time point corresponding to the arrived station state is used as the time when the train arrives at the platform;

[0027] The second judgment module is used to judge whether the successive train states of the adjacent linked list element pair are arrival state and departure state respectively. If yes, the time point corresponding to the departure state is used as the time when the train leaves the platform.

[0028] Furthermore, the second data linked list is used to store the train arrival time and train departure time corresponding to a train index number; the arrival time and train departure time are stored in the linked list elements of the second data linked list in chronological order.

[0029] In a third aspect of the present invention, an electronic device is provided, which includes a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the program, the method described above is implemented.

[0030] In a fourth aspect of the present invention, a computer-readable storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the method according to the first aspect of the present invention is implemented.

[0031] It should be understood that the contents described in the summary of the invention are not intended to limit the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description.

[0032] With trains as the research object, the present invention extracts the status of each train in the platform train data, and summarizes the data using the train's service number and car body number as indexes, and displays the train's arrival and departure times in a graphical manner similar to an operation diagram, thereby being able to obtain the relationship between all trains and the platform at each moment, thereby enabling the PIS log and the operation diagram to be comparable, ensuring that the information of the recorded data will be completely parsed and presented in a reasonable manner, making it easier for operators to judge data packet loss or data errors between the ATS front-end and the PIS device, while reducing the workload of operators. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] The above and other features, advantages and aspects of the embodiments of the present invention will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, wherein:

[0034] Figure 1 A flowchart of a method for generating a PIS log equivalent operation diagram using a train as a statistical unit according to an embodiment of the present invention is shown;

[0035] Figure 2 A schematic diagram of an equivalent operation diagram according to an embodiment of the present invention is shown;

[0036] Figure 3 A block diagram of a device for generating a PIS log equivalent operation diagram using trains as statistical units according to an embodiment of the present invention is shown;

[0037] Figure 4 A block diagram of an exemplary electronic device capable of implementing embodiments of the present invention is shown. DETAILED DESCRIPTION

[0038] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0039] In addition, the term "and / or" in this article is only a description of the association relationship between the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0040] PIS devices are usually installed on the platform to show passengers the arrival time of the current train and the next train. If the PIS device has a black screen, passengers and platform staff can find it. However, if there is data packet loss or data error between the PIS device and the ATS front-end, such as the arrival time of the next train is lost, it may be difficult for passengers and platform staff to find it.

[0041] Specifically, the next train will arrive in 2 minutes, and the next train will arrive in 4 minutes. However, the PIS device shows that the next train will arrive in 4 minutes. Passengers will not think that there is any problem with the train arriving in less than 4 minutes. Data packet loss or data errors between the ATS front-end and the PIS device are very difficult to detect, so it is very difficult to find and fix this error.

[0042] In the present invention, when taking trains as the research object, the status of each train in the platform train data is extracted, and the data is summarized with the service number and the car body number of the train as the index, and displayed in a manner similar to the operation diagram formed by the arrival and departure time of the train on the graph, so that the relationship between all trains and the platform at each moment can be obtained, so that the PIS log and the operation diagram can be compared, ensuring that the information of the recorded data will be completely parsed and presented in a reasonable manner, which is convenient for the operating personnel to judge the data packet loss or data error between the ATS front-end machine and the PIS device, while reducing the workload of the operating personnel.

[0043] Figure 1 A flow chart of a method for generating a PIS log equivalent operation diagram using trains as statistical units according to an embodiment of the present invention is shown.

[0044] The method includes:

[0045] S101, extracting PIS log data from a PIS device and segmenting the data in a frame format.

[0046] PIS equipment is the Passenger Information System, which is a system that provides information services to passengers based on multimedia network technology, with computer systems as the core and stations and on-board playback terminals as the medium. PIS log data mainly provides real-time dynamic multimedia information such as boarding instructions, service hours, train arrival and departure times, train timetables, manager announcements, government announcements, travel references, stock information, media news, live events, and advertisements.

[0047] The PIS log data is extracted from the PIS device, and the extracted PIS log data is segmented into each frame of data.

[0048] S102, extracting the train data in each frame of data after segmentation, and storing them in a first data linked list.

[0049] Each frame of data contains the frame extraction time and the corresponding train operation data, wherein the train operation data includes the train index number, train status information and platform information.

[0050] A first data linked list is established, and the first data linked list is used to store train data corresponding to a train index number. That is, a first data linked list only stores train operation data corresponding to a train index number, and each train index number uniquely corresponds to a train. It can be seen that a first data linked list only stores train operation data corresponding to a train. The train operation data is stored in the linked list elements of the first data linked list according to the time sequence of frame extraction.

[0051] As an embodiment of the present invention, in the process of establishing the first data linked list, the data of each frame is extracted to determine whether there is the same train index number in the currently generated first data linked list. If so, the corresponding current frame data is stored in the linked list element corresponding to the first data linked list; otherwise, a new first data linked list is created, the first data linked list corresponds one-to-one to the current train index number, and the train operation data corresponding to the current train index number is stored in the linked list element of the newly created first data linked list.

[0052] S103, parsing the train data in the first data linked table, obtaining the train arrival time and departure time, and storing them in the second data linked table.

[0053] The step of parsing the train data in the first data linked list includes:

[0054] S103-1: Extract adjacent linked list element pairs with different train statuses from the first data linked list.

[0055] In the first data linked list, a number of linked list elements are stored according to the time of frame extraction; each linked list element records the train status at the current moment. Two adjacent linked list elements are compared and analyzed one by one to determine whether the train status is the same, and two adjacent linked list elements with different train status are extracted to form an adjacent linked list element pair.

[0056] S103-2: Determine whether the states of the successive trains of the adjacent linked list element pair are respectively the about-to-enter state and the arrived state; if so, use the time point corresponding to the arrived state as the time when the train arrives at the platform.

[0057] After obtaining the adjacent linked list element pairs with different train states, the train states of the adjacent linked list element pairs are determined. If the train states are respectively about to enter the station state and the arrival state, the time point corresponding to the arrival state is considered to be the time when the train arrives at the platform. For example, the train states corresponding to the two frames of data at 17:35:24 and 17:35:27 are the entry state and the arrival state, so the time of 17:35:27 is taken as the arrival time of the train corresponding to the current index number arriving at the platform.

[0058] S103-3: Determine whether the status of the successive trains of the adjacent linked list element pair are the arrival status and the departure status respectively; if so, use the time point corresponding to the departure status as the time when the train leaves the platform.

[0059] After obtaining the adjacent linked list element pairs with different train states, the train states of the adjacent linked list element pairs are determined. If the train states are respectively the arrival state and the departure state, the time point corresponding to the departure state is considered to be the time when the train leaves the platform. For example, the train states corresponding to the two frames of data at 17:38:15 and 17:38:25 are the arrival state and the departure state, so the time of 17:38:25 is taken as the departure time when the train corresponding to the current index number leaves the platform.

[0060] After the arrival time and departure time are obtained, they are stored in the second data linked list accordingly.

[0061] S104: Generate a running diagram curve according to the second data linked list.

[0062] The second data linked table is used to store the train arrival time and train departure time corresponding to a train index number; that is, a second data linked table only stores the train arrival time and train departure time corresponding to a train index number.

[0063] The arrival time at the platform and the departure time of the train at the platform are stored in the linked list elements of the second data linked list in chronological order.

[0064] According to the display mode of the operation diagram, for each train corresponding to the index number, the operation diagram is drawn according to the arrival and departure time of the train, and an equivalent operation diagram with PIS log data as the data source can be obtained.

[0065] In some embodiments, Figure 2 As shown, the running data of the train with the train index number 2101 extracted from the PIS log data is stored in the first data linked list; 8 linked list elements are stored in the first data linked list, which are respectively as follows in chronological order:

[0066] Link list element 1: departure status, 15:38:00, no platform information;

[0067] Link list element 2: departure status, 15:38:20, no platform information;

[0068] Link list element 3: about to enter the station, 15:38:40, the second platform;

[0069] Link list element 4: arrival status, 15:39:00, second platform;

[0070] Link list element 5: arrival status, 15:39:20, second platform;

[0071] Link list element 6: arrival status, 15:39:40, second platform;

[0072] Link list element 7: arrival status, 15:40:00, second platform;

[0073] Link list element 8: Departure status, 15:40:20, no platform information.

[0074] By parsing the train operation data in the above 8 linked list elements and extracting two adjacent linked list elements in sequence starting from linked list element 1, it can be obtained that there are 3 pairs of adjacent linked list elements with different train status, namely: linked list elements 2 and 3; linked list elements 3 and 4; linked list elements 7 and 8.

[0075] Among them, the linked list elements 2 and 3 are from the departure state to the about-to-arrive state; the linked list elements 3 and 4 are from the about-to-arrive state to the arrival state, and the time point corresponding to the arrival state, that is, the time point 15:38:40 in the linked list element 3, is used as the time when the train arrives at the second platform. The linked list elements 7 and 8 are from the arrival state to the departure state, and the time point corresponding to the departure state, that is, the time point 15:40:20 in the linked list element 8, is used as the time when the train leaves the second platform. The train index number, arrival time, departure time and platform information are stored in the second data linked list.

[0076] Draw a running diagram curve according to the data stored in the second data linked table. The running diagram curve is used to describe the arrival and departure situation of the train with train index number 2101 at the second platform, such as Figure 2 shown.

[0077] It can be seen from this embodiment that after adopting the numerical display method of the "equivalent" operation diagram, the arrival and departure information of trains within a period of time can be continuously analyzed. Analysts do not have to compare the data in real time, and can analyze the data throughout the process at any time point. It is easier to find and analyze data packet loss or data errors between the ATS front-end machine and the PIS device, avoid larger faults between the ATS front-end machine and the PIS device, and reduce the workload of operators.

[0078] The data in PIS are the latest three trains' estimated arrival plans or the status of arriving and already arriving and the information of skipping stops at all platforms. If the information is grouped by platform as index, it can be known whether there is a train at all platforms at each moment in the whole process. In the case of taking platform as the research object, it can only effectively record whether a certain platform has a train approaching or arriving at a certain moment. Assuming that train 1 is in the state of entering the station and train 2 is about to enter the station, the information of train 2 will not be displayed in the platform status mode, and the information will be lost. When multiple vehicles are in the state of mediation, the platform status can only record the information of one vehicle, otherwise confusion will occur. In this case, data will have to be discarded, which is very unfavorable for the ATS front-end to grasp the train information. One platform corresponds to the data of three vehicles (arriving train, train in the station, and train leaving the station), which is prone to data loss. If the information is grouped by train as index, it can be known whether each train is about to enter or arrive at each moment in the whole process. Because one vehicle can only correspond to the data of one platform, therefore, taking train as the analysis object will not cause data loss.

[0079] In summary, when taking trains as the research object, the status of each train in the platform train data is extracted, and the data is summarized with the train's service number and body number as indexes, so that the relationship between all trains and the platform at each moment can be obtained, ensuring that the information of the recorded data will be fully parsed and presented in a reasonable manner.

[0080] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described order of actions, because according to the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present invention.

[0081] The above is an introduction to a method embodiment. The following is a further explanation of the solution of the present invention through an apparatus embodiment.

[0082] like Figure 3 As shown, the device 300 includes:

[0083] The extraction and segmentation module 310 is used to extract PIS log data from the PIS device and segment the PIS log data in a frame format.

[0084] PIS equipment is the Passenger Information System, which is a system that provides information services to passengers based on multimedia network technology, with computer systems as the core and stations and on-board playback terminals as the medium. PIS log data mainly provides real-time dynamic multimedia information such as boarding instructions, service hours, train arrival and departure times, train timetables, manager announcements, government announcements, travel references, stock information, media news, live events, and advertisements.

[0085] The PIS log data is extracted from the PIS device, and the extracted PIS log data is segmented into each frame of data.

[0086] The first storage module 320 is used to extract the train operation data from each frame of data after segmentation and store it in the first data linked list; each frame of data contains the frame extraction time and the corresponding train operation data. The train operation data includes the train index number, train status information and platform information.

[0087] The first storage module 320 establishes a first data linked list, which is used to store train data corresponding to a train index number. That is, a first data linked list only stores train operation data corresponding to a train index number, and each train index number uniquely corresponds to a train. It can be seen that a first data linked list only stores train operation data corresponding to a train. The train operation data is stored in the linked list elements of the first data linked list according to the time sequence of frame extraction.

[0088] As an embodiment of the present invention, during the process of establishing the first data linked list in the first storage module 320, the data of each frame is extracted to determine whether there is the same train index number in the currently generated first data linked list. If so, the corresponding current frame data is stored in the linked list element corresponding to the first data linked list; otherwise, a new first data linked list is created, the first data linked list corresponds one-to-one to the current train index number, and the train operation data corresponding to the current train index number is stored in the linked list element of the newly created first data linked list.

[0089] The parsing module 330 is used to parse the train operation data in the first data linked list.

[0090] In this embodiment, the parsing module 330 further includes:

[0091] The extraction module 331 is used to extract adjacent linked list element pairs with different train states in the first data linked list.

[0092] In the first data linked list, a number of linked list elements are stored according to the time of frame extraction; each linked list element records the train status at the current moment. Two adjacent linked list elements are compared and analyzed one by one to determine whether the train status is the same, and two adjacent linked list elements with different train status are extracted to form an adjacent linked list element pair.

[0093] The first judgment module 332 is used to judge whether the status of the successive trains of the adjacent linked list element pair is respectively the about-to-enter state and the arrived state. If yes, the time point corresponding to the arrived state is used as the time when the train arrives at the platform.

[0094] After obtaining the adjacent linked list element pairs with different train states, the train states of the adjacent linked list element pairs are determined. If the train states are respectively about to enter the station state and the arrival state, the time point corresponding to the arrival state is considered to be the time when the train arrives at the platform. For example, the train states corresponding to the two frames of data at 17:35:24 and 17:35:27 are the entry state and the arrival state, so the time of 17:35:27 is taken as the arrival time of the train corresponding to the current index number arriving at the platform.

[0095] The second judgment module 333 is used to judge whether the successive train states of the adjacent linked list element pair are the arrival state and the departure state respectively. If yes, the time point corresponding to the departure state is used as the time when the train leaves the platform.

[0096] After obtaining the adjacent linked list element pairs with different train states, the train states of the adjacent linked list element pairs are determined. If the train states are respectively the arrival state and the departure state, the time point corresponding to the departure state is considered to be the time when the train leaves the platform. For example, the train states corresponding to the two frames of data at 17:38:15 and 17:38:25 are the arrival state and the departure state, so the time of 17:38:25 is taken as the departure time when the train corresponding to the current index number leaves the platform.

[0097] The second storage module 340 is used to store the obtained train arrival time and departure time in a second data linked list; the second data linked list is used to store the train arrival time and train departure time corresponding to a train index number; the arrival time and train departure time are stored in the linked list elements of the second data linked list in chronological order.

[0098] The generating module 350 is used to generate a running diagram curve according to the second data linked list.

[0099] The arrival time at the platform and the departure time of the train at the platform are stored in the linked list elements of the second data linked list in chronological order.

[0100] According to the display mode of the operation diagram, for each train corresponding to the index number, the operation diagram is drawn according to the arrival and departure time of the train, and an equivalent operation diagram with PIS log data as the data source can be obtained.

[0101] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the described module can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0102] like Figure 4 As shown, the electronic device includes a central processing unit (CPU), which can perform various appropriate actions and processes according to computer program instructions stored in a read-only memory (ROM) or loaded from a storage unit into a random access memory (RAM). In the RAM, various programs and data required for the operation of the device can also be stored. The CPU, ROM and RAM are connected to each other through a bus. The input / output (I / O) interface is also connected to the bus.

[0103] Multiple components in an electronic device are connected to the I / O interface, including: input units, such as keyboards, mice, etc.; output units, such as various types of displays, speakers, etc.; storage units, such as disks, optical disks, etc.; and communication units, such as network cards, modems, wireless communication transceivers, etc. The communication unit allows the electronic device to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunication networks.

[0104] The processing unit performs the various methods and processes described above, such as methods S101 to S104. For example, in some embodiments, methods S101 to S104 may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit. In some embodiments, part or all of the computer program may be loaded and / or installed on the device via a ROM and / or a communication unit. When the computer program is loaded into the RAM and executed by the CPU, one or more steps of methods S101 to S104 described above may be performed. Alternatively, in other embodiments, the CPU may be configured to execute methods S101 to S104 in any other appropriate manner (e.g., by means of firmware).

[0105] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chip systems (SOCs), load programmable logic devices (CPLDs), and the like.

[0106] The program code for implementing the method of the present invention can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, a special-purpose computer or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code can be executed entirely on the machine, partially on the machine, partially on the machine as a stand-alone software package and partially on a remote machine, or entirely on a remote machine or server.

[0107] In the context of the present invention, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0108] In addition, although each operation is described in a specific order, this should be understood as requiring such operation to be performed in the specific order shown or in a sequential order, or requiring that all illustrated operations should be performed to obtain desired results. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present invention. Some features described in the context of a separate embodiment can also be implemented in a single implementation in combination. On the contrary, the various features described in the context of a single implementation can also be implemented in multiple implementations individually or in any suitable sub-combination mode.

[0109] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.

Claims

1. A method for generating a PIS log equivalent operation diagram using trains as statistical units, characterized in that: include: Extract PIS log data from the PIS device and segment the PIS log data in a frame format; Extracting train operation data from each frame of data after segmentation and storing them in a first data linked list; Parsing the train operation data in the first data linked table to obtain the train arrival time and departure time, and storing them in the second data linked table; The parsing of the train data in the first data linked list includes: extracting pairs of adjacent linked list elements in the first data linked list with different train states; Determine whether the states of the trains of the adjacent linked list element pair are respectively the about-to-arrive state and the arrived state, if yes, take the time point corresponding to the arrived state as the time when the train arrives at the platform; determine whether the states of the trains of the adjacent linked list element pair are respectively the arrived state and the departed state, if yes, take the time point corresponding to the departed state as the time when the train leaves the platform; Generate a running diagram curve according to the second data linked list.

2. The method according to claim 1, characterized in that The first data linked list is used to store train operation data corresponding to a train index number, and the train operation data is stored in the linked list elements of the first data linked list according to the time sequence of frame extraction.

3. The method according to claim 1, characterized in that The second data linked table is used to store the train arrival time and train departure time corresponding to a train index number; the arrival time and train departure time are stored in the linked list elements of the second data linked table in chronological order.

4. A device for generating a PIS log equivalent operation diagram using trains as statistical units, characterized in that: include: An extraction and segmentation module is used to extract PIS log data from a PIS device and segment the PIS log data in a frame format; A first storage module is used to extract the train operation data from each frame of data after segmentation and store it in a first data linked list; A parsing module, used for parsing the train operation data in the first data linked table; A second storage module is used to store the obtained arrival time and departure time of the train in a second data linked table; A generating module, used for generating a running diagram curve according to the second data linked list; The parsing module includes: an extraction module for extracting pairs of adjacent linked list elements with different train states in the first data linked list; The first judgment module is used to judge whether the states of the trains in the adjacent linked list element pair are respectively about to enter the station and the arrived station. If yes, the time point corresponding to the arrived station state is used as the time when the train arrives at the platform; The second judgment module is used to judge whether the status of the successive trains of the adjacent linked list element pair are the arrival status and the departure status respectively. If yes, the time point corresponding to the departure status is used as the time when the train leaves the platform.

5. The device according to claim 4, characterized in that The first data linked list is used to store train operation data corresponding to a train index number, and the train operation data is stored in the linked list elements of the first data linked list according to the time sequence of frame extraction.

6. The device according to claim 4, characterized in that The second data linked table is used to store the train arrival time and train departure time corresponding to a train index number; the arrival time and train departure time are stored in the linked list elements of the second data linked table in chronological order.

7. An electronic device comprising a memory and a processor, wherein a computer program is stored in the memory, wherein: When the processor executes the program, the method according to any one of claims 1 to 3 is implemented.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 3 is implemented.

Citation Information

Patent Citations

  • Systems and methods for business process logging

    CN102779087A

  • Passenger-information-system-to-ATS-system interface data processing system and method

    CN104243623A

  • Train running chart drawing method and train running chart drawing system

    CN104477215A

  • City railway transport vehicle scheduling management and running chart display method

    CN105253170A

  • Data framing method and device for high-speed maglev train mounted radio control unit

    CN109484430A