Vehicle end calibration method and device and medium

Through cloud remote calibration instructions and security authentication, the security risks of vehicle key management are solved, timely updates and efficient security of keys are achieved, dependence on professional tools is reduced, and the security of vehicles is improved.

CN119155684AActive Publication Date: 2024-12-17ANHUI JIANGHUAI AUTOMOBILE GRP CORP LTD

Patent Information

Application Number
CN202411336043.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-24
Publication Date
2024-12-17
Estimated Expiration
2044-09-24

AI Technical Summary

Technical Problem

The existing vehicle key management adopts the 'one-time write, lifelong use' method, which poses a security risk. Once the key is leaked or cracked, the entire vehicle information may be stolen or tampered with, and cannot be updated in time, resulting in property and personal safety risks. .

Method used

By issuing remote calibration instructions in the cloud, key verification and analysis are carried out, ECU is controlled to perform calibration, remote update and secure authentication of keys are realized, and timely replacement and security of keys are ensured.

Benefits of technology

It improves the safety of the vehicle, can change the keys in a timely and quickly through the cloud, lock the vehicle, reduces the dependence on professional diagnostic tools, and handles faults or safety issues caused by keys more convenient and efficient.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119155684A_ABST
    Figure CN119155684A_ABST
Patent Text Reader

Abstract

The invention relates to a vehicle end calibration method, and belongs to the technical field of vehicles. The method comprises the following steps: receiving a remote calibration instruction issued by a cloud; replying whether the current state of the cloud can be calibrated or not; when replying that the cloud can be calibrated, receiving a calibration instruction packet sent by the cloud; verifying the validity and integrity of the calibration instruction packet; if the verification is passed, analyzing the calibration instruction packet to obtain analyzed data; based on the analysis data, the ECU is controlled to execute calibration; the calibrated actual result is verified; and if the verification is successful, returning a calibration success result to the cloud. According to the method and the device, the use safety of the vehicle is improved, and when the secret key is cracked and the vehicle is stolen, the secret key can be timely and quickly changed through the cloud to lock the vehicle. By means of remote calibration, calibration does not need to depend on professional diagnostic tools any more, and faults or safety problems caused by secret keys can be processed more conveniently and efficiently.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure belongs to the field of vehicle technology, and in particular relates to a vehicle-side calibration method, device and medium. Background Art

[0002] With the rapid development of automobile intelligent networking technology, major OEMs are paying more and more attention to the functions of the whole vehicle in intelligent services, such as remote vehicle control, digital keys and other functions. The implementation architecture of these functions is often that the APP or cloud sends instructions to the vehicle terminal, and the vehicle terminal then sends the instructions to the actuators of each module of the vehicle for execution. There are a lot of security key exchange authentication between the vehicle terminal and the actuator. However, at this stage, the key management of the vehicle side often adopts the principle of "write once, use for life". Usually, it will not change after the whole vehicle is successfully calibrated offline. If the key needs to be updated later, it can only be rewritten by manual writing in the 4S store. This method has certain security risks: once the key is leaked or cracked, the whole vehicle information may be stolen or tampered with, which will bring property losses and even personal safety risks to the car owner and user. In addition, if there is a problem with the use of the function caused by the vehicle-side security key, the OEM cannot provide customers with a timely and effective way to deal with it.

[0003] The current technical solution: When the software of the key ECUs (such as BCM, ECM, etc.) on the vehicle is initialized, a fixed key will be randomly generated or written by the diagnostic instrument; when the vehicle is produced and passes through the EOL device, the two ECUs (such as TBOX and BCM) that need to communicate and authenticate are calibrated and learned through the diagnostic service to obtain the key to be used in the subsequent vehicle control; after the calibration is completed, the vehicle is offline after reading the return result of the learning success, and the key will be used until the vehicle is scrapped if there is no abnormality; if an abnormality occurs and the key needs to be updated, it must be manually calibrated by the 4S store or the manufacturer's staff using the diagnostic instrument. Once the key is successfully exchanged, it will not be updated for life. If the vehicle's security key is illegally stolen and used during use, the customer and the OEM do not have an immediate and effective way to lock the vehicle for tracking. Summary of the invention

