OTA differential upgrading method and system, storage medium and equipment

By identifying and obtaining the target system version data with maximum compatibility, calculating differential information and merging differential data packets, the reliability and security issues during the OTA upgrade process are solved, network resources and storage space are optimized, and the upgrade is ensured. Process safety and system stability.

CN118535203APending Publication Date: 2024-08-23JIANGLING MOTORS
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410504212.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-25
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

The decompression and installation process of differential files in existing OTA upgrade technology has reliability and security issues and cannot effectively prevent upgrade failures or data leaks.

Method used

By identifying the current system version and vehicle identification of the vehicle to be upgraded, the target system version data with maximum compatibility is obtained, the differential information is calculated and packaged, and the differential data packets are merged and processed to generate an upgrade package to ensure the safety and reliability of the upgrade process.

Benefits of technology

It significantly reduces the network resources and storage space required for upgrade, effectively ensuring the security of the OTA upgrade process and the normal operation of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118535203A
    Figure CN118535203A
Patent Text Reader

Abstract

The invention provides an OTA differential upgrading method and system, a storage medium and equipment, and relates to the technical field of data processing.The method comprises the steps that an OTA upgrading request sent by a to-be-upgraded vehicle is responded; identifying a system version of a current operation system of the to-be-upgraded vehicle, and obtaining source data corresponding to the current system version; according to the vehicle identifier of the to-be-upgraded vehicle, retrieving a target system version of the to-be-upgraded vehicle capable of running with maximum compatibility, and obtaining target data corresponding to the target system version; comparing the source data with the target data, outputting differential information of the source data and the target data, and packaging the differential information to obtain a differential data packet; and combining the differential data packet with a source data packet corresponding to the source data to obtain an upgrade packet, and upgrading the current operation system of the to-be-upgraded vehicle through the upgrade packet. According to the method and the device, the problem that upgrading failure or data leakage cannot be effectively prevented in the existing OTA upgrading process is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to an OTA differential upgrade method, system, storage medium and device. Background Art

[0002] As technology develops, embedded systems need to be constantly updated to fix vulnerabilities, enhance functions, and improve performance. Traditional upgrade methods usually require downloading complete software packages, which consumes a lot of network resources and storage space.

[0003] At present, in order to improve the upgrade efficiency, differential data packets are usually generated based on OTA technology, and then the differential data packets are used to upgrade the vehicle, thereby greatly improving the OTA upgrade efficiency. However, in the existing technology, the decompression and installation process of the differential file may have reliability and security issues. Especially in the face of malicious attacks or erroneous operations, the existing OTA upgrade process cannot effectively prevent upgrade failures or data leakage. Summary of the invention

[0004] Based on this, the purpose of the present invention is to provide an OTA differential upgrade method, system, storage medium and device, aiming to solve the problem that the existing OTA upgrade process in the prior art cannot effectively prevent upgrade failure or data leakage.

[0005] A first aspect of the present invention is to provide an OTA differential upgrade method, the method comprising: Responding to an OTA upgrade request issued by a vehicle to be upgraded; Identify the system version of the current running system of the vehicle to be upgraded, and obtain source data corresponding to the current system version; According to the vehicle identification of the vehicle to be upgraded, searching for a target system version on which the vehicle to be upgraded can run with maximum compatibility, and acquiring target data corresponding to the target system version; Comparing the source data with the target data, outputting differential information between the source data and the target data, and packaging the differential information to obtain a differential data packet; The differential data packet is combined with a source data packet corresponding to the source data to obtain an upgrade package, so as to upgrade the current operating system of the vehicle to be upgraded through the upgrade package.

[0006] According to one aspect of the above technical solution, according to the vehicle identification of the vehicle to be upgraded, the step of retrieving the target system version that the vehicle to be upgraded can run with maximum compatibility and acquiring the target data corresponding to the target system version specifically includes: According to an OTA upgrade request sent by the vehicle to be upgraded, identifying a vehicle identification of the vehicle to be upgraded; According to the vehicle identification, a target system version that the vehicle to be upgraded can run with maximum compatibility is retrieved from a preset database; The target data corresponding to the target system version is copied in the database to obtain the target data.

