Vehicle calibration file checking method and device, electronic equipment and storage medium

By performing data dictionary matching checks and corrections on vehicle calibration documents, the problem of low efficiency in calibration document checks was solved, achieving efficient and accurate calibration document checks, simplifying the calibration engineering process, and improving development efficiency.

CN116578535BActive Publication Date: 2026-01-02CHINA FAW CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202310387494.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-04-12
Publication Date
2026-01-02
Estimated Expiration
2043-04-12

AI Technical Summary

Technical Problem

In the existing technology, the calibration document checking efficiency of vehicle electronic control systems is low, resulting in inconsistent variable types, which affects the system development progress and efficiency.

Method used

By acquiring the vehicle calibration file to be inspected, parsing and populating it into a pre-established data dictionary, performing data type matching checks, and outputting the target calibration values ​​that do not match, automated inspection and correction are achieved.

Benefits of technology

It improved the efficiency and accuracy of vehicle calibration document inspection, simplified the calibration process, reduced the workload of technical developers, and improved development efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116578535B_ABST
    Figure CN116578535B_ABST
Patent Text Reader

Abstract

The application discloses a kind of vehicle calibration file checking method, device, electronic equipment and storage medium.Its features include: obtaining vehicle calibration file to be checked, determine the vehicle calibration quantity in the vehicle file;The vehicle calibration quantity is filled into the data dictionary established in advance, and the calibration quantity dictionary is obtained;If the target calibration quantity that does not match the preset basic data type is not found in the calibration quantity dictionary, the vehicle calibration file is output.The automatic check of vehicle calibration file is realized, the repetitive and tedious manual inspection process is effectively reduced, the work load of developer is reduced, and the efficiency of vehicle calibration engineering development is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of vehicle calibration engineering, and in particular to a vehicle calibration file checking method and device, an electronic device and a storage medium. BACKGROUND

[0002] Automobile intelligent operation is an important direction of current vehicle development, and vehicle intelligence relies on vehicle electronic control systems. The system development of vehicle electronic control systems affects the intelligent level of vehicles. Therefore, the efficiency and stability of vehicle electronic control system development are very important. During the system development of vehicle electronic control systems, the underlying developers generate code through configuration tools. The underlying developers issue a version A2L (ASAP2 ECU Description File) file. The A2L file issued by the underlying developers contains configuration information related to the host computer. For the observation and calibration quantities in development, the application developers need to define variable types in the development tool and add data locators at the beginning and end of the variable after modeling and generating code in the development tool. The application developers generate another A2L file about variable information in the development tool. Then, the application developers combine the A2L file released by the underlying developers with the A2L file generated by themselves using the calibration host computer tool to form a complete A2L file. However, when the application developers generate the A2L file of variable information using the calibration tool, the base type of the enumeration quantity in the A2L file may be inconsistent with the source code. The calibration tool generates the enumeration quantity of the byte type as the enumeration quantity of the long type. When the application developers perform calibration operations, the calibration host computer tool sends the address corresponding to the calibration quantity. The calibration host computer tool aligns the four-byte address of the variable address corresponding to the long type, and aligns the one-byte address of the variable address corresponding to the byte type. Since the calibration host computer tool exports the enumeration quantity of the byte type as the enumeration quantity of the long type, the address of the XCP (Universal Calibration Protocol) command calibration quantity base address changes (for example, the address in the command sending base address of the PID F6 does not match the actual address). In the prior art, the application engineers need to modify the variable types that appear to be wrong one by one, which affects the progress of the system development of the vehicle electronic control system, and the system development efficiency of the vehicle electronic control system is very low. SUMMARY

[0003] The present application provides a vehicle calibration file checking method, device, electronic device and storage medium to realize automatic checking of vehicle calibration files.

[0004] According to an aspect of the present application, a vehicle calibration file checking method is provided, comprising:

[0005] obtaining a vehicle calibration file to be checked, determining vehicle calibration quantities in the vehicle file;

[0006] filling the vehicle calibration quantities into a pre-established data dictionary to obtain a calibration quantity dictionary;

[0007] if a target calibration quantity that does not match a preset basic data type is not found in the calibration quantity dictionary, outputting the vehicle calibration file.