[0004] The present disclosure proposes a vehicle-side calibration method, device and medium to solve the above-mentioned technical problems.

[0005] According to a first aspect of the present disclosure, a vehicle-side calibration method is provided, the method comprising: receiving a remote calibration instruction sent from the cloud; replying to the cloud whether calibration can be performed in the current state; when replying to the cloud that calibration can be performed, receiving a calibration instruction package sent by the cloud; verifying the validity and integrity of the calibration instruction package; if the verification passes, parsing the calibration instruction package to obtain parsed data; based on the parsed data, controlling the ECU to execute calibration; verifying the actual result of the calibration; if the verification is successful, returning the result of successful calibration to the cloud.

[0006] In some embodiments, when the reply to the cloud indicates that calibration is not possible, calibration is terminated.

[0007] In some embodiments, if the verification fails, a verification failure prompt message is returned to the cloud to end the calibration.

[0008] In some embodiments, the actual result of the calibration is verified, including: making two ECUs that need to exchange keys perform routine learning, one ECU is responsible for teaching the key, and the other ECU is responsible for learning the key, wherein when the ECU learning the key receives the key, it stores it in the register and sends it to the CAN bus in the form of a CAN frame; when the learning key frame is received, the learning key frame is compared with the teaching key frame; if the comparison results are the same, the calibration is successful.

[0009] In some embodiments, before receiving the remote calibration instruction issued by the cloud, it also includes: establishing a communication connection with the cloud, wherein the cloud combines the vehicle VIN code, the cloud server IP address, the current timestamp, and the generated random number, and generates a communication key from the combined information through the AES encryption algorithm; saving the communication key; receiving assembled encrypted information, wherein the cloud assembles and encrypts the serial number of the current communication message and the communication key to obtain assembled encrypted information; calculating and comparing the key by itself to see if it is correct; if correct, re-encrypting the first encryption result to obtain a second encryption result, and sending it to the cloud, wherein the cloud decrypts the second encryption result to see if the key information is correct. If correct, passing the security authentication, issuing the remote calibration instruction.

[0010] According to a second aspect of the present disclosure, a vehicle-side calibration device is provided, including: a remote calibration instruction receiving module, used to receive a remote calibration instruction sent from the cloud; a calibration-capable reply module, used to reply to the cloud whether calibration can be performed in the current state; a calibration instruction packet receiving module, used to receive a calibration instruction packet sent by the cloud when replying to the cloud that calibration can be performed; a calibration instruction packet verification module, used to verify the validity and integrity of the calibration instruction packet; a calibration instruction packet parsing module, used to parse the calibration instruction packet to obtain parsed data if the verification passes; a calibration control module, used to control the ECU to perform calibration based on the parsed data; a calibration result verification module, used to verify the actual result of the calibration; a calibration success result return module, used to return the calibration success result to the cloud if the verification succeeds.

[0011] According to a third aspect of the present disclosure, a vehicle-side calibration device is provided, comprising: a memory; and a processor coupled to the memory, wherein the processor is configured to execute the vehicle-side calibration method as described above based on instructions stored in the memory.

[0012] According to a fourth aspect of the present disclosure, a computer storable medium is provided, on which computer program instructions are stored, and when the instructions are executed by a processor, the vehicle-side calibration method as described above is implemented.

[0013] The beneficial effects of the present disclosure are: the safety of vehicle use is improved. When the key is cracked and the vehicle is stolen, the key can be changed quickly and timely through the cloud to lock the vehicle. Remote calibration eliminates the need to rely on professional diagnostic tools, making it more convenient and efficient to handle faults or safety issues caused by the key. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0015] Figure 1 is a flow chart showing a vehicle-side calibration method according to some embodiments of the present disclosure.

[0016] Figure 2 is a block diagram showing a vehicle-side calibration device according to some embodiments of the present disclosure.