[0007] According to one aspect of the above technical solution, the step of retrieving the target system version that the vehicle to be upgraded can run with maximum compatibility in a preset database according to the vehicle identification specifically includes: According to the vehicle identification, a plurality of system versions corresponding to the vehicle identification are screened out from a preset database; Sorting the system versions in the order of the letters of the version numbers; Simulate upgrades for the system versions corresponding to the latest version numbers, and score the compatibility of each system version using multi-dimensional evaluation indicators; The system version with the highest compatibility is determined as the target system version to be upgraded for the vehicle to be upgraded.

[0008] According to one aspect of the above technical solution, the steps of comparing the source data with the target data, outputting differential information between the source data and the target data, and packaging the differential information to obtain a differential data packet specifically include: Get source data and target data; Compare the source data with the target data to obtain a hash value difference between the source data and the target data, and output differential information between the source data and the target data according to the hash value difference; The differential information corresponding to the source data and the target data is packaged to obtain a differential data packet.

[0009] According to one aspect of the above technical solution, the step of merging the differential data packet with the source data packet corresponding to the source data to obtain an upgrade package, and upgrading the current operating system of the vehicle to be upgraded through the upgrade package, specifically includes: Merging the differential data packet with the source data packet corresponding to the source data to obtain an upgrade package; Sending the upgrade package to the vehicle to be upgraded, and causing the vehicle to be upgraded to store the upgrade package; When it is detected that the vehicle to be upgraded meets a preset upgrade trigger condition, the upgrade package is retrieved and the current operating system of the vehicle to be upgraded is upgraded according to the differential information.

[0010] According to one aspect of the above technical solution, the step of sending the upgrade package to the vehicle to be upgraded and causing the vehicle to be upgraded to store the upgrade package specifically includes: Sending the upgrade package to the vehicle to be upgraded; The differential information in the upgrade package is stored in the Redis queue, the queue in Redis is automatically retrieved, the information to be differentiated is popped up, and the differential operation is performed according to the business conditions; If the difference is successful, the difference package information will be updated to the Mysql difference table.

[0011] According to one aspect of the above technical solution, the method further includes: Encrypting and transmitting the differential data packet; When the differential data packet is received, determining whether the receiving subject of the differential data packet is the vehicle to be upgraded; If so, the differential data packet is decrypted and combined with the source data packet to obtain an upgrade package.

[0012] A second aspect of the present invention is to provide an OTA differential upgrade system, which is applied to the method described in the above technical solution, and the system includes: A response module, used to respond to an OTA upgrade request sent by a vehicle to be upgraded; A source data acquisition module, used to identify the system version of the current running system of the vehicle to be upgraded, and acquire source data corresponding to the current system version; A target data acquisition module, configured to retrieve a target system version on which the vehicle to be upgraded can run with maximum compatibility according to the vehicle identification of the vehicle to be upgraded, and acquire target data corresponding to the target system version; A differential data generation module, used for comparing the source data with the target data, outputting differential information between the source data and the target data, and packaging the differential information to obtain a differential data packet; The upgrade execution module is used to merge the differential data packet with the source data packet corresponding to the source data to obtain an upgrade package, so as to upgrade the current running system of the vehicle to be upgraded through the upgrade package.

[0013] The third aspect of the present invention is to provide a computer-readable storage medium having computer instructions stored thereon, which, when executed by a processor, implement the steps of the method described in the above technical solution.

[0014] The fourth aspect of the present invention is to provide a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method described in the above technical solution when executing the program.

