Calibration data processing method and device, equipment, storage medium and program product

Through the differential calibration data table and differential method, differential calibration data are integrated to generate target calibration data for the target vehicle, solving the problems of numerous versions and complex management in vehicle calibration data management, and achieving efficient version management.

CN119911287APending Publication Date: 2025-05-02CHONGQING CHANGAN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510102373.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-22
Publication Date
2025-05-02

AI Technical Summary

Technical Problem

The prior art has problems of numerous versions and complex management when processing vehicle calibration data, which leads to high management costs and project progress.

Method used

The different calibration data corresponding to the configuration of the same vehicle model is uniformly managed through the differential calibration data table, the differential calibration data is integrated using the differential calibration data table and the basic calibration data are generated.

Benefits of technology

It realizes unified management of different calibration data of vehicles of the same vehicle model, solves the problems of numerous versions and complex management, and improves version management efficiency without increasing hardware costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119911287A_ABST
    Figure CN119911287A_ABST
Patent Text Reader

Abstract

The invention provides a calibration data processing method and device, equipment, a storage medium and a program product, and relates to the technical field of intelligent vehicles, and the method comprises the steps: obtaining a configuration identifier corresponding to the vehicle type of a target vehicle in response to a calibration data loading instruction for the target vehicle; according to the configuration identifier, to-be-modified calibration data and a target data value corresponding to the to-be-modified calibration data are obtained from a difference calibration data table, and the data in the difference calibration data table are obtained by integrating different calibration data corresponding to the configuration of the vehicle type through a difference method; replacing the initial value corresponding to the calibration data to be modified in the basic calibration data with the target data value to obtain target calibration data corresponding to the target vehicle; and loading the target calibration data. According to the invention, unified management of different calibration data of vehicles of the same model can be realized, the problems of various versions and complex management caused by various calibration data are solved, and the version management efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of intelligent vehicle technology, and in particular to a calibration data processing method, device, equipment, storage medium and program product. Background Art

[0002] With the rapid development of vehicle intelligence, the domain controller of the vehicle integrates more and more application algorithms corresponding to different functions. Various application algorithms are integrated and deployed in the domain controller, which involves the management of different calibration data. For example, the calibration data of power software is different based on different battery pack capacities; based on different emission sizes; based on different driving forms, etc.

[0003] At present, for different calibration data, usually one version of basic software is provided, based on which multiple versions of calibration software are provided for different vehicle models and different vehicle configurations. When debugging the vehicle, the difference calibration data is updated according to different vehicles. However, the above method of processing calibration data has the problem of numerous versions and complex management. Summary of the invention

[0004] The purpose of the present invention is to provide a calibration data processing method, device, equipment, storage medium and program product to solve the problem of multiple versions and complex management when processing calibration data in the current way.

[0005] In order to achieve the above object, the technical solution adopted by the present invention is as follows:

[0006] A calibration data processing method comprises: in response to a calibration data loading instruction for a target vehicle, obtaining a configuration identifier corresponding to the model of the target vehicle; obtaining, according to the configuration identifier, calibration data to be modified and target data values ​​corresponding to the calibration data to be modified from a difference calibration data table, wherein the data in the difference calibration data table is obtained by integrating different calibration data corresponding to the configuration of the model using a differential method; replacing the initial value corresponding to the calibration data to be modified in the basic calibration data with the target data value, and obtaining the target calibration data corresponding to the target vehicle; and loading the target calibration data.

[0007] According to the above technical means, different calibration data corresponding to the configuration of the same vehicle model are uniformly managed through a differential calibration data table, wherein the data in the differential calibration data table is obtained by integrating the different calibration data corresponding to the configuration of the vehicle model using a differential method, so as to obtain the target calibration data corresponding to the target vehicle based on the data in the differential calibration data table and the basic calibration data, thereby realizing unified management of different calibration data of vehicles of the same model, solving the problems of numerous versions and complex management caused by multiple calibration data, improving the efficiency of version management, and not increasing hardware costs.

[0008] Further, the difference calibration data table includes a first difference data table, a second difference data table and a third difference data table. According to the configuration identifier, the calibration data to be modified and the target data value corresponding to the calibration data to be modified are obtained from the difference calibration data table, including: according to the configuration identifier, obtaining the calibration data to be modified, the starting address of the calibration data to be modified and the number of calibration data to be modified from the first difference data table; according to the starting address and the number, obtaining the flash memory starting address and the random access memory RAM starting address of the calibration data to be modified from the second difference data table; according to the flash memory starting address, obtaining the target data value corresponding to the calibration data to be modified from the third difference data table.

[0009] Furthermore, the initial value corresponding to the calibration data to be modified in the basic calibration data is replaced with the target data value to obtain the target calibration data corresponding to the target vehicle, including: according to the flash memory starting address, RAM starting address and quantity, the target data value is copied from the flash memory to the RAM, so that the initial value corresponding to the calibration data to be modified in the basic calibration data is replaced with the target data value to obtain the target calibration data corresponding to the target vehicle.