[0017] Figure 3 It is a block diagram showing a vehicle-side calibration device according to some other embodiments of the present disclosure.

[0018] Figure 4 is a block diagram illustrating a computer system for implementing some embodiments of the present disclosure. DETAILED DESCRIPTION

[0019] Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangement of components and steps, numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present disclosure unless otherwise specifically stated.

[0020] At the same time, it should be understood that for the convenience of description, the sizes of the various parts shown in the drawings are not drawn according to the actual proportional relationship.

[0021] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the present disclosure, its application, or uses.

[0022] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered as part of the specification.

[0023] In all examples shown and discussed herein, any specific values ​​should be interpreted as merely exemplary and not as limiting. Therefore, other examples of the exemplary embodiments may have different values.

[0024] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.

[0025] At present, the key management on the vehicle side often adopts the principle of "write once, use for life". Usually, the key will not be changed after the vehicle is successfully calibrated offline. If the key needs to be updated later, it can only be rewritten manually at a 4S store. This method has certain security risks: once the key is leaked or cracked, the vehicle information may be stolen or tampered with, causing property losses and even personal safety risks to the owner and user. In addition, if there is a problem with the function usage caused by the vehicle-side security key, the OEM cannot provide customers with a timely and effective solution.

[0026] In view of this, the present disclosure proposes a vehicle-side calibration method, device and medium, which improves the safety of vehicle use. When the key is cracked and the vehicle is stolen, the key can be changed quickly and timely through the cloud to lock the vehicle. Remote calibration eliminates the need to rely on professional diagnostic tools, and it is more convenient and efficient to handle faults or safety issues caused by the key.

[0027] Figure 1 FIG. 4 is a flow chart showing a vehicle-side calibration method according to some embodiments of the present disclosure. Figure 1 As shown, the vehicle-side calibration method includes steps 110 to 180.

[0028] Before officially starting the calibration process, security authentication is required on the cloud and the terminal.

[0029] Security authentication method: The vehicle terminal reports the vehicle identification code (VIN number) when registering with the cloud for the first time, and the cloud stores it. Due to the importance of the data calibration function, the platform only authorizes this function to the relevant management account;

[0030] Each time the vehicle terminal establishes a connection with the cloud, the cloud generates a communication key through the AES encryption algorithm based on the vehicle's VIN code, the IP address of the cloud server, the current timestamp, and the generated random number. The vehicle terminal saves the key;

[0031] The cloud assembles and encrypts the serial number of the current communication message, the key generated when the connection is established, and other information, and then sends it to the terminal. After receiving it, the terminal first calculates and compares the key to see if it is correct. If it is correct, the result of the first encryption is mixed with the serial number, timestamp and other information for secondary encryption and sends it to the cloud. If it is incorrect, the terminal refuses to perform subsequent calibration operations;

[0032] The cloud receives the secondary encryption result sent by the terminal and decrypts it to check whether the key information is correct. If it is correct, the security authentication is passed and the next calibration operation can be performed. If it is incorrect, the authentication failure is returned and the calibration operation is not performed.

[0033] When the remote calibration function is issued, security authentication is performed first, and during the subsequent calibration period, the cloud automatically performs security authentication with the terminal every 1 minute. If it fails, the current action is terminated.

[0034] In step 110, a remote calibration instruction sent from the cloud is received.

[0035] In step 120, the cloud is informed whether the current status is capable of being calibrated.

[0036] In some embodiments, the cloud sends a remote calibration command to the terminal. After receiving the command, the terminal replies whether the current status can be calibrated. If the reply is successful, the next step is executed; if the reply status is busy, that is, it conflicts with other tasks, then wait for the terminal to reply successfully before executing the next step. If the cloud waiting time exceeds 5 minutes, the task is terminated, and a message is prompted that the vehicle-mounted terminal is currently busy and please try again, and the task needs to be resent; if the terminal reply fails, the cloud retries 3 times, and if it still fails, it returns failure.