[0015] Compared with the prior art, the OTA differential upgrade method, system, storage medium and device shown in the present invention have the following beneficial effects: When a user needs to perform an OTA upgrade on a vehicle to be upgraded, an OTA upgrade request will be triggered first, the current system version of the vehicle to be upgraded will be identified and the corresponding source data will be obtained. Furthermore, based on the vehicle identification of the vehicle to be upgraded, a target system version with maximum compatibility will be retrieved and determined and the corresponding target data will be obtained. The source data and the target data will be compared, and the differential information will be output and packaged to obtain a differential data packet. Finally, in a specific OTA upgrade stage, the differential data packet will be packaged with the source data packet to obtain an upgrade package. The vehicle to be upgraded can perform a system upgrade according to the upgrade package. The OTA differential upgrade method shown in this embodiment can significantly reduce the network resources and storage space required for the upgrade, while effectively ensuring the security of the OTA upgrade process and the normal operation of the system. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 Schematic diagram of the process of the OTA differential upgrade method in the first embodiment of the present invention; Figure 2 4 is a structural block diagram of an OTA differential upgrade system in the third embodiment of the present invention.

[0017] The following specific implementation manner will further illustrate the present invention in conjunction with the above-mentioned drawings. DETAILED DESCRIPTION

[0018] In order to facilitate the understanding of the present invention, the present invention will be described more fully below with reference to the relevant drawings. Several embodiments of the present invention are given in the drawings. However, the present invention can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the disclosure of the present invention more thorough and comprehensive.

[0019] It should be noted that when an element is referred to as being "fixed to" another element, it may be directly on the other element or there may be a central element. When an element is considered to be "connected to" another element, it may be directly connected to the other element or there may be a central element at the same time. The terms "vertical", "horizontal", "left", "right" and similar expressions used herein are for illustrative purposes only.

[0020] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which the present invention belongs. The terms used herein in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "and / or" used herein includes any and all combinations of one or more of the related listed items.

[0021] Embodiment 1 See also Figure 1The first embodiment of the present invention provides an OTA differential upgrade method, the method comprising steps S10 to S50: Step S10, responding to an OTA upgrade request sent by a vehicle to be upgraded.

[0022] First of all, it should be noted that OTA (Over-the-Air) upgrade is a modern automotive technology that allows vehicle systems to remotely receive and install software updates through network connections, thereby improving vehicle performance and system functions. It is suitable for pure electric vehicles or models equipped with Internet car systems.

[0023] The advantages of OTA upgrades include: quickly repairing system defects, improving product and user experience, and convenience. Compared with the traditional car recall process and returning to the factory for system upgrades, OTA technology can quickly complete defect repairs in the form of remote data packets, saving time and energy; through repeated OTA upgrades, car owners can gradually obtain new functions, optimize product experience, and enjoy better system services; and car owners do not need to go to 4S stores, they can upgrade the car system through the Internet, which improves the convenience of use.

[0024] The OTA upgrade process usually includes online detection of the vehicle's current software version, matching the latest software version, downloading the new code to the local computer, and performing installation and verification. This upgrade method is not only convenient and fast, but also avoids the need to go to the 4S store for on-site upgrades due to software upgrades.

[0025] Therefore, the OTA differential upgrade shown in this embodiment is also based on user needs. Only when the user needs to upgrade, a series of verifications are performed through the OTA upgrade request. For example, after parking the vehicle and not driving the vehicle again in a short period of time, the vehicle system, mainly the vehicle's software control system, is upgraded to make the upgraded vehicle more comprehensive and the system more stable.

[0026] Step S20, identifying the system version of the current operating system of the vehicle to be upgraded, and acquiring source data corresponding to the current system version.

[0027] In this embodiment, based on the OTA upgrade request received by the system, the system version of the current running system of the vehicle to be upgraded is identified, and then the source data corresponding to the above current system version is retrieved from the database, and then the source data is copied to obtain the source data.

