Method for application database file self-adaptation electronic control unit (ECU) message collection
The invention relates to the field of automotive electronic technology composed of a plurality of electronic control units (ECUs), in particular to a method for application database file self-adaptation electronic control unit (ECU) message collection. A database computer (DBC) file supplied by a controller area network (CAN) bus is used for collecting a message system of ECU message dynamically, a remote service center converts the DBC file into a message collection control table which can be easily recognized by a car-mounted terminal, consequently the car-mounted terminal can quickly and selectively collect signal values in the ECU message needed by actual application, and therefore the phenomenon that redundancy message data are uploaded to a center system can be reduced. The method for application database file self-adaptation ECU message collection is outstanding in collecting car driver driving habit signal data application, communication flows can be reduced greatly under the condition that signal data are not compressed, a customizable and dynamically-expanding signal collection scheme can be supplied to an operational platform, and the problem of the complex DBC file of the car-mounted terminal can be solved. 1. An application database file adaptive collection ECU message method, characterized in that comprises the following steps: Step 1: remote center system into the used to describe CAN ECU bus network of the communication information of the data description file; Steps 2: remote center system analyzes the data description file, generating configuration information table and the ECU information ECU, the ECU information table in the table at least including: ECU information table ID for each record, in the ECU on the bus network CAN CANID and ECU name, ECU information configuration table in the table at least including: table each ECU information configuration ID of a record, each ECU information table ID of a record, the signal name, initial position signal value, the offset signal value, signal value-type, signal value units, signal value range; Steps 3 : remote center system from all the pre-selected ECU information table of the ECU in the ECU the name and all ECU CAN CANID on the bus network, the associated configuration information table ECU ECU information, obtained from the ECU information configuration table corresponding to a name of the name of the signal of the ECU, the initial position signal value, the offset signal value, signal value-type, signal value units, signal value range, and generates the message acquisition controlmeter, the message acquisition control table includes all CANID of the ECU, and the message acquisition control table is sent to the vehicle-mounted terminal; Steps 4: vehicle-mounted terminal to intercept CAN bus network message ECU, and according to the message acquisition controlmeter CANID CANID of screening and the ECU corresponding to the message, the message acquisition control table according to the designated CANID start position and the signal value of the offset signal value, ECU message from the interception of the ECU signal corresponding to the read in data block, and is filled to a predefined target signal data in the ECU, the ECU signal, creating a corresponding data object for storing linked list of the ECU signal data object; Steps 5: vehicle-mounted terminal every certain time interval of the acquisition of the ECU signal framing data object, the data form the ECU signal, and the assembling of the ECU signal data frame is transmitted to the remote center system. 2. An application database file adaptive collection ECU method of the message according to Claim 1, characterized in that the stated step 3 in, the message acquisition control table format is defined as: the number of ECU + { CANID + signal number + "signal sequence number + signal initial position + signal offset " signal number * } * number of the ECU. 3. An application database file adaptive collection ECU method of the message according to Claim 1, characterized in that the stated step 4 in, the ECU signals the definition of the data object is defined as the following data frame format: message number + { CANID + signal number + "signal sequence number + (signal value length + signal value) " signal number * } * number of the ECU. 4. An application database file adaptive collection ECU method of the message according to Claim 1, characterized in that the stated step 5 in, said ECU signal frame format of a data frame is defined as: GPS data milliseconds + + message number + { CANID + signal number + "signal sequence number + (signal value length + signal value) " signal number * } * the number of the message. 5. An application database file adaptive collection ECU method of the message according to Claim 1, characterized in that the said step 5 in, the certain time interval is the 1s-10s a value of.