[0010] Furthermore, the data in the difference calibration data table is obtained in the following manner: obtaining the difference calibration data between the different calibration data corresponding to the configuration of the vehicle model and the basic calibration data; integrating the difference calibration data using a differential method, and storing them in the difference calibration data table to obtain the data in the difference calibration data table.

[0011] Furthermore, the difference calibration data between the different calibration data corresponding to the configuration of the vehicle model and the basic calibration data is obtained, including: using a memory block of a preset size to perform numerical comparison on data at the same address, comparing the basic calibration data with the different calibration data corresponding to the configuration of the vehicle model, and obtaining the difference calibration data between the different calibration data corresponding to the configuration of the vehicle model and the basic calibration data.

[0012] Furthermore, before responding to the calibration data loading instruction for the target vehicle, the calibration data processing method further includes: responding to the power-on instruction, writing the basic calibration data into the calibration area of ​​the RAM.

[0013] Furthermore, after obtaining the configuration identifier corresponding to the model of the target vehicle, the calibration data processing method further includes: parsing the calibration area to obtain basic calibration data.

[0014] A calibration data processing device comprises: a first acquisition module, used for obtaining a configuration identifier corresponding to the model of the target vehicle in response to a calibration data loading instruction for a target vehicle; a second acquisition module, used for obtaining, from a difference calibration data table according to the configuration identifier, calibration data to be modified and target data values ​​corresponding to the calibration data to be modified, wherein the data in the difference calibration data table is obtained by integrating different calibration data corresponding to the configuration of the vehicle model using a differential method; a replacement module, used for replacing the initial value corresponding to the calibration data to be modified in the basic calibration data with the target data value, so as to obtain the target calibration data corresponding to the target vehicle; and a loading module, used for loading the target calibration data.

[0015] Furthermore, the difference calibration data table includes a first difference data table, a second difference data table and a third difference data table, and the second acquisition module is specifically used to: obtain the calibration data to be modified, the starting address of the calibration data to be modified and the number of calibration data to be modified from the first difference data table according to the configuration identifier; obtain the flash memory starting address and the random access memory RAM starting address of the calibration data to be modified from the second difference data table according to the starting address and the number; obtain the target data value corresponding to the calibration data to be modified from the third difference data table according to the flash memory starting address.

[0016] Furthermore, the replacement module is specifically used to: copy the target data value from the flash memory to the RAM according to the flash memory starting address, RAM starting address and quantity, so that the initial value corresponding to the calibration data to be modified in the basic calibration data is replaced by the target data value, and the target calibration data corresponding to the target vehicle is obtained.

[0017] Furthermore, the calibration data processing device also includes a third acquisition module, which is used to obtain data in the difference calibration data table in the following manner: obtaining difference calibration data between different calibration data corresponding to the configuration of the vehicle model and basic calibration data; integrating the difference calibration data using a differential method, and storing them in the difference calibration data table to obtain data in the difference calibration data table.

[0018] Furthermore, when the third acquisition module is used to obtain the difference calibration data between the different calibration data corresponding to the configuration of the vehicle model and the basic calibration data, it is specifically used to: compare the basic calibration data and the different calibration data corresponding to the configuration of the vehicle model by numerically comparing the data at the same address according to a memory block of a preset size, and obtain the difference calibration data between the different calibration data corresponding to the configuration of the vehicle model and the basic calibration data.

[0019] Furthermore, the first acquisition module is further used for: before responding to the calibration data loading instruction for the target vehicle, responding to the power-on instruction, writing the basic calibration data into the calibration area of ​​the RAM.

[0020] Furthermore, the first acquisition module is also used to: after acquiring the configuration identifier corresponding to the model of the target vehicle, parse the calibration area to acquire basic calibration data.

[0021] A vehicle comprises a vehicle body, front wheels and rear wheels, wherein the vehicle body is arranged between the front wheels and the rear wheels; the vehicle also comprises a calibration data processing device as described above in the present invention and arranged on the vehicle body.

[0022] An electronic device comprises: a processor and a memory connected to the processor in communication; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory to implement the calibration data processing method as described above in the present invention.

[0023] A computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed, the calibration data processing method of the present invention is implemented.

[0024] A computer program product includes a computer program, and when the computer program is executed, the calibration data processing method of the present invention is implemented.

[0025] Beneficial effects of the present invention: The calibration data processing method, device, equipment, storage medium and program product provided by the present invention obtain the calibration data to be modified and the target data value corresponding to the calibration data to be modified from the difference calibration data table according to the configuration identifier corresponding to the model of the target vehicle. The data in the difference calibration data table is obtained by integrating the different calibration data corresponding to the configuration of the model using the differential method, so that the initial value corresponding to the calibration data to be modified in the basic calibration data is replaced with the target data value, and the target calibration data corresponding to the target vehicle is obtained, thereby realizing unified management of different calibration data of vehicles of the same model, solving the problems of numerous versions and complex management caused by multiple calibration data, improving the efficiency of version management, and not increasing hardware costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0027] Figure 1 A schematic diagram of an application scenario provided by an embodiment of the present invention;

[0028] Figure 2 A flowchart of a calibration data processing method provided by an embodiment of the present invention;

