CN112208579B - FAO log transmission method and FAO system - Google Patents

FAO log transmission method and FAO system Download PDF

Info

Publication number
CN112208579B
CN112208579B CN202011017486.1A CN202011017486A CN112208579B CN 112208579 B CN112208579 B CN 112208579B CN 202011017486 A CN202011017486 A CN 202011017486A CN 112208579 B CN112208579 B CN 112208579B
Authority
CN
China
Prior art keywords
log
time period
file
time
train
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
CN202011017486.1A
Other languages
Chinese (zh)
Other versions
CN112208579A (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.)
Traffic Control Technology TCT Co Ltd
Beijing MTR Construction Administration Corp
Original Assignee
Traffic Control Technology TCT Co Ltd
Beijing MTR Construction Administration Corp
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 Traffic Control Technology TCT Co Ltd, Beijing MTR Construction Administration Corp filed Critical Traffic Control Technology TCT Co Ltd
Priority to CN202011017486.1A priority Critical patent/CN112208579B/en
Publication of CN112208579A publication Critical patent/CN112208579A/en
Application granted granted Critical
Publication of CN112208579B publication Critical patent/CN112208579B/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
    • B61L15/00Indicators provided on the vehicle or vehicle train for signalling purposes ; On-board control or communication systems
    • B61L15/0081On-board diagnosis or maintenance
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B61RAILWAYS
    • B61LGUIDING RAILWAY TRAFFIC; ENSURING THE SAFETY OF RAILWAY TRAFFIC
    • B61L15/00Indicators provided on the vehicle or vehicle train for signalling purposes ; On-board control or communication systems
    • B61L15/0018Communication with or on the vehicle or vehicle train
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/18File system types
    • G06F16/1805Append-only file systems, e.g. using logs or journals to store data
    • G06F16/1815Journaling file systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Abstract

The embodiment of the invention provides an FAO log transmission method and an FAO system.A vehicle-mounted VOBC device uploads a first log file to a log server after a primary fault occurs in a train, wherein the first log file comprises a log generated at the first moment of the primary fault. The staff can check the first-level fault of the train in time through the first log file provided by the log server. The first log file is stored in the log server in time, so that after a first-level fault occurs in the train, the log is not required to be downloaded when waiting for the train, the first log file can be downloaded only by the log server, the first-level fault is checked in time, and the normal operation of the train is ensured.

Description