[0037] In step 130, when the cloud is replied that calibration is possible, a calibration instruction packet sent by the cloud is received.

[0038] In step 140, the calibration instruction packet is checked for validity and integrity.

[0039] In some embodiments, after the terminal responds successfully, the cloud calibrates the vehicle through the UDS diagnostic protocol, packages the instructions that need to be sent during the calibration process and sends them to the vehicle-mounted terminal. After receiving the instruction package, the terminal verifies the validity and integrity of the instruction package. If the verification passes, the next step is executed. If the verification fails, a failure prompt message indicating that the instruction package verification failed is returned to the cloud, ending the task.

[0040] In step 150, if the verification passes, the calibration instruction packet is parsed to obtain parsed data.

[0041] In step 160 , based on the parsed data, the control ECU performs calibration.

[0042] In step 170, the actual result after calibration is verified.

[0043] In some embodiments, the terminal parses the valid instruction packet and sends it to the vehicle CAN network in the form of a CAN message, controls the two ECUs to be calibrated to execute the calibration of the key, and the terminal acts as a tester during the ECU calibration stage to verify the actual results of the ECU after the calibration is completed.

[0044] In some embodiments, the actual result of the calibration is verified, including: adding a detection terminal to verify the actual calibration result during the calibration process of two ECUs that need to exchange keys; the terminal first enters the detection state, and then normally controls the two ECUs that need to exchange keys to perform routine learning, one is responsible for teaching the key, and the other is responsible for learning the key; when the ECU learning the key receives the key, it stores it in the register and immediately sends this data to the CAN bus in the form of a CAN frame; after the terminal receives the learned key frame, it compares it with the just received teaching key frame. If they are the same, the calibration is successful. If they are different or the learned key frame is not received within a timeout (such as 10s), a failure is returned. The terminal recalibrates the failed result twice. If the retry still fails, a failure is directly returned.

[0045] In step 180, if the verification is successful, the result of successful calibration is returned to the cloud.

[0046] In some embodiments, if the verification is successful, the terminal will feed back the calibration result to the cloud, and the cloud will prompt a successful calibration message to end the task; if the verification fails, the terminal will choose to re-execute the calibration process twice according to the prompt information of the failure in the verification process. If the retry still fails, it will return the failure to the cloud and end the task.

[0047] The present disclosure provides a secure authentication method for remote calibration between the cloud and the vehicle, ensuring the security of remote calibration. A calibration method for vehicle-side security keys based on the cloud is provided, which can realize remote key update. The present disclosure can verify the actual calibration results to ensure the accuracy of the actual key calibration results of the entire vehicle.

[0048] Figure 2 is a block diagram showing a vehicle-side calibration device according to some embodiments of the present disclosure. Figure 2 As shown, the vehicle-side calibration device 200 includes a remote calibration command receiving module 210, a calibration success reply module 220, a calibration command packet receiving module 230, a calibration command packet verification module 240, a calibration command packet parsing module 250, a calibration control module 260, a calibration result verification module 270, and a calibration success result return module 280.

[0049] The remote calibration instruction receiving module 210 is configured to receive the remote calibration instruction sent from the cloud;

[0050] The calibration capable reply module 220 is configured to reply whether the current status of the cloud can be calibrated;

[0051] The calibration instruction packet receiving module 230 is configured to receive the calibration instruction packet sent by the cloud when replying that the cloud can be calibrated;

[0052] The calibration instruction packet verification module 240 is configured to verify the validity and integrity of the calibration instruction packet;

[0053] The calibration instruction packet parsing module 250 is configured to parse the calibration instruction packet to obtain parsed data if the verification passes;

[0054] The calibration control module 260 is configured to control the ECU to perform calibration based on the parsed data;

[0055] The calibration result verification module 270 is configured to verify the actual result after calibration;

[0056] The calibration success result return module 280 is configured to return the calibration success result to the cloud if the verification is successful.