[0008] According to another aspect of the present application, there is provided a vehicle calibration file checking device, comprising:

[0009] a file parsing module configured to obtain a vehicle calibration file to be checked, and determine vehicle calibration quantities in the vehicle file;

[0010] a dictionary filling module configured to fill the vehicle calibration quantities into a pre-established data dictionary to obtain a calibration quantity dictionary;

[0011] a file checking module configured to, if a target calibration quantity that does not match a preset basic data type is not found in the calibration quantity dictionary, output the vehicle calibration file.

[0012] According to another aspect of the present application, there is provided an electronic device, comprising:

[0013] at least one processor; and

[0014] a memory connected to the at least one processor in communication; wherein,

[0015] the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to execute the vehicle calibration file checking method according to any one of the embodiments of the present application.

[0016] According to another aspect of the present application, there is provided a computer readable storage medium storing computer instructions for enabling a processor to execute the vehicle calibration file checking method according to any one of the embodiments of the present application.

[0017] The technical scheme of the embodiment of the present application acquires a vehicle calibration file to be checked, determines a vehicle calibration quantity in the vehicle file, loads and parses the vehicle calibration file, and improves the efficiency of file checking; fills the vehicle calibration quantity into a pre-established data dictionary to obtain a calibration quantity dictionary, and through the data dictionary, one-to-one correspondence between the vehicle calibration quantity and the data type of the calibration quantity is performed, and then each calibration quantity is checked and corrected, thereby improving the checking efficiency of the vehicle calibration file; if a target calibration quantity that does not match a preset basic data type is not queried in the calibration quantity dictionary, the vehicle calibration file is output. After the vehicle calibration file is checked without error, the vehicle calibration file is output. The data type of each calibration quantity of the vehicle calibration file is checked, the efficiency of the staff in checking the vehicle calibration file is effectively improved, the accuracy of the checking is improved, the technical problem of low checking efficiency of the vehicle calibration file in the prior art is solved, the process of the vehicle calibration project is simplified, the work load of the technical developer is reduced, and the development efficiency of the vehicle calibration project is improved.

[0018] It should be understood that the content described in this part is not intended to identify key or important features of the embodiments of the present application, nor is it intended to limit the scope of the present application. Other features of the present application will become apparent from the following description. BRIEF DESCRIPTION OF DRAWINGS

