A2L file merging method and device

A file and object technology, applied in the field of data processing, can solve problems such as A2L file merging, and achieve the effect of saving costs

Active Publication Date: 2021-10-08
CONTEMPORARY AMPEREX TECH CO
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the embodiment of the present invention provides an A2L file merging method and device to solve the problem of A2L file merging in the prior art

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A2L file merging method and device
  • A2L file merging method and device
  • A2L file merging method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0055] An embodiment of the present invention provides an A2L file merging method.

[0056] Specifically, please refer to figure 1 , which is a schematic flow chart of the A2L file merging method provided by the embodiment of the present invention, such as figure 1 As shown, the method includes the following steps:

[0057] S101. Analyze each A2L file to obtain an A2L object.

[0058] S102. Update the address information of the A2L object according to the identifier of the A2L object.

[0059]S103. Merge the A2L objects whose address information has been updated to obtain a target A2L file.

[0060] Specifically, the document structure in the A2L file may include: a document header, an A2L object, and a document end. Among them, the document header includes the ASAM version information used by the A2L file, the project name corresponding to the A2L file, etc., and the document end corresponds to the document header, and a project end mark needs to be added at the end of th...

Embodiment 2

[0113] Based on the A2L file merging method provided in the first embodiment above, the embodiment of the present invention further provides an embodiment of a device for realizing each step and method in the above method embodiment.

[0114] Please refer to Figure 5 , which is a functional block diagram of an A2L file merging device provided by an embodiment of the present invention. Such as Figure 5 As shown, the device includes:

[0115] A parsing unit 51, configured to parse each A2L file to obtain an A2L object;

[0116] An updating unit 52, configured to update the address information of the A2L object according to the identifier of the A2L object;

[0117] The merging unit 53 is configured to merge the A2L objects whose address information has been updated to obtain a target A2L file.

[0118] Specifically, in the embodiment of the present invention, the parsing unit 51 is specifically used for:

[0119] Read the data in each A2L file line by line;

[0120] Iden...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

Embodiments of the present invention provide an A2L file merging method and device. The embodiment of the present invention obtains the A2L object by parsing each A2L file, and then updates the address information of the A2L object according to the identifier of the A2L object, and then merges the A2L objects after the address information is updated to obtain a Target A2L file. Therefore, the technical solution provided by the embodiment of the present invention can solve the problem of merging A2L files in the prior art and save costs.

Description

【Technical field】 [0001] The invention relates to the technical field of data processing, in particular to an A2L file merging method and device. 【Background technique】 [0002] At present, in the development process of automobile software, the software of automobile electronic control unit needs to calibrate and measure the data, and the data of calibration and measurement are generally stored in AASAM MCD-2MC format, and the file name ends with .a2l, referred to as A2L file . However, in the software development process of the car, multiple A2L files are usually generated, and only one A2L file can be input when performing data calibration. Therefore, it is very important to merge the A2L files. [0003] In the prior art, the A2L file merging tool of Vector is generally used, but there is no public A2L file merging method. 【Content of invention】 [0004] In view of this, an embodiment of the present invention provides an A2L file merging method and device to solve the ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G06F16/16
CPCG06F16/00
Inventor 钟韦张坤明
Owner CONTEMPORARY AMPEREX TECH CO
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products