[0057] In the device of the disclosed embodiment, the safety of vehicle use is improved. When the key is cracked and the vehicle is stolen, the key can be changed promptly and quickly through the cloud to lock the vehicle. Remote calibration eliminates the need to rely on professional diagnostic tools, making it more convenient and efficient to handle faults or safety issues caused by the key.

[0058] Figure 3 It is a block diagram showing a vehicle-side calibration device according to some other embodiments of the present disclosure.

[0059] like Figure 3 As shown, the vehicle-side calibration device 300 includes a memory 310; and a processor 320 coupled to the memory 310. The memory 310 is used to store instructions for executing the vehicle-side calibration method corresponding to the embodiment. The processor 320 is configured to execute the vehicle-side calibration method in any of the embodiments of the present disclosure based on the instructions stored in the memory 310.

[0060] Figure 4 is a block diagram showing a computer system for implementing some embodiments of the present disclosure. Figure 4 As shown, computer system 400 may be embodied in the form of a general purpose computing device. Computer system 400 includes memory 410, processor 420, and bus 430 that connects various system components.

[0061] The memory 410 may include, for example, a system memory, a non-volatile storage medium, etc. The system memory may store, for example, an operating system, an application program, a boot loader, and other programs. The system memory may include a volatile storage medium, such as a random access memory (RAM) and / or a cache memory. The non-volatile storage medium may store, for example, instructions for executing at least one corresponding embodiment of the vehicle-side calibration method. The non-volatile storage medium includes, but is not limited to, a disk memory, an optical memory, a flash memory, and the like.

[0062] The processor 420 can be implemented by a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistors, etc. Discrete hardware components. Accordingly, each module such as the remote calibration instruction receiving module, the calibration reply module, the calibration instruction packet receiving module, the calibration instruction packet verification module, the calibration instruction packet parsing module, the calibration control module, the calibration result verification module, and the calibration success result return module can be implemented by the central processing unit (CPU) running the instructions in the memory to execute the corresponding steps, or can be implemented by a dedicated circuit to execute the corresponding steps.

[0063] The bus 430 may use any of a variety of bus architectures, including, but not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MCA) bus, and a Peripheral Component Interconnect (PCI) bus.

[0064] The computer system 400 may also include an input / output interface 440, a network interface 450, a storage interface 460, etc. These interfaces 440, 450, 460, the memory 410, and the processor 420 may be connected via a bus 430. The input / output interface 440 may provide a connection interface for input / output devices such as a display, a mouse, and a keyboard. The network interface 750 may provide a connection interface for various networked devices. The storage interface 460 may provide a connection interface for external storage devices such as a floppy disk, a USB flash drive, and an SD card.

[0065] Here, various aspects of the present disclosure are described with reference to flowcharts and / or block diagrams of methods, devices, and computer program products according to embodiments of the present disclosure. It should be understood that each frame of the flowchart and / or block diagram and the combination of frames can be implemented by computer-readable program instructions.

[0066] These computer-readable program instructions may be provided to a processor of a general-purpose computer, a special-purpose computer or other programmable device to produce a machine, so that the processor executes the instructions to produce means for implementing the functions specified in one or more blocks in the flowchart and / or block diagram.

[0067] These computer-readable program instructions may also be stored in a computer-readable memory, which cause the computer to work in a specific manner to produce an article of manufacture, including instructions for implementing the functions specified in one or more blocks in the flowchart and / or block diagram.

[0068] The present disclosure can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects.

[0069] The disclosure improves the safety of vehicle use. When the key is cracked and the vehicle is stolen, the key can be changed quickly and timely through the cloud to lock the vehicle. Remote calibration eliminates the need to rely on professional diagnostic tools, making it more convenient and efficient to handle faults or safety issues caused by the key.

[0070] So far, the vehicle calibration method, device and medium according to the present disclosure have been described in detail. In order to avoid obscuring the concept of the present disclosure, some details known in the art are not described. Based on the above description, those skilled in the art can fully understand how to implement the technical solution disclosed here.