[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the embodiment description will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.

[0020] Figure 1 is a flowchart of a vehicle calibration file checking method provided by the first embodiment of the present application;

[0021] Figure 2 is a flowchart of another vehicle calibration file checking method provided by the second embodiment of the present application;

[0022] Figure 3 is a structural schematic diagram of a vehicle calibration file checking device provided by the fourth embodiment of the present application;

[0023] Figure 4 is a structural schematic diagram of an electronic device for implementing the vehicle calibration file checking method of the embodiment of the present application. DETAILED DESCRIPTION

[0024] In the following, the technical solutions in the embodiments of the present application will be described clearly and completely with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all the other embodiments obtained by a person of ordinary skill in the art without creative effort should belong to the protection scope of the present application.

[0025] Embodiment one

[0026] Figure 1 is a flowchart of a method for checking a vehicle calibration file provided by the embodiment one of the present application. The embodiment can be applied to the case of checking a vehicle calibration file. The method can be executed by a vehicle calibration file checking device. The vehicle calibration file checking device can be realized in the form of hardware and / or software. The vehicle calibration file checking device can be configured in an electronic device. As shown in the figure, the method comprises the following steps. Figure 1

[0027] S110, acquiring a vehicle calibration file to be checked, and determining vehicle calibration quantities in the vehicle file.

[0028] The vehicle calibration file can be an A2L file. The vehicle calibration file is used to define information communicated between an upper computer and an ECU in a vehicle calibration process. The vehicle calibration quantities can be software parameters calibrated by a calibration engineer on a vehicle controller.

[0029] Optionally, in the vehicle calibration file, the vehicle calibration quantities calibrated by the engineer are described. The vehicle calibration quantities in the vehicle calibration file can be acquired by analyzing the vehicle calibration file.

[0030] Specifically, the vehicle calibration file to be checked is acquired, the vehicle calibration file is analyzed, and vehicle calibration quantities described in the vehicle calibration file are determined.

[0031] Optionally, in another optional embodiment of the present application, the acquiring of the vehicle calibration file to be checked and the determining of the vehicle calibration quantities in the vehicle file comprise the following steps.

[0032] The vehicle calibration file is analyzed and matched according to a preset analysis processing function, and the construction data type of the vehicle calibration quantities of the calibration vehicle and the basic data type of the vehicle calibration quantities are determined.

[0033] The construction data type can be a data type defined by a vehicle engineer according to a syntax rule. For example, the construction data type can be at least one of an array, a pointer, a reference, a structure, an enumeration, and a class.

[0034] ​The basic data type can be a basic data type in a programming language. For example, the basic data type includes at least one of byte, short, int, long, float, double, boolean, and char.

[0035] The parsing processing function can be a function pre-set for parsing the vehicle calibration file. It should be noted that the vehicle calibration file includes bus information, vehicle calibration quantity, observation quantity, address information, and other information. After obtaining the vehicle calibration file, the vehicle calibration quantity in the vehicle calibration file can be determined by parsing the vehicle calibration file through the parsing processing function.

[0036] Specifically, a parsing processing function for parsing and matching is pre-established, the vehicle calibration file is parsed and matched through the parsing processing function, the data contained in the vehicle calibration file is parsed, and the construction data type of the vehicle calibration quantity in the vehicle calibration file and the basic data type of the vehicle calibration quantity are determined.

[0037] S120, fill the vehicle calibration quantity into the pre-established data dictionary to obtain a calibration quantity dictionary.

[0038] The data dictionary can be a dictionary data structure pre-set for storing the vehicle calibration quantity. For example, the data dictionary can be a Python dictionary data structure, which is composed of key-value pairs.

[0039] The calibration quantity dictionary can be a data dictionary filled with the vehicle calibration quantity and the corresponding data structure of the vehicle calibration quantity.

[0040] Specifically, the basic data type corresponding to the vehicle calibration quantity and the vehicle calibration quantity is obtained, and the basic data type corresponding to the vehicle calibration quantity and the vehicle calibration quantity is filled into the data dictionary in the form of key-value pairs according to the data structure of the data dictionary, to obtain the calibration quantity dictionary.

[0041] S130, if the target calibration quantity that does not match the preset basic data type is not found in the calibration quantity dictionary, output the vehicle calibration file.

[0042] The preset basic data type can be a basic data type of a standard calibration quantity corresponding to the target calibration quantity calibrated by the application developer through the calibration tool. The preset basic data type can be used to determine whether the basic data type of the vehicle calibration file after compilation has a compilation error.

[0043] Specifically, the vehicle calibration quantity stored in the calibration quantity dictionary and the data type corresponding to the vehicle calibration quantity are acquired, and then each vehicle calibration quantity and the basic data type corresponding to the vehicle calibration quantity are matched one by one, and if no target calibration quantity that does not match the preset basic data type is found in the calibration quantity dictionary, the vehicle calibration file is output.

[0044] The technical scheme of the embodiment of the application improves the efficiency of file checking by acquiring a vehicle calibration file to be checked, determining vehicle calibration quantities in the vehicle file, loading and analyzing the vehicle calibration file, filling the vehicle calibration quantities into a data dictionary established in advance to obtain a calibration quantity dictionary, and one-by-one corresponding the vehicle calibration quantities and the data types of the calibration quantities through the data dictionary, and then checking and correcting each calibration quantity, thereby improving the checking efficiency of the vehicle calibration file. If no target calibration quantity that does not match the preset basic data type is found in the calibration quantity dictionary, the vehicle calibration file is output, and after the vehicle calibration file is checked without error, the vehicle calibration file is output. The checking of the basic data types of each calibration quantity in the vehicle calibration file is realized, the efficiency of the staff in checking the vehicle calibration file is effectively improved, the accuracy of the checking is improved, the technical problem of low checking efficiency of the vehicle calibration file in the prior art is solved, the process of the vehicle calibration project is simplified, the work load of the technical developers is reduced, and the development efficiency of the vehicle calibration project is improved.

[0045] Embodiment Two

[0046] Figure 2 is a flowchart of another vehicle calibration file checking method provided by the second embodiment of the application, and the relationship between the embodiment and the above-mentioned embodiment is that a data dictionary is established and the vehicle calibration quantities are checked. As shown in Figure 2 the vehicle calibration file checking method comprises the following steps.

[0047] S210, acquiring a vehicle calibration file to be checked, and determining vehicle calibration quantities in the vehicle file.

[0048] S220, determining the target calibration quantity according to the construction data type of the vehicle calibration quantity; filling the target calibration quantity into a data dictionary established in advance to obtain a calibration quantity dictionary.

[0049] The target calibration quantity can be a vehicle calibration quantity whose construction data type satisfies a filling condition.

[0050] Specifically, the vehicle calibration quantity and a construction data type corresponding to the vehicle calibration quantity are acquired, the construction data type corresponding to the vehicle calibration quantity is detected, the target calibration quantity is determined according to the construction data type of the vehicle calibration quantity, the construction data type and the basic data column of the target calibration quantity are acquired, the target calibration quantity is filled into the data dictionary, and a calibration quantity dictionary is obtained.

[0051] Optionally, in another optional embodiment of the present application, the determining of the target calibration quantity according to the data type of the vehicle calibration quantity comprises:

[0052] The construction data type of all vehicle calibration quantities in the vehicle calibration file is traversed; if the construction data type of the vehicle calibration quantity is a target construction data type, the vehicle calibration quantity is determined as the target calibration quantity.

[0053] The target construction data type can be a data type preset for judging whether the construction data type meets the storage into the data dictionary. For example, the target construction data type can be an enumeration type.

[0054] Specifically, all vehicle calibration quantities in the vehicle calibration file are acquired, the vehicle calibration file is traversed, the construction data type corresponding to each vehicle calibration quantity is determined, it is judged whether the construction data type corresponding to the vehicle calibration quantity is a target construction data type, if the construction data type corresponding to the vehicle calibration quantity is not the target construction data type, the vehicle calibration quantity is continuously traversed; and if the construction data type corresponding to the vehicle calibration quantity is the target construction data type, the vehicle calibration quantity is determined as the target calibration quantity.

[0055] Optionally, in another optional embodiment of the present application, the filling of the target calibration quantity into the pre-established data dictionary to obtain a calibration quantity dictionary comprises:

[0056] The target calibration quantity is taken as a data index of the data dictionary, a basic data type of the target calibration quantity is taken as a data value of the data dictionary, and the target calibration quantity is sequentially filled into the pre-established data dictionary to obtain a calibration quantity dictionary.

[0057] The data index can be a key of a key-value pair in the data dictionary, and the data value can be a value of the key-value pair in the data dictionary.

[0058] Specifically, the target calibration quantity is an enumeration type vehicle calibration quantity, the target calibration quantity is taken as a data index of the data dictionary, a basic data type of the target calibration quantity is taken as a data value corresponding to the data index, and the target calibration quantity is sequentially filled into the data dictionary to obtain a calibration quantity dictionary.

[0059] S230, if the target calibration quantity that does not match the preset basic data type is not queried in the calibration quantity dictionary, the vehicle calibration file is output.

[0060] Optionally, the target calibration quantity in the data dictionary is traversed to determine a standard calibration quantity corresponding to the target calibration quantity, a basic data type of the standard calibration quantity is obtained, the basic data type of the standard calibration quantity is determined as a preset basic data type, the basic data type corresponding to the target calibration quantity is compared and matched with the preset basic data type, if the basic data type of the target calibration quantity is the same as the preset basic data type, the next target calibration quantity is continuously traversed, when the target calibration quantities in the data dictionary are all traversed and there is no target calibration quantity that does not match the preset basic data type, it is considered that the vehicle calibration file checking is successful, and the vehicle calibration file is output. The standard calibration quantity can be a vehicle calibration quantity calibrated by an application developer in a development tool.

[0061] Optionally, in another optional embodiment of the application, the method further comprises:

[0062] If the target calibration quantity matching the preset data type is found in the calibration quantity dictionary, the calibration quantity dictionary is updated according to the preset basic data type, the vehicle calibration quantity in the vehicle calibration file is data updated according to the updated calibration quantity dictionary, and the updated vehicle calibration file is output.

[0063] Specifically, the target calibration quantity in the data dictionary is traversed to determine a standard calibration quantity corresponding to the target calibration quantity, a basic data type of the standard calibration quantity is obtained, the basic data type of the standard calibration quantity is determined as a preset basic data type, the basic data type corresponding to the target calibration quantity is compared and matched with the preset basic data type, if the basic data type of the target calibration quantity does not match the preset basic data type, the calibration quantity dictionary is updated according to the preset basic data type, and the next target calibration quantity is continuously traversed, when the target calibration quantities in the data dictionary are all traversed, the updated calibration quantity dictionary is determined, and then the vehicle calibration quantity in the vehicle calibration file is data updated according to the updated calibration quantity dictionary, and the updated vehicle calibration file is output.

[0064] Optionally, in another optional embodiment of the application, the calibration quantity dictionary is updated according to the preset standard data type, which comprises: obtaining a data value corresponding to the target calibration quantity in the calibration quantity dictionary, and modifying the data value to a preset basic data type.

[0065] Specifically, if the basic data type of the target calibration quantity does not match the preset basic data type, a data value corresponding to the target calibration quantity in the calibration quantity dictionary is obtained, and the data value is modified to the preset basic data type.

[0066] The technical scheme of the embodiment of the present application acquires a vehicle calibration file to be checked, determines vehicle calibration quantities in the vehicle file, loads and parses the vehicle calibration file, and improves the efficiency of file checking; fills the vehicle calibration quantities into a pre-established data dictionary to obtain a calibration quantity dictionary, and through the data dictionary, one-to-one correspondence between the vehicle calibration quantities and data types of the calibration quantities is performed, and then each calibration quantity is checked and corrected, thereby improving the checking efficiency of the vehicle calibration file; if a target calibration quantity that does not match a preset basic data type is not queried in the calibration quantity dictionary, the vehicle calibration file is output. After the vehicle calibration file is checked without error, the vehicle calibration file is output. The checking of the data types of each calibration quantity of the vehicle calibration file is realized, the efficiency of the staff in checking the vehicle calibration file is effectively improved, the accuracy of the checking is improved, the technical problem of low checking efficiency of the vehicle calibration file in the prior art is solved, the process of the vehicle calibration project is simplified, the work load of the technical developers is reduced, and the development efficiency of the vehicle calibration project is improved.

[0067] Optionally, the embodiment of the present application discloses another method for checking a vehicle calibration file, and the method comprises the following steps:

[0068] S1, import python for processing A2L file, and establish a parsing processing function for receiving A2L file.

[0069] S2, establish a python language dictionary data structure, set a data index as a target calibration quantity, the data value corresponding to each data index is a basic data type of the target calibration quantity, and fill the data dictionary by traversing the A2L file to obtain a calibration quantity dictionary.

[0070] S3, match the data index in the dictionary with the calibration quantity of the preset basic data type defined by a calibration tool one by one, compare the data value corresponding to each data index value, and perform value assignment operation on the data value that does not match, and modify the data value to the preset basic data type.

[0071] S4: save and output the corrected A2L file.

[0072] The technical scheme of the embodiment of the present application can realize the checking of the data types of each calibration quantity of the vehicle calibration file, effectively improve the efficiency of the staff in checking the vehicle calibration file, improve the accuracy of the checking, solve the technical problem of low checking efficiency of the vehicle calibration file in the prior art, simplify the process of the vehicle calibration project, reduce the work load of the technical developers, and improve the development efficiency of the vehicle calibration project.

[0073] Embodiment three

[0074] Figure 3Fig. 1 is a structural schematic diagram of a vehicle calibration file checking device provided in Embodiment Four of the present application. As shown in Fig. 1, the device comprises a file parsing module 310, a dictionary filling module 320 and a file checking module 330, wherein, Figure 3

[0075] The file parsing module 310 is configured to acquire a vehicle calibration file to be checked, and determine vehicle calibration quantities in the vehicle file.

[0076] The dictionary filling module 320 is configured to fill the vehicle calibration quantities into a pre-established data dictionary to obtain a calibration quantity dictionary.

[0077] The file checking module 330 is configured to output the vehicle calibration file if a target calibration quantity that does not match a preset basic data type is not queried in the calibration quantity dictionary.

[0078] The technical scheme of the present application acquires a vehicle calibration file to be checked, determines vehicle calibration quantities in the vehicle file, loads and parses the vehicle calibration file, and improves the efficiency of file checking. The vehicle calibration quantities are filled into a pre-established data dictionary to obtain a calibration quantity dictionary. The vehicle calibration quantities and the data types of the calibration quantities are one-to-one corresponding through the data dictionary, and then each calibration quantity is checked and corrected, thereby improving the checking efficiency of the vehicle calibration file. If a target calibration quantity that does not match a preset basic data type is not queried in the calibration quantity dictionary, the vehicle calibration file is output. After the vehicle calibration file is checked without error, the vehicle calibration file is output. The data types of each calibration quantity of the vehicle calibration file are checked, the efficiency of the staff in checking the vehicle calibration file is effectively improved, the accuracy of the checking is improved, the technical problem of low checking efficiency of the vehicle calibration file in the prior art is solved, the process of the vehicle calibration engineering is simplified, the work load of the technical developers is reduced, and the development efficiency of the vehicle calibration engineering is improved.

[0079] Optionally, the file parsing module is specifically configured to:

[0080] According to a preset parsing processing function, the vehicle calibration file is parsed and matched to determine the construction data type of the vehicle calibration quantity of the calibration vehicle and the basic data type of the vehicle calibration quantity.

[0081] Optionally, the dictionary filling module is specifically configured to:

[0082] According to the construction data type of the vehicle calibration quantity, the target calibration quantity is determined.

[0083] The target calibration quantity is filled into a pre-established data dictionary to obtain a calibration quantity dictionary.

[0084] ​Optionally, the dictionary filling module is specifically further configured to:

[0085] traverse the construction data type of all vehicle calibration quantities in the vehicle calibration file;

[0086] If the construction data type of the vehicle calibration quantity is the target construction data type, the vehicle calibration quantity is determined as the target calibration quantity.

[0087] Optionally, the dictionary filling module is specifically further configured to:

[0088] The target calibration quantity is used as the data index of the data dictionary, the basic data type of the target calibration quantity is the data value of the data dictionary, and the target calibration quantity is sequentially filled into the pre-established data dictionary to obtain a calibration quantity dictionary.

[0089] The device further comprises a dictionary updating module and a file updating module, wherein,

[0090] The dictionary updating module is configured to, if the target calibration quantity matching the preset basic data type is queried in the calibration quantity dictionary, update the calibration quantity dictionary according to the preset basic data type;

[0091] The file updating module is configured to perform data updating on the vehicle calibration quantity in the vehicle calibration file according to the updated calibration quantity dictionary, and output an updated vehicle calibration file.

[0092] Optionally, the dictionary updating module is specifically configured to:

[0093] The data value corresponding to the target calibration quantity in the calibration quantity dictionary is obtained, and the data value is modified as the preset basic data type.

[0094] The vehicle calibration file checking device provided in the embodiments of the present application can execute the vehicle calibration file checking method provided in any of the embodiments of the present application, and has the corresponding function modules and beneficial effects of the execution method.

[0095] Embodiment four

[0096] Figure 4A structural diagram of an electronic device 10 that can be used to implement embodiments of the present application is shown. The electronic device is intended to represent various forms of digital computers, such as laptops, desktops, tablets, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device can also represent various forms of mobile devices, such as personal digital assistants, cellular telephones, smartphones, wearable devices (e.g., headsets, glasses, watches, etc.), and other similar computing devices. The components shown here, their connections and relationships, and their functions, are meant to be examples only, and are not intended to limit the implementations of the present application described and / or claimed in this document.

[0097] As shown, Figure 4 The electronic device 10 includes at least one processor 11, and a memory, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., connected in communication with the at least one processor 11, where the memory stores computer programs executable by the at least one processor. The processor 11 can perform various appropriate actions and processes according to the computer programs stored in the read-only memory (ROM) 12 or loaded into the random access memory (RAM) 13 from the storage unit 18. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0098] Various components in the electronic device 10 are connected to the I / O interface 15, including an input unit 16, such as a keyboard, a mouse, etc., an output unit 17, such as various types of displays, a speaker, etc., a storage unit 18, such as a magnetic disk, an optical disk, etc., and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network, such as the Internet, and / or various telecommunication networks.