[0029] Figure 3 A schematic diagram of integrating multiple calibration data provided by an embodiment of the present invention;

[0030] Figure 4 A flowchart of a calibration data processing method provided by another embodiment of the present invention;

[0031] Figure 5 A flowchart of a calibration data processing method provided by another embodiment of the present invention;

[0032] Figure 6 A schematic diagram of the structure of a calibration data processing device provided by an embodiment of the present invention;

[0033] Figure 7 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0034] The following will describe the embodiments of the present invention with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be understood that the preferred embodiments are only for illustrating the present invention, not for limiting the scope of protection of the present invention.

[0035] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present invention, and thus the drawings only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.

[0036] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in the present invention are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards, and corresponding operation entrances shall be provided for users to choose to authorize or refuse.

[0037] With the rapid development of vehicle intelligence, the domain controller of the vehicle integrates more and more application algorithms corresponding to different functions. Specifically, based on the improvement of the computing power of the domain controller and the sufficient reservation of static resources, the application algorithm logic of the vehicle's power system, braking system, steering system, air conditioning thermal management system and suspension system can be gradually deployed in the domain controller to greatly reduce the hardware cost of traditional solutions and realize the self-development of core algorithms. The integration and deployment of various application algorithms in the domain controller involves the management of different calibration data, such as power software, based on different battery pack capacities, different calibration data based on different emission sizes, different calibration data based on different driving forms, different calibration data based on different braking styles of the braking system, different calibration data based on different steering operation modes of the driver, and different calibration data based on the air conditioning heat pipe system based on the circuit solution of thermal management.

[0038] At present, for different calibration data, a version of basic software is usually provided. Based on the basic software, multiple versions of calibration software are provided for different vehicle configurations of different models. When the vehicle is debugged, the difference calibration data is updated according to different vehicles. However, there are problems of numerous versions and complex management when processing calibration data in the above manner. In addition, in the related art, the collected multiple versions of calibration software can also be merged with the main software, and finally multiple versions of software for different vehicle configurations are released. However, the above-mentioned related technology also has problems of numerous versions and complex management, which is a huge management problem for version writing personnel and over-the-air (OTA) upgrade personnel. In particular, after the domain controller integrates multiple applications, the different calibration data combinations involved may be as many as dozens or even hundreds. Accordingly, various software versions will be generated, resulting in too high management costs and serious impact on project progress. Considering that software management is a complex and error-prone matter in project development, an effective solution for calibration data processing is urgently needed to solve the dilemma caused by a large number of versions to project development.

[0039] Based on the above problems, the present invention provides a calibration data processing method, which uniformly manages different calibration data corresponding to the configuration of the same vehicle model through a differential calibration data table, wherein the data in the differential calibration data table is obtained by integrating the different calibration data corresponding to the configuration of the vehicle model using a differential method, so as to obtain the target calibration data corresponding to the target vehicle based on the data in the differential calibration data table and the basic calibration data, thereby realizing unified management of different calibration data of vehicles of the same vehicle model, solving the problems of numerous versions and complex management caused by multiple calibration data, and being able to greatly avoid the management problems caused by multiple versions in debugging, production and subsequent software upgrades. Through pure software design, seamless management of multiple calibration data can be realized without increasing hardware costs.

[0040] It can be seen that the calibration data processing method provided by the present invention can be used to manage multiple different calibration data in the same vehicle model software, that is, one vehicle model will only have one software package, solving the management problem caused by multiple calibration data. Under the trend of integrating multiple application algorithms into domain controllers, since calibration data is various, the calibration data processing method provided by the present invention can effectively solve the problem of multiple versions.

[0041] In the following, the application scenario of the solution provided by the present invention is firstly described by way of example.

[0042] Figure 1 Schematic diagram of an application scenario provided by an embodiment of the present invention. Figure 1 As shown, in this application scenario, the domain controller of the vehicle integrates application algorithms corresponding to multiple different functions, such as application algorithms corresponding to the vehicle's power system, braking system, steering system, air conditioning thermal management system, and suspension system. After the domain controller is powered on, according to the calibration data processing method provided in an embodiment of the present invention, the target calibration data corresponding to different configurations of the vehicle model is determined, and the target calibration data is loaded.

[0043] It should be noted that Figure 1 This is only a schematic diagram of an application scenario provided by an embodiment of the present invention. Figure 1 does not limit the equipment included in Figure 1 The positional relationship between the devices is limited.

[0044] The technical solution of the present invention is described in detail below through specific embodiments. It should be noted that the following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.

[0045] Figure 2 The flowchart of the calibration data processing method provided by one embodiment of the present invention. The calibration data processing method can be executed by software and / or hardware devices. For example, the hardware device can be a calibration data processing device. The calibration data processing device can be an electronic device or a processing chip in an electronic device. Specifically, the electronic device can be a domain controller of a vehicle. Figure 2 As shown, the method of the embodiment of the present invention includes:

[0046] S201. In response to a calibration data loading instruction for a target vehicle, obtain a configuration identifier corresponding to a model of the target vehicle.