FAO log transmission method and FAO system
Technical Field
The invention relates to the technical field of full-automatic train driving, in particular to an FAO log transmission method and an FAO system.
Background
The log in the running process of the train can be used for analyzing the faults of the train and helping workers to quickly locate the faults of the train. At present, logs generated in the running process of a train need to be copied on site by a worker through a USB flash disk. Therefore, the log copying process needs various operation management means such as registration of workers, waiting for vehicles, U disk anti-virus and the like, and a large amount of time cost and labor input are needed. In addition, when a fault occurs and the train is on line or off line, the train can log in and download logs only after the train returns to the warehouse at night, and the fault cannot be checked in time. Particularly, after a first-level fault affecting the operation of the train occurs, the train operation of the whole system is affected because the train cannot be checked in time.
Therefore, in the prior art, after a train fails, the log needs to be copied for waiting for the train to analyze the failure of the train, and the failure can not be checked in time under the condition that the train has a primary failure, so that the train operation is influenced.
Disclosure of Invention
The embodiment of the invention provides a FAO log transmission method and a FAO system, which are used for solving the problems that after a train fails, the train waiting is required to copy a log for analyzing the faults of the train, and the fault can not be checked in time under the condition that the train has a primary fault, so that the train operation is influenced in the prior art.
In view of the above technical problems, in a first aspect, an embodiment of the present invention provides a method for transmitting an FAO log of a full-automatic driving system, including:
the method comprises the steps that after a first-level fault occurs in a train, a first log file is obtained by vehicle-mounted VOBC equipment, wherein the first log file comprises a log generated at the first moment when the first-level fault occurs;
the vehicle-mounted VOBC equipment uploads the first log file to a preset log server within a first preset time length so as to provide a log for analyzing the first-level fault of the train through the log server;
wherein, the primary fault is a fault affecting the operation of the train; the first preset duration comprises 60 minutes.
Optionally, the method further comprises:
after the train returns to the depot, the vehicle-mounted VOBC equipment acquires a second log file generated within a second preset time before the train returns to the depot, wherein the second log file comprises a log generated at a second moment when the non-primary fault occurs;
the vehicle-mounted VOBC equipment uploads the second log file to the log server so as to provide a log for analyzing the non-primary fault of the train through the log server;
wherein, the non-primary fault is a fault which does not influence the train operation.
Optionally, the method further comprises:
after receiving request information for downloading logs according to preset downloading information, the log server extracts logs from stored logs according to the preset downloading information to obtain downloading data, and sends the downloading data according to the request information;
wherein the preset downloading information comprises at least one of the following information: the generation time period of the log, the module for generating the log and the content represented by the log.
Optionally, the method further comprises:
and compressing the log generated in the preset time period by the vehicle-mounted VOBC equipment every other preset time period to obtain a log file, and storing the log file, wherein the preset time period comprises 30 minutes.
Optionally, the obtaining, by the vehicle-mounted VOBC device, a first log file after a first-stage fault occurs in the train includes:
after a first-level fault occurs in the train, the vehicle-mounted VOBC equipment obtains a log file obtained by compressing the log at a first time period including the first moment from the log file obtained by compressing the log at intervals of a preset time period, and takes the log file as a first selected file;
and if the duration of the interval between the first time and the starting time of the first time period is greater than a first duration threshold, and the duration of the interval between the first time and the ending time of the first time period is greater than a second duration threshold, taking the first selected file as the first log file.
Optionally, the method further comprises:
if the duration of the interval between the first time and the starting time of the first time period is less than or equal to the first time threshold, acquiring a log file generated in a time period before the first time period and closest to the first time period as a second selected file, and taking the first selected file and the second selected file as the first log file;
if the time length of the interval between the first time and the termination time of the first time period is less than or equal to the second time length threshold, acquiring a log file generated in a time period after the first time period and closest to the first time period as a third selected file, and taking the first selected file and the third selected file as the first log file.
Optionally, after the train is taken back to the depot, the vehicle-mounted VOBC device obtains a second log file generated within a second preset time before the train is taken back to the depot, and the method includes:
after the train has a non-primary fault, the vehicle-mounted VOBC equipment acquires a log file obtained by compressing the log at a second time period including the second moment from the log file obtained by compressing the log at intervals of a preset time period, and the log file is used as a fourth selected file;
and if the duration of the interval between the second time and the starting time of the second time period is greater than a third duration threshold, and the duration of the interval between the second time and the ending time of the second time period is greater than a fourth duration threshold, taking the fourth selected file as the second log file.
Optionally, the method further comprises:
if the duration of the interval between the second time and the starting time of the second time period is less than or equal to the third duration threshold, acquiring a log file generated before the second time period and in the time period closest to the second time period as a fifth selected file, and taking the fifth selected file and the fourth selected file as the second log file;
if the duration of the interval between the second time and the termination time of the second time period is less than or equal to the fourth time threshold, acquiring a log file generated in a time period after the second time period and closest to the second time period as a sixth selected file, and taking the fourth selected file and the sixth selected file as the second log file.
Optionally, the method further comprises:
the transmission rate of the log transmitted to the log server by the vehicle-mounted VOBC equipment is less than or equal to a preset rate;
and the preset rate is determined according to the transmission rate of the current signal service data and the maximum service transmission rate allowed between the train-ground equipment.
In a second aspect, an embodiment of the present invention provides an FAO system, including a vehicle-mounted VOBC device and a log server, where the log server is configured to store a log file uploaded by the vehicle-mounted VOBC device, and provide a log used for analyzing a primary fault and a non-primary fault occurring in a train;
the vehicle-mounted VOBC equipment and the log server are used for transmitting the log file by any FAO log transmission method. .
The embodiment of the invention provides an FAO log transmission method and an FAO system.A vehicle-mounted VOBC device uploads a first log file to a log server after a primary fault occurs in a train, wherein the first log file comprises a log generated at the first moment of the primary fault. The staff can check the first-level fault of the train in time through the first log file provided by the log server. The first log file is stored in the log server in time, so that after a first-level fault occurs in the train, the log is not required to be downloaded when waiting for the train, the first log file can be downloaded only by the log server, the first-level fault is checked in time, and the normal operation of the train is 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 flow chart of a FAO log transmission method of a full-automatic driving system according to an embodiment of the present invention;
fig. 2 is a schematic diagram of an interface manner of an existing LTE and a vehicle-mounted device according to another embodiment of the present invention;
fig. 3 is a schematic diagram of a network structure of a train and ground equipment according to another 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.
Fig. 1 is a schematic flow chart of a method for transmitting an FAO log of a fully automatic driving system according to this embodiment, and referring to fig. 1, the method includes:
step 101: the method comprises the steps that after a first-level fault occurs in a train, a first log file is obtained by vehicle-mounted VOBC equipment, and the first log file comprises a log generated at the first moment when the first-level fault occurs within a first preset time period; wherein, the primary fault is a fault affecting the operation of the train; the first preset duration comprises 60 minutes.
After the train breaks down, the vehicle-mounted VOBC equipment grades the faults according to whether the faults affect the running of the train or not. A primary failure refers to a failure that affects train operation, for example, failure to recover after emergency braking of the train. The non-primary faults (including secondary faults, tertiary faults and the like) are faults which do not affect the train operation, and comprise abnormalities occurring in the train operation process, such as overspeed alarm in the train operation.
The first log file may include only the log generated by the vehicle-mounted VOBC device at the first time, or may include the sum of the log generated by the vehicle-mounted VOBC device at the first time and the log generated by the vehicle-mounted VOBC device during a period before or after the first time. For example, the first log file includes, in addition to the log generated at the first timing, a log generated half an hour before the first timing and a log generated half an hour after the first timing.
The first preset time period may also be set to other values as needed, for example, 30 minutes, which is not limited in this embodiment.
In the prior art, after a primary fault occurs in a train, a worker needs to log in the train to copy relevant data through a storage tool such as a usb disk, and analyze the fault through the copied data. Particularly, when a worker is inconvenient to immediately get on the train, the worker often needs to wait for the train to copy data after returning to the warehouse at night, and the worker is very inconvenient and cannot immediately troubleshoot the train. In view of this problem, in this embodiment, after a primary fault occurs in the train, the vehicle-mounted VOBC device uploads the first log file to the log server within a first preset time period, and the worker can download the first log file only through the log server, and performs a primary fault analysis on the train through the first log file. The staff need not to step on the bus and carries out the data copy, also need not wait for the train to return the storehouse under the inconvenient circumstances of stepping on the bus, has improved the promptness and the convenience that the staff acquireed data, is favorable to in time carrying out the analysis to the one-level trouble of train. On the other hand, the first log file is uploaded within a first preset time (for example, 60 minutes), rather than the whole first log file being uploaded at a certain time, so that the uploading rate of the data uploading can be adjusted according to the current network congestion condition in the process of uploading the first log file by the vehicle-mounted VOBC, and the uploading of the first log file is prevented from influencing the transmission of other system communication data in the running process of the train.
Step 102: and the vehicle-mounted VOBC equipment uploads the first log file to a preset log server so as to provide a log for analyzing the primary fault of the train through the log server.
After a primary fault occurs in the train, the first log file is uploaded to the log server, and a worker can obtain the first log file from the log server through remote connection to the log server without logging in a train to download logs, so that the primary fault occurring in the train can be checked in time.
Specifically, in the running process of the train, when the vehicle-mounted VOBC device has a fault that needs to be offline, the logs before and after the fault moment and half an hour can be compressed by the vehicle-mounted device and then automatically uploaded to the log server. Compared with the prior art that the processing is finished after one day of operation, the processing efficiency is improved by the technology of the application. Assuming that an independent log file is formed in half an hour, and assuming that the network transmission speed is 180kbps, and actually, various control signals such as a header identifier of about 12% are deducted, the actual transmission rate is 158kbps, and the size of a file which can be transmitted in 1 minute (i.e., 60 seconds) is about 1M. It takes about 10 minutes to transfer a file, and about 20 minutes for each half hour of files before and after transfer, as calculated as 10M after compression of each half hour of file. It should be noted that the signal transmission network is a private network, the bandwidth is very limited, and there is a large difference from the 4G transmission of the public network. In this embodiment, the first log file is uploaded within a first preset time (for example, 60 minutes), so that on one hand, a worker can obtain the first log file through the log server after the first preset time at the latest in the first preset time, and the real-time property of obtaining the first log file is ensured without waiting for the train to return to the warehouse. On the other hand, the first log file is uploaded within the first preset time, the uploading rate of the data uploading can be adjusted within the first preset time according to the current network congestion condition, network congestion possibly caused by uploading the first log file at a certain time is avoided, and the bandwidth limitation in the network transmission process can be met.
The embodiment provides a FAO log transmission method, wherein a vehicle-mounted VOBC device uploads a first log file to a log server after a primary fault occurs in a train, wherein the first log file comprises a log generated at a first moment when the primary fault occurs. The staff can check the first-level fault of the train in time through the first log file provided by the log server. The first log file is stored in the log server in time, so that after a first-level fault occurs in the train, the log is not required to be downloaded when waiting for the train, the first log file can be downloaded only by the log server, the first-level fault is checked in time, and the normal operation of the train is ensured.
It should be noted that the log server is a newly added device in the full-automatic driving system, and by adding the log server, after a first-stage fault occurs in the train, the vehicle-mounted VOBC device can timely store the related log in the log server, so that a worker can timely obtain the log for analyzing the first-stage fault, and the first-stage fault occurring in the train can be timely checked.
Wherein, the log server is arranged on the ground.
And a channel for uploading the log is arranged between the vehicle-mounted VOBC equipment and the log server. Fig. 2 is a schematic diagram of an interface mode between the existing LTE and the vehicle-mounted device provided in this embodiment, and as shown in fig. 2, a log uploading function does not exist between the existing LTE and the vehicle-mounted device. However, in the method provided in this embodiment, because log uploading needs to consider two scenarios of uploading logs online when a fault occurs and uploading logs regularly when the fault occurs, when a network environment is built, the log uploading needs to be considered according to a scenario that logs are also uploaded at a certain frequency during online operation. Therefore, this embodiment needs to open up a log upload channel respectively at vehicle-mounted device both ends to guarantee that both ends data can upload to ground all the way.
Wherein, during the train on-line operation, the vehicle VOBC equipment can upload the log to the log server.
Wherein, the log server meets the storage requirement of the log for at least 30 days.
When the log is produced by the vehicle-mounted VOBC equipment, the log is required to be simplified as much as possible, the fault reason can be positioned, the log is subjected to limit compression, and the compressed log is uploaded to avoid overlarge log transmission quantity.
The vehicle-mounted equipment and a log server on the ground establish a communication link, and upload a log file through an FTP/TFTP protocol. And uploading according to the maximum data packet of each packet, wherein the transmission rate is limited by the control of the vehicle-mounted equipment, and the uploading per second is not more than 180 kbps.
The log server is provided with antivirus software or a hardware firewall is deployed before the log server is accessed to the network. In addition, on the software level, the log server manages the login password through a management means and changes periodically.
Further, on the basis of the above embodiment, the method further includes:
after the train returns to the depot, the vehicle-mounted VOBC equipment acquires a second log file generated within a second preset time before the train returns to the depot, wherein the second log file comprises a log generated at a second moment when the non-primary fault occurs;
the vehicle-mounted VOBC equipment uploads the second log file to the log server so as to provide a log for analyzing the non-primary fault of the train through the log server;
wherein, the non-primary fault is a fault which does not influence the operation of the train.
And the second log file comprises a log generated at a second moment when the non-primary fault occurs each time within a second preset time before the train returns to the warehouse. It is to be understood that the second log file may include only the logs generated by the vehicle-mounted VOBC device at the respective second times, or may include the sum of the logs generated by the vehicle-mounted VOBC device at the respective second times and the logs generated by the vehicle-mounted VOBC device during a period before or after the respective second times. For example, the second log file includes, in addition to the logs generated at the respective second time instants, logs generated half an hour before the respective second time instants, and logs generated half an hour after the respective second time instants.
Specifically, when no fault occurs in normal operation for one day, the logs of the whole day are compressed and uploaded before the vehicle-mounted device returns to the library sleep mode. The time required to produce 20 files, which is 200M, is 200 minutes, calculated to run for 10 hours a day. In order to avoid influencing the train dormancy, the transmission speed can be increased before returning to the warehouse dormancy, and the transmission speed is adjusted to 300kbps, and 100 minutes is expected when uploading data of one day.
In the embodiment, after the train returns to the warehouse, the second log file is sent to the log server by the vehicle-mounted VOBC equipment for storage, so that a worker can analyze the non-primary fault of the train in time, the possible problems of the train can be checked in time, and the safe operation of the train is ensured.
Further, on the basis of the above embodiments, the method further includes:
after receiving request information for downloading logs according to preset downloading information, the log server extracts logs from stored logs according to the preset downloading information to obtain downloading data, and sends the downloading data according to the request information;
wherein the preset downloading information comprises at least one of the following information: the generation time period of the log, the module for generating the log and the content represented by the log.
The log server receives the request information, extracts download data from a stored log file according to the preset download information, and sends the extracted download data to the terminal.
Wherein the log is generated for a period of time, e.g. a certain number of hours of a certain day. A module that generates a log, such as a speed monitoring module. The log indicates, for example, the location of the train, the speed of the train.
Specifically, for downloading the log, when necessary, the log server remotely logs in a designated VOBC storage device, logs in through FTP, sets a user name and a password, and manually selects a log file at the fault moment to download. The speed of downloading the log needs to be limited.
In the running process, when the vehicle-mounted equipment has a fault that the vehicle-mounted equipment needs to be off-line, a log server is logged in by a relevant maintenance after a driver and an operator report the off-line, a train is selected and logged in, and a log at the fault moment is selected for downloading; after the train returns to the warehouse, the downloading speed limit can be manually adjusted to 300kbps, and the daily log is selected for downloading.
In the embodiment, the worker can set the format of the log to be downloaded through the preset downloading information, so that the data meeting the requirement is obtained from the log server, and if the log is not required to be downloaded, the network resource is saved.
Further, on the basis of the above embodiments, the method further includes:
and compressing the log generated in the preset time period by the vehicle-mounted VOBC equipment every other preset time period to obtain a log file, and storing the log file, wherein the preset time period comprises 30 minutes.
The log file is generated every 30 minutes in a more appropriate time period determined according to experience, so that the log file is not too large, and the transmission is convenient.
And the vehicle-mounted VOBC equipment generates a log file every other preset time period, wherein the log file comprises logs generated in the preset time period. The log file is compressed in different time periods, so that the log can be saved in time, and the log data can be prevented from being lost.
Further, on the basis of the foregoing embodiments, the acquiring, by the vehicle-mounted VOBC device, the first log file after the first-stage failure of the train includes:
after a first-level fault occurs in the train, the vehicle-mounted VOBC equipment acquires a log file obtained by compressing the log at a first time period including the first moment from a log file obtained by compressing the log at intervals of a preset time period, and the log file is used as a first selected file;
and if the duration of the interval between the first time and the starting time of the first time period is greater than a first duration threshold, and the duration of the interval between the first time and the ending time of the first time period is greater than a second duration threshold, taking the first selected file as the first log file.
The first duration threshold and the second duration threshold are both preset, for example, the first duration threshold and the second duration threshold are both 5 minutes.
For example, a log file is generated every 30 minutes, and if a primary failure occurs between 10-20 minutes of a certain log file (e.g., the first selected file), only the local log file may be uploaded. This is done because there is a high likelihood of newly including the cause of the primary fault before or after 10-20 minutes, i.e., if the cause of the primary fault does not occur between 10-20 minutes, the cause of the primary fault is likely to occur between 0-10 minutes or is likely to occur between 20-30 minutes.
In the process of determining the first log file by the vehicle-mounted VOBC device, which log files are generated can be determined as the first log file according to the time of occurrence of the primary failure. Since each log file is obtained by compressing the log in the preset time period in advance, the log file compressed in the time period including the first time can be used as the first selected file. If the first time is between the time periods corresponding to the first selected files and the time duration from the start time to the end time of the time period is longer, the first log file may only include the first selected files.
In the embodiment, the determination of the first log file is realized by judging the interval duration between the first time and the start time of the first time period and the interval duration between the end times of the first time period, and the validity of the first log file for analyzing the primary fault is ensured because the first time and the start time and the end time of the first time period both meet certain duration limits.
Further, on the basis of the above embodiments, the method further includes:
if the duration of the interval between the first time and the starting time of the first time period is less than or equal to the first time threshold, acquiring a log file generated in a time period before the first time period and closest to the first time period as a second selected file, and taking the first selected file and the second selected file as the first log file;
if the time length of the interval between the first time and the termination time of the first time period is less than or equal to the second time length threshold, acquiring a log file generated in a time period after the first time period and closest to the first time period as a third selected file, and taking the first selected file and the third selected file as the first log file.
When the first time is close to the starting time of the first time period, the first selected file is used as a first log file, and the first log file also needs to contain logs generated before the starting time of the first time period, so that the accuracy of troubleshooting on the first-level fault is improved through complete data before and after the first-level fault occurs.
When the first time is close to the termination time of the first time period, the first selected file is used as a first log file, and the first log file also needs to contain logs generated after the termination time of the first time period, so that the accuracy of troubleshooting on the first-level fault is improved through complete data before and after the first-level fault occurs.
For example, if a primary failure occurs in, for example, 0-5 minutes, then in addition to uploading the present log file, the previous log file is uploaded in order to perform an in-depth analysis of the cause of the primary failure. This is done because a primary fault occurred at time N, but there may have been a cause for the primary fault at time N-m. If a primary failure occurs, for example, 25-30 minutes, then in addition to uploading the current log file, the subsequent log file is also uploaded because the primary failure occurred at time N, but the cause for the primary failure may not have occurred at time N + m. In this embodiment, in addition to uploading the log file, the previous log file or the next log file is also uploaded because the failure has the characteristics of accumulation, hysteresis, and the like.
According to the embodiment, the first time is compared with the starting time and the ending time of the first time period, so that the first log file contains relatively complete data related to the first-stage fault, and the accuracy of troubleshooting the first-stage fault is improved.
Similarly, for the non-primary fault, the second time may be compared with the start time of the second time period and the end time of the second time period, so that the second log file contains sufficient and complete data for analyzing the non-primary fault. Further, on the basis of the foregoing embodiments, after the train is returned to the warehouse, the acquiring, by the vehicle-mounted VOBC device, a second log file generated within a second preset time period before the train is returned to the warehouse includes:
after the non-primary fault occurs to the train, the vehicle-mounted VOBC equipment obtains a log file obtained by compressing the log in a second time period including the second moment from the log file obtained by compressing the log every other preset time period, and uses the log file as a fourth selected file;
and if the duration of the interval between the second time and the starting time of the second time period is greater than a third duration threshold, and the duration of the interval between the second time and the ending time of the second time period is greater than a fourth duration threshold, taking the fourth selected file as the second log file.
The third time length threshold and the fourth time length threshold are both preset, for example, the third time length threshold and the fourth time length threshold are both 5 minutes.
For example, a log file is generated every 30 minutes, and if a non-primary failure occurs between 10-20 minutes of a certain log file (e.g., the first selected file), only the log file may be uploaded. This is done because there is a high likelihood of new inclusion of the cause of the non-primary fault before or after 10-20 minutes, i.e., if the cause of the non-primary fault does not occur between 10-20 minutes, then the cause of the non-primary fault is likely to occur between 0-10 minutes or likely to occur between 20-30 minutes.
In the process of determining the second log file by the vehicle-mounted VOBC device, which generated log files are determined as the second log file according to the time when the non-primary failure occurs. Since each log file is obtained by compressing the log in the preset time period in advance, the log file compressed in the time period including the second time can be used as the fourth selected file. If the second time is between the time periods corresponding to the fourth selected files and the time duration from the start time to the end time of the time period is longer, the second log file may only include the fourth selected files.
In the embodiment, the second log file is determined by judging the interval duration between the second time and the start time of the second time period and the interval duration between the second time and the end time of the second time period, and the validity of the second log file for analyzing the non-primary fault is ensured because the second time and the start time and the end time of the second time period both meet certain duration limits.
Further, on the basis of the above embodiments, the method further includes:
if the duration of the interval between the second time and the starting time of the second time period is less than or equal to the third duration threshold, acquiring a log file generated in a time period before the second time period and closest to the second time period as a fifth selected file, and taking the fifth selected file and the fourth selected file as the second log file;
if the duration of the interval between the second time and the termination time of the second time period is less than or equal to the fourth time threshold, acquiring a log file generated in a time period after the second time period and closest to the second time period as a sixth selected file, and taking the fourth selected file and the sixth selected file as the second log file.
When the second time is close to the starting time of the second time period, the fourth selected file is used as a second log file, and the second log file also needs to contain some logs generated before the starting time of the second time period, so that the accuracy of troubleshooting on the non-primary fault is improved through complete data before and after the non-primary fault occurs.
When the second time is close to the termination time of the second time period, the fourth selected file is used as a second log file, and the second log file also needs to contain some logs generated after the termination time of the second time period, so that the accuracy of troubleshooting on the non-primary fault is improved through complete data before and after the non-primary fault occurs.
For example, if a non-primary fault occurs in, for example, 0-5 minutes, then in addition to uploading the present log file, the previous log file is uploaded to allow in-depth analysis of the cause of the non-primary fault. This is done because a non-primary fault occurred at time N ', but there may have been a cause for the non-primary fault at time N ' -m '. If a non-primary failure occurs, for example, 25-30 minutes, then in addition to uploading the present log file, the latter log file is also uploaded because the non-primary failure occurred at time N ', but the cause for the non-primary failure may not have occurred at time N ' + m '. In this embodiment, in addition to uploading the log file, the previous log file or the next log file is also uploaded because the failure has the characteristics of accumulation, hysteresis, and the like.
According to the embodiment, the second time is compared with the starting time and the ending time of the second time period, so that the second log file comprises relatively complete data related to the non-primary fault, and the accuracy of troubleshooting the non-primary fault is improved.
Further, on the basis of the above embodiments, the method further includes:
the transmission rate of the log transmitted to the log server by the vehicle-mounted VOBC equipment is less than or equal to a preset rate;
and the preset rate is determined according to the transmission rate of the current signal service data and the maximum service transmission rate allowed between the train-ground equipment.
In this embodiment, it is required to transmit log data without degrading the transmission quality of the existing signal service data. In existing FAO on-board delivery systems, the pre-set rate is typically not higher than 180kbps, as calculated, as shown in tables 1 and 2.
Table 1 shows existing FAO uplink service data, table 2 shows existing FAO downlink service data, see tables 1 and 2, the total uplink data amount 40600Bps, which needs to occupy 324.8kbps, the downlink data amount 40833.33Bps, which needs 326.7kbps, and the remaining approximately 180kbps of both the upper and lower channels can be used to transmit logs.
Table 1 existing FAO uplink traffic data
Figure BDA0002699554860000131
Figure BDA0002699554860000141
Table 2 existing FAO downlink traffic data
Figure BDA0002699554860000142
The embodiment provides an FAO system, which comprises a vehicle-mounted VOBC device and a log server, wherein the log server is used for storing a log file uploaded by the vehicle-mounted VOBC device and providing a log for analyzing a primary fault and a non-primary fault of a train;
the vehicle-mounted VOBC device and the log server are used for transmitting the log files by the FAO log transmission method in any embodiment.
Fig. 3 is a schematic diagram of a network structure of the train and the ground device provided in this embodiment, and referring to fig. 3, a log server is additionally provided in the network structure, so as to implement storage of logs in the vehicle-mounted VOBC device.
The embodiment provides a FAO system, wherein after a primary fault occurs in a train, a vehicle-mounted VOBC device uploads a first log file to a log server, wherein the first log file comprises a log generated at the first moment of the primary fault. The staff can check the first-level fault of the train in time through the first log file provided by the log server. The first log file is stored in the log server in time, so that after a first-level fault occurs in the train, the log does not need to be downloaded when waiting for the train, the first log file can be downloaded only through the log server, the first-level fault is checked in time, and the normal operation of the train is ensured.
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 (9)