[0099] The processor 11 can be various general and / or special purpose processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 performs various methods and processes described above, such as the inspection method of the vehicle calibration file.

[0100] In some embodiments, the method of checking a vehicle calibration file can be implemented as a computer program tangibly embodied in a computer readable storage medium, e.g., storage unit 18. In some embodiments, parts or all of the computer program can be loaded and / or installed onto electronic device 10 via, e.g., ROM 12 and / or communication unit 19. When the computer program is loaded onto RAM 13 and executed by processor 11, one or more steps of the method of checking a vehicle calibration file as described above can be performed. Alternatively, in other embodiments, processor 11 can be configured to perform the method of checking a vehicle calibration file by other means, e.g., by way of firmware.

[0101] Various implementations of the systems and techniques described above can be realized in digital electronic circuitry, integrated circuitry, specially designed application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include implementation in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which can be special or general purpose, coupled to receive data and instructions from, and to transmit data and instructions to, a storage system, at least one input device, and at least one output device.

[0102] Computer programs used to implement the methods of the application can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the computer program, when executed by the processor of the machine, implements the functions / acts specified in the flowcharts and / or block diagrams. The computer program can be executed entirely on a machine, partially on a machine, partially on a machine and partially on a remote machine or entirely on a remote machine or server.

[0103] In the context of the present application, a computer-readable storage medium can be a tangible medium that can contain or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. A computer-readable storage medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium can be a machine-readable signal medium. More specific examples of a machine-readable storage medium will include one or more lines of a program of instructions in a transitory signal, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0104] To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the electronic device. Other kinds of devices can be used to provide for interaction with a user as well; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.