[0047] It can be understood that the calibration data of the vehicle is a set of parameters used to optimize and control the performance of each system of the vehicle. These data are carefully adjusted during the vehicle development and testing phase to ensure that the performance, efficiency, emissions and driving experience of the vehicle under various working conditions meet the expected standards. In this embodiment, the configuration identifier corresponding to the model of the target vehicle is a configuration data item description (Data Item Description, DID), which is used to identify a specific data item stored in the domain controller of the vehicle. The configuration identifier (configuration DID) is usually written offline by the factory, which does not bring additional work, and is used to adaptively match the corresponding calibration data to solve the problem that different models of configuration require different calibration data. For vehicles of the same model, the configuration of the vehicle includes, for example, battery pack capacity and drive type, etc. The configuration identifier (configuration DID) is used to identify the calibration data corresponding to the configuration of the vehicle, for example, the battery pack capacity is 55 ampere hours (Ah), and the drive type is two-wheel drive. Exemplarily, after the domain controller of the target vehicle is powered on, a calibration data loading instruction for the target vehicle is triggered, and according to the calibration data loading instruction, the configuration identifier corresponding to the model of the target vehicle is obtained.

[0048] S202. According to the configuration identifier, the calibration data to be modified and the target data value corresponding to the calibration data to be modified are obtained from the difference calibration data table, wherein the data in the difference calibration data table is obtained by integrating different calibration data corresponding to the configuration of the vehicle model using a difference method.

[0049] Exemplarily, after obtaining the configuration identifier (configuration DID) corresponding to the model of the target vehicle, the difference calibration data table can be queried according to the configuration identifier to obtain the calibration data to be modified and the target data value corresponding to the calibration data to be modified from the difference calibration data table.

[0050] Optionally, the data in the difference calibration data table is obtained by: obtaining the difference calibration data between the different calibration data corresponding to the configuration of the vehicle model and the basic calibration data; integrating the difference calibration data using a differential method, and storing them in the difference calibration data table to obtain the data in the difference calibration data table.

[0051] Exemplarily, the basic calibration data can also be understood as reference calibration data, which is used to determine the difference calibration data corresponding to the configuration of the same vehicle model, and includes the initial value of the predefined calibration data. For example, the basic calibration data includes 100 calibration data, and the 100 calibration data corresponding to the configuration of the target vehicle model can be compared with the 100 basic calibration data, wherein the identification (such as the name) of the calibration data is the same, and the data value of the calibration data may be different, therefore, the difference calibration data with different data values ​​can be determined, for example, the difference calibration data is determined to be 3 calibration data, and the remaining 97 calibration data are the same, and the difference calibration data is the calibration data to be modified.

[0052] Further, optionally, obtaining the difference calibration data between the different calibration data corresponding to the configuration of the vehicle model and the basic calibration data may include: comparing the basic calibration data and the different calibration data corresponding to the configuration of the vehicle model by numerically comparing the data at the same address according to a memory block of a preset size, and obtaining the difference calibration data between the different calibration data corresponding to the configuration of the vehicle model and the basic calibration data.

[0053] Exemplarily, the memory block of the preset size is, for example, a unit data block of 4 kilobytes (K). In this embodiment, for the 100 calibration data and 100 basic calibration data corresponding to the configuration of the target vehicle's model, a method of numerically comparing the data at the same address according to the memory block of the preset size can be adopted to compare the 100 basic calibration data and the 100 calibration data corresponding to the configuration of the target vehicle's model, and the calibration data with different data values ​​can be screened out, so that the difference calibration data between the calibration data corresponding to the configuration of the model and the basic calibration data can be obtained, so as to integrate the unified calibration data and realize the normalization of multiple calibration data. It can be understood that comparing the calibration data according to the memory block, rather than comparing according to a single calibration data, can greatly improve the efficiency of comparison and search, and avoid the time waste caused by searching for calibration data one by one. Figure 3 A schematic diagram of the integrated processing of multiple calibration data provided by an embodiment of the present invention. Figure 3 As shown, for different calibration data corresponding to different configurations of vehicles of the same model, in order to achieve unified management of software, the basic calibration data (i.e., substrate) can be pre-defined, and the difference calibration data can be automatically identified by comparing the difference between other calibration data and the substrate. On the basis of the original calibration space, the difference calibration data can be placed behind it (i.e., A difference table, B difference table, and C difference table), and a data table containing basic calibration data and difference calibration data can be obtained for overview. Among them, the identification of difference calibration data is not indexed and identified in sequence according to a single calibration data, but indexed and identified according to a memory block of a preset size, which can improve the recognition speed and reduce the waste of integration time.

[0054] In this embodiment, after the difference calibration data (calibration data to be modified) is determined, the difference calibration data may be integrated using a differential method and stored in a difference calibration data table to obtain data in the difference calibration data table.

