CVN value verification method and device and ECU
By comparing the target CVN value with the CVN reference value after the flashing is finished, and determining the abnormality of the CVN value based on the matching condition of the flashing tool code, the problem of judging false positives in the brushing process in the prior art is solved, and the problem of improving the The accuracy of judgment.
Patent Information
- Application Number
- CN202411482359.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-23
- Publication Date
- 2025-02-07
AI Technical Summary
In the prior art, it is determined whether there is an abnormality in the CVN value by directly determining whether the CVN value is consistent with the CVN reference value after the flash writing is completed, which may cause false alarms.
Use the engine parameter calibration verification code CVN value in the first flashing information as the CVN reference value. After the flashing is finished, the target CVN value is compared with the CVN reference value. If it is inconsistent, the flashing tool code is used with the pre-stored flashing. Write the tool code to compare to determine whether the CVN value is abnormal.
Through this method, the accuracy of judgment of the flashing process is improved and false alarms are reduced.
Smart Images

Figure CN119396046A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of ECUs, and in particular to a CVN value verification method, device and ECU. Background Art
[0002] ECU (Engine Control Unit) is a computer system used to control various engine functions, including fuel injection, ignition timing and emission control. CVN (Calibration Verification Number) is used to evaluate the effectiveness of emission control.
[0003] When the ECU is abnormally flashed, such as by fraudulent flashing, the engine control parameters may be tampered with, thereby affecting the CVN value, and further causing the engine emissions to fail to meet the standards. As the engine emission standards continue to improve, the problem of abnormal ECU flashing has become prominent. In the prior art, whether the CVN value is abnormal is determined by directly judging whether the CVN value after the flashing is consistent with the CVN reference value, and then determining whether the flashing process is abnormal. However, only judging the CVN value after the flashing is completed may cause false alarms. Summary of the invention
[0004] The present invention provides a CVN value verification method, device and ECU, which are used to solve the problem in the prior art that whether the CVN value is abnormal is determined by directly judging whether the CVN value after flashing is consistent with the CVN reference value, which may cause false alarms.
[0005] In a first aspect, the present application provides a CVN value verification method, the method comprising:
[0006] The engine parameter calibration verification code CVN value in the first flash information is used as the CVN reference value;
[0007] After the current flashing is completed, the first target CVN value is compared with the CVN reference value to obtain a first comparison result, wherein the first target CVN value is the CVN value in the current flashing information;
[0008] When the first comparison result is inconsistent, the first flashing tool code is compared with the flashing tool code pre-stored in the first data set to obtain a second comparison result, wherein the first flashing tool code represents the flashing tool in the current flashing process;
[0009] When the second comparison result is that the first flash tool code does not exist, the first target CVN value is determined to be abnormal; when the second comparison result is that the first flash tool code exists, the first target CVN value is determined to be normal.
[0010] In a possible implementation, before this flashing, the following steps are also included:
[0011] Compare the target user identity ID with the user ID pre-stored in the second data set to obtain a third comparison result, wherein the target user ID represents the user in this flashing process;
[0012] If the third comparison result is that the target user ID exists, the current flashing is allowed; if the third comparison result is that the target user ID does not exist, the current flashing is not allowed.
[0013] In a possible implementation manner, when the second comparison result is to determine that the first flash tool code does not exist, after determining that the first target CVN value is abnormal, the method further includes:
[0014] Sending a fault code to a diagnostic instrument so that the diagnostic instrument sends an alarm signal, and sending the fault code to a cloud server so that the cloud server saves the fault code, wherein the fault code is used to characterize that the first target CVN value is abnormal.
[0015] In a possible implementation manner, when the second comparison result is to determine that the first flash tool code exists, after determining that the first target CVN value is normal, the method further includes:
[0016] Updating the CVN reference value to the target CVN value;
[0017] After the next flashing is completed, the second target CVN value is compared with the updated CVN reference value to obtain a fourth comparison result, wherein the second target CVN value is the CVN value in the next flashing information;
[0018] When the fourth comparison result is inconsistent, the second flashing tool code is compared with the flashing tool code pre-stored in the first data set to obtain a fifth comparison result, wherein the second flashing tool code represents the flashing tool in the next flashing process;
[0019] When the fifth comparison result is that the second flash tool code does not exist, the second target CVN value is determined to be abnormal; when the fifth comparison result is that the second flash tool code exists, the second target CVN value is determined to be normal.
[0020] In a possible implementation manner, after the CVN reference value is updated to the target CVN value, the method further includes:
[0021] Sending the CVN reference value before the update to the cloud server so that the cloud server saves the CVN reference value before the update;
[0022] The method further includes:
[0023] Sending the second target CVN value to the cloud server, so that the cloud server compares the second target CVN value with the CVN reference value stored in the cloud server, obtains a sixth comparison result, and sends the sixth comparison result;
[0024] The sixth comparison result is used as the fourth comparison result.
[0025] In a second aspect, the present application provides a CVN value verification device, the device comprising:
[0026] A flash record module is used to use the engine parameter calibration verification code CVN value in the first flash information as the CVN reference value;
[0027] A comparison and determination module is used to compare the first target CVN value with the CVN reference value after the current flashing is completed to obtain a first comparison result, wherein the first target CVN value is the CVN value in the current flashing information; when the first comparison result is inconsistent, the first flashing tool code is compared with the flashing tool code pre-stored in the first data set to obtain a second comparison result, wherein the first flashing tool code represents the flashing tool used in the current flashing process; when the second comparison result is that the first flashing tool code does not exist, it is determined that the first target CVN value is abnormal; when the second comparison result is that the first flashing tool code exists, it is determined that the first target CVN value is normal.
[0028] In a possible implementation, the flash record module is further used for:
[0029] Compare the target user identity ID with the user ID pre-stored in the second data set to obtain a third comparison result, wherein the target user ID represents the user in this flashing process;
[0030] If the third comparison result is that the target user ID exists, the current flashing is allowed; if the third comparison result is that the target user ID does not exist, the current flashing is not allowed.
[0031] In a possible implementation manner, the comparison and determination module is further used to:
[0032] Sending a fault code to a diagnostic instrument so that the diagnostic instrument sends an alarm signal, and sending the fault code to a cloud server so that the cloud server saves the fault code, wherein the fault code is used to characterize that the first target CVN value is abnormal.
[0033] In a possible implementation manner, the comparison and determination module is further used to:
[0034] Updating the CVN reference value to the target CVN value;
[0035] After the next flashing is completed, the second target CVN value is compared with the updated CVN reference value to obtain a fourth comparison result, wherein the second target CVN value is the CVN value in the next flashing information;
[0036] When the fourth comparison result is inconsistent, the second flashing tool code is compared with the flashing tool code pre-stored in the first data set to obtain a fifth comparison result, wherein the second flashing tool code represents the flashing tool in the next flashing process;
[0037] When the fifth comparison result is that the second flash tool code does not exist, the second target CVN value is determined to be abnormal; when the fifth comparison result is that the second flash tool code exists, the second target CVN value is determined to be normal.
[0038] In a possible implementation manner, the comparison and determination module is further used to:
[0039] Sending the CVN reference value before the update to the cloud server so that the cloud server saves the CVN reference value before the update;
[0040] The method further includes:
[0041] Sending the second target CVN value to the cloud server, so that the cloud server compares the second target CVN value with the CVN reference value stored in the cloud server, obtains a sixth comparison result, and sends the sixth comparison result;
[0042] The sixth comparison result is used as the fourth comparison result.
[0043] In a third aspect, the present application provides an ECU, wherein the ECU comprises a device as described in any one of the second aspects.
[0044] The beneficial effects of the present invention are as follows:
[0045] The present application provides a CVN value verification method, device and ECU, the method uses the engine parameter calibration verification code CVN value in the first flashing information as the CVN reference value; after the flashing is completed, the first target CVN value is compared with the CVN reference value to obtain a first comparison result, wherein the first target CVN value is the CVN value in the flashing information; when the first comparison result is inconsistent, the first flashing tool code is compared with the flashing tool code pre-stored in the first data set to obtain a second comparison result, wherein the first flashing tool code represents the flashing tool in the flashing process; when the second comparison result is that the first flashing tool code does not exist, it is determined that the first target CVN value is abnormal, and when the second comparison result is that the first flashing tool code exists, it is determined that the first target CVN value is normal. That is to say, the present application determines whether the first target CVN value is abnormal by comparing the first flashing tool code with the flashing tool code pre-stored in the first data set to obtain the second comparison result when the first target CVN value is inconsistent with the CVN reference value, thereby determining whether the flashing process is abnormal, thereby improving the accuracy of the flashing process judgment and reducing false alarms. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only 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.
[0047] Figure 1 A schematic diagram of a CVN verification method provided in an embodiment of the present application;
[0048] Figure 2 A schematic diagram of a flow chart of another CVN verification method provided in an embodiment of the present application;
[0049] Figure 3 A schematic diagram of a flow chart of another CVN verification method provided in an embodiment of the present application;
[0050] Figure 4 A schematic diagram of the structure of a CVN value verification device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0051] In order to make the purpose, technical scheme and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0052] In the description of the embodiments of the present application, the terms "first" and "second" are used for descriptive purposes only and should not be understood as suggesting or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.
[0053] The preferred embodiments of the present application are described below in conjunction with the drawings in the specification. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present application, and are not used to limit the present application. In addition, the embodiments and features in the embodiments of the present application may be combined with each other if there is no conflict.
[0054] The ECU is a computer system used to control various engine functions, including fuel injection, ignition timing and emission control, and the CVN is used to evaluate the effectiveness of emission control.
[0055] When the ECU is abnormally flashed, such as by fraudulent flashing, the engine control parameters may be tampered with, thereby affecting the CVN value, and further causing the engine emissions to fail to meet the standards. As the engine emission standards continue to improve, the problem of abnormal ECU flashing has become prominent. In the prior art, whether the CVN value is abnormal is determined by directly judging whether the CVN value after the flashing is consistent with the CVN reference value, and then determining whether the flashing process is abnormal. However, only judging the CVN value after the flashing is completed may cause false alarms.
[0056] For example, when the ECU is flashed using a legitimate flashing tool, the CVN value may change. The CVN value that has changed after the flashing is compared with the CVN reference value to determine that the CVN value is inconsistent with the CVN reference value. An abnormality in the flashing process is reported, resulting in a false alarm.
[0057] Based on the above problems, the present application embodiment provides a CVN value verification method, such as Figure 1 As shown, it is a flow chart of a CVN verification method provided in an embodiment of the present application, and the steps are as follows:
[0058] S101, using the engine parameter calibration verification code CVN value in the first flashing information as the CVN reference value;
[0059] S102, after the current flashing is completed, the first target CVN value is compared with the CVN reference value to obtain a first comparison result, wherein the first target CVN value is the CVN value in the current flashing information;
[0060] S103, when the first comparison result is inconsistent, compare the first flashing tool code with the flashing tool code pre-stored in the first data set to obtain a second comparison result, wherein the first flashing tool code represents the flashing tool in the current flashing process;
[0061] S104: When the second comparison result shows that the first flashing tool code does not exist, determine that the first target CVN value is abnormal; when the second comparison result shows that the first flashing tool code exists, determine that the first target CVN value is normal.
[0062] The present application provides a CVN value verification method, which uses the engine parameter calibration verification code CVN value in the first flashing information as the CVN reference value; after the flashing is completed, the first target CVN value is compared with the CVN reference value to obtain a first comparison result, wherein the first target CVN value is the CVN value in the flashing information; when the first comparison result is inconsistent, the first flashing tool code is compared with the flashing tool code pre-stored in the first data set to obtain a second comparison result, wherein the first flashing tool code represents the flashing tool in the flashing process; when the second comparison result is that the first flashing tool code does not exist, it is determined that the first target CVN value is abnormal, and when the second comparison result is that the first flashing tool code exists, it is determined that the first target CVN value is normal. That is, the present application determines whether the first target CVN value is abnormal by comparing the first flashing tool code with the flashing tool code pre-stored in the first data set to obtain the second comparison result when the first target CVN value is inconsistent with the CVN reference value, thereby determining whether the flashing process is abnormal, thereby improving the accuracy of the flashing process judgment and reducing false alarms.
[0063] In a possible implementation, before this flashing, it also includes: comparing the target user identity identification ID with the user ID pre-stored in the second data set to obtain a third comparison result, wherein the target user ID represents the user in this flashing process; if the third comparison result is that the target user ID exists, the flashing is allowed, and if the third comparison result is that the target user ID does not exist, the flashing is not allowed.
[0064] In a specific embodiment, before the flashing tool performs flashing, the target user ID is sent through the flashing tool. When it is determined that the target user ID exists in the pre-stored user IDs, the flashing is allowed and the first flashing tool code is saved; when it is determined that the target user ID does not exist in the pre-stored user IDs, the flashing is not allowed.
[0065] It should be noted that the storage area and flag bit of the flashing information are pre-set, and before the flashing tool performs the flashing, the flag bit is determined to be 0, and after the flashing tool performs the flashing, the flag bit is updated to 1.
[0066] In addition, the flashing information saved in each flashing process includes the flashing time, the flashing tool code and the engine parameter calibration verification code CVN value, wherein the amount of the saved flashing information is a positive integer greater than or equal to 1.
[0067] In a possible implementation, when the second comparison result is to determine that the first flash tool code does not exist, after determining that the first target CVN value is abnormal, it also includes: sending a fault code to the diagnostic instrument so that the diagnostic instrument sends an alarm signal, and sending the fault code to the cloud server so that the cloud server saves the fault code, wherein the fault code is used to characterize that the first target CVN value is abnormal.
[0068] Specifically, in one possible implementation, after it is determined that the first target CVN value is abnormal, a fault code is sent to the diagnostic instrument, the fault code is displayed in the vehicle instrument and a prompt is given, and an alarm signal is sent to the driver's operation interface and the central service station operation interface through the diagnostic instrument, so that the driver and the central service station determine that the first target CVN value is abnormal based on the alarm signal, thereby determining that there is an abnormality in the flashing process.
[0069] In another possible implementation, after receiving the fault code, the cloud server can determine that there is an abnormality in the first target CVN value based on the fault code, and can send an alarm signal to the client, thereby determining that there is an abnormality in the flashing process.
[0070] In a possible implementation, Figure 2 As shown, it is a flow chart of another CVN verification method provided in an embodiment of the present application, and the steps are as follows:
[0071] S201, using the engine parameter calibration verification code CVN value in the first flashing information as the CVN reference value;
[0072] S202, after the current flashing is completed, the first target CVN value is compared with the CVN reference value to obtain a first comparison result;
[0073] S203, determine whether the first comparison result is consistent, if so, execute S204, otherwise, execute S205;
[0074] S204, determining that the first target CVN value is normal;
[0075] S205, comparing the first flashing tool code with the flashing tool code pre-stored in the first data set to obtain a second comparison result;
[0076] S206, determining whether the second comparison result is that the first flash tool code does not exist, if so, executing S207, otherwise, executing S208;
[0077] S207, determining that the first target CVN value is abnormal;
[0078] S208, updating the CVN reference value to the target CVN value;
[0079] S209, comparing the second target CVN value with the updated CVN reference value to obtain a fourth comparison result;
[0080] S210, determining whether the fourth comparison result is consistent, and if it is determined that the first comparison result is consistent, executing S211, otherwise, executing S212;
[0081] S211, determining that the second target CVN value is normal;
[0082] S212, comparing the second flashing tool code with the flashing tool code pre-stored in the first data set to obtain a fifth comparison result;
[0083] S213, determining whether the fifth comparison result is that the second flash tool code does not exist, if so, executing S214, otherwise, executing S211;
[0084] S214. Determine that the second target CVN value is abnormal.
[0085] In a specific embodiment, when the second comparison result is to determine that the first flash tool code exists, after determining that the first target CVN value is normal, the method further includes:
[0086] Update the CVN reference value to the target CVN value; after the next flashing is completed, compare the second target CVN value with the updated CVN reference value to obtain a fourth comparison result, wherein the second target CVN value is the CVN value in the next flashing information; when the fourth comparison result is inconsistent, compare the second flashing tool code with the flashing tool code pre-stored in the first data set to obtain a fifth comparison result, wherein the second flashing tool code represents the flashing tool in the next flashing process; when the fifth comparison result is that the second flashing tool code does not exist, it is determined that the second target CVN value is abnormal; when the fifth comparison result is that the second flashing tool code exists, it is determined that the second target CVN value is normal.
[0087] For example, if the CVN reference value is A1, if after the current flash is completed, the first target CVN determined based on the CVN value in the current flash information is A1, the first target CVN value A1 is compared with the CVN reference value A1 to obtain a first comparison result. Since the first comparison result is consistent, it is determined that the first target CVN value is normal.
[0088] For example, if the CVN reference value is A1, and if the first target CVN determined based on the CVN value in the current flashing information is A2 after the flashing is completed, the first target CVN value A2 is compared with the CVN reference value A1 to obtain a first comparison result. Since the first comparison result is inconsistent, the first flashing tool code determined by the flashing tool in the current flashing process is compared with the pre-stored flashing tool code. If the first flashing tool code exists in the pre-stored flashing tool code, it is determined that the first target CVN value A2 is normal. If the first flashing tool code does not exist in the pre-stored flashing tool code, it is determined that the first target CVN value A2 is abnormal.
[0089] For example, if the CVN reference value is A1, and after the current flashing is completed, it is determined that the first target CVN value A2 is normal, then the first target CVN value A2 is updated to the CVN reference value, that is, the CVN reference value is A2. After the next flashing is completed, if the second CVN reference value determined based on the CVN value in the next flashing information is A2, the second target CVN value is compared with the updated CVN reference value to obtain a fourth comparison result. Since the fourth comparison result is consistent, it is determined that the second target CVN value is normal.
[0090] For example, if the CVN reference value is A1, and after the current flashing is completed, it is determined that the first target CVN value A2 is normal, then the first target CVN value A2 is updated to the CVN reference value, that is, the CVN reference value is A2. After the next flashing is completed, if the second CVN reference value determined based on the CVN value in the next flashing information is A3, the second target CVN value A3 is compared with the updated CVN reference value to obtain a fourth comparison result. Since the fourth comparison result is inconsistent, the second flashing tool code determined in the next flashing process is compared with the pre-stored flashing tool code. If the second flashing tool code exists in the pre-stored flashing tool code, it is determined that the second target CVN value A3 is normal. If the second flashing tool code does not exist in the pre-stored flashing tool code, it is determined that the second target CVN value A3 is abnormal.
[0091] In a possible implementation, Figure 3 As shown, it is a flow chart of another CVN verification method provided in an embodiment of the present application. After the CVN reference value is updated to the target CVN value, the steps are as follows:
[0092] S301, sending the CVN reference value before the update to the cloud server, so that the cloud server saves the CVN reference value before the update;
[0093] S302, sending the second target CVN value to the cloud server, so that the cloud server compares the second target CVN value with the CVN reference value stored in the cloud server, obtains a sixth comparison result, and sends the sixth comparison result;
[0094] S303: Use the sixth comparison result as the fourth comparison result.
[0095] For example, if the CVN reference value is A1, and after the current flashing is completed, it is determined that the first target CVN value A2 is normal, then the first target CVN value A2 is updated to the CVN reference value, that is, the CVN reference value is A2. Before the first target CVN value A2 is updated to the CVN reference value, the CVN reference value A1 before the update is sent to the cloud server, so that the cloud server saves the CVN reference value A1 before the update.
[0096] After the next flash is completed, the second target CVN value is sent to the cloud server so that the cloud server compares the second target CVN value with the CVN reference value stored in the cloud server. If the next flash is completed, the second target CVN value is A1. Since the second target CVN value A1 is compared with the updated CVN reference value A2, the fourth comparison result is inconsistent. The cloud server compares the second target CVN value A1 with the CVN reference value A1 stored in the cloud server, and obtains a sixth comparison result to determine that the second target CVN value A1 exists. The fourth comparison result is updated based on the sixth comparison result, and it is determined that the second target CVN value A1 is normal.
[0097] Based on the same inventive concept, an embodiment of the present application also provides a CVN value verification device, the principle of solving the problem by the device is similar to the principle of solving the problem by the above-mentioned CVN value verification method, and the repeated parts will not be repeated.
[0098] like Figure 4 FIG. 1 is a schematic diagram of a CVN value verification device provided in an embodiment of the present application, the device comprising:
[0099] The flash recording module 401 is used to use the engine parameter calibration verification code CVN value in the first flashing information as the CVN reference value;
[0100] The comparison and determination module 402 is used to compare the first target CVN value with the CVN reference value after the current flashing is completed to obtain a first comparison result, wherein the first target CVN value is the CVN value in the current flashing information; when the first comparison result is inconsistent, the first flashing tool code is compared with the flashing tool code pre-stored in the first data set to obtain a second comparison result, wherein the first flashing tool code represents the flashing tool used in the current flashing process; when the second comparison result is that the first flashing tool code does not exist, it is determined that the first target CVN value is abnormal; when the second comparison result is that the first flashing tool code exists, it is determined that the first target CVN value is normal.
[0101] The present application provides a CVN value verification method and device, which uses the engine parameter calibration verification code CVN value in the first flashing information as the CVN reference value; after the flashing is completed, the first target CVN value is compared with the CVN reference value to obtain a first comparison result, wherein the first target CVN value is the CVN value in the flashing information; when the first comparison result is inconsistent, the first flashing tool code is compared with the flashing tool code pre-stored in the first data set to obtain a second comparison result, wherein the first flashing tool code represents the flashing tool in the flashing process; when the second comparison result is that the first flashing tool code does not exist, it is determined that the first target CVN value is abnormal, and when the second comparison result is that the first flashing tool code exists, it is determined that the first target CVN value is normal. That is, the present application determines whether the first target CVN value is abnormal by comparing the first flashing tool code with the flashing tool code pre-stored in the first data set to obtain the second comparison result when the first target CVN value is inconsistent with the CVN reference value, thereby determining whether the flashing process is abnormal, thereby improving the accuracy of the flashing process judgment and reducing false alarms.
[0102] In a possible implementation, the flash record module 401 is further used for:
[0103] Compare the target user identity ID with the user ID pre-stored in the second data set to obtain a third comparison result, wherein the target user ID represents the user in this flashing process;
[0104] If the third comparison result is that the target user ID exists, the current flashing is allowed; if the third comparison result is that the target user ID does not exist, the current flashing is not allowed.
[0105] In a possible implementation, the comparison and determination module 402 is further configured to:
[0106] Sending a fault code to a diagnostic instrument so that the diagnostic instrument sends an alarm signal, and sending the fault code to a cloud server so that the cloud server saves the fault code, wherein the fault code is used to characterize that the first target CVN value is abnormal.
[0107] In a possible implementation manner, the comparison and determination module is further used to:
[0108] Updating the CVN reference value to the target CVN value;
[0109] After the next flashing is completed, the second target CVN value is compared with the updated CVN reference value to obtain a fourth comparison result, wherein the second target CVN value is the CVN value in the next flashing information;
[0110] When the fourth comparison result is inconsistent, the second flashing tool code is compared with the flashing tool code pre-stored in the first data set to obtain a fifth comparison result, wherein the second flashing tool code represents the flashing tool in the next flashing process;
[0111] When the fifth comparison result is that the second flash tool code does not exist, the second target CVN value is determined to be abnormal; when the fifth comparison result is that the second flash tool code exists, the second target CVN value is determined to be normal.
[0112] In a possible implementation, the comparison and determination module 402 is further configured to:
[0113] Sending the CVN reference value before the update to the cloud server so that the cloud server saves the CVN reference value before the update;
[0114] The method further includes:
[0115] sending the second target CVN value to the cloud server, so that the cloud server compares the second target CVN value with the CVN reference value stored in the cloud server, obtains a sixth comparison result, and sends the sixth comparison result;
[0116] The sixth comparison result is used as the fourth comparison result.
[0117] Based on the same inventive concept, an embodiment of the present application also provides an ECU, the principle of which is similar to the principle of which the above-mentioned CVN verification method and device solve the problem, and the repeated parts will not be repeated.
[0118] The ECU includes any one of the above-mentioned CVN verification devices.
[0119] The present application provides a CVN value verification method, device and ECU, the method uses the engine parameter calibration verification code CVN value in the first flashing information as the CVN reference value; after the flashing is completed, the first target CVN value is compared with the CVN reference value to obtain a first comparison result, wherein the first target CVN value is the CVN value in the flashing information; when the first comparison result is inconsistent, the first flashing tool code is compared with the flashing tool code pre-stored in the first data set to obtain a second comparison result, wherein the first flashing tool code represents the flashing tool in the flashing process; when the second comparison result is that the first flashing tool code does not exist, it is determined that the first target CVN value is abnormal, and when the second comparison result is that the first flashing tool code exists, it is determined that the first target CVN value is normal. That is to say, the present application determines whether the first target CVN value is abnormal by comparing the first flashing tool code with the flashing tool code pre-stored in the first data set to obtain the second comparison result when the first target CVN value is inconsistent with the CVN reference value, thereby determining whether the flashing process is abnormal, thereby improving the accuracy of the flashing process judgment and reducing false alarms.
[0120] The present application is described above with reference to the block diagrams and / or flow charts showing the methods, devices (systems) and / or computer program products according to the embodiments of the present application. It should be understood that a block of the block diagram and / or flow chart diagram and a combination of blocks of the block diagram and / or flow chart diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer and / or other programmable data processing device to produce a machine, so that the instructions executed by the computer processor and / or other programmable data processing device create a method for implementing the functions / actions specified in the block diagram and / or flow chart block.
[0121] Accordingly, the present application may also be implemented with hardware and / or software (including firmware, resident software, microcode, etc.). Furthermore, the present application may take the form of a computer program product on a computer-usable or computer-readable storage medium, which has a computer-usable or computer-readable program code implemented in the medium, for use by an instruction execution system or in conjunction with an instruction execution system. In the context of the present application, a computer-usable or computer-readable medium may be any medium that may contain, store, communicate, transmit, or convey a program for use by an instruction execution system, device, or apparatus, or in conjunction with an instruction execution system, device, or apparatus.
[0122] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A CVN value verification method, characterized in that: The method comprises: The engine parameter calibration verification code CVN value in the first flash information is used as the CVN reference value; After the current flashing is completed, the first target CVN value is compared with the CVN reference value to obtain a first comparison result, wherein the first target CVN value is the CVN value in the current flashing information; When the first comparison result is inconsistent, the first flashing tool code is compared with the flashing tool code pre-stored in the first data set to obtain a second comparison result, wherein the first flashing tool code represents the flashing tool in the current flashing process; When the second comparison result is that the first flash tool code does not exist, the first target CVN value is determined to be abnormal; when the second comparison result is that the first flash tool code exists, the first target CVN value is determined to be normal.
2. The method according to claim 1, characterized in that Before this flash, it also includes: Compare the target user identity ID with the user ID pre-stored in the second data set to obtain a third comparison result, wherein the target user ID represents the user in this flashing process; If the third comparison result is that the target user ID exists, the current flashing is allowed; if the third comparison result is that the target user ID does not exist, the current flashing is not allowed.
3. The method according to claim 1, characterized in that In the case where the second comparison result is that the first flash tool code does not exist, after determining that the first target CVN value is abnormal, the method further includes: Sending a fault code to a diagnostic instrument so that the diagnostic instrument sends an alarm signal, and sending the fault code to a cloud server so that the cloud server saves the fault code, wherein the fault code is used to characterize that the first target CVN value is abnormal.
4. The method according to claim 1, characterized in that In the case where the second comparison result is to determine that the first flash tool code exists, after determining that the first target CVN value is normal, the method further includes: Updating the CVN reference value to the target CVN value; After the next flashing is completed, the second target CVN value is compared with the updated CVN reference value to obtain a fourth comparison result, wherein the second target CVN value is the CVN value in the next flashing information; When the fourth comparison result is inconsistent, the second flashing tool code is compared with the flashing tool code pre-stored in the first data set to obtain a fifth comparison result, wherein the second flashing tool code represents the flashing tool in the next flashing process; When the fifth comparison result is that the second flash tool code does not exist, the second target CVN value is determined to be abnormal; when the fifth comparison result is that the second flash tool code exists, the second target CVN value is determined to be normal.
5. The method according to claim 4, characterized in that After the CVN reference value is updated to the target CVN value, the method further includes: Sending the CVN reference value before the update to the cloud server so that the cloud server saves the CVN reference value before the update; The method further includes: sending the second target CVN value to the cloud server, so that the cloud server compares the second target CVN value with the CVN reference value stored in the cloud server, obtains a sixth comparison result, and sends the sixth comparison result; The sixth comparison result is used as the fourth comparison result.
6. A CVN value verification device, characterized in that: The device comprises: A flash record module is used to use the engine parameter calibration verification code CVN value in the first flash information as the CVN reference value; A comparison and determination module is used to compare the first target CVN value with the CVN reference value after the current flashing is completed to obtain a first comparison result, wherein the first target CVN value is the CVN value in the current flashing information; when the first comparison result is inconsistent, the first flashing tool code is compared with the flashing tool code pre-stored in the first data set to obtain a second comparison result, wherein the first flashing tool code represents the flashing tool used in the current flashing process; when the second comparison result is that the first flashing tool code does not exist, it is determined that the first target CVN value is abnormal; when the second comparison result is that the first flashing tool code exists, it is determined that the first target CVN value is normal.
7. The device according to claim 6, characterized in that The flash record module is also used for: Compare the target user identity ID with the user ID pre-stored in the second data set to obtain a third comparison result, wherein the target user ID represents the user in this flashing process; If the third comparison result is that the target user ID exists, the current flashing is allowed; if the third comparison result is that the target user ID does not exist, the current flashing is not allowed.
8. The device according to claim 6, characterized in that The comparison and determination module is also used for: Sending a fault code to a diagnostic instrument so that the diagnostic instrument sends an alarm signal, and sending the fault code to a cloud server so that the cloud server saves the fault code, wherein the fault code is used to characterize that the first target CVN value is abnormal.
9. The device according to claim 6, characterized in that The comparison and determination module is also used for: Updating the CVN reference value to the target CVN value; After the next flashing is completed, the second target CVN value is compared with the updated CVN reference value to obtain a fourth comparison result, wherein the second target CVN value is the CVN value in the next flashing information; When the fourth comparison result is inconsistent, the second flashing tool code is compared with the flashing tool code pre-stored in the first data set to obtain a fifth comparison result, wherein the second flashing tool code represents the flashing tool in the next flashing process; When the fifth comparison result is that the second flash tool code does not exist, the second target CVN value is determined to be abnormal; when the fifth comparison result is that the second flash tool code exists, the second target CVN value is determined to be normal.
10. An ECU, characterized in that: The ECU comprises the device according to any one of claims 6 to 9.