[0105] The systems and techniques described here can be implemented in a computing system that includes a back end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front end component (e.g., a user computer having a graphical user interface or a Web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back end, middleware, or front end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0106] The computing system can include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. A server can be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system, to solve the defects of large management difficulty and weak business scalability in traditional physical host and VPS service.

[0107] It should be understood that the various forms of flow shown above can be reordered, additional steps added, or steps deleted. For example, the steps described in the present application can be performed in parallel, sequentially, or in a different order, as long as the desired results of the technical solutions of the present application can be achieved, which are not limited herein.

[0108] Embodiment five

[0109] The embodiment provides a computer readable storage medium, which stores a computer program, the program is executed by a processor to realize steps of a vehicle calibration file checking method provided by any embodiment of the present application, the method comprises the following steps:

[0110] Obtaining a vehicle calibration file to be checked, and determining a vehicle calibration quantity in the vehicle file;

[0111] Filling the vehicle calibration quantity into a pre-established data dictionary to obtain a calibration quantity dictionary;

[0112] If the target calibration quantity that does not match the preset basic data type is not queried in the calibration quantity dictionary, the vehicle calibration file is output.

[0113] The computer storage medium of the embodiment of the present application can adopt any combination of one or more computer readable media. The computer readable medium can be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium may, for example, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or component, or any combination thereof. More specific examples (non-exhaustive list) of the computer readable storage medium include: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this document, the computer readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, device or component.