1. A FAO log transmission method of a full-automatic driving system is characterized by comprising the following steps:
the method comprises the steps that after a first-level fault occurs in a train, a first log file is obtained by vehicle-mounted VOBC equipment, wherein the first log file comprises a log generated at the first moment when the first-level fault occurs;
the vehicle-mounted VOBC equipment uploads the first log file to a preset log server within a first preset time, and the uploading rate of the first log file is adjusted within the first preset time according to the current network congestion condition, so that a log for analyzing the first-level fault of the train is provided through the log server;
wherein, the first-level fault is a fault affecting train operation; the first preset duration comprises 60 minutes;
further comprising:
after a first-level fault occurs in the train, the vehicle-mounted VOBC equipment acquires a log file obtained by compressing the log at a first time period including the first moment from a log file obtained by compressing the log at intervals of a preset time period, and the log file is used as a first selected file;
if the duration of the interval between the first time and the starting time of the first time period is less than or equal to a first time threshold, acquiring a log file generated in a time period before the first time period and closest to the first time period as a second selected file, and taking the first selected file and the second selected file as the first log file;
if the time length of the interval between the first time and the termination time of the first time period is less than or equal to a second time length threshold value, acquiring a log file generated in a time period after the first time period and closest to the first time period as a third selected file, and taking the first selected file and the third selected file as the first log file.
2. The FAO log transmission method according to claim 1, further comprising:
after the train returns to the depot, the vehicle-mounted VOBC equipment acquires a second log file generated within a second preset time before the train returns to the depot, wherein the second log file comprises a log generated at a second moment when the non-primary fault occurs;
the vehicle-mounted VOBC equipment uploads the second log file to the log server so as to provide a log for analyzing the non-primary fault of the train through the log server;
wherein, the non-primary fault is a fault which does not influence the train operation.
3. The FAO log transmission method according to claim 1, further comprising:
after receiving request information for downloading logs according to preset downloading information, the log server extracts logs from stored logs according to the preset downloading information to obtain downloading data, and sends the downloading data according to the request information;
wherein the preset downloading information comprises at least one of the following information: the generation time period of the log, the module for generating the log and the content represented by the log.
4. The FAO log transmission method according to claim 1, further comprising:
and compressing the log generated in the preset time period by the vehicle-mounted VOBC equipment every other preset time period to obtain a log file, and storing the log file, wherein the preset time period comprises 30 minutes.
5. The FAO log transmission method according to claim 1, wherein the acquiring, by the vehicle-mounted VOBC device, the first log file after the first-class fault of the train comprises:
after a first-level fault occurs in the train, the vehicle-mounted VOBC equipment acquires a log file obtained by compressing the log at a first time period including the first moment from a log file obtained by compressing the log at intervals of a preset time period, and the log file is used as a first selected file;
and if the duration of the interval between the first time and the starting time of the first time period is greater than a first duration threshold, and the duration of the interval between the first time and the ending time of the first time period is greater than a second duration threshold, taking the first selected file as the first log file.
6. The FAO log transmission method according to claim 2, wherein the step of acquiring, by the vehicle-mounted VOBC device, a second log file generated within a second preset time period before the train is brought back to the depot comprises:
after the train has a non-primary fault, the vehicle-mounted VOBC equipment acquires a log file obtained by compressing the log at a second time period including the second moment from the log file obtained by compressing the log at intervals of a preset time period, and the log file is used as a fourth selected file;
and if the duration of the interval between the second moment and the starting moment of the second time period is greater than a third duration threshold, and the duration of the interval between the second moment and the ending moment of the second time period is greater than a fourth duration threshold, taking the fourth selected file as the second log file.
7. The FAO log transmission method according to claim 6, further comprising:
if the duration of the interval between the second time and the starting time of the second time period is less than or equal to the third duration threshold, acquiring a log file generated in a time period before the second time period and closest to the second time period as a fifth selected file, and taking the fifth selected file and the fourth selected file as the second log file;
if the duration of the interval between the second time and the termination time of the second time period is less than or equal to the fourth time threshold, acquiring a log file generated in a time period after the second time period and closest to the second time period as a sixth selected file, and taking the fourth selected file and the sixth selected file as the second log file.
8. The FAO log transmission method according to claim 1, further comprising:
the transmission rate of the log transmitted to the log server by the vehicle-mounted VOBC equipment is less than or equal to a preset rate;
and the preset rate is determined according to the transmission rate of the current signal service data and the maximum service transmission rate allowed between the train-ground equipment.
9. An FAO system is characterized by comprising a vehicle-mounted VOBC device and a log server, wherein the log server is used for storing a log file uploaded by the vehicle-mounted VOBC device and providing a log for analyzing a primary fault and a non-primary fault of a train;
the vehicle-mounted VOBC device and the log server are used for transmitting the log file by the FAO log transmission method of any one of the claims 1 to 8.
CN202011017486.1A 2020-09-24 2020-09-24 FAO log transmission method and FAO system Active CN112208579B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011017486.1A CN112208579B (en) 2020-09-24 2020-09-24 FAO log transmission method and FAO system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011017486.1A CN112208579B (en) 2020-09-24 2020-09-24 FAO log transmission method and FAO system