[0028] Specifically, the vehicle is searched according to the information in the OTA upgrade request, including but not limited to searching the vehicle by vehicle identification, i.e., VIN code, and then obtaining vehicle data such as the model, maintenance data, and mileage data of the vehicle to be upgraded. After determining the specific vehicle to be upgraded, the current operating system of the vehicle to be upgraded and its corresponding system version are identified according to the background data of the vehicle to be upgraded or the maintenance data in the vehicle data, and then the source data corresponding to the current system version is searched in the database.

[0029] Step S30, according to the vehicle identification of the vehicle to be upgraded, searching for a target system version that the vehicle to be upgraded can run with maximum compatibility, and acquiring target data corresponding to the target system version.

[0030] In this embodiment, according to the vehicle identification of the vehicle to be upgraded, the step of retrieving the target system version that the vehicle to be upgraded can run with maximum compatibility and acquiring the target data corresponding to the target system version specifically includes: According to an OTA upgrade request sent by the vehicle to be upgraded, identifying a vehicle identification of the vehicle to be upgraded; According to the vehicle identification, a target system version that the vehicle to be upgraded can run with maximum compatibility is retrieved from a preset database; The target data corresponding to the target system version is copied in the database to obtain the target data.

[0031] Furthermore, according to the vehicle identification, the step of retrieving from a preset database the target system version on which the vehicle to be upgraded can run with maximum compatibility specifically includes: According to the vehicle identification, a plurality of system versions corresponding to the vehicle identification are screened out from a preset database; Sorting the system versions in the order of the letters of the version numbers; Simulate upgrades for the system versions corresponding to the latest version numbers, and score the compatibility of each system version using multi-dimensional evaluation indicators; The system version with the highest compatibility is determined as the target system version to be upgraded for the vehicle to be upgraded.

[0032] First of all, it should be noted that in order to improve the user's car experience, the host manufacturer will carry out continuous system development and maintenance for models with OTA upgrade functions, and the vehicle can obtain new functions through OTA upgrades. The above system development and maintenance mainly optimizes the software code, such as optimizing the software code or adding software code, so that a certain hardware can achieve more complete and better functions. In the continuous system development and maintenance, many versions of system software will be generated, and each version has at least partial differences in its focus, so there will be multiple versions of system software for the control system of the same hardware.

[0033] It should be noted again that not all versions of system software can be perfectly applied to the vehicle to be upgraded. Therefore, the most compatible system version should be selected as the target system version shown in this embodiment, and then the target data corresponding to the target system version should be obtained.

[0034] Step S40, comparing the source data with the target data, outputting differential information between the source data and the target data, and packaging the differential information to obtain a differential data packet.

[0035] In this embodiment, after respectively obtaining the source data corresponding to the current system version and the target data corresponding to the target system version, the source data and the target data are compared to find the differential information between the source data and the target data, and then packaged to obtain a differential data packet.

[0036] Specifically, after acquiring the source data and the target data, the hash value difference or binary difference between the source data and the target data is compared and output to obtain differential information of the source data and the target data, and then the differential information is packaged to obtain a differential data packet.

[0037] In the specific differential process, the differential generation tool will be used on the OTA platform to generate differential information. The generation requirements include but are not limited to: vehicle series, ECU name (i.e. specific control unit), version line, source version and target version information. The differential service automatically generates differential packages online based on the differential information. OTA stores the differential information in the queue in Redis. The differential service automatically retrieves the queue in Redis at a fixed time, pops up the information to be differentiated, and performs differential operations according to business conditions. If the differential is successful, the differential package information will be updated to the Mysql differential table. If the differential is unsuccessful, the differential information will be pushed from the left to the queue to wait for continued differentiation.

[0038] Step S50, the differential data packet is combined with the source data packet corresponding to the source data to obtain an upgrade package, so as to upgrade the current operating system of the vehicle to be upgraded through the upgrade package.