[0114] A computer readable signal medium can include a propagated data signal with computer executable code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated signal can take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium can be any computer readable medium that can be involved in

[0115] The code can be transmitted in any form, including, but not limited to, radio frequency, electrical, optical, acoustical, or any suitable combination thereof. The code may

[0116] Computer program code for carrying out operations of the present application can be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may

[0117] Those of ordinary skill in the art will appreciate that the modules, steps, and operations of the present application described above can be implemented using general computing devices, and that they can be centralized in a single computing device or distributed among multiple computing devices, optionally connected by a network, and that they can be implemented using program code executable by the computing devices, stored in a storage device and executed by the computing devices, or they can be implemented as individual integrated circuit modules, or multiple ones of the modules or steps can be implemented as a single integrated circuit module, and that the present application is not limited to any particular combination or arrangement of hardware and software.

[0118] It will be appreciated that the steps shown in the various forms above can be reordered, added to, or removed from. For example, the steps recited in the present application can be performed in parallel, in series, or in a different order, and the present application is not limited in this regard.

[0119] The above detailed description does not limit the scope of the application. Various modifications, combinations, sub-combinations and alternatives can be made to the detailed description. Any modification, equivalent replacement and improvement etc. made within the spirit and principle of the application shall be included in the scope of the application.