[0055] Exemplarily, the differential method is used to integrate the difference calibration data, which can avoid wasting code space and causing new resource problems. After determining the difference calibration data, the differential method can be used to integrate the difference calibration data and store it in the difference calibration data table to obtain the data in the difference calibration data table. Among them, the difference calibration data table may include, for example, a first difference data table, a second difference data table, and a third difference data table; the first difference data table is used to store the starting address information of the difference calibration data of a certain configuration and the number of difference calibration data; the second difference data table is used to store the flash memory starting address of the difference calibration data, the random access memory (Random Access Memory, RAM) starting address and the length of the difference calibration data; the third difference data table is used to store the real data value of the difference calibration data. For how to obtain the calibration data to be modified and the target data value corresponding to the calibration data to be modified from the above three difference data tables according to the configuration identifier, please refer to the subsequent embodiments.

[0056] S203: Replace the initial value corresponding to the calibration data to be modified in the basic calibration data with the target data value to obtain the target calibration data corresponding to the target vehicle.

[0057] In this step, after obtaining the calibration data to be modified and the target data value corresponding to the calibration data to be modified, the initial value corresponding to the calibration data to be modified in the basic calibration data can be replaced with the target data value, thereby obtaining the target calibration data corresponding to the target vehicle.

[0058] S204: Load target calibration data.

[0059] In this step, after obtaining the target calibration data corresponding to the target vehicle, the target calibration data is loaded, thereby realizing the seamless management of multiple calibration data and solving the problem of multiple versions and complex management.

[0060] The calibration data processing method provided by the embodiment of the present invention obtains the calibration data to be modified and the target data value corresponding to the calibration data to be modified from the difference calibration data table according to the configuration identifier corresponding to the model of the target vehicle. The data in the difference calibration data table is obtained by integrating the different calibration data corresponding to the configuration of the model using the differential method, thereby replacing the initial value corresponding to the calibration data to be modified in the basic calibration data with the target data value, and obtaining the target calibration data corresponding to the target vehicle, thereby realizing unified management of different calibration data of vehicles of the same model, solving the problems of numerous versions and complex management caused by multiple calibration data, improving the efficiency of version management, and not increasing hardware costs.

[0061] Figure 4FIG. 1 is a flow chart of a calibration data processing method provided by another embodiment of the present invention. Based on the above embodiment, the present invention further describes the calibration data processing. Figure 4 As shown, the method of the embodiment of the present invention may include:

[0062] S401 . In response to a power-on instruction, write basic calibration data into a calibration area of ​​a RAM.

[0063] Exemplarily, after the domain controller of the vehicle is powered on, the predefined basic calibration data may be written into the calibration area of ​​the RAM.

[0064] S402: In response to a calibration data loading instruction for a target vehicle, obtain a configuration identifier corresponding to a model of the target vehicle.

[0065] The detailed description of this step can be found in Figure 2 The relevant description of S201 in the illustrated embodiment will not be repeated here.

[0066] S403: Analyze the calibration area and obtain basic calibration data.

[0067] In this step, the calibration area may be parsed to obtain basic calibration data from the calibration area, where the basic calibration data includes an initial value of the calibration data.

[0068] In a possible implementation manner, the difference calibration data table includes a first difference data table, a second difference data table and a third difference data table. Therefore, in the embodiment of the present invention, Figure 2 The step S202 may further include the following three steps S404 to S406:

[0069] S404. According to the configuration identifier, obtain the calibration data to be modified, the starting address of the calibration data to be modified, and the quantity of the calibration data to be modified from the first difference data table.

[0070] Exemplarily, after obtaining the configuration identifier corresponding to the model of the target vehicle, the calibration data to be modified, the starting address of the calibration data to be modified, and the number of calibration data to be modified can be obtained from the first difference data table according to the configuration identifier. For example, the calibration data to be modified may be the battery pack capacity and the drive type, the starting address of the calibration data to be modified is the starting address of the battery pack capacity, and the number of calibration data to be modified is 2. Table 1 shows the information contained in the first difference data table; wherein different information indexes (such as information index 1) represent different configuration identifiers of the vehicle. Taking information index 1 as an example, information index 1 corresponds to multiple calibration data to be modified (difference calibration data), the starting address of each calibration data to be modified (difference calibration data), and the number of calibration data to be modified (difference calibration data).

[0071] Table 1

[0072]

[0073] Through the first difference data table, data can be quickly searched, and the number of query data under the same configuration can be quickly located, and the starting address of the difference calibration data can be quickly indexed in the next step.

[0074] S405 . Obtain the flash memory start address and the RAM start address of the calibration data to be modified from the second difference data table according to the start address and the quantity.

[0075] Exemplarily, after obtaining the starting address of the calibration data to be modified and the number of the calibration data to be modified, the flash memory starting address and RAM starting address of the calibration data to be modified can be obtained from the second difference data table according to the starting address and the number of the calibration data to be modified, so as to quickly find the data and copy the data in the flash memory to the RAM. Table 2 takes the difference calibration data corresponding to the information index 1 in Table 1 as an example, and shows the information contained in the second difference data table.

[0076] Table 2

[0077] The starting address of difference calibration data 1 Flash start address 1 RAM start address 1 Data length 1 The starting address of difference calibration data 2 Flash start address 2 RAM start address 2 Data length 2 …… …… …… …… The starting address of the difference calibration data N Flash memory start address N RAM start address N Data length N

[0078] S406 . Obtain a target data value corresponding to the calibration data to be modified from the third difference data table according to the flash memory start address.