Publications (2)

Publication Number Publication Date
CN112208579A CN112208579A (en) 2021-01-12
CN112208579B true CN112208579B (en) 2022-09-02

Family

ID=74052567

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011017486.1A Active CN112208579B (en) 2020-09-24 2020-09-24 FAO log transmission method and FAO system

Country Status (1)

Country Link
CN (1) CN112208579B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114148379B (en) * 2021-12-28 2023-12-01 卡斯柯信号有限公司 Electronic map sending method capable of dynamically adjusting transmission rate

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101794247A (en) * 2010-03-26 2010-08-04 天津理工大学 Real-time database failure recovery method under nested transaction model
CN111016926A (en) * 2014-12-12 2020-04-17 索尼公司 Automatic driving control apparatus, automatic driving control method, and program

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3906132B2 (en) * 2002-09-13 2007-04-18 株式会社東芝 Diagnostic system for signal security devices and diagnostic system for field equipment
CN102426453A (en) * 2011-12-30 2012-04-25 上海博泰悦臻电子设备制造有限公司 Remote diagnosis device and method for automobile
KR101594413B1 (en) * 2014-03-12 2016-02-17 네오트랜스 주식회사 Real-time monitoring system of station control apparatus and monitoring method thereof
CN105480259B (en) * 2015-11-24 2017-09-19 交控科技股份有限公司 The drive manner and system of a kind of full-automatic driving train
JP2018020729A (en) * 2016-08-05 2018-02-08 株式会社日立製作所 Train control device
CN109862071B (en) * 2018-12-21 2021-09-10 交控科技股份有限公司 Method and system for automatically uploading vehicle-mounted log based on LTE
CN110171444A (en) * 2019-05-31 2019-08-27 广州地铁集团有限公司 A kind of remote monitoring system of mobile unit

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101794247A (en) * 2010-03-26 2010-08-04 天津理工大学 Real-time database failure recovery method under nested transaction model
CN111016926A (en) * 2014-12-12 2020-04-17 索尼公司 Automatic driving control apparatus, automatic driving control method, and program