Claims

1. A method of checking a vehicle calibration file, characterized by, The method comprises the following steps: acquiring a vehicle calibration file to be checked, and determining vehicle calibration quantities in the vehicle calibration file; filling the vehicle calibration quantities into a pre-established data dictionary to obtain a calibration quantity dictionary; if a target calibration quantity that does not match a preset basic data type is not found in the calibration quantity dictionary, outputting the vehicle calibration file; the method further comprises: if a target calibration quantity that does not match a preset basic data type is found in the calibration quantity dictionary, updating the calibration quantity dictionary according to the preset basic data type; updating the vehicle calibration quantities in the vehicle calibration file according to the updated calibration quantity dictionary, and outputting an updated vehicle calibration file.

2. The method of claim 1, wherein, The step of acquiring a vehicle calibration file to be checked and determining vehicle calibration quantities in the vehicle calibration file comprises the following steps: performing analysis and matching on the vehicle calibration file according to a preset analysis processing function, and determining a construction data type of the vehicle calibration quantities of the calibrated vehicle and a basic data type of the vehicle calibration quantities.

3. The method of claim 2, wherein, The step of filling the vehicle calibration quantities into a pre-established data dictionary to obtain a calibration quantity dictionary comprises the following steps: determining the target calibration quantity according to the construction data type of the vehicle calibration quantities; filling the target calibration quantity into a pre-established data dictionary to obtain a calibration quantity dictionary.