[0079] Exemplarily, after obtaining the flash memory start address of the calibration data to be modified, the target data value corresponding to the calibration data to be modified can be obtained from the third difference data table according to the flash memory start address. Table 3 uses the information in Table 2 as a reference to show the flash memory related information contained in the third difference data table.

[0080] Table 3

[0081] Flash start address 1 Data value 1 Flash start address 2 Data value 2 …… …… Flash memory start address N Data value N

[0082] In the embodiment of the present invention, Figure 2 The step S203 may further include the following step S407:

[0083] S407. According to the flash memory start address, RAM start address and quantity, the target data value is copied from the flash memory to the RAM, so that the initial value corresponding to the calibration data to be modified in the basic calibration data is replaced with the target data value, and the target calibration data corresponding to the target vehicle is obtained.

[0084] Exemplarily, the target data value can be copied from the flash memory to the RAM according to the number of calibration data to be modified, so that the initial value corresponding to the calibration data to be modified in the basic calibration data is replaced by the target data value, and the target calibration data corresponding to the target vehicle is obtained. For example, referring to Table 1, Table 2 and Table 3, the number of calibration data to be modified is N, and the data values ​​of the N difference calibration data can be copied from the flash memory to the RAM in sequence according to the flash memory starting address and RAM starting address of the N difference calibration data, so as to obtain the target calibration data. Table 4 shows the relevant information of the RAM contained in the third difference data table with reference to the information in Table 2 and Table 3. It can be understood that the third difference data table contains relevant information of the flash memory and relevant information of the RAM.

[0085] Table 4

[0086] RAM start address 1 Data value 1 RAM start address 2 Data value 2 …… …… RAM start address N Data value N

[0087] S408: Load target calibration data.

[0088] The detailed description of this step can be found in Figure 2 The relevant description of S204 in the illustrated embodiment will not be repeated here.

[0089] The calibration data method provided by the embodiment of the present invention obtains the calibration data to be modified, the starting address of the calibration data to be modified and the number of the calibration data to be modified from the first difference data table according to the configuration identifier corresponding to the model of the target vehicle; obtains the flash memory starting address and RAM starting address of the calibration data to be modified from the second difference data table according to the starting address and the number; obtains the target data value corresponding to the calibration data to be modified from the third difference data table according to the flash memory starting address; and thus, according to the flash memory starting address, the RAM starting address and the number, the target data value is copied from the flash memory to the RAM, so that the initial value corresponding to the calibration data to be modified in the basic calibration data is replaced with the target data value, and the target calibration data corresponding to the target vehicle is obtained. Through the first difference data table, the second difference data table and the third difference data table, the unified management of different calibration data of vehicles of the same model is realized, and the problems of numerous versions and complex management caused by multiple calibration data are solved. When the electronic device of the embodiment of the method is initialized, the time for searching the index can be saved to the maximum extent, and the problems of affecting the initialization time and introducing new performance can be avoided, which can effectively improve the efficiency of version management without increasing hardware costs.

[0090] Based on the first difference data table, the second difference data table and the third difference data table in the above embodiment, for the 200K difference calibration data, the time consumed in the search and copy process is in the order of tens of microseconds (us), which does not affect the initialization time of the electronic device in the embodiment of the method at all and will not introduce new performance issues.

[0091] Based on the above embodiments, Figure 5 FIG. 1 is a flow chart of a calibration data processing method provided by another embodiment of the present invention. Figure 5 As shown, the method of the embodiment of the present invention may include:

[0092] S501 . In response to a power-on instruction, write basic calibration data into a calibration area of ​​a RAM.

[0093] S502: Initialization is completed.

[0094] S503: Read the configuration identifier of the model of the target vehicle.

[0095] In this step, the configuration identifier of the target vehicle model is, for example, the configuration DID of the target vehicle model.

[0096] S504: Analyze the calibration area and obtain basic calibration data.

[0097] S505: Obtain the quantity of calibration data to be modified from the first difference data table according to the configuration identifier.

[0098] S506: Determine whether it is the last calibration data to be modified according to the number of calibration data to be modified.

[0099] If it is not the last calibration data to be modified, execute steps S507 to S510; if it is the last calibration data to be modified, execute step S511.

[0100] S507 . Obtain the calibration data to be modified and the starting address of the calibration data to be modified from the first difference data table according to the configuration identifier.

[0101] S508 , obtaining the flash memory start address and the RAM start address of the calibration data to be modified from the second difference data table according to the start address.

[0102] S509: Obtain the target data value corresponding to the calibration data to be modified from the third difference data table according to the flash memory start address.

[0103] S510 , copy the target data value from the flash memory to the RAM according to the flash memory start address and the RAM start address, so that the initial value corresponding to the calibration data to be modified in the basic calibration data is replaced by the target data value.

[0104] S511. Obtain target calibration data corresponding to the target vehicle, and load the target calibration data.

[0105] The calibration data method provided in the embodiment of the present invention realizes unified management of different calibration data of vehicles of the same model through the first difference data table, the second difference data table and the third difference data table, solves the problems of numerous versions and complex management brought about by multiple calibration data, and can maximize the time saving for searching indexes, avoiding the problems that affect the initialization time and introduce new performance.