Also Published As

Publication number Publication date
CN112208579A (en) 2021-01-12

Similar Documents

Publication Publication Date Title
CA2324633C (en) Method and apparatus for vehicle data transfer optimization
CN111031094A (en) Data transmission method, device, equipment and storage medium in IoT system
CN101107816B (en) Method and device for the automatic readjustment of limits for access controls used to restrict traffic in a communication network
CN104298194B (en) The data volume compression method of data is gathered and transmitted in elevator remote monitoring system
CN109862071B (en) Method and system for automatically uploading vehicle-mounted log based on LTE
KR102344625B1 (en) LTE-R based Integrated Railway Information Method and System Using Clouding platform
CN112208579B (en) FAO log transmission method and FAO system
CN105554099A (en) Method and device for balancing load of acquisition servers
CN114900515B (en) Train file returning method, train host, station and control center
CN111064788B (en) Signal transmission method, robot, and computer-readable storage medium
CN114071247B (en) Block chain data broadcast transmission method, system, computer equipment and computer readable storage medium
CN101917699B (en) Random reported signaling tracking method and device based on users
CN113485176B (en) Vehicle data acquisition, caching and retransmission method and remote monitoring terminal
CN114560366A (en) Elevator data acquisition and analysis system and analysis method
CN110896544A (en) Fault delimiting method and device
CN112187901A (en) Main and distribution network three-remote interaction method based on trans-isolation IEC104
CN115273271B (en) System and method for collecting vehicle data based on vehicle entertainment host
CN114979207B (en) Production system and communication method for digital cultivation under unreliable network condition
CN110995794B (en) Remote acquisition method of electric power data
CN117614521B (en) Inter-satellite communication method, system and device of low-orbit satellite and electronic equipment
CN115297021B (en) Remote site topology on-line state monitoring method and system for power dispatching
CN116880458A (en) Automatic driving vehicle fault diagnosis system
CN111277805B (en) Processing method and device for CRC (cyclic redundancy check) errors of uplink of OLT (optical line terminal)
CN111923960A (en) FEP breakpoint continuous transmission method of rail transit comprehensive monitoring system
CN117376131A (en) Network cut-over method, device, electronic device and readable storage medium

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