CN-121979703-A - Method, system, equipment and storage medium for automatically checking electric control data
Abstract
The invention discloses a method, a system, equipment and a storage medium for automatically checking electric control data, belongs to the technical field of automobile engines, and solves the technical problem of low manual checking work efficiency. The method comprises the steps of constructing a source file page frame, a target file page frame and a comparison result display frame, obtaining at least one whole vehicle function source file and an electric control data target file which is required to be checked, constructing a source file template, a target file template and a comparison rule base, reading variables in the whole vehicle function source file and storing the variables in the source file template, reading variables in the electric control data target file and storing the variables in the target file template, comparing the two variables at the same position of the source file template and the target file template in sequence according to the comparison rule base, displaying a comparison result in the comparison result display frame, marking the inconsistent comparison variables, marking the electric control data target file corresponding to the inconsistent variables with the inconsistent marks, and generating a comparison file report and outputting the comparison file report.
Inventors
- LIU HAIMEI
- LI CHENGHAI
- QIN YANG
Assignees
- 广西玉柴机器股份有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20251231
Claims (10)
- 1. The automatic electric control data checking method is characterized by comprising the following steps of: step 1, constructing a source file page frame, a target file page frame and a comparison result display frame; step 2, obtaining at least one whole vehicle function source file through the source file page frame; step 3, acquiring an electric control data target file corresponding to the electric control data to be checked through the target file page frame; Step 4, constructing a source file template, a target file template and a comparison rule base; step 5, reading each variable in the whole vehicle function source file and storing the variable in the position corresponding to the source file template; Step 6, comparing the two variables at the same position of the source file template and the target file template in sequence according to the comparison rule base, displaying a comparison result on the comparison result display frame, marking the variable with inconsistent comparison, and marking the electric control data target file corresponding to the inconsistent variable with unequal marks; and 7, generating and outputting a comparison file report.
- 2. The method for automatically checking electronic control data according to claim 1, wherein the source file of the whole vehicle function is a hexadecimal byte format DCM file, and the DCM file comprises univariate, vector, curve and MAP.
- 3. The method for automatically checking electronic control data according to claim 1, wherein the electronic control data target file is a Hex file, and the Hex file contains variables for calibrating electronic control data of an engine.
- 4. The method for automatically checking electric control data according to claim 1, further comprising an A2L file calibrated by an electric control data bottom layer, wherein the A2L file is used for analyzing variables in a Hex file.
- 5. The method for automatically checking electronic control data according to claim 2, wherein the comparison rule base comprises a univariate comparison rule, a vector comparison rule, a curve comparison rule and a MAP comparison rule.
- 6. The method for automatically checking electronic control data according to claim 1, wherein the whole vehicle function source file and the electronic control data target file are imported into the source file page frame and the target file page frame through a pull-in operation mode.
- 7. A method of automatically checking electronic control data according to claim 1, wherein in step 6, the variable whose contrast is inconsistent is marked with a red color.
- 8. A system for automatically checking electronic control data, comprising: The page frame constructing module is used for constructing a source file page frame, a target file page frame and a comparison result display frame; the importing module is used for acquiring at least one whole vehicle function source file through the source file page frame and acquiring an electric control data target file which is required to be checked through the target file page frame; The template building module is used for building a source file template, a target file template and a comparison rule base; The reading module is used for reading each variable in the whole vehicle function source file and storing the variable in the source file template corresponding position; The comparison module is used for comparing the two variables at the same position of the source file template and the target file template in sequence according to the comparison rule base, displaying a comparison result on the comparison result display frame, marking the variable with inconsistent comparison, and marking the electric control data target file corresponding to the inconsistent variable with unequal marks; and the output module is used for generating and outputting a comparison file report.
- 9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements a method of automated checking of electronic control data according to any one of claims 1-7.
- 10. A computer readable storage medium having stored thereon a computer program, wherein the computer program when executed by a processor implements a method of automated checking of electronic control data according to any of claims 1-7.
Description
Method, system, equipment and storage medium for automatically checking electric control data Technical Field The invention relates to the technical field of automobile engines, in particular to a method, a system, equipment and a storage medium for automatically checking electric control data. Background Engine electronic control data verification refers to the process of verifying and correcting data stored or transmitted in an electronic control system (ECU) to ensure its accuracy, consistency and reliability. The process typically involves comparing to preset standards or reference data and generating a collation report to guide the subsequent adjustment. The traditional proofreading mode is mainly manual single proofreading, the proofreading links are tedious and repeated, the correction is easy to be carried out due to the fact that the eyes are tired, and the working efficiency is low. Disclosure of Invention The invention aims to solve the technical problems in the prior art, and provides a method for automatically checking electric control data, which can improve the working efficiency. The invention further provides a system for automatically checking the electric control data. The third object of the present invention is to provide a computer device. A fourth object of the present invention is to provide a computer storage medium. In order to achieve the above object, the present invention provides a method for automatically checking electric control data, comprising the following steps: step 1, constructing a source file page frame, a target file page frame and a comparison result display frame; step 2, obtaining at least one whole vehicle function source file through the source file page frame; step 3, acquiring an electric control data target file corresponding to the electric control data to be checked through the target file page frame; Step 4, constructing a source file template, a target file template and a comparison rule base; step 5, reading each variable in the whole vehicle function source file and storing the variable in the position corresponding to the source file template; Step 6, comparing the two variables at the same position of the source file template and the target file template in sequence according to the comparison rule base, displaying a comparison result on the comparison result display frame, marking the variable with inconsistent comparison, and marking the electric control data target file corresponding to the inconsistent variable with unequal marks; and 7, generating and outputting a comparison file report. As a further improvement, the whole vehicle function source file is a DCM file in hexadecimal byte format and comprises single variables, vectors, curves and MAP. Further, the electronic control data target file is a Hex file and contains variables for calibrating electronic control data of the engine. Further, the method also comprises an A2L file for calibrating the bottom layer of the electric control data, which is used for analyzing all variables in the Hex file. Further, the comparison rule base comprises a univariate comparison rule, a vector comparison rule, a curve comparison rule and a MAP comparison rule. Further, the whole vehicle function source file and the electric control data target file are imported into the source file page frame and the target file page frame through a pulling operation mode. Further, in step 6, variables that are inconsistent in contrast are marked red. In order to achieve the second object, the present invention provides a system for automatically checking electric control data, including: The page frame constructing module is used for constructing a source file page frame, a target file page frame and a comparison result display frame; the importing module is used for acquiring at least one whole vehicle function source file through the source file page frame and acquiring an electric control data target file which is required to be checked through the target file page frame; The template building module is used for building a source file template, a target file template and a comparison rule base; The reading module is used for reading each variable in the whole vehicle function source file and storing the variable in the source file template corresponding position; The comparison module is used for comparing the two variables at the same position of the source file template and the target file template in sequence according to the comparison rule base, displaying a comparison result on the comparison result display frame, marking the variable with inconsistent comparison, and marking the electric control data target file corresponding to the inconsistent variable with unequal marks; and the output module is used for generating and outputting a comparison file report. In order to achieve the third objective, the present invention provides a computer device, including a memory and a processor, where the memory stores a com