Controller calibration data uploading method, uploading device and uploading system
By acquiring and comparing the controller's inspection data set and calibration data set, determining the difference data for uploading, the problem of low upload efficiency of controller calibration data in the prior art is solved, and a more efficient and simple upload process is achieved.
Patent Information
- Application Number
- CN202210429711.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-22
- Publication Date
- 2025-02-18
- Estimated Expiration
- 2042-04-22
AI Technical Summary
In the prior art, the upload efficiency of the calibration data of the controller is low, especially when the user calibrated few variables but there are many variables without changes, the upload process is cumbersome and affects the user experience.
By acquiring multiple inspection data groups and multiple calibration data groups, the target calibration data group and the second target calibration data group are determined, and the checksum data is uploaded to replace the corresponding inspection data.
Improves the efficiency of controller calibration data upload, simplifies upload steps, reduces the required time, and improves the user experience.
Smart Images

Figure CN114780125B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of controller calibration, and in particular to a method for uploading controller calibration data, an uploading device, a computer-readable storage medium, a processor, and a system for uploading controller calibration data. Background Art
[0002] When using software to calibrate ECU, you must first import the A2L file and data file into the software. Then you need to check whether the data in the ECU is consistent with the imported data. If they are consistent, you can proceed to the next step. If not, the user can choose to upload the data in the ECU to the software to form a new data file.
[0003] In the prior art, INCA software will calculate the checksum during initialization and display the data sets with differences. The upload function of INCA does not distinguish between data sets with differences and uploads both RP and WP. WICAS software will calculate the checksum during initialization and display the data sets with differences. The upload function of WICAS can only upload data sets with differences. For example, if the WICAS software calculates that the checksum of WP is inconsistent, it will retain the RP file and only upload WP. WICAS software has made some progress compared to INCA software. The upload steps are simpler and the time required is less. However, if the user calibrates fewer variables and there are many variables that have not changed, it will be a bit cumbersome for WICAS software to only upload data sets with differences. For the same data file, the waiting time when the user modifies individual variables is almost the same as the waiting time when the user modifies many variables, which will reduce the user's experience of the software.
[0004] The above information disclosed in the background technology section is only used to enhance the understanding of the background technology of the technology described in this article. Therefore, the background technology may contain certain information that does not form the prior art known in this country for those skilled in the art. Summary of the invention
[0005] The main purpose of the present application is to provide a controller calibration data uploading method, uploading device, computer-readable storage medium, processor and controller calibration data uploading system to solve the problem of low efficiency of controller calibration data uploading in the prior art.
[0006] According to one aspect of an embodiment of the present invention, a method for uploading controller calibration data is provided, comprising: acquiring a plurality of inspection data groups and a plurality of calibration data groups, the inspection data group comprising a plurality of inspection data, the calibration data group comprising a plurality of calibration data, the inspection data being the imported data of the calibration software of the controller, the calibration data being the stored data of the controller, the inspection data group corresponding to the calibration data group one-to-one, one inspection data corresponding to one calibration data; determining at least one target calibration data group according to the inspection data group and the calibration data group, the target calibration data group being one of the calibration data groups and the checksum of the target calibration data group being different from the checksum of the inspection data group corresponding to the target calibration data group, the calibration data in the target calibration data group being the first target calibration data; determining at least one second target calibration data according to the target calibration data group, the second target calibration data being one of the first target calibration data and the checksum of the second target calibration data being different from the checksum of the inspection data corresponding to the second target calibration data; uploading all the second target calibration data to the calibration software to replace the corresponding inspection data.
[0007] Optionally, at least one target calibration data group is determined based on the inspection data group and the calibration data group, including: a first calculation step, calculating the checksum of the inspection data group to obtain a first checksum; a second calculation step, calculating the checksum of the calibration data group corresponding to the inspection data group to obtain a second checksum; a first determination step, when the first checksum is different from the second checksum, determining that the calibration data group corresponding to the second checksum is the target calibration data group; and repeating the first calculation step, the second calculation step and the first determination step in sequence at least once to complete the determination of all the calibration data groups.
[0008] Optionally, multiple second target calibration data are determined based on the target calibration data group, including: an acquisition step of acquiring all first addresses and all second addresses, the first address being the address of the verification data, and the second address being the address of the first target calibration data; a second determination step of determining that the verification address exists when a preset condition is met, the preset condition being that the first address that is the same as the second address exists, and the verification address is the first address that is the same as the second address; a third determination step of determining that the first target calibration data corresponding to the second address is the second target calibration data when the verification address exists and the third checksum is different from the fourth checksum, the third checksum is the checksum of the first target calibration data corresponding to the second address, and the fourth checksum is the checksum of the verification data corresponding to the verification address; repeating the second determination step and the third determination step at least once in sequence to obtain multiple second target calibration data.
[0009] Optionally, all the second target calibration data are uploaded to the calibration software to replace the corresponding inspection data, including: obtaining the addresses of all the second target calibration data to obtain multiple calibration addresses, and the calibration addresses correspond one-to-one to the inspection addresses; using the second target calibration data of each calibration address to replace the inspection data of the corresponding inspection address.
[0010] Optionally, after uploading all the second target calibration data to the calibration software to replace the corresponding inspection data, the method further includes: when the preset condition is not met, uploading the first target calibration data corresponding to the second address to a target inspection data group, and the target inspection data group is the inspection data group corresponding to the target calibration data group.
[0011] Optionally, after acquiring multiple verification data groups and multiple calibration data groups, the method further comprises: determining that the verification data of the verification data group does not need to be replaced when the checksums of all the calibration data groups are the same as the checksums of the verification data groups corresponding to the calibration data groups.
[0012] According to another aspect of an embodiment of the present invention, there is also provided a device for uploading controller calibration data, comprising: an acquisition unit, used to acquire multiple inspection data groups and multiple calibration data groups, the inspection data group comprising multiple inspection data, the calibration data group comprising multiple calibration data, the inspection data being the imported data of the controller calibration software, the calibration data being the storage data of the controller, the inspection data group corresponding to the calibration data group one by one, one inspection data corresponding to one calibration data; a first determination unit, used to determine at least one target calibration data group according to the inspection data group and the calibration data group, the target calibration data group being the calibration data group; One of the target calibration data groups and the checksum of the target calibration data group is different from the checksum of the verification data group corresponding to the target calibration data group, and the calibration data of the target calibration data group is the first target calibration data; a second determination unit is used to determine at least one second target calibration data according to the target calibration data group, the second target calibration data is one of the first target calibration data and the checksum of the second target calibration data is different from the checksum of the verification data corresponding to the second target calibration data; an uploading unit is used to upload all the second target calibration data to the calibration software to replace the corresponding verification data.
[0013] According to yet another aspect of the embodiments of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium includes a stored program, wherein the program executes any one of the methods described.
[0014] According to yet another aspect of an embodiment of the present invention, a processor is provided, wherein the processor is used to run a program, wherein any one of the methods is executed when the program is run.
[0015] According to one aspect of an embodiment of the present invention, there is also provided a system for uploading controller calibration data, comprising: one or more processors, a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, and the one or more programs include methods for executing any one of the methods described.
[0016] In an embodiment of the present invention, in the method for uploading the calibration data of the controller, first, a plurality of inspection data groups and a plurality of calibration data groups are obtained, the inspection data group includes a plurality of inspection data, the calibration data group includes a plurality of calibration data, the inspection data is the imported data of the calibration software of the controller, the calibration data is the storage data of the controller, the inspection data group corresponds to the calibration data group one by one, and one inspection data corresponds to one calibration data; then, at least one target calibration data group is determined according to the inspection data group and the calibration data group, the target calibration data group is the calibration data group in the calibration data group. One and the checksum of the target calibration data group is different from the checksum of the inspection data group corresponding to the target calibration data group, and the calibration data in the target calibration data group is the first target calibration data; then, according to the target calibration data group, at least one second target calibration data is determined, the second target calibration data is one of the first target calibration data and the checksum of the second target calibration data is different from the checksum of the inspection data corresponding to the second target calibration data; finally, all the second target calibration data are uploaded to the calibration software to replace the corresponding inspection data. The target calibration data group in this method is a calibration data group that is different from the corresponding inspection data group, and the second target calibration data is calibration data in the target calibration data group that is different from the corresponding inspection data in the corresponding inspection data group. Uploading all the second target calibration data to the calibration software of the controller means that only the calibration data in the target calibration data group that is different from the corresponding inspection data in the corresponding inspection data group needs to be uploaded to the calibration software of the controller. This method solves the problem of low efficiency of uploading calibration data of the controller in the prior art. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The drawings constituting part of the present application are used to provide a further understanding of the present application. The exemplary embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0018] Figure 1 A flow chart showing a method for uploading controller calibration data according to an embodiment of the present application is shown;
[0019] Figure 2 A flow chart showing a method for uploading controller calibration data according to another specific embodiment of the present application is shown;
[0020] Figure 3 A schematic diagram of a device for uploading controller calibration data according to an embodiment of the present application is shown. DETAILED DESCRIPTION
[0021] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0022] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0023] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0024] It should be understood that when an element (such as a layer, film, region, or substrate) is described as being "on" another element, the element may be directly on the other element, or there may be intermediate elements. Moreover, in the specification and claims, when it is described that an element is "connected" to another element, the element may be "directly connected" to the other element, or "connected" to the other element through a third element.
[0025] For the convenience of description, some nouns or terms involved in the embodiments of the present application are explained below:
[0026] ECU: electronic control unit, electronic control unit, the control core of the automobile engine.
[0027] Data files: ECU programs, hex, S19, mot files, etc., including programs (codes) and data.
[0028] Check Sum: A fixed block of information or data used to check whether the data has incorrect digits.
[0029] RP: Reference page. In the Flash area of the ECU, the data in RP cannot be edited.
[0030] WP: working page, a storage area is divided in the RAM area of ECU. The size of this area is consistent with the size of RP. The data calibration system in WP can be edited.
[0031] Upload: upload the data in ECU to the calibration software.
[0032] As mentioned in the background technology, the efficiency of uploading the calibration data of the controller in the prior art is low. In order to solve the above problem, in a typical embodiment of the present application, a method for uploading the calibration data of the controller, an uploading device, a computer-readable storage medium, a processor and a system for uploading the calibration data of the controller are provided.
[0033] According to an embodiment of the present application, a method for uploading controller calibration data is provided.
[0034] Figure 1 1 is a flow chart of a method for uploading controller calibration data according to an embodiment of the present application. Figure 1 As shown, the method comprises the following steps:
[0035] Step S101, obtaining a plurality of inspection data groups and a plurality of calibration data groups, wherein the inspection data group includes a plurality of inspection data, and the calibration data group includes a plurality of calibration data, wherein the inspection data is the imported data of the calibration software of the controller, and the calibration data is the storage data of the controller, and the inspection data group corresponds to the calibration data group one by one, and one inspection data corresponds to one calibration data;
[0036] Step S102, determining at least one target calibration data group according to the inspection data group and the calibration data group, wherein the target calibration data group is one of the calibration data groups and a checksum of the target calibration data group is different from a checksum of the inspection data group corresponding to the target calibration data group, and the calibration data in the target calibration data group is a first target calibration data;
[0037] Step S103, determining at least one second target calibration data according to the target calibration data group, wherein the second target calibration data is one of the first target calibration data and a checksum of the second target calibration data is different from a checksum of the verification data corresponding to the second target calibration data;
[0038] Step S104, uploading all the second target calibration data to the calibration software to replace the corresponding inspection data.
[0039] In the method for uploading the calibration data of the controller, first, a plurality of inspection data groups and a plurality of calibration data groups are obtained, the inspection data group includes a plurality of inspection data, the calibration data group includes a plurality of calibration data, the inspection data is the imported data of the calibration software of the controller, the calibration data is the storage data of the controller, the inspection data group corresponds to the calibration data group one by one, and one inspection data corresponds to one calibration data; then, at least one target calibration data group is determined according to the inspection data group and the calibration data group, the target calibration data group is one of the calibration data groups and is uploaded; The checksum of the target calibration data group is different from the checksum of the inspection data group corresponding to the target calibration data group, and the calibration data in the target calibration data group is the first target calibration data; then, according to the target calibration data group, at least one second target calibration data is determined, the second target calibration data is one of the first target calibration data and the checksum of the second target calibration data is different from the checksum of the inspection data corresponding to the second target calibration data; finally, all the second target calibration data are uploaded to the calibration software to replace the corresponding inspection data. The target calibration data group in this method is a calibration data group that is different from the corresponding inspection data group, and the second target calibration data is calibration data in the target calibration data group that is different from the corresponding inspection data in the corresponding inspection data group. All the second target calibration data are uploaded to the calibration software of the controller, that is, only the calibration data in the target calibration data group that is different from the corresponding inspection data in the corresponding inspection data group needs to be uploaded to the calibration software of the controller. This method solves the problem of low efficiency of uploading calibration data of the controller in the prior art.
[0040] It should be noted that the above-mentioned controller is the above-mentioned ECU, the above-mentioned inspection data are variables to be calibrated, the above-mentioned calibration data are calibration variables, the above-mentioned inspection data group includes the above-mentioned RP of the above-mentioned calibration software and the above-mentioned WP of the above-mentioned calibration software, the above-mentioned calibration data group includes the above-mentioned RP of the above-mentioned ECU and the above-mentioned WP of the above-mentioned ECU, the above-mentioned RP of the above-mentioned calibration software and the above-mentioned WP of the above-mentioned calibration software both include multiple variables to be calibrated, and the above-mentioned RP of the above-mentioned ECU and the above-mentioned WP of the above-mentioned ECU both include multiple calibration variables.
[0041] It should also be noted that the present application can be applied in the process of calibrating the above-mentioned ECU through the above-mentioned calibration software. It is only necessary to upload the corresponding calibration variables that are different from the variables to be calibrated in the above-mentioned ECU and the above-mentioned calibration software to the above-mentioned calibration software, and replace the corresponding variables to be calibrated in the above-mentioned calibration software, thereby improving the efficiency of the upload function.
[0042] It should also be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described may be executed in an order different from that shown here.
[0043] In one embodiment of the present application, at least one target calibration data group is determined according to the above-mentioned inspection data group and the above-mentioned calibration data group, including: a first calculation step, calculating the checksum of the above-mentioned inspection data group to obtain a first checksum; a second calculation step, calculating the checksum of the above-mentioned calibration data group corresponding to the above-mentioned inspection data group to obtain a second checksum; a first determination step, when the above-mentioned first checksum is different from the above-mentioned second checksum, determining that the above-mentioned calibration data group corresponding to the above-mentioned second checksum is the above-mentioned target calibration data group; repeating the above-mentioned first calculation step, the above-mentioned second calculation step and the above-mentioned first determination step at least once in sequence to complete the determination of all the above-mentioned calibration data groups. In this embodiment, when the first checksum, i.e., the checksum of the RP of the calibration software, is different from the second checksum, i.e., the checksum of the RP of the ECU, is different, the RP of the ECU is determined to be the target calibration data group, i.e., it is determined that there is a difference between the RP of the calibration software and the RP of the ECU, and when the first checksum, i.e., the checksum of the WP of the calibration software, is different from the second checksum, i.e., the checksum of the WP of the ECU, is determined to be the target calibration data group, i.e., it is determined that there is a difference between the WP of the calibration software and the WP of the ECU.
[0044] In one embodiment of the present application, multiple second target calibration data are determined based on the above-mentioned target calibration data group, including: an acquisition step, acquiring all first addresses and all second addresses, the above-mentioned first address is the address of the above-mentioned verification data, and the above-mentioned second address is the address of the above-mentioned first target calibration data; a second determination step, determining that the verification address exists when a preset condition is met, the above-mentioned preset condition is that the above-mentioned first address which is the same as the above-mentioned second address exists, and the above-mentioned verification address is the above-mentioned first address which is the same as the above-mentioned second address; a third determination step, determining that the above-mentioned first target calibration data corresponding to the above-mentioned second address is the above-mentioned second target calibration data when the above-mentioned verification address exists and the third checksum is different from the fourth checksum, the above-mentioned third checksum is the checksum of the above-mentioned first target calibration data corresponding to the above-mentioned second address, and the above-mentioned fourth checksum is the checksum of the above-mentioned verification data corresponding to the verification address; repeating the above-mentioned second determination step and the above-mentioned third determination step at least once in sequence to obtain at least one of the above-mentioned second target calibration data. In this embodiment, when the RP of the ECU is determined to be the target calibration data group, if the preset condition is met, that is, there are variables to be calibrated corresponding to the calibration variables of the RP of the ECU in the RP of the calibration software, and the third checksum is different from the fourth checksum, that is, the checksum of the calibration variables of the RP of the ECU is different from the checksum of the variables to be calibrated corresponding to the calibration variables of the RP of the ECU in the RP of the calibration software, the first target calibration data is determined to be the second target calibration data, that is, it is determined that there is a difference between the calibration variables of the RP of the ECU and the corresponding variables to be calibrated in the RP of the calibration software. , when determining that the WP of the ECU is the target calibration data group, if the second address satisfies the preset condition, that is, there are variables to be calibrated corresponding to the calibration variables of the WP of the ECU in the WP of the calibration software, and the third checksum is different from the fourth checksum, that is, the checksum of the calibration variables of the WP of the ECU is different from the checksum of the variables to be calibrated corresponding to the calibration variables of the WP of the ECU in the WP of the calibration software, it is determined that the first target calibration data is the second target calibration data, that is, it is determined that there is a difference between the calibration variables of the WP of the ECU and the corresponding variables to be calibrated in the WP of the calibration software.
[0045] It should be noted that, for the same version of the above-mentioned data file, the calibration, uploading and downloading processes will not change the addresses of the variables therein, that is, the calibration variables of the above-mentioned RP of the above-mentioned ECU have the same address as the corresponding variables to be calibrated in the above-mentioned RP of the above-mentioned calibration software, and the calibration variables of the above-mentioned WP of the above-mentioned ECU have the same address as the corresponding variables to be calibrated in the above-mentioned WP of the above-mentioned calibration software.
[0046] In one embodiment of the present application, all the above-mentioned second target calibration data are uploaded to the above-mentioned calibration software to replace the corresponding above-mentioned inspection data, including: obtaining the addresses of all the above-mentioned second target calibration data to obtain multiple calibration addresses, and the above-mentioned calibration addresses correspond to the above-mentioned inspection addresses one by one; using the above-mentioned second target calibration data of each of the above-mentioned calibration addresses to replace the above-mentioned inspection data of the corresponding above-mentioned inspection address. In this embodiment, when it is determined that the RP of the ECU is the target calibration data group, the second target calibration data of the calibration address is used to replace the inspection data of the corresponding inspection address, that is, the calibration variables of the RP of the ECU are replaced with the variables to be calibrated in the RP of the calibration software that correspond to and have differences with the calibration variables of the RP of the ECU. When it is determined that the WP of the ECU is the target calibration data group, the second target calibration data of the calibration address is used to replace the inspection data of the corresponding inspection address, that is, the calibration variables of the WP of the ECU are replaced with the variables to be calibrated in the WP of the calibration software that correspond to and have differences with the calibration variables of the WP of the ECU.
[0047] In one embodiment of the present application, after uploading all the second target calibration data to the calibration software to replace the corresponding inspection data, the method further includes: when the preset condition is not met, uploading the first target calibration data corresponding to the second address to the target inspection data group, the target inspection data group being the inspection data group corresponding to the target calibration data group. In this embodiment, when the RP of the ECU is determined to be the target calibration data group, if the second address does not meet the preset condition, that is, there is no variable to be calibrated corresponding to the calibration variable of the RP of the ECU in the RP of the calibration software, the first target calibration data is uploaded to the target inspection data group, that is, the RP calibration variable of the ECU is uploaded to the RP of the calibration software, and when the WP of the ECU is determined to be the target calibration data group, if the second address does not meet the preset condition, that is, there is no variable to be calibrated corresponding to the calibration variable of the WP of the ECU in the WP of the calibration software, the first target calibration data is uploaded to the target inspection data group, that is, the calibration variable of the WP of the ECU is uploaded to the WP of the calibration software.
[0048] In one embodiment of the present application, after obtaining multiple inspection data groups and multiple calibration data groups, the method further includes: if the checksums of all the calibration data groups are the same as the checksums of the inspection data groups corresponding to the calibration data groups, determining that there is no need to replace the inspection data of the inspection data groups. Figure 2As shown, after the data file, i.e., the hex file, is imported into the calibration software, the calibration software will use the imported data file as the RP of the calibration software, and copy a copy of the data file as the WP of the calibration software. If the checksum of the RP of the ECU is the same as the checksum of the RP of the calibration software, and the checksum of the WP of the calibration software is the same as the checksum of the WP of the ECU, there is no need to replace the variables to be calibrated in the RP of the calibration software and the WP of the calibration software.
[0049] The embodiment of the present application also provides a device for uploading controller calibration data. It should be noted that the device for uploading controller calibration data in the embodiment of the present application can be used to execute the method for uploading controller calibration data provided in the embodiment of the present application. The device for uploading controller calibration data provided in the embodiment of the present application is introduced below.
[0050] Figure 3 Schematic diagram of a device for uploading controller calibration data according to an embodiment of the present application. Figure 3 As shown, the device comprises:
[0051] The acquisition unit 10 acquires a plurality of inspection data groups and a plurality of calibration data groups, wherein the inspection data group includes a plurality of inspection data, and the calibration data group includes a plurality of calibration data, wherein the inspection data is the imported data of the calibration software of the controller, and the calibration data is the storage data of the controller, and the inspection data group corresponds to the calibration data group one by one, and one inspection data corresponds to one calibration data;
[0052] A first determination unit 20 determines at least one target calibration data group according to the inspection data group and the calibration data group, the target calibration data group is one of the calibration data groups and the checksum of the target calibration data group is different from the checksum of the inspection data group corresponding to the target calibration data group, and the calibration data in the target calibration data group is the first target calibration data;
[0053] A second determination unit 30 determines at least one second target calibration data according to the target calibration data group, wherein the second target calibration data is one of the first target calibration data and a checksum of the second target calibration data is different from a checksum of the verification data corresponding to the second target calibration data;
[0054] The uploading unit 40 uploads all the second target calibration data to the calibration software to replace the corresponding inspection data.
[0055] In the device for uploading the calibration data of the controller, an acquisition unit acquires a plurality of inspection data groups and a plurality of calibration data groups, the inspection data group includes a plurality of inspection data, the calibration data group includes a plurality of calibration data, the inspection data is the imported data of the calibration software of the controller, the calibration data is the storage data of the controller, the inspection data group corresponds to the calibration data group one by one, and one inspection data corresponds to one calibration data; a first determination unit determines at least one target calibration data group according to the inspection data group and the calibration data group, the target calibration data group is one of the calibration data groups and the target calibration data group is one of the calibration data groups and the calibration data group is one of the calibration data groups. The checksum of the target calibration data group is different from the checksum of the inspection data group corresponding to the target calibration data group, and the calibration data in the target calibration data group is the first target calibration data; the second determination unit determines at least one second target calibration data according to the target calibration data group, the second target calibration data is one of the first target calibration data and the checksum of the second target calibration data is different from the checksum of the inspection data corresponding to the second target calibration data; the uploading unit uploads all the second target calibration data to the calibration software to replace the corresponding inspection data. The target calibration data group in the device is a calibration data group that is different from the corresponding inspection data group, the second target calibration data is calibration data in the target calibration data group that is different from the corresponding inspection data in the corresponding inspection data group, and all the second target calibration data are uploaded to the calibration software of the controller, that is, only the calibration data in the target calibration data group that is different from the corresponding inspection data in the corresponding inspection data group needs to be uploaded to the calibration software of the controller, and the device solves the problem of low efficiency of uploading calibration data of the controller in the prior art.
[0056] It should be noted that the above-mentioned controller is the above-mentioned ECU, the above-mentioned inspection data are variables to be calibrated, the above-mentioned calibration data are calibration variables, the above-mentioned inspection data group includes the above-mentioned RP of the above-mentioned calibration software and the above-mentioned WP of the above-mentioned calibration software, the above-mentioned calibration data group includes the above-mentioned RP of the above-mentioned ECU and the above-mentioned WP of the above-mentioned ECU, the above-mentioned RP of the above-mentioned calibration software and the above-mentioned WP of the above-mentioned calibration software both include multiple variables to be calibrated, and the above-mentioned RP of the above-mentioned ECU and the above-mentioned WP of the above-mentioned ECU both include multiple calibration variables.
[0057] It should also be noted that the present application can be applied in the process of calibrating the above-mentioned ECU through the above-mentioned calibration software. It is only necessary to upload the corresponding calibration variables that are different from the variables to be calibrated in the above-mentioned ECU and the above-mentioned calibration software to the above-mentioned calibration software, and replace the corresponding variables to be calibrated in the above-mentioned calibration software, thereby improving the efficiency of the upload function.
[0058] In one embodiment of the present application, the above-mentioned first determination unit includes a first calculation module, a second calculation module, a first determination module and a first iteration module, the above-mentioned first calculation module is used to calculate the checksum of the above-mentioned inspection data group to obtain a first checksum; the above-mentioned second calculation module is used to calculate the checksum of the above-mentioned calibration data group corresponding to the above-mentioned inspection data group to obtain a second checksum; the above-mentioned first determination module is used to determine that the above-mentioned calibration data group corresponding to the above-mentioned second checksum is the above-mentioned target calibration data group when the above-mentioned first checksum is different from the above-mentioned second checksum; the above-mentioned first iteration module is used to repeat the above-mentioned first calculation step, the above-mentioned second calculation step and the above-mentioned first determination step in sequence at least once to complete the determination work of all the above-mentioned calibration data groups. In this embodiment, when the first checksum, i.e., the checksum of the RP of the calibration software, is different from the second checksum, i.e., the checksum of the RP of the ECU, the RP of the ECU is determined to be the target calibration data group, i.e., it is determined that there is a difference between the RP of the calibration software and the RP of the ECU; when the first checksum, i.e., the checksum of the WP of the calibration software, is different from the second checksum, i.e., the checksum of the WP of the ECU, the WP of the ECU is determined to be the target calibration data group, i.e., it is determined that there is a difference between the WP of the calibration software and the WP of the ECU.
[0059] In one embodiment of the present application, the second determination unit includes a first acquisition module, a second determination module, a third determination module and a second iteration module, the first acquisition module is used to acquire all first addresses and all second addresses, the first address is the address of the inspection data, and the second address is the address of the first target calibration data; the second determination module is used to determine that the inspection address exists when a preset condition is met, the preset condition is that the first address that is the same as the second address exists, and the inspection address is the first address that is the same as the second address; the third determination module is used to determine that the first target calibration data corresponding to the second address is the second target calibration data when the inspection address exists and the third checksum is different from the fourth checksum, the third checksum is the checksum of the first target calibration data corresponding to the second address, and the fourth checksum is the checksum of the inspection data corresponding to the inspection address; the second iteration module is used to repeat the second determination step and the third determination step at least once in sequence to obtain at least one second target calibration data. In this embodiment, when the RP of the ECU is determined to be the target calibration data group, if the preset condition is met, that is, there are variables to be calibrated corresponding to the calibration variables of the RP of the ECU in the RP of the calibration software, and the third checksum is different from the fourth checksum, that is, the checksum of the calibration variables of the RP of the ECU is different from the checksum of the variables to be calibrated corresponding to the calibration variables of the RP of the ECU in the RP of the calibration software, the first target calibration data is determined to be the second target calibration data, that is, it is determined that there is a difference between the calibration variables of the RP of the ECU and the corresponding variables to be calibrated in the RP of the calibration software. , when determining that the WP of the ECU is the target calibration data group, if the second address satisfies the preset condition, that is, there are variables to be calibrated corresponding to the calibration variables of the WP of the ECU in the WP of the calibration software, and the third checksum is different from the fourth checksum, that is, the checksum of the calibration variables of the WP of the ECU is different from the checksum of the variables to be calibrated corresponding to the calibration variables of the WP of the ECU in the WP of the calibration software, it is determined that the first target calibration data is the second target calibration data, that is, it is determined that there is a difference between the calibration variables of the WP of the ECU and the corresponding variables to be calibrated in the WP of the calibration software.
[0060] It should be noted that, for the same version of the above-mentioned data file, the calibration, uploading and downloading processes will not change the addresses of the variables therein, that is, the calibration variables of the above-mentioned RP of the above-mentioned ECU have the same address as the corresponding variables to be calibrated in the above-mentioned RP of the above-mentioned calibration software, and the calibration variables of the above-mentioned WP of the above-mentioned ECU have the same address as the corresponding variables to be calibrated in the above-mentioned WP of the above-mentioned calibration software.
[0061] In one embodiment of the present application, the upload unit includes a second acquisition module and a replacement module, the second acquisition module is used to acquire the addresses of all the second target calibration data to obtain multiple calibration addresses, and the calibration addresses correspond to the inspection addresses one by one; the replacement module is used to replace the inspection data of the corresponding inspection address with the second target calibration data of each calibration address. In this embodiment, when it is determined that the RP of the ECU is the target calibration data group, the second target calibration data of the calibration address replaces the inspection data of the corresponding inspection address, that is, the calibration variables of the RP of the ECU are used to replace the variables to be calibrated in the RP of the calibration software that correspond to and differ from the calibration variables of the RP of the ECU. When it is determined that the WP of the ECU is the target calibration data group, the second target calibration data of the calibration address replaces the inspection data of the corresponding inspection address, that is, the calibration variables of the WP of the ECU are used to replace the variables to be calibrated in the WP of the calibration software that correspond to and differ from the calibration variables of the WP of the ECU.
[0062] In one embodiment of the present application, the controller calibration data upload device further includes a first upload unit, and the first upload unit is used to upload the first target calibration data corresponding to the second address to the target inspection data group when the preset condition is not met, and the target inspection data group is the inspection data group corresponding to the target calibration data group. In this embodiment, when the RP of the ECU is determined to be the target calibration data group, if the second address does not meet the preset condition, that is, there is no variable to be calibrated corresponding to the calibration variable of the RP of the ECU in the RP of the calibration software, the first target calibration data is uploaded to the target inspection data group, that is, the RP calibration variable of the ECU is uploaded to the RP of the calibration software, and when the WP of the ECU is determined to be the target calibration data group, if the second address does not meet the preset condition, that is, there is no variable to be calibrated corresponding to the calibration variable of the WP of the ECU in the WP of the calibration software, the first target calibration data is uploaded to the target inspection data group, that is, the calibration variable of the WP of the ECU is uploaded to the WP of the calibration software.
[0063] In one embodiment of the present application, the controller calibration data upload device further includes a third determination unit, and the third determination unit is used to determine that the verification data of the verification data group does not need to be replaced when the checksums of all the calibration data groups are the same as the checksums of the verification data group corresponding to the calibration data group. Figure 2As shown, after the data file, i.e., the hex file, is imported into the calibration software, the calibration software will use the imported data file as the RP of the calibration software, and copy a copy of the data file as the WP of the calibration software. If the checksum of the RP of the ECU is the same as the checksum of the RP of the calibration software, and the checksum of the WP of the calibration software is the same as the checksum of the WP of the ECU, there is no need to replace the variables to be calibrated in the RP of the calibration software and the WP of the calibration software.
[0064] The embodiment of the present application also provides a device for uploading controller calibration data. It should be noted that the device for uploading controller calibration data in the embodiment of the present application can be used to execute the method for uploading controller calibration data provided in the embodiment of the present application. The device for uploading controller calibration data provided in the embodiment of the present application is introduced below.
[0065] The uploading device for the controller calibration data includes a processor and a memory. The acquisition unit, the first determination unit, the second determination unit and the uploading unit are all stored in the memory as program units, and the processor executes the program units stored in the memory to realize the corresponding functions.
[0066] The processor includes a kernel, which retrieves the corresponding program unit from the memory. One or more kernels can be set, and the problem of low efficiency of uploading calibration data of the controller in the prior art can be solved by adjusting kernel parameters.
[0067] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.
[0068] An embodiment of the present invention provides a storage medium on which a program is stored. When the program is executed by a processor, the method for uploading the calibration data of the controller is implemented.
[0069] An embodiment of the present invention provides a processor, and the processor is used to run a program, wherein the method for uploading the controller calibration data is executed when the program is run.
[0070] An embodiment of the present invention provides a controller calibration data upload system, comprising: one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include a method for executing any of the above methods, and when the processor executes the program, at least the following steps are implemented:
[0071] Step S101, obtaining a plurality of inspection data groups and a plurality of calibration data groups, wherein the inspection data group includes a plurality of inspection data, and the calibration data group includes a plurality of calibration data, wherein the inspection data is the imported data of the calibration software of the controller, and the calibration data is the storage data of the controller, and the inspection data group corresponds to the calibration data group one by one, and one inspection data corresponds to one calibration data;
[0072] Step S102, determining at least one target calibration data group according to the inspection data group and the calibration data group, wherein the target calibration data group is one of the calibration data groups and a checksum of the target calibration data group is different from a checksum of the inspection data group corresponding to the target calibration data group, and the calibration data in the target calibration data group is a first target calibration data;
[0073] Step S103, determining at least one second target calibration data according to the target calibration data group, wherein the second target calibration data is one of the first target calibration data and a checksum of the second target calibration data is different from a checksum of the verification data corresponding to the second target calibration data;
[0074] Step S104, uploading all the second target calibration data to the calibration software to replace the corresponding inspection data.
[0075] The devices in this article can be servers, PCs, PADs, mobile phones, etc.
[0076] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program for initializing at least the following method steps:
[0077] Step S101, obtaining a plurality of inspection data groups and a plurality of calibration data groups, wherein the inspection data group includes a plurality of inspection data, and the calibration data group includes a plurality of calibration data, wherein the inspection data is the imported data of the calibration software of the controller, and the calibration data is the storage data of the controller, and the inspection data group corresponds to the calibration data group one by one, and one inspection data corresponds to one calibration data;
[0078] Step S102, determining at least one target calibration data group according to the inspection data group and the calibration data group, wherein the target calibration data group is one of the calibration data groups and a checksum of the target calibration data group is different from a checksum of the inspection data group corresponding to the target calibration data group, and the calibration data in the target calibration data group is a first target calibration data;
[0079] Step S103, determining at least one second target calibration data according to the target calibration data group, wherein the second target calibration data is one of the first target calibration data and a checksum of the second target calibration data is different from a checksum of the verification data corresponding to the second target calibration data;
[0080] Step S104, uploading all the second target calibration data to the calibration software to replace the corresponding inspection data.
[0081] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0082] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the above-mentioned units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0083] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0084] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0085] If the above-mentioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the above-mentioned methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
[0086] From the above description, it can be seen that the above embodiments of the present application achieve the following technical effects:
[0087] 1) In the controller calibration data upload method of the present application, first, a plurality of inspection data groups and a plurality of calibration data groups are obtained, the inspection data group includes a plurality of inspection data, the calibration data group includes a plurality of calibration data, the inspection data is the imported data of the controller calibration software, the calibration data is the storage data of the controller, the inspection data group corresponds to the calibration data group one by one, and one inspection data corresponds to one calibration data; then, at least one target calibration data group is determined according to the inspection data group and the calibration data group, the target calibration data group is one of the calibration data groups. and the checksum of the target calibration data group is different from the checksum of the inspection data group corresponding to the target calibration data group, and the calibration data in the target calibration data group is the first target calibration data; then, according to the target calibration data group, at least one second target calibration data is determined, the second target calibration data is one of the first target calibration data and the checksum of the second target calibration data is different from the checksum of the inspection data corresponding to the second target calibration data; finally, all the second target calibration data are uploaded to the calibration software to replace the corresponding inspection data. The target calibration data group in the method is a calibration data group that is different from the corresponding inspection data group, and the second target calibration data is calibration data in the target calibration data group that is different from the corresponding inspection data in the corresponding inspection data group. All the second target calibration data are uploaded to the calibration software of the controller, that is, only the calibration data in the target calibration data group that is different from the corresponding inspection data in the corresponding inspection data group needs to be uploaded to the calibration software of the controller. This method solves the problem of low efficiency of uploading calibration data of the controller in the prior art.
[0088] 2) In the controller calibration data upload device of the present application, an acquisition unit acquires multiple inspection data groups and multiple calibration data groups, the inspection data group includes multiple inspection data, the calibration data group includes multiple calibration data, the inspection data is the imported data of the controller calibration software, the calibration data is the storage data of the controller, the inspection data group corresponds to the calibration data group one by one, and one inspection data corresponds to one calibration data; a first determination unit determines at least one target calibration data group according to the inspection data group and the calibration data group, the target calibration data group is one of the calibration data groups The target calibration data group in the device is a calibration data group that is different from the corresponding verification data group, and the checksum of the target calibration data group is different from the checksum of the verification data group corresponding to the target calibration data group, and the calibration data in the target calibration data group is the first target calibration data; the second determination unit determines at least one second target calibration data according to the target calibration data group, and the second target calibration data is one of the first target calibration data and the checksum of the second target calibration data is different from the checksum of the verification data corresponding to the second target calibration data; the uploading unit uploads all the second target calibration data to the calibration software to replace the corresponding verification data. The target calibration data group in the device is a calibration data group that is different from the corresponding verification data group, and the second target calibration data is calibration data in the target calibration data group that is different from the corresponding verification data in the corresponding verification data group, and all the second target calibration data are uploaded to the calibration software of the controller, that is, only the calibration data in the target calibration data group that is different from the corresponding verification data in the corresponding verification data group needs to be uploaded to the calibration software of the controller, and the device solves the problem of low efficiency of uploading calibration data of the controller in the prior art.
[0089] 3) The controller calibration data upload system of the present application includes: one or more processors, a memory and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include methods for executing any of the above methods. The target calibration data group in the system is a calibration data group that is different from the corresponding inspection data group, and the second target calibration data is calibration data in the target calibration data group that is different from the corresponding inspection data in the corresponding inspection data group. All the second target calibration data are uploaded to the calibration software of the controller, that is, only the calibration data in the target calibration data group that is different from the corresponding inspection data in the corresponding inspection data group needs to be uploaded to the calibration software of the controller. This system solves the problem of low efficiency in uploading calibration data of the controller in the prior art.
[0090] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A method for uploading controller calibration data, characterized in that: include: Acquire multiple inspection data groups and multiple calibration data groups, wherein the inspection data group includes multiple inspection data, and the calibration data group includes multiple calibration data, wherein the inspection data is the imported data of the calibration software of the controller, and the calibration data is the storage data of the controller, wherein the inspection data group corresponds to the calibration data group one by one, and one inspection data corresponds to one calibration data; Determining at least one target calibration data group according to the inspection data group and the calibration data group, wherein the target calibration data group is one of the calibration data groups and a checksum of the target calibration data group is different from a checksum of the inspection data group corresponding to the target calibration data group, and the calibration data in the target calibration data group is first target calibration data; Determining at least one second target calibration data according to the target calibration data group, wherein the second target calibration data is one of the first target calibration data and a checksum of the second target calibration data is different from a checksum of the verification data corresponding to the second target calibration data; Uploading all the second target calibration data to the calibration software to replace the corresponding inspection data; According to the target calibration data group, multiple second target calibration data are determined, including: an acquisition step, acquiring all first addresses and all second addresses, the first address is the address of the verification data, and the second address is the address of the first target calibration data; a second determination step, determining that the verification address exists when a preset condition is met, the preset condition is that the first address that is the same as the second address exists, and the verification address is the first address that is the same as the second address; a third determination step, determining that the first target calibration data corresponding to the second address is the second target calibration data when the verification address exists and the third checksum is different from the fourth checksum, the third checksum is the checksum of the first target calibration data corresponding to the second address, and the fourth checksum is the checksum of the verification data corresponding to the verification address; repeating the second determination step and the third determination step at least once in sequence to obtain at least one second target calibration data.
2. The method according to claim 1, characterized in that Determining at least one target calibration data set according to the inspection data set and the calibration data set comprises: A first calculation step is to calculate the checksum of the inspection data group to obtain a first checksum; A second calculation step, calculating a checksum of the calibration data group corresponding to the inspection data group to obtain a second checksum; a first determination step, in a case where the first checksum is different from the second checksum, determining that the calibration data set corresponding to the second checksum is the target calibration data set; Repeat the first calculating step, the second calculating step and the first determining step at least once to complete the determination of all the calibration data groups.
3. The method according to claim 1, characterized in that Uploading all the second target calibration data to the calibration software to replace the corresponding inspection data includes: Acquire addresses of all the second target calibration data to obtain a plurality of calibration addresses, wherein the calibration addresses correspond to the inspection addresses one by one; The second target calibration data of each calibration address is used to replace the inspection data of the corresponding inspection address.
4. The method according to claim 3, characterized in that After uploading all the second target calibration data to the calibration software to replace the corresponding inspection data, the method further includes: In the case where the preset condition is not met, the first target calibration data corresponding to the second address is uploaded to a target inspection data group, and the target inspection data group is the inspection data group corresponding to the target calibration data group.
5. The method according to claim 1, characterized in that After acquiring a plurality of inspection data sets and a plurality of calibration data sets, the method further comprises: When the checksums of all the calibration data sets are the same as the checksums of the inspection data sets corresponding to the calibration data sets, it is determined that there is no need to replace the inspection data of the inspection data sets.
6. A device for uploading controller calibration data, characterized in that: include: an acquisition unit, used for acquiring a plurality of inspection data groups and a plurality of calibration data groups, wherein the inspection data group includes a plurality of inspection data, and the calibration data group includes a plurality of calibration data, wherein the inspection data is the imported data of the calibration software of the controller, and the calibration data is the storage data of the controller, wherein the inspection data group corresponds to the calibration data group one by one, and one inspection data corresponds to one calibration data; a first determining unit, configured to determine at least one target calibration data group according to the inspection data group and the calibration data group, wherein the target calibration data group is one of the calibration data groups and a checksum of the target calibration data group is different from a checksum of the inspection data group corresponding to the target calibration data group, and the calibration data in the target calibration data group is first target calibration data; a second determination unit, configured to determine at least one second target calibration data according to the target calibration data group, wherein the second target calibration data is one of the first target calibration data and a checksum of the second target calibration data is different from a checksum of the inspection data corresponding to the second target calibration data; an uploading unit, used for uploading all the second target calibration data to the calibration software to replace the corresponding inspection data; The second determination unit includes a first acquisition module, a second determination module, a third determination module and a second iteration module, wherein the first acquisition module is used to execute an acquisition step to acquire all first addresses and all second addresses, wherein the first address is an address of the inspection data, and the second address is an address of the first target calibration data; The second determination module is used to perform a second determination step, and determine that the verification address exists when a preset condition is met, wherein the preset condition is that the first address that is the same as the second address exists, and the verification address is the first address that is the same as the second address; The third determination module is used to execute the third determination step, and when the verification address exists and the third checksum is different from the fourth checksum, determines that the first target calibration data corresponding to the second address is the second target calibration data, the third checksum is the checksum of the first target calibration data corresponding to the second address, and the fourth checksum is the checksum of the verification data corresponding to the verification address; the second iteration module is used to repeat the second determination step and the third determination step in sequence at least once to obtain at least one second target calibration data.
7. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein the program executes the method of any one of claims 1 to 5.
8. A processor, characterized in that: The processor is used to run a program, wherein the program executes the method according to any one of claims 1 to 5 when running.
9. A controller calibration data upload system, characterized in that: include: One or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, and the one or more programs include methods for executing any one of claims 1 to 5.
Citation Information
Patent Citations
ECU data calibration method and device
CN109255105A
Data storage method and device, storage medium and electronic device
CN113542422A