4. The method of claim 3, wherein, The step of determining the target calibration quantity according to the data type of the vehicle calibration quantities comprises the following steps: traversing the construction data types of all vehicle calibration quantities of the vehicle calibration file; if the construction data type of the vehicle calibration quantity is a target construction data type, determining the vehicle calibration quantity as the target calibration quantity.

5. The method of claim 4, wherein, The step of filling the target calibration quantity into a pre-established data dictionary to obtain a calibration quantity dictionary comprises the following steps: taking the target calibration quantity as a data index of the data dictionary, taking the basic data type of the target calibration quantity as a data value of the data dictionary, and filling the target calibration quantity into a pre-established data dictionary in sequence to obtain a calibration quantity dictionary.

6. The method of claim 1, wherein, The step of updating the calibration quantity dictionary according to the preset standard data type comprises the following steps: acquiring a data value corresponding to the target calibration quantity in the calibration quantity dictionary, and modifying the data value into a preset basic data type.

7. An apparatus for automated checking of vehicle calibration files, characterized by The method comprises the following steps: a file analysis module is configured to acquire a vehicle calibration file to be checked, and determine vehicle calibration quantities in the vehicle calibration file; a dictionary filling module is configured to fill the vehicle calibration quantities into a pre-established data dictionary to obtain a calibration quantity dictionary; a file checking module is configured to output the vehicle calibration file if a target calibration quantity that does not match a preset basic data type is not found in the calibration quantity dictionary; the device further comprises a dictionary updating module and a file updating module, wherein the dictionary updating module is configured to update the calibration quantity dictionary according to a preset basic data type if a target calibration quantity that does not match a preset basic data type is found in the calibration quantity dictionary; the file updating module is configured to update the vehicle calibration quantities in the vehicle calibration file according to the updated calibration quantity dictionary, and output an updated vehicle calibration file.

8. An electronic device, comprising: The electronic device comprises: at least one processor; and a memory connected in communication with the at least one processor; wherein The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to perform the method for automated checking of vehicle calibration files according to any one of claims 1-6.

9. A computer-readable storage medium, characterized in that, The computer readable storage medium stores computer instructions for enabling the processor to implement the method for automated checking of vehicle calibration files according to any one of claims 1-6 when executed.

Citation Information

Patent Citations

  • Method and device for processing A2L file of vehicle-mounted controller

    CN113076092A

  • Calibration data management method and device

    CN114723318A

  • Method and device for processing mapping file in vehicle calibration project, equipment and medium

    CN116382699A