[0039] In this embodiment, the step of merging the differential data packet with the source data packet corresponding to the source data to obtain an upgrade package, and upgrading the current operating system of the vehicle to be upgraded through the upgrade package specifically includes: Merging the differential data packet with the source data packet corresponding to the source data to obtain an upgrade package; Sending the upgrade package to the vehicle to be upgraded, and causing the vehicle to be upgraded to store the upgrade package; When it is detected that the vehicle to be upgraded meets a preset upgrade trigger condition, the upgrade package is retrieved and the current operating system of the vehicle to be upgraded is upgraded according to the differential information.

[0040] Specifically, the differential data packet obtained according to the difference and the source data packet corresponding to the source data are merged and processed to obtain the upgrade package that needs to be executed this time, and finally the upgrade package is transmitted to the vehicle to be upgraded. The vehicle to be upgraded will upgrade the current running system according to the upgrade package. Specifically, a system upgrade is performed on at least one ECU in the vehicle to be upgraded, so that the ECU can run according to the latest system after the upgrade. For example, the upgrade object includes the ECU corresponding to the window lifter, thereby upgrading the original "remote control window lift\lift switch control window lift" to "automatic window lift when the vehicle is locked".

[0041] In the specific upgrade process, OTA will issue an upgrade task, and the vehicle to be upgraded will report the ECU information of the actual vehicle to detect whether there is an upgrade task at present. If there is an upgrade task and a differential data packet, the vehicle side will first obtain the differential data packet, and the vehicle side OTA will use the differential merging tool to merge the source data packet with the differential data packet to obtain the upgrade package, and finally the vehicle to be upgraded will perform the system upgrade according to the data in the upgrade package, so that the corresponding ECU will complete the system upgrade.

[0042] Compared with the prior art, the OTA differential upgrade method shown in this embodiment has the following beneficial effects: When a user needs to perform an OTA upgrade on a vehicle to be upgraded, an OTA upgrade request will be triggered first, the current system version of the vehicle to be upgraded will be identified and the corresponding source data will be obtained. Furthermore, based on the vehicle identification of the vehicle to be upgraded, a target system version with maximum compatibility will be retrieved and determined and the corresponding target data will be obtained. The source data and the target data will be compared, and the differential information will be output and packaged to obtain a differential data packet. Finally, in a specific OTA upgrade stage, the differential data packet will be packaged with the source data packet to obtain an upgrade package. The vehicle to be upgraded can perform a system upgrade according to the upgrade package. The OTA differential upgrade method shown in this embodiment can significantly reduce the network resources and storage space required for the upgrade, while effectively ensuring the security of the OTA upgrade process and the normal operation of the system.

[0043] Embodiment 2 The second embodiment of the present invention also provides an OTA differential upgrade method. The OTA differential upgrade method shown in this embodiment is consistent with the OTA differential upgrade method shown in the first embodiment, except that: In this embodiment, after obtaining the differential data packet, the method further includes: Encrypting and transmitting the differential data packet; When the differential data packet is received, determining whether the receiving subject of the differential data packet is the vehicle to be upgraded; If so, the differential data packet is decrypted and combined with the source data packet to obtain an upgrade package.

[0044] In this embodiment, after the differential data packet is packaged based on the differential information of the source data and the target data, the differential data packet is encrypted for transmission and decrypted for packaging, thereby obtaining the upgrade package required for the vehicle to be upgraded to perform OTA upgrade.

[0045] Specifically, after the differential data packet is output, the differential data packet will be encrypted based on asymmetric key technology to obtain an encrypted packet, and then the encrypted packet will be transmitted to the vehicle to be upgraded. After the encrypted packet is received, it will be determined whether the receiving subject is the vehicle to be upgraded, specifically based on the vehicle identification of the vehicle to be upgraded, to avoid the upgrade package being tampered with and upgraded, thus ensuring the data security of the upgrade package. In addition, only after the vehicle to be upgraded is determined to be the receiving subject based on the vehicle connection identification, can the encrypted packet be decrypted by the MCU of the vehicle to be upgraded.

[0046] After the encrypted data packet is decrypted, the original data in the encrypted data packet is combined with the original data in the source data packet to obtain an upgrade package.

