Method and device for data processing of locomotive
By obtaining FIP bus data on the locomotive and matching the constant fault code, analyzing and encapsulating the data, generating comprehensive data packets and uploading them to the cloud platform, the problem of the inability to analyze locomotive data in real time in the existing technology is solved, and real-time early warning and data support are achieved.
Patent Information
- Application Number
- CN202110133109.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-02-01
- Publication Date
- 2025-09-02
- Estimated Expiration
- 2041-02-01
AI Technical Summary
The existing locomotive data inspection method requires downloading event record files through the USB interface after returning to the section for analysis. It is impossible to obtain the locomotive operating status and key data when the fault occurs in real time, and it is difficult to provide early warning and quality monitoring of the entire life cycle.
By obtaining the message event data on the FIP bus, matching the constant fault code, parsing and storing it as an event record process file, and at the same time obtaining and encapsulating the operation status data, generating comprehensive data packets and uploading them to the cloud data platform through wireless communication.
The preliminary data analysis of the locomotive on the way is realized, reducing the data analysis time after the inbound section, reducing the amount of data, providing real-time early warning and more comprehensive data support, avoiding excessive data accumulation.
Smart Images

Figure CN112693497B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of locomotive information processing, and in particular to a method and device for locomotive data processing. Background Art
[0002] Existing locomotive data inspection methods rely on data analysis based on message log files (i.e., *.TXT files) displayed on the driver display unit (DDU). Typically, data analysts can only board the locomotive after the locomotive returns to the depot. They download the corresponding event log files through the DDU's USB port. Ground-based analysis software then filters, analyzes, and processes them to locate locomotive faults and event log information. Furthermore, existing event log files only record event information at the fault point, omitting the locomotive's operating status and key data at the time of the fault. This makes it difficult to provide effective early warning information and hinders full lifecycle locomotive quality monitoring. Summary of the Invention
[0003] (1) Purpose of the invention
[0004] The technical problem to be solved by the embodiments of the present application is to provide a method and device for data processing for a locomotive. The method obtains message event data on the FIP bus and determines the required message event data through code matching to store it as the final required record file.
[0005] (2) Technical solution
[0006] To solve the above problem, a first aspect of an embodiment of the present application provides a method for processing data for a locomotive, comprising:
[0007] Acquire message event data on the FIP bus of the locomotive, each piece of the message event data including at least one event code;
[0008] Matching the event code with a constant fault code of the locomotive, wherein the constant fault code is a pre-set code of a common fault;
[0009] When the event code matches the constant fault code, the message event data corresponding to the event code is parsed, and the parsing result is stored as an event recording process file.
[0010] In some embodiments, the message event data also includes a locomotive number, a device name, a device version number, a message time, a number of occurrences, and corresponding multiple Context feature variable numbers.
[0011] In some embodiments, before matching the event code with the constant fault code of the locomotive, the method further includes:
[0012] The message event data is encapsulated according to a predetermined first data format, and the encapsulation result is stored as an event record original file.
[0013] In some embodiments, the method further comprises:
[0014] Acquire operation status data on the FIP bus of the locomotive, each piece of the operation status data comprising at least an analog quantity, a digital quantity or a context feature variable recorded in real time by a device of the locomotive;
[0015] When the analog quantity, digital quantity or context characteristic variable exceeds the corresponding set threshold, a status alarm message is issued.
[0016] In some embodiments, the method further comprises:
[0017] The running status data is packaged according to a predetermined second data format, and the packaged result is stored as a driving record original file.
[0018] In some embodiments, the method further comprises:
[0019] Filter out the Context feature variables whose numbers correspond to the constant fault code from the Context feature variables, and encapsulate the determined number of Context feature variables before and after the occurrence of the filtered Context feature variables according to a predetermined third data format, and store the encapsulation result in a fault feature variable on-demand file.
[0020] In some embodiments, the method further comprises:
[0021] Packing the event record original file, the event record process file, the driving record original file, the fault characteristic variable on-demand file and the alarm information to generate a comprehensive data packet;
[0022] The comprehensive data package is uploaded to the cloud data platform of the locomotive via a wireless communication network.
[0023] In some embodiments, uploading the integrated data package to the cloud data platform of the locomotive via a wireless communication network includes:
[0024] Establishing a VPN virtual channel with the cloud data platform through the 4G module, so that the cloud data platform can receive the alarm information in real time, or receive on demand any one or a combination of the event record original file, the event record process file, the driving record original file and the fault feature variable on-demand file; and / or
[0025] After the locomotive enters the station, the event record original file, the event record process file, the driving record original file and / or the fault feature variable on-demand file are automatically uploaded to the cloud data platform through the 5G communication module.
[0026] A second aspect of an embodiment of the present application provides an electronic device, including a memory and a processor; the memory is used to store a computer program; the processor is used to implement the method described in any of the above embodiments when executing the computer program.
[0027] A third aspect of an embodiment of the present application provides a data processing device for a locomotive, comprising:
[0028] a message event data acquisition unit, configured to acquire message event data on the FIP bus of the locomotive, each piece of the message event data including at least one event code;
[0029] a code matching unit connected to the message data collection unit, configured to match the event code in each piece of the message event data with a preset constant fault code, and filter out the message event data that matches;
[0030] A data parsing storage unit, connected to the code matching unit, for parsing the message event data that matches the message and storing the parsing result as an event record process file;
[0031] The first encapsulation storage unit is connected to the message event data acquisition unit and is used to encapsulate the message event data according to a predetermined first data format and store the encapsulation result as an event record original file.
[0032] In some embodiments, the apparatus further comprises:
[0033] An operation status data acquisition unit, configured to acquire operation status data of a plurality of devices of the locomotive from the FIP bus, wherein the operation status data includes at least an analog quantity, a digital quantity or a context feature variable recorded in real time by a device of the locomotive;
[0034] A fault warning unit, connected to the operation status data acquisition unit, is used to issue a status alarm message when the analog quantity, digital quantity or context characteristic variable exceeds the corresponding set threshold;
[0035] The second encapsulation storage unit is connected to the operation status data acquisition unit and is used to encapsulate the operation status data according to a predetermined second data format and store the encapsulation result as a driving record original file.
[0036] In some embodiments, the apparatus further comprises:
[0037] a context characteristic variable screening unit connected to the operating status data acquisition unit and configured to screen out, from the context characteristic variables, a context characteristic variable whose number corresponds to the constant fault code;
[0038] The third encapsulation storage unit is connected to the Context feature variable screening unit and is used to encapsulate the Context feature variables of a determined number before and after the occurrence of the screened Context feature variables according to a predetermined third data format, and store the encapsulation result in a fault feature variable on-demand file.
[0039] In some embodiments, the apparatus further comprises:
[0040] an axle report data file recording unit, connected to the onboard 6A system of the locomotive, for recording the axle report data file of the running gear of the locomotive;
[0041] A multi-channel video file recording unit is connected to the onboard 6A system of the locomotive and is used to record the multi-channel video data files of the locomotive.
[0042] In some embodiments, the apparatus further comprises:
[0043] a data packaging unit connected to the data parsing storage unit, the first encapsulation storage unit, the second encapsulation storage unit, the third encapsulation storage unit, and the fault warning unit, and configured to package the original event record file, the event record process file, the original driving record file, the fault characteristic variable on-demand file, the alarm information, the axle report data file, and the video data file to generate a comprehensive data packet;
[0044] A data transmission unit is connected to the cloud data platform of the locomotive via a wireless communication network, and is used to upload the comprehensive data packet to the cloud data platform.
[0045] A remote parameter configuration unit is connected to the data transmission unit and is used to remotely configure the constant fault code and the number of the Context feature variable corresponding to the constant fault code.
[0046] In some embodiments, the data transmission unit includes:
[0047] a 4G module connected to the cloud data platform via a VPN virtual channel, configured to enable the cloud data platform to receive the alarm information in real time, or to receive on demand any one or a combination of the event record original file, the event record process file, the driving record original file, and the fault characteristic variable on-demand file;
[0048] A 5G communication module is automatically connected to the cloud data platform through a 5G intelligent gateway, and is used to automatically upload the original event record file, the event record process file, the driving record original file and / or the fault feature variable on-demand file to the cloud data platform after the locomotive enters the station.
[0049] In some embodiments, the apparatus further comprises:
[0050] A FIP network card connected to the FIP bus of the locomotive, used to collect message event data and operation status data transmitted between the communication ports on the FIP bus through the message event data collection unit and the operation status data collection unit;
[0051] An Ethernet interface, which is connected to the locomotive's 6A system via Ethernet and is used to periodically dump the locomotive running gear axle report data files and multi-channel video files in the 6A system;
[0052] A USB dump interface for manually downloading the comprehensive data package;
[0053] The RS485 interface is connected to the fault warning unit and is used for externally connecting a multi-channel sound and light alarm, and triggering the multi-channel sound and light alarm to alarm through the status alarm information of the fault warning unit.
[0054] A fourth aspect of the embodiments of the present application also provides a data processing device for a locomotive, comprising:
[0055] FPGA main processor;
[0056] A FIP bus controller, which is connected to the FPGA main processor via a parallel bus and is used to collect message event data and / or operating status data on the FIP bus of the locomotive in real time;
[0057] An Ethernet bus controller, which is connected to the FPGA main processor via a serial bus, is used to connect to the on-board 6A system to obtain locomotive axle reports and video data, and / or connect to the on-board 5G smart gateway to forward the collected message event data and / or operating status data;
[0058] A dynamic memory, connected to the FPGA main processor via a serial bus, for real-time storage of event record original files and event record process files formed by encapsulating the message event data, as well as driving record original files and fault feature variable on-demand files formed by encapsulating the operating status data, and axle report files and video files formed by encapsulating the locomotive axle report and video data;
[0059] A static memory connected to the dynamic memory and used for transferring and storing data in the dynamic memory;
[0060] A 4G module, which is connected to the locomotive's cloud data platform via a VPN virtual channel and is used to establish real-time wireless communication between the locomotive and the ground while the locomotive is in transit, to enable two-way interactive real-time transmission of locomotive operating status and fault information, and to obtain on-demand information of the on-demand fault characteristic variable file;
[0061] A 5G communication module is automatically connected to the cloud data platform through a 5G intelligent gateway, and is used to automatically upload the original event record file, the event record process file, the driving record original file and / or the fault feature variable on-demand file to the cloud data platform after the locomotive enters the station.
[0062] In some embodiments, the apparatus further comprises:
[0063] An RS485 communication interface for communicating with an audible and visual alarm, the audible and visual alarm being provided in the driver's cab of the locomotive;
[0064] A USB interface, used for exchanging data files with an external USB flash drive after the locomotive enters the station;
[0065] The RS232 debugging interface is used to implement parameter configuration of the data processing device.
[0066] (3) Beneficial effects
[0067] The beneficial effects of the embodiments of the present application are that, by acquiring message event data on the FIP bus, matching the event codes in the message event data with constant fault codes, parsing and encapsulating the message event data filtered out after a match hit, and storing it as an event recording process file, the initial analysis of the message event data can be completed en route, reducing the time required for data analysis after the station entry, thereby avoiding delays in the normal departure of the locomotive. Furthermore, by significantly reducing the amount of data ultimately required for analysis through screening, time can also be saved for data analysis after the locomotive enters the station. Furthermore, it allows the locomotive to process more data en route, avoiding excessive accumulation of message event data during the en route process. BRIEF DESCRIPTION OF THE DRAWINGS
[0068] Figure 1 is a flow chart of the method of Example 1 of the present application;
[0069] Figure 2 is a flow chart of the method of Example 2 of the present application;
[0070] Figure 3 This is a block diagram of the device structure and a schematic diagram of its usage scenario of Example 3 of the present application;
[0071] Figure 4 This is a schematic diagram of the device interface of Example 3 of the present application;
[0072] Figure 5 This is a schematic diagram of the hardware board connection of the device in Example 3 of the present application. DETAILED DESCRIPTION
[0073] To make the objectives, technical solutions, and advantages of this application more clearly understood, this application is further described below in conjunction with specific embodiments and with reference to the accompanying drawings. It should be understood that these descriptions are merely illustrative and are not intended to limit the scope of this application. In addition, in the following description, descriptions of well-known structures and technologies are omitted to avoid unnecessary confusion in the concepts of this application.
[0074] Obviously, the described embodiments are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0075] In the description of this application, it should be noted that the terms "first," "second," and "third" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance. In addition, the technical features involved in the different embodiments of this application described below may be combined with each other as long as they do not conflict with each other.
[0076] Many specific details of this application are described below, such as device structure, materials, dimensions, processing techniques, and technologies, to facilitate a clearer understanding of this application. However, as will be appreciated by those skilled in the art, this application may be implemented without following these specific details. Unless otherwise noted below, various components of the semiconductor device may be constructed from materials known to those skilled in the art.
[0077] Related terms:
[0078] FIP, or WorldFIP fieldbus, stands for World Factory Instrument Protocol. The FIP bus supports dual-redundant bus operation, connecting the main processing unit, remote input / output modules, traction control units, auxiliary control units, and driver display units. This dual-redundant bus ensures that the control system will not be forced to shut down other control systems due to problems such as control cable damage.
[0079] Context feature variables, that is, the feature variables of the context correspond one-to-one with the Context feature variable number, that is, the feature variables related to the running status data before and after the time when the status alarm information appears.
[0080] 4G module is a modular component used to implement 4G network communication.
[0081] The 5G communication module is a communication module used to connect to the vehicle-mounted 5G smart gateway.
[0082] VPN virtual channel is a communication channel based on VPN (Virtual Private Network).
[0083] The on-board 6A system is a locomotive on-board safety protection system, referred to as the 6A system. It is aimed at important safety-related matters, key components and parts such as the locomotive's high-voltage insulation, fire protection, video, train power supply, braking system, running gear, etc. It uses a system with real-time detection, monitoring, alarm, network transmission, unified solid-state storage and intelligent human-machine interface functions. It is a platform-based safety protection device formed through overall research and design. The ultimate goal is to achieve unified functional interface, unified data storage, unified installation method, unified human-machine interface, and unified maintenance operation.
[0084] A CSV file is a comma-separated value file that stores event logs in plain text.
[0085] BIN file is a binary file, which is a locomotive driving record file stored in hexadecimal format.
[0086] FLT file is a fault feature variable on-demand file stored in hexadecimal format.
[0087] A first aspect of an embodiment of the present application provides a method for data processing for a locomotive, comprising:
[0088] Acquire message event data on the FIP bus of the locomotive, each piece of the message event data including at least one event code;
[0089] Matching the event code with a constant fault code of the locomotive, wherein the constant fault code is a pre-set code of a common fault;
[0090] When the event code matches the constant fault code, the message event data corresponding to the event code is parsed, and the parsing result is stored as an event recording process file.
[0091] Example 1
[0092] Figure 1 This is a flow chart of the method of Example 1 of the present application.
[0093] like Figure 1 Specifically, a method for processing data for a locomotive includes:
[0094] Step 110: Acquire message event data on the FIP bus of the locomotive, each piece of the message event data includes at least one event code.
[0095] Step 120: Match the event code with a constant fault code of the locomotive, where the constant fault code is a pre-set code of a common fault.
[0096] Step 130: When the event code matches the constant fault code, the message event data corresponding to the event code is parsed, and the parsing result is stored as an event recording process file.
[0097] Acquiring the message event data on the FIP bus of the locomotive in step 110 refers to obtaining the message event data transmitted between the communication ports on the locomotive through the locomotive FIP bus. In this embodiment, each message event data includes an event code uniquely corresponding to the message event data.
[0098] In steps 120-130, the event code is matched with the locomotive's constant fault code. When a match is found between the event code and the constant fault code, the message event data corresponding to the event code is parsed, and the parsing results are stored as an event record file. This refers to the process of filtering message event data using constant fault codes. The pre-set common fault codes, for example, are based on past experience, with 100 common fault codes set as constant fault codes. These 100 common fault codes can then be used to filter out, from a large amount of message event data, message event data whose event codes match the constant fault codes.
[0099] Parsing the message event data corresponding to the event code means encapsulating and storing the message event data in a required data format through parsing. In this embodiment, the event recording process file is optionally stored as a CSV file.
[0100] This embodiment acquires message event data from the FIP bus, matches the event codes in the message event data with constant fault codes, parses and encapsulates the message event data filtered out after a match, and stores it as an event record process file. This advantageously allows for preliminary analysis of message event data to be completed en route, reducing the time required for post-station data analysis and thus preventing delays in the locomotive's normal departure. Furthermore, this significantly reduces the amount of data ultimately required for analysis, similarly saving time for post-station data analysis. Furthermore, it enables the locomotive to process more data en route, preventing the excessive accumulation of message event data during transit.
[0101] The process of acquiring, parsing, and storing message event data in this embodiment is optionally completed through the following steps.
[0102] Get the device name and device version number in the message event data and associate them with the corresponding data folder, which is built into the device.
[0103] Find the evt_evt file in the corresponding folder, which stores all event-related information of the corresponding device.
[0104] According to the event code in the message event data, find the evt_ctx file in the same directory and retrieve the context feature variable corresponding to the context feature variable number contained in it;
[0105] The event log process file is stored in plain text in the CSV file format, which is a comma-separated value file format.
[0106] In some embodiments, the message event data also includes a locomotive number, a device name, a device version number, a message time, a number of occurrences, and corresponding multiple Context feature variable numbers.
[0107] The device name is, for example, a code that includes a device number or code and can uniquely identify the device on the locomotive, and the device version number refers to the version number of the software currently running on the device.
[0108] In some embodiments, before matching the event code with the constant fault code of the locomotive, the method further includes encapsulating the message event data according to a predetermined first data format, and storing the encapsulation result as an event record original file.
[0109] The original event record file can optionally be stored as a TXT file. It is encapsulated according to a predetermined first data format, which in this embodiment refers to the TXT file format. That is, all message event data is encapsulated into an original event record file according to the TXT file format. For example, when the message event data includes multiple information elements such as locomotive number, device name, device version number, message time, number of occurrences, and event code, the above-mentioned data encapsulation process is to encapsulate these multiple information elements into an original event record file in the TXT file format. Of course, the inventive concept of this application is not limited to this. The first data format can also be other data formats commonly used by those skilled in the art to save original event record files. In this embodiment, this encapsulation and storage process can optionally be completed by creating three threads, which are respectively used for real-time updating of FIP data, obtaining message event data, and encapsulating message data.
[0110] The specific steps include:
[0111] Define the logical port queue by initialization;
[0112] Initialize the message event data queue;
[0113] Instantiate the FIP object, including setting the FIP class instantiation object parameters;
[0114] Start the FIP data real-time update thread;
[0115] Start the message event data acquisition thread;
[0116] Start the message event data encapsulation thread.
[0117] Example 2
[0118] Figure 2 This is a flow chart of the method of Example 2 of the present application.
[0119] like Figure 2 Specifically, a method for processing data for a locomotive includes:
[0120] Step 110: Acquire message event data on the FIP bus of the locomotive, each piece of the message event data includes at least one event code.
[0121] Step 120: Match the event code with a constant fault code of the locomotive, where the constant fault code is a pre-set code of a common fault.
[0122] Step 130: When the event code matches the constant fault code, the message event data corresponding to the event code is parsed, and the parsing result is stored as an event recording process file.
[0123] Step 140: Acquire the operating status data on the FIP bus of the locomotive, where each piece of the operating status data includes at least an analog quantity, digital quantity or context feature variable recorded in real time by a device of the locomotive.
[0124] Step 150: When the analog quantity, digital quantity or context characteristic variable exceeds the corresponding set threshold, a status alarm message is issued.
[0125] Different from Example 1, Example 2 further includes step 140 and step 150.
[0126] In step 140, the operating status data on the FIP bus of the locomotive is obtained, wherein the analog quantity, digital quantity or context characteristic variable can be a value representing the temperature, pressure or speed of the equipment operating condition. Each value has a corresponding preset threshold value. For example, the locomotive total air cylinder pressure threshold is 1000kPa.
[0127] In step 150, when the analog quantity, digital quantity, or context feature variable exceeds the corresponding set threshold, a status alarm message is issued. For example, if the total air cylinder pressure threshold of a locomotive is 1000kPa, then when the total air cylinder pressure value included in the operating status data of the device exceeds 1000kPa, the alarm unit will be triggered to issue a status alarm message.
[0128] This embodiment further obtains the operating status data on the FIP bus of the locomotive, thereby realizing real-time analysis and warning of the locomotive on the way, predicting the fault status in advance, and reducing the failure rate of standby locomotives.
[0129] In some embodiments, the method further comprises:
[0130] The operating status data is encapsulated according to a predetermined second data format, and the encapsulation result is stored as a driving record original file. The locomotive driving record file is optional in this embodiment and is stored as a BIN file. In the process of encapsulating according to the predetermined second data format and storing the encapsulation result as the driving record original file, the second data format in this embodiment refers to the BIN file format, that is, the operating status data is encapsulated and stored according to the BIN file format. The process of encapsulation and storage is similar to the process of encapsulating and storing the message event data according to the first data format mentioned above, except that the encapsulation and storage of the operating status data is periodic, while the encapsulation and storage of the message event data is performed randomly at any time.
[0131] In some embodiments, the method further comprises:
[0132] Context feature variables whose numbers correspond to the constant fault code are screened from the context feature variables, a predetermined number of context feature variables before and after the occurrence of the screened context feature variables are packaged according to a predetermined third data format, and the packaged result is stored as a fault feature variable on-demand file. In this embodiment, the fault feature variable on-demand file is optionally stored as an FLT file.
[0133] In some embodiments, the method further comprises:
[0134] The event record original file, the event record process file, the driving record original file, the fault characteristic variable on-demand file, the alarm information, the axle report data file and the video data file are packaged.
[0135] The comprehensive data package is uploaded to the cloud data platform of the locomotive via a wireless communication network.
[0136] In this implementation, the comprehensive data package is uploaded to the cloud data platform of the locomotive through the wireless communication network, which can effectively avoid the heavy workload of the staff caused by downloading data through the USB interface. In the case of frequent use of the USB port, it is easy to cause interface failure and the data download work cannot be completed within the short time when the locomotive enters the station.
[0137] Specifically, in some embodiments, uploading the comprehensive data packet to the cloud data platform of the locomotive via the wireless communication network includes:
[0138] A VPN virtual channel is established between the 4G module and the cloud data platform, so that the cloud data platform can receive the alarm information in real time, or receive on demand any one or a combination of multiple files among the event record original file, the event record process file, the driving record original file and the fault feature variable on-demand file.
[0139] In this implementation, a VPN virtual channel is established between the 4G module and the cloud data platform. The cloud data platform can receive alarm information in real time or on-demand, including any one or a combination of the original event log file, the event process log file, the original driving log file, and the on-demand fault signature variable file. Fault conditions can also be predicted in advance, allowing for real-time analysis and early warning during transit, providing more timely data support for fault analysis and reducing the failure rate of standby locomotives.
[0140] Specifically, in some embodiments, the method further includes:
[0141] After the locomotive enters the station, the event record original file, the event record process file, the driving record original file and / or the fault feature variable on-demand file are automatically uploaded to the cloud data platform through the 5G communication module.
[0142] After the locomotive enters the station, the original file of the event record is automatically uploaded through the 5G communication module. This means that when it is difficult to transmit some large numbers of files through the 4G module on the way, just after the locomotive enters the station, the high bandwidth and high speed of 5G are utilized, but it will be limited by the transmission distance, and the large number of files will be automatically uploaded through the 5G communication module at the station.
[0143] A second aspect of an embodiment of the present application provides an electronic device, including a memory and a processor; the memory is used to store a computer program; the processor is used to implement the method described in any of the above embodiments when executing the computer program.
[0144] Example 3
[0145] A third aspect of the embodiments of the present application provides a data processing device for a locomotive.
[0146] Figure 3 This is a schematic diagram of the device structure block diagram of Example 3 of the present application and a schematic diagram of its usage scenario.
[0147] like Figure 3 As shown, specifically, a data processing device for a locomotive includes:
[0148] a message event data acquisition unit, configured to acquire message event data on the FIP bus of the locomotive, each piece of the message event data including at least one event code;
[0149] a code matching unit connected to the message data collection unit, configured to match the event code in each piece of the message event data with a preset constant fault code, and filter out the message event data that matches;
[0150] A data parsing storage unit, connected to the code matching unit, for parsing the message event data that matches the message and storing the parsing result as an event record process file;
[0151] The first encapsulation storage unit is connected to the message event data acquisition unit and is used to encapsulate the message event data according to a predetermined first data format and store the encapsulation result as an event record original file.
[0152] In some embodiments, the apparatus further comprises:
[0153] An operation status data acquisition unit, configured to acquire operation status data of a plurality of devices of the locomotive from the FIP bus, wherein the operation status data includes at least an analog quantity, a digital quantity or a context feature variable recorded in real time by a device of the locomotive;
[0154] A fault warning unit, connected to the operation status data acquisition unit, is used to issue a status alarm message when the analog quantity, digital quantity or context characteristic variable exceeds the corresponding set threshold;
[0155] The second encapsulation storage unit is connected to the operation status data acquisition unit and is used to encapsulate the operation status data according to a predetermined second data format and store the encapsulation result as a driving record original file.
[0156] In some embodiments, the apparatus further comprises:
[0157] a context characteristic variable screening unit connected to the operating status data acquisition unit and configured to screen out, from the context characteristic variables, a context characteristic variable whose number corresponds to the constant fault code;
[0158] The third encapsulation storage unit is connected to the Context feature variable screening unit and is used to encapsulate the Context feature variables of a determined number before and after the occurrence of the screened Context feature variables according to a predetermined third data format, and store the encapsulation result in a fault feature variable on-demand file.
[0159] In some embodiments, the apparatus further comprises:
[0160] an axle report data file recording unit, connected to the onboard 6A system of the locomotive, for recording the axle report data file of the running gear of the locomotive;
[0161] A multi-channel video file recording unit is connected to the onboard 6A system of the locomotive and is used to record the multi-channel video data files of the locomotive.
[0162] In some embodiments, the apparatus further comprises:
[0163] a data packaging unit connected to the data parsing storage unit, the first encapsulation storage unit, the second encapsulation storage unit, the third encapsulation storage unit, and the fault warning unit, and configured to package the original event record file, the event record process file, the original driving record file, the fault characteristic variable on-demand file, the alarm information, the axle report data file, and the video data file to generate a comprehensive data packet;
[0164] A data transmission unit is connected to the cloud data platform of the locomotive via a wireless communication network, and is used to upload the comprehensive data packet to the cloud data platform.
[0165] A remote parameter configuration unit is connected to the data transmission unit and is used to remotely configure the constant fault code and the number of the Context feature variable corresponding to the constant fault code.
[0166] In some embodiments, the data transmission unit includes:
[0167] a 4G module connected to the cloud data platform via a VPN virtual channel, configured to enable the cloud data platform to receive the alarm information in real time, or to receive on demand any one or a combination of the event record original file, the event record process file, the driving record original file, and the fault characteristic variable on-demand file;
[0168] a 5G communication module, which is automatically connected to the cloud data platform via a 5G intelligent gateway, and is used to automatically upload the original event record file, the event record process file, the driving record original file and / or the fault characteristic variable on-demand file to the cloud data platform after the locomotive enters the station;
[0169] Figure 4 This is a schematic diagram of the device interface of Example 3 of the present application.
[0170] like Figure 4 As shown, in some embodiments, the device further includes:
[0171] A FIP network card connected to the FIP bus of the locomotive, used to collect message event data and operation status data transmitted between the communication ports on the FIP bus through the message event data collection unit and the operation status data collection unit;
[0172] An Ethernet interface, which is connected to the locomotive's 6A system via Ethernet and is used to periodically dump the locomotive running gear axle report data files and multi-channel video files in the 6A system;
[0173] A USB dump interface for manually downloading the comprehensive data package;
[0174] The RS485 interface is connected to the fault warning unit and is used for externally connecting a multi-channel sound and light alarm, and triggering the multi-channel sound and light alarm to alarm through the status alarm information of the fault warning unit.
[0175] Figure 5 This is a schematic diagram of the hardware board connection of the device in Example 3 of the present application.
[0176] like Figure 5 As shown, a data processing device for a locomotive comprises:
[0177] FPGA main processor;
[0178] A FIP bus controller, which is connected to the FPGA main processor via a parallel bus and is used to collect message event data and / or operating status data on the FIP bus of the locomotive in real time;
[0179] An Ethernet bus controller, which is connected to the FPGA main processor via a serial bus, is used to connect to the on-board 6A system to obtain locomotive axle reports and video data, and / or connect to the on-board 5G smart gateway to forward the collected message event data and / or operating status data;
[0180] A dynamic memory, connected to the FPGA main processor via a serial bus, for real-time storage of event record original files and event record process files formed by encapsulating the message event data, as well as driving record original files and fault feature variable on-demand files formed by encapsulating the operating status data, and axle report files and video files formed by encapsulating the locomotive axle report and video data;
[0181] A static memory connected to the dynamic memory and used for transferring and storing data in the dynamic memory;
[0182] A 4G module, which is connected to the locomotive's cloud data platform via a VPN virtual channel and is used to establish real-time wireless communication between the locomotive and the ground while the locomotive is in transit, to enable two-way interactive real-time transmission of locomotive operating status and fault information, and to obtain on-demand information of the on-demand fault characteristic variable file;
[0183] A 5G communication module is automatically connected to the cloud data platform through a 5G intelligent gateway, and is used to automatically upload the original event record file, the event record process file, the driving record original file and / or the fault feature variable on-demand file to the cloud data platform after the locomotive enters the station.
[0184] In some embodiments, optionally, the dynamic memory is a 2G DDR3 memory stick, and the static memory is a 32G EMMC multimedia card.
[0185] In some embodiments, the apparatus further comprises:
[0186] An RS485 communication interface for communicating with an audible and visual alarm, the audible and visual alarm being provided in the driver's cab of the locomotive;
[0187] A USB interface, used for exchanging data files with an external USB flash drive after the locomotive enters the station;
[0188] The RS232 debugging interface is used to implement parameter configuration of the data processing device.
[0189] The RS232 debugging interface can be wirelessly connected through the 4G module to achieve remote parameter configuration of the data processing device.
[0190] It should be understood that the above-mentioned specific embodiments of the present application are merely illustrative or explain the principles of the present application and do not constitute a limitation of the present application. Therefore, any modifications, equivalent substitutions, improvements, etc. made without departing from the spirit and scope of the present application should be included in the scope of protection of the present application. In addition, the claims attached hereto are intended to cover all variations and modifications that fall within the scope and boundaries of the appended claims, or the equivalent forms of such scope and boundaries.
Claims
1. A method for data processing of a locomotive, characterized in that: include: Obtaining message event data on the FIP bus of the locomotive, each message event data including at least one event code; including: obtaining a device name and a device version number in the message event data, and associating them with a corresponding data folder; finding an evt_evt file in the data folder, the evt_evt file storing all event-related information of the device in the message event data; finding an evt_ctx file in the same directory according to the event code of the message event data, and retrieving a context feature variable corresponding to a context feature variable number contained therein; storing the event record process file in plain text in a CSV file format, i.e., a file format with commas as separated values; Matching the event code with a constant fault code of the locomotive, wherein the constant fault code is a pre-set code of a common fault; When the event code matches the constant fault code, the message event data corresponding to the event code is parsed, and the parsing result is stored as an event record process file; Acquire operation status data on the FIP bus of the locomotive, each piece of the operation status data comprising at least an analog quantity, a digital quantity or a context feature variable recorded in real time by a device of the locomotive; When the analog quantity, digital quantity or context characteristic variable exceeds the corresponding set threshold, a status alarm message is issued; The Context feature variable, i.e., the feature variable of the context corresponds to the Context feature variable number one by one, i.e., the feature variable related to the running status data before and after the time when the status alarm information appears; Filtering out the Context feature variables whose numbers correspond to the constant fault code from the Context feature variables, encapsulating a determined number of the Context feature variables before and after the occurrence of the filtered Context feature variables in accordance with a predetermined third data format, and storing the encapsulation result in a fault feature variable on-demand file; Packing the event record original file, the event record process file, the driving record original file, the fault characteristic variable on-demand file and the alarm information, the axle report data file and the video data file to generate a comprehensive data packet; The axle report data file is used to record the axle report data of the running gear of the locomotive; The video data file is used to record multi-channel video data of the locomotive; The comprehensive data package is uploaded to the cloud data platform of the locomotive via a wireless communication network.
2. The method according to claim 1, characterized in that The message event data also includes a locomotive number, a device name, a device version number, a message time, a number of occurrences, and corresponding multiple Context feature variable numbers.
3. The method according to claim 1 or 2, characterized in that Before matching the event code with the constant fault code of the locomotive, the method further includes: The message event data is encapsulated according to a predetermined first data format, and the encapsulation result is stored as an event record original file.
4. The method according to claim 1, wherein The method further comprises: The running status data is packaged according to a predetermined second data format, and the packaged result is stored as a driving record original file.
5. The method according to claim 1, wherein The uploading of the comprehensive data packet to the cloud data platform of the locomotive via the wireless communication network includes: Establishing a VPN virtual channel with the cloud data platform through the 4G module, so that the cloud data platform can receive the alarm information in real time, or receive on demand any one or a combination of the event record original file, the event record process file, the driving record original file and the fault feature variable on-demand file; and / or After the locomotive enters the station, the event record original file, the event record process file, the driving record original file and / or the fault feature variable on-demand file are automatically uploaded to the cloud data platform through the 5G communication module.
6. An electronic device, characterized in that: The method comprises a memory and a processor; the memory is used to store a computer program; the processor is used to implement the method according to any one of claims 1 to 5 when executing the computer program.
7. A data processing device for a locomotive, characterized in that: include: A message event data acquisition unit is configured to acquire message event data on the FIP bus of the locomotive, each message event data including at least one event code; the unit comprises: acquiring a device name and device version number in the message event data, and associating the data with a corresponding data folder; finding an evt_evt file in the data folder, the evt_evt file storing all event-related information of the device in the message event data; finding an evt_ctx file in the same directory according to the event code of the message event data, and retrieving a context feature variable corresponding to the context feature variable number contained therein; and storing the event record process file in plain text in accordance with a CSV file format, i.e., a file format using commas as separated values; a code matching unit connected to the message event data collection unit, configured to match the event code in each piece of the message event data with a preset constant fault code, and filter out the message event data that matches; A data parsing and storage unit, connected to the code matching unit, is used to parse the message event data that matches and store the parsing results as an event record process file, including: An operation status data acquisition unit is configured to acquire operation status data on the FIP bus of the locomotive, wherein each piece of the operation status data includes at least an analog quantity, a digital quantity or a context feature variable recorded in real time by a device of the locomotive; The fault warning unit issues a status alarm message when the analog quantity, digital quantity, or context characteristic variable exceeds the corresponding set threshold; the context characteristic variable, i.e., the context characteristic variable, has a one-to-one correspondence with the context characteristic variable number, i.e., the characteristic variable related to the running status data before and after the time when the status alarm message appears; a context characteristic variable screening unit, screening out, from the context characteristic variables, context characteristic variables whose numbers correspond to the constant fault code; a third encapsulation storage unit, encapsulating the determined number of the screened Context feature variables before and after the occurrence of the Context feature variables according to a predetermined third data format, and storing the encapsulation result in a fault feature variable on-demand file; a data packaging unit, packaging the event record original file, the event record process file, the driving record original file, the fault characteristic variable on-demand file, the alarm information, the axle report data file, and the video data file to generate a comprehensive data package; the axle report data file is used to record the axle report data of the running gear of the locomotive; the video data file is used to record the multi-channel video data of the locomotive; a data transmission unit, for uploading the comprehensive data packet to a cloud data platform of the locomotive via a wireless communication network; The first encapsulation storage unit is connected to the message event data acquisition unit and is used to encapsulate the message event data according to a predetermined first data format and store the encapsulation result as an event record original file.
Citation Information
Patent Citations
Locomotive status messages checking and diagnosis recording method and device
CN101334667A
Data processing device for locomotive
CN215042813U