[0071] Although some specific embodiments of the present disclosure have been described in detail by way of examples, it should be understood by those skilled in the art that the above examples are for illustration only and are not intended to limit the scope of the present disclosure. It should be understood by those skilled in the art that the above embodiments may be modified without departing from the scope and spirit of the present disclosure. The scope of the present disclosure is defined by the appended claims.

Claims

1. A vehicle-side calibration method, characterized in that: The method comprises: Receive remote calibration instructions sent from the cloud; Reply to the cloud whether the current status can be calibrated; When the cloud is replied that calibration is possible, the calibration command packet sent by the cloud is received; Verifying the validity and integrity of the calibration instruction packet; If the verification is passed, the calibration instruction packet is parsed to obtain the parsed data; Based on the parsed data, the control ECU performs calibration; Verify the actual results after calibration; If the verification is successful, the result of successful calibration is returned to the cloud.

2. The vehicle-side calibration method according to claim 1, characterized in that: When the cloud responds that calibration is not possible, the calibration ends.

3. The vehicle-side calibration method according to claim 1, characterized in that: If the verification fails, a verification failure prompt message is returned to the cloud to end the calibration.

4. The vehicle-side calibration method according to claim 1, characterized in that: The verification of the actual result after calibration includes: Make two ECUs that need to exchange keys perform routine learning, one ECU is responsible for teaching the key, and the other ECU is responsible for learning the key. When the ECU that learns the key receives the key, it stores it in the register and sends it to the CAN bus in the form of a CAN frame; When the learning key frame is received, the learning key frame is compared with the teaching key frame; If the comparison results are the same, the calibration is successful.

5. The vehicle-side calibration method according to claim 1, characterized in that: Before receiving the remote calibration instruction sent by the cloud, the method further includes: Establish a communication connection with the cloud, where the cloud combines the vehicle VIN code, cloud server IP address, current timestamp, and generated random number, and generates a communication key from the combined information using the AES encryption algorithm; Saving the communication key; Receiving assembled encrypted information, wherein the cloud assembles and encrypts the serial number of the current communication message and the communication key to obtain assembled encrypted information; Calculate and compare the key by yourself to see if it is correct; If it is correct, the first encryption result will be encrypted again to obtain the second encryption result, and it will be sent to the cloud. The cloud will decrypt the second encryption result and compare whether the key information is correct. If it is correct, it will pass the security authentication and issue the remote calibration command.

6. A vehicle-side calibration device, characterized in that: include: A remote calibration command receiving module is used to receive remote calibration commands sent from the cloud; The calibration response module is used to respond to whether the current status of the cloud can be calibrated; The calibration instruction packet receiving module is used to receive the calibration instruction packet sent by the cloud when replying to the cloud that calibration is possible; A calibration instruction packet verification module, used to verify the validity and integrity of the calibration instruction packet; The calibration instruction packet parsing module is used to parse the calibration instruction packet to obtain parsed data if the verification passes; The calibration control module is used to control the ECU to perform calibration based on the parsed data; The calibration result verification module is used to verify the actual result after calibration; The calibration success result return module is used to return the calibration success result to the cloud if the verification is successful.

7. A vehicle-side calibration device, characterized in that: include: Memory; as well as A processor coupled to the memory, the processor being configured to execute the vehicle-side calibration method as described in any one of claims 1 to 5 based on instructions stored in the memory.

8. A computer storable medium, characterized in that: Computer program instructions are stored thereon, which, when executed by a processor, implement the vehicle-side calibration method as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Method for vehicle safety remote control and diagnosis and system thereof

    CN106713264A

  • Method and system for vehicle monitoring, diagnosing and calibrating based on remote wireless control

    CN106850798A

  • Remote calibration method and system for electric vehicle charging pile

    CN111612976A

  • Vehicle information access verification method, device and system

    CN115442062A

  • Data transmission encryption method and system for remote control of air conditioner

    CN117240504A

Cited By

  • Measurement calibration system and measurement calibration method

    CN121069953A