[0047] Compared with the first embodiment, the OTA differential upgrade method shown in this embodiment has the following beneficial effects: After outputting the differential data packet, in order to prevent the data from being tampered with before upgrading, the differential data packet will be encrypted and transmitted, and it will be determined whether the receiving subject is the vehicle to be upgraded. After verification, it will be decrypted and assembled with the source data packet to obtain an upgrade package. The method shown in this embodiment encrypts, transmits and decrypts the differential data packet, increases the data verification process of OTA upgrade, improves the security of the data, and can effectively prevent data from being tampered with.

[0048] Embodiment 3 See also Figure 2 The third embodiment of the present invention provides an OTA differential upgrade system, the system comprising: A response module, used to respond to an OTA upgrade request sent by a vehicle to be upgraded; A source data acquisition module, used to identify the system version of the current running system of the vehicle to be upgraded, and acquire source data corresponding to the current system version; A target data acquisition module, configured to retrieve a target system version on which the vehicle to be upgraded can run with maximum compatibility according to the vehicle identification of the vehicle to be upgraded, and acquire target data corresponding to the target system version; A differential data generation module, used for comparing the source data with the target data, outputting differential information between the source data and the target data, and packaging the differential information to obtain a differential data packet; The upgrade execution module is used to merge the differential data packet with the source data packet corresponding to the source data to obtain an upgrade package, so as to upgrade the current running system of the vehicle to be upgraded through the upgrade package.

[0049] Compared with the prior art, the OTA differential upgrade system shown in this embodiment has the following beneficial effects: When a user needs to perform an OTA upgrade on a vehicle to be upgraded, an OTA upgrade request will be triggered first, the current system version of the vehicle to be upgraded will be identified and the corresponding source data will be obtained. Furthermore, based on the vehicle identification of the vehicle to be upgraded, a target system version with maximum compatibility will be retrieved and determined and the corresponding target data will be obtained. The source data and the target data will be compared, and the differential information will be output and packaged to obtain a differential data packet. Finally, in a specific OTA upgrade stage, the differential data packet will be packaged with the source data packet to obtain an upgrade package. The vehicle to be upgraded can perform a system upgrade according to the upgrade package. The OTA differential upgrade system shown in this embodiment can significantly reduce the network resources and storage space required for the upgrade, while effectively ensuring the security of the OTA upgrade process and the normal operation of the system.

[0050] Embodiment 4 A fourth embodiment of the present invention provides a computer-readable storage medium having computer instructions stored thereon, which implement the steps of the method described in the above embodiment when the instructions are executed by a processor.

[0051] Embodiment 5 A fifth embodiment of the present invention provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method described in the above embodiment when executing the program.

[0052] It should be noted that the above modules can be functional modules or program modules, and can be implemented by software or hardware. For modules implemented by hardware, the above modules can be located in the same processor; or the above modules can be located in different processors in any combination.

[0053] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.

[0054] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.

[0055] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0056] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.

[0057] The above-mentioned embodiments only express several implementation methods of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of the patent of the present invention. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.

Claims

1. An OTA differential upgrade method, characterized in that: The method comprises: Responding to an OTA upgrade request issued by a vehicle to be upgraded; Identify the system version of the current running system of the vehicle to be upgraded, and obtain source data corresponding to the current system version; According to the vehicle identification of the vehicle to be upgraded, searching for a target system version on which the vehicle to be upgraded can run with maximum compatibility, and acquiring target data corresponding to the target system version; Comparing the source data with the target data, outputting differential information between the source data and the target data, and packaging the differential information to obtain a differential data packet; Merging the differential data packet with a source data packet corresponding to the source data to obtain an upgrade package, so as to upgrade the current operating system of the vehicle to be upgraded through the upgrade package; The steps of comparing the source data with the target data, outputting differential information between the source data and the target data, and packaging the differential information to obtain a differential data packet specifically include: Get source data and target data; Compare the source data with the target data to obtain a hash value difference between the source data and the target data, and output differential information between the source data and the target data according to the hash value difference; Packing the difference information corresponding to the source data and the target data to obtain a difference data packet; The method further comprises: Encrypting and transmitting the differential data packet; When the differential data packet is received, determining whether the receiving subject of the differential data packet is the vehicle to be upgraded; If so, the differential data packet is decrypted and combined with the source data packet to obtain an upgrade package.