[0106] The following are embodiments of the device of the present invention, which can be used to implement the method embodiments of the present invention. For details not disclosed in the device embodiments of the present invention, please refer to the method embodiments of the present invention.

[0107] Figure 6 FIG. 1 is a schematic diagram of the structure of a calibration data processing device provided by an embodiment of the present invention. Figure 6 As shown, the calibration data processing device 600 of the embodiment of the present invention includes: a first acquisition module 601, a second acquisition module 602, a replacement module 603 and a loading module 604. Among them:

[0108] The first acquisition module 601 is used to obtain a configuration identifier corresponding to a model of the target vehicle in response to a calibration data loading instruction for the target vehicle.

[0109] The second acquisition module 602 is used to obtain the calibration data to be modified and the target data value corresponding to the calibration data to be modified from the difference calibration data table according to the configuration identifier. The data in the difference calibration data table is obtained by integrating different calibration data corresponding to the configuration of the vehicle model using a differential method.

[0110] The replacement module 603 is used to replace the initial value corresponding to the calibration data to be modified in the basic calibration data with the target data value to obtain the target calibration data corresponding to the target vehicle.

[0111] The loading module 604 is used to load target calibration data.

[0112] Further, the difference calibration data table includes a first difference data table, a second difference data table and a third difference data table, and the second acquisition module 602 can be specifically used to: obtain the calibration data to be modified, the starting address of the calibration data to be modified and the number of calibration data to be modified from the first difference data table according to the configuration identifier; obtain the flash memory starting address and RAM starting address of the calibration data to be modified from the second difference data table according to the starting address and the number; obtain the target data value corresponding to the calibration data to be modified from the third difference data table according to the flash memory starting address.

[0113] Furthermore, the replacement module 603 can be specifically used to: copy the target data value from the flash memory to the RAM according to the flash memory starting address, RAM starting address and quantity, so that the initial value corresponding to the calibration data to be modified in the basic calibration data is replaced by the target data value, and the target calibration data corresponding to the target vehicle is obtained.

[0114] Furthermore, the calibration data processing device 600 may also include a third acquisition module (not shown in the figure), which is used to obtain data in the difference calibration data table in the following manner: obtaining difference calibration data between different calibration data corresponding to the configuration of the vehicle model and basic calibration data; integrating the difference calibration data using a differential method, and storing them in the difference calibration data table to obtain data in the difference calibration data table.

[0115] Furthermore, when the third acquisition module is used to obtain the difference calibration data between the different calibration data corresponding to the configuration of the vehicle model and the basic calibration data, it can be specifically used to: compare the basic calibration data and the different calibration data corresponding to the configuration of the vehicle model by numerically comparing the data at the same address according to a memory block of a preset size, and obtain the difference calibration data between the different calibration data corresponding to the configuration of the vehicle model and the basic calibration data.

[0116] Furthermore, the first acquisition module 601 may also be used to: before responding to a calibration data loading instruction for the target vehicle, in response to a power-on instruction, write the basic calibration data into the calibration area of ​​the RAM.

[0117] Furthermore, the first acquisition module 601 may also be used to: after acquiring the configuration identifier corresponding to the model of the target vehicle, parse the calibration area to acquire basic calibration data.

[0118] The device of the embodiment of the present invention can be used to execute the technical solution of any of the above-mentioned method embodiments. Its implementation principle and technical effects are similar and will not be repeated here.

[0119] The present invention also provides a vehicle, comprising a vehicle body, front wheels and rear wheels, wherein the vehicle body is arranged between the front wheels and the rear wheels; the vehicle also includes a calibration data processing device as described above in the embodiment of the present invention, which is arranged on the vehicle body.

[0120] Figure 7 This is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. Figure 7 As shown, the electronic device 700 may include: at least one processor 701 and a memory 702 .

[0121] The memory 702 is used to store programs. Specifically, the programs may include program codes, and the program codes include computer-executable instructions.

[0122] The memory 702 may include a high-speed RAM, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.

[0123] The processor 701 is used to execute the computer-executable instructions stored in the memory 702 to implement the calibration data processing method described in the aforementioned method embodiment. The processor 701 may be a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention. Specifically, when implementing the calibration data processing method described in the aforementioned method embodiment, the electronic device may be, for example, a domain controller of a vehicle.

[0124] Optionally, the electronic device 700 may further include a communication interface 703. In a specific implementation, if the communication interface 703, the memory 702 and the processor 701 are implemented independently, the communication interface 703, the memory 702 and the processor 701 may be interconnected through a bus and communicate with each other. The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc., but it does not mean that there is only one bus or one type of bus.

[0125] Optionally, in a specific implementation, if the communication interface 703, the memory 702 and the processor 701 are integrated on a chip, the communication interface 703, the memory 702 and the processor 701 can communicate through an internal interface.

[0126] The present invention also provides a computer-readable storage medium, in which computer program instructions are stored. When a processor executes the computer program instructions, the above-mentioned calibration data processing method is implemented.

