CN-121996285-A - Tractor data recording system and method
Abstract
The invention provides a tractor data recording system and method, wherein the system comprises a data recording device, a data analysis device and a data configuration device, wherein the data recording device comprises a data receiving device and a data storage device, the data analysis device is in communication connection with the data recording device, the data analysis device comprises a data configuration device and a data display device, the data receiving device is used for establishing communication connection with a recorded tractor and receiving a data packet sent by the recorded tractor, the data packet comprises application data, the application data comprises operation data and fault data, the data storage device is used for storing the application data into a structured data file and managing the structured data file according to a preset storage management strategy, and the tractor data recording device can record all the operation data and the fault data according to a tractor communication protocol, can customize required data and can present part or all of the data for analysis and use according to user requirements.
Inventors
- ZHU MINGMING
- QU XIANCHAO
- WANG WEIZHU
- SUN HAOWEN
- CHENG BAO
Assignees
- 中车大连电力牵引研发中心有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20251231
Claims (10)
- 1. A tractor data recording system, comprising: A data recording device comprising a data receiving device and a data storage device; the data analysis device is in communication connection with the data recording device and comprises a data configuration device and a data display device; The data receiving device is used for establishing communication connection with the recorded tractor and receiving a data packet sent by the recorded tractor, wherein the data packet comprises application data, and the application data comprises operation data and fault data; The data storage device is used for storing application data into a structured data file and managing the structured data file according to a preset storage management strategy; The data configuration device is used for configuring according to the communication protocol of the recorded tractor and generating a corresponding protocol configuration file; The data display device is used for reading the protocol configuration file and the structured data file, and analyzing and visually displaying application data.
- 2. The tractor data recording system of claim 1, wherein the data storage device receives application data from the data receiving device in a periodic manner and records the application data received for each period as one line of data in the structured data file; The storage format of each row of data in the structured data file is that the first column stores time information, the subsequent column stores application data with the fixed byte number as a unit, and if the length of the application data is less than the integral multiple of the fixed byte number, byte filling is carried out.
- 3. The tractor data recording system of claim 2, wherein the fixed number of bytes is 4 bytes.
- 4. The tractor data recording system of claim 1, wherein the data storage device manages the structured data file according to a storage management policy, specifically comprising: The storage device records N times according to the period, according to the configuration of a processor of the storage device, a single file is used for processing m pieces at most, the recording duration t of the single file is the most, when the maximum recording value m is exceeded, the storage device stores the current file and newly establishes the file to continue recording, meanwhile, the recorded file is automatically compressed, the recorder compresses N max operation recorded files at most, when the maximum recording value m is exceeded, the operation recorded compressed files are N max operation recorded files at most, and the recorder automatically identifies and deletes the earliest compressed files; the maximum recording duration of a single file is as follows: t=m/n the recorder can store the longest time length as follows: The recorder can store the most records as: the storage device generates a queue record compressed document with the size of N max , the queue is in a FIFO storage structure, the document names are named according to the generation time, the storage device reads the compressed record document according to the generation time or the document names in sequence when reading the document, and when the storage device detects that the length of the queue is greater than N max , the device automatically deletes the document corresponding to the first element of the queue.
- 5. The tractor data recording system of claim 1, wherein the structured data file is a CSV format file.
- 6. The tractor data recording system of claim 1, wherein the data receiving device communicates with the recorded tractor using a communication protocol.
- 7. The tractor data recording system of claim 1, wherein the operating data includes operating speed, gear, park signal, forward signal, reverse signal, and brake signal, and the fault data includes fault occurrence time, fault name, and fault release time.
- 8. The tractor data recording system of claim 1, wherein the protocol configuration file is a bin file.
- 9. The tractor data recording system of claim 1, wherein the data display device parses the application data in the structured data file based on a protocol configuration file to generate a variable information tree; And the data display device displays the data change trend and/or the fault occurrence frequency of the variables in the variable information tree in a curve form according to the time period selected by the user.
- 10. A tractor data recording method, implemented on the basis of the tractor data recording system of any one of claims 1 to 9, comprising the steps of: establishing communication connection with a recorded tractor through a data receiving device, and receiving a data packet sent by the recorded tractor, wherein the data packet comprises application data; storing the application data in a structured data file format through a data storage device, and managing the structured data file according to a preset storage management strategy; Configuring according to a communication protocol of the recorded tractor through a data configuration device, and generating a corresponding protocol configuration file; and reading the protocol configuration file and the structured data file through the data display device, and analyzing and visually displaying the application data.
Description
Tractor data recording system and method Technical Field The invention relates to the technical field of agricultural machine data, in particular to a tractor data recording system and method. Background The tractor is the core of modern agriculture, greatly improves the operating efficiency, and is especially indispensable in large-area large-scale mechanized farming. The conventional tractor has the problems of low cultivation efficiency, high maintenance cost and high difficulty, the tractor data recording system records the operation condition by cultivating and analyzing the operation data of the tractor, so that the operation efficiency is improved, and meanwhile, the recording system monitors the state of the tractor in real time, prompts and guides the failure possibly in time, reduces the equipment failure rate and the maintenance cost, enables maintenance personnel and users to know the operation condition of the tractor in the fastest mode, and ensures the normal operation of the tractor. Currently, tractor data recording systems exist on the market that are largely divided into two categories. One type is a factory-matched system provided by foreign well-known tractor manufacturers for their particular make or model, which is typically integrated deep into the tractor's navigation or auxiliary farming module. The other type is simple data recording function of the domestic part of agricultural machinery products, and the functions are relatively single. Existing data recording systems have significant limitations. Firstly, the data record and display content of the system are usually solidified when leaving the factory, and a user cannot customize data items required to be collected or mainly displayed according to actual monitoring requirements, so that the flexibility is poor. And secondly, because protocols of all manufacturers are not uniform and data formats among different systems are not compatible with each other, maintenance personnel are difficult to compare and analyze data of various tractors by utilizing a uniform tool, and the complexity and cost of operation and maintenance are increased. Therefore, developing a universal tractor data recording system that is compatible with protocols, flexible in configuration, and widely applicable has become a technical problem to be solved in the art. Disclosure of Invention According to the technical problems that the existing tractor data recording system is poor in universality and cannot flexibly configure data items according to requirements, so that the maintenance cost is high and the analysis efficiency is low, the tractor data recording system and the tractor data recording method are provided. The recorder can receive and store operation data and fault data only by matching with a tractor transmission protocol after communication is established, the data is presented in a friendly visual mode, and the recording system can not only present all data, but also flexibly configure display information to facilitate analysis and viewing when the data amount is large or only partial data information is required to be displayed. The invention adopts the following technical means: A tractor data recording system comprising: A data recording device comprising a data receiving device and a data storage device; the data analysis device is in communication connection with the data recording device and comprises a data configuration device and a data display device; The data receiving device is used for establishing communication connection with the recorded tractor and receiving a data packet sent by the recorded tractor, wherein the data packet comprises application data, and the application data comprises operation data and fault data; The data storage device is used for storing application data into a structured data file and managing the structured data file according to a preset storage management strategy; The data configuration device is used for configuring according to the communication protocol of the recorded tractor and generating a corresponding protocol configuration file; The data display device is used for reading the protocol configuration file and the structured data file, and analyzing and visually displaying application data. Further, the data storage device receives the application data from the data receiving device in a periodic manner, and records the application data received in each period as one line of data in the structured data file; The storage format of each row of data in the structured data file is that the first column stores time information, the subsequent column stores application data with the fixed byte number as a unit, and if the length of the application data is less than the integral multiple of the fixed byte number, byte filling is carried out. Further, the fixed number of bytes is 4 bytes. Further, the data storage device manages the structured data file according to a storage management policy, which