2. The OTA differential upgrade method according to claim 1, characterized in that: The step of retrieving a target system version on which the vehicle to be upgraded can run with maximum compatibility according to the vehicle identification of the vehicle to be upgraded, and acquiring target data corresponding to the target system version specifically includes: According to an OTA upgrade request sent by the vehicle to be upgraded, identifying a vehicle identification of the vehicle to be upgraded; According to the vehicle identification, a target system version that the vehicle to be upgraded can run with maximum compatibility is retrieved from a preset database; The target data corresponding to the target system version is copied in the database to obtain the target data.

3. The OTC differential upgrade method according to claim 2, characterized in that: The step of retrieving, according to the vehicle identification, a target system version that the vehicle to be upgraded can run with maximum compatibility in a preset database specifically includes: According to the vehicle identification, a plurality of system versions corresponding to the vehicle identification are screened out from a preset database; Sorting the system versions in the order of the letters of the version numbers; Simulate upgrades for the system versions corresponding to the latest version numbers, and score the compatibility of each system version using multi-dimensional evaluation indicators; The system version with the highest compatibility is determined as the target system version to be upgraded for the vehicle to be upgraded.

4. The OTA differential upgrade method according to claim 1, characterized in that: The step of merging the differential data packet with the source data packet corresponding to the source data to obtain an upgrade package, and upgrading the current operating system of the vehicle to be upgraded through the upgrade package specifically includes: Merging the differential data packet with the source data packet corresponding to the source data to obtain an upgrade package; Sending the upgrade package to the vehicle to be upgraded, and causing the vehicle to be upgraded to store the upgrade package; When it is detected that the vehicle to be upgraded meets a preset upgrade trigger condition, the upgrade package is retrieved and the current operating system of the vehicle to be upgraded is upgraded according to the differential information.

5. The OTA differential upgrade method according to claim 4, characterized in that: The step of sending the upgrade package to the vehicle to be upgraded and causing the vehicle to be upgraded to store the upgrade package specifically includes: Sending the upgrade package to the vehicle to be upgraded; The differential information in the upgrade package is stored in the Redis queue, the queue in Redis is automatically retrieved, the information to be differentiated is popped up, and the differential operation is performed according to the business conditions; If the difference is successful, the difference package information will be updated to the Mysql difference table.

6. An OTA differential upgrade system, characterized in that: The method applied to any one of claims 1 to 5, wherein the system comprises: A response module, used to respond to an OTA upgrade request sent by a vehicle to be upgraded; A source data acquisition module, used to identify the system version of the current running system of the vehicle to be upgraded, and acquire source data corresponding to the current system version; A target data acquisition module, configured to retrieve a target system version on which the vehicle to be upgraded can run with maximum compatibility according to the vehicle identification of the vehicle to be upgraded, and acquire target data corresponding to the target system version; A differential data generation module, used for comparing the source data with the target data, outputting differential information between the source data and the target data, and packaging the differential information to obtain a differential data packet; The upgrade execution module is used to merge the differential data packet with the source data packet corresponding to the source data to obtain an upgrade package, so as to upgrade the current running system of the vehicle to be upgraded through the upgrade package.

7. A computer-readable storage medium having computer instructions stored thereon, characterized in that: When the instruction is executed by the processor, the steps of the method according to any one of claims 1 to 5 are implemented.

8. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps of the method according to any one of claims 1 to 5 are implemented.

Citation Information

Cited By

  • Electronic control unit upgrading method and system

    CN120560696A

  • Vehicle OTA differential upgrade method, apparatus and system

    WO2026092709A1