[0127] The present invention also provides a computer program product, including a computer program, which implements the above calibration data processing method when executed by a processor.

[0128] The computer-readable storage medium mentioned above can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable programmable read only memory (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic storage, flash memory, magnetic disk or optical disk. The readable storage medium can be any available medium that can be accessed by a general or special-purpose computer.

[0129] An exemplary readable storage medium is coupled to the processor so that the processor can read information from the readable storage medium and write information to the readable storage medium. Of course, the readable storage medium can also be an integral part of the processor. The processor and the readable storage medium can be located in a dedicated integrated circuit. Of course, the processor and the readable storage medium can also exist as discrete components in the calibration data processing device.

[0130] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.

[0131] Finally, it should be noted that the above embodiments are only preferred embodiments for fully illustrating the present invention, and the protection scope of the present invention is not limited thereto. Any equivalent substitution or change made by a person skilled in the art based on the present invention is within the protection scope of the present invention.

Claims

1. A calibration data processing method, characterized in that: include: In response to a calibration data loading instruction for a target vehicle, obtaining a configuration identifier corresponding to a model of the target vehicle; According to the configuration identifier, obtaining the calibration data to be modified and the target data value corresponding to the calibration data to be modified from a difference calibration data table, wherein the data in the difference calibration data table is obtained by integrating different calibration data corresponding to the configuration of the vehicle model using a difference method; Replacing the initial value corresponding to the calibration data to be modified in the basic calibration data with the target data value to obtain the target calibration data corresponding to the target vehicle; The target calibration data is loaded.

2. The calibration data processing method according to claim 1, characterized in that: The difference calibration data table includes a first difference data table, a second difference data table and a third difference data table, and obtaining the calibration data to be modified and the target data value corresponding to the calibration data to be modified from the difference calibration data table according to the configuration identifier includes: According to the configuration identifier, acquiring the calibration data to be modified, the starting address of the calibration data to be modified, and the quantity of the calibration data to be modified from the first difference data table; According to the starting address and the quantity, obtaining the flash memory starting address and the random access memory RAM starting address of the calibration data to be modified from the second difference data table; According to the flash memory start address, a target data value corresponding to the calibration data to be modified is obtained from the third difference data table.

3. The calibration data processing method according to claim 2, characterized in that: The step of replacing the initial value corresponding to the calibration data to be modified in the basic calibration data with the target data value to obtain the target calibration data corresponding to the target vehicle includes: According to the flash memory starting address, the RAM starting address and the quantity, the target data value is copied from the flash memory to the RAM, so that the initial value corresponding to the calibration data to be modified in the basic calibration data is replaced by the target data value, and the target calibration data corresponding to the target vehicle is obtained.

4. The calibration data processing method according to any one of claims 1 to 3, characterized in that: The data in the difference calibration data table is obtained in the following way: Obtaining differential calibration data between different calibration data corresponding to the configuration of the vehicle model and the basic calibration data; The difference calibration data is integrated by using a differential method and stored in the difference calibration data table to obtain the data in the difference calibration data table.

5. The calibration data processing method according to claim 4, characterized in that: The obtaining of the difference calibration data between the different calibration data corresponding to the configuration of the vehicle type and the basic calibration data includes: By performing numerical comparison on data at the same address according to a memory block of a preset size, the basic calibration data and the different calibration data corresponding to the configuration of the vehicle model are compared to obtain the difference calibration data between the different calibration data corresponding to the configuration of the vehicle model and the basic calibration data.

6. The calibration data processing method according to any one of claims 1 to 3, characterized in that: Before responding to the calibration data loading instruction for the target vehicle, the method further includes: In response to a power-on instruction, the basic calibration data is written into a calibration area of ​​the RAM.

7. The calibration data processing method according to claim 6, characterized in that: After obtaining the configuration identifier corresponding to the model of the target vehicle, the method further includes: The calibration area is analyzed to obtain the basic calibration data.

8. A calibration data processing device, characterized in that: include: A first acquisition module, configured to acquire a configuration identifier corresponding to a model of the target vehicle in response to a calibration data loading instruction for the target vehicle; A second acquisition module is used to acquire the calibration data to be modified and the target data value corresponding to the calibration data to be modified from a difference calibration data table according to the configuration identifier, wherein the data in the difference calibration data table is obtained by integrating different calibration data corresponding to the configuration of the vehicle model using a difference method; A replacement module, used to replace the initial value corresponding to the calibration data to be modified in the basic calibration data with the target data value, so as to obtain the target calibration data corresponding to the target vehicle; A loading module is used to load the target calibration data.

9. A vehicle, characterized in that: The vehicle comprises a vehicle body, front wheels and rear wheels, wherein the vehicle body is arranged between the front wheels and the rear wheels; the vehicle further comprises a calibration data processing device as claimed in claim 8 arranged on the vehicle body.

10. An electronic device, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the calibration data processing method according to any one of claims 1 to 7.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed, the calibration data processing method according to any one of claims 1 to 7 is implemented.

12. A computer program product, comprising a computer program, characterized in that When the computer program is executed, the calibration data processing method according to any one of claims 1 to 7 is implemented.