Vehicle offline upgrading method and device, equipment, storage medium and program product
Through the collaboration of diagnostic equipment and software platform, combined with hash algorithm verification and status check, the efficient and safe upgrade of vehicle software is achieved, and the cumbersome problem of the vehicle offline upgrade process is solved, and the vehicle performance and safety is improved.
Patent Information
- Application Number
- CN202510481478.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-17
- Publication Date
- 2025-08-01
AI Technical Summary
In the prior art, the vehicle software update process is cumbersome, and how to upgrade the vehicle offline more efficiently has become an urgent problem.
Through the collaborative work of diagnostic equipment and software platform, the comparison of vehicle software version information and the push of upgrade information is realized, and the hash algorithm is used to verify software integrity and compliance, ensuring that the vehicle status meets the installation requirements and performs safe and reliable software installation.
It realizes efficient and safe upgrades of vehicle software, ensures that the vehicle system is always running in the latest state, improves performance and safety, reduces human operation errors, reduces maintenance costs and customer complaints, and enhances vehicle reliability and user satisfaction.
Smart Images

Figure CN120406981A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and particularly to a method, device, equipment, storage medium and program product for vehicle offline upgrade. Background Art
[0002] With the continuous development of vehicle technology, the software systems installed in vehicles often support more and more functions, and correspondingly, these software contents will also be continuously updated.
[0003] In related technologies, the software update of vehicles is often relatively complex and the update process is cumbersome. Therefore, how to perform vehicle offline upgrade more efficiently has become an urgent problem to be solved in the industry. Summary of the Invention
[0004] The present invention provides a method, device, equipment, storage medium and program product for vehicle offline upgrade to solve the problem of how to perform vehicle offline upgrade more efficiently in the prior art.
[0005] The present invention provides a method for vehicle offline upgrade, including: A diagnostic device sends vehicle software version information of a target vehicle to a software platform; wherein, the vehicle software version information is used to instruct the software platform to send software upgrade information to the diagnostic device when it detects that the latest vehicle software version information of the target vehicle is inconsistent with the vehicle software version information; When the diagnostic device receives the software upgrade information, it downloads the latest vehicle software version of the target vehicle according to the software upgrade information; When the downloaded latest vehicle software version of the target vehicle passes verification, the diagnostic device installs the latest vehicle software version for the target vehicle.
[0006] According to the method for vehicle offline upgrade provided by the present invention, the software upgrade information includes at least one of the following: download address information of the latest vehicle software version, software installation requirement information, and software hash value information.
[0007] According to the method for vehicle offline upgrade provided by the present invention, before the step of the diagnostic device installing the latest vehicle software version for the target vehicle when the downloaded latest vehicle software version information of the target vehicle passes verification, the method further includes: Performing a hash calculation on the latest vehicle software version through a hash algorithm to obtain a first hash value; When the first hash value is consistent with the software hash value information, determining that the content integrity of the latest vehicle software version passes verification; When the content integrity of the latest vehicle software version is verified and the compliance check is passed, it is determined that the latest vehicle software version information of the target vehicle is verified.
[0008] According to a vehicle offline upgrade method provided by the present invention, the diagnostic device installs the latest vehicle software version for the target vehicle, including: The diagnostic device obtains the current vehicle status information of the target vehicle; When the current vehicle status information meets the software installation requirement information, according to the installation instruction, the latest vehicle software version is installed for the target vehicle.
[0009] According to a vehicle offline upgrade method provided by the present invention, after the step of performing a hash calculation on the latest vehicle software version by a hash algorithm to obtain a first hash value, the method further includes: When the first hash value is inconsistent with the software hash value information, it is determined that the content integrity of the latest vehicle software version fails to be verified, and a file error warning message is generated; Delete the latest vehicle software version, and re-download the latest vehicle software version of the target vehicle.
[0010] According to a vehicle offline upgrade method provided by the present invention, after the step that the diagnostic device obtains the current vehicle status information of the target vehicle, the method further includes: When the current vehicle status information does not meet the software installation requirement information, a vehicle status adjustment prompt message is generated; Wherein, the vehicle status adjustment prompt message is used to prompt to adjust the vehicle status to a vehicle status that meets the software installation requirement information.
[0011] The present invention also provides a vehicle offline upgrade device, including the following modules: A sending module, configured to send the vehicle software version information of the target vehicle by the diagnostic device to the software platform; wherein, the vehicle software version information is used to instruct the software platform to send software upgrade information to the diagnostic device when it detects that the latest vehicle software version information of the target vehicle is inconsistent with the vehicle software version information; A download module, configured to download the latest vehicle software version of the target vehicle according to the software upgrade information when the diagnostic device receives the software upgrade information; An update module, configured to install the latest vehicle software version for the target vehicle by the diagnostic device when the latest vehicle software version of the target vehicle downloaded passes the verification.
[0012] A vehicle offline upgrade device provided according to the present invention, wherein the software upgrade information includes at least one of the following: download address information of the latest vehicle software version, software installation requirement information, and software hash value information.
[0013] A vehicle offline upgrade device provided according to the present invention, the device is further configured to: Perform a hash calculation on the latest vehicle software version through a hash algorithm to obtain a first hash value; When the first hash value is consistent with the software hash value information, determine that the content integrity of the latest vehicle software version passes the verification; When the content integrity of the latest vehicle software version passes the verification and the compliance check passes, determine that the latest vehicle software version information of the target vehicle passes the verification.
[0014] A vehicle offline upgrade device provided according to the present invention, the device is further configured to: The diagnostic device obtains the current vehicle state information of the target vehicle; When the current vehicle state information meets the software installation requirement information, install the latest vehicle software version for the target vehicle according to the installation instruction.
[0015] A vehicle offline upgrade device provided according to the present invention, the device is further configured to: When the first hash value is inconsistent with the software hash value information, determine that the content integrity of the latest vehicle software version fails to pass the verification, and generate a file error warning message; Delete the latest vehicle software version and re-download the latest vehicle software version of the target vehicle.
[0016] A vehicle offline upgrade device provided according to the present invention, the device is further configured to: When the current vehicle state information does not meet the software installation requirement information, generate a vehicle state adjustment prompt message; Wherein, the vehicle state adjustment prompt message is used to prompt to adjust the vehicle state to a vehicle state that meets the software installation requirement information.
[0017] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein when the processor executes the computer program, it implements the vehicle offline upgrade method as described in any one of the above.
[0018] The present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, it implements the vehicle offline upgrade method as described in any one of the above.
[0019] The present invention also provides a computer program product, including a computer program, which, when executed by a processor, implements the vehicle offline upgrade method described in any one of the above.
[0020] The vehicle offline upgrade method, device, equipment, storage medium and program product provided by the present invention, when the diagnostic device receives the software upgrade information, download the latest vehicle software version of the target vehicle according to the software upgrade information, realize accurate vehicle software version information exchange, intelligent software upgrade information push, safe program package download and verification, and reliable software installation process, and realize the efficient and safe upgrade of vehicle software. This process not only ensures that the vehicle system always runs in the latest state, improves the vehicle performance and safety, but also reduces the maintenance cost and customer complaint rate by reducing human operation errors and improving operation convenience, thereby enhancing the reliability of the vehicle and user satisfaction. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0022] Figure 1 It is a schematic flowchart of the vehicle offline upgrade method provided by the present invention.
[0023] Figure 2 It is an overall flowchart of the vehicle offline upgrade provided by the present invention.
[0024] Figure 3 It is a schematic structural diagram of the vehicle offline upgrade device provided by the present invention.
[0025] Figure 4 It is a schematic structural diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0026] To make the objectives, technical solutions and advantages of the present invention clearer, the following will clearly and completely describe the technical solutions in the present invention with reference to the drawings in the present invention. Obviously, the described embodiments are some, but not all, of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art without creative efforts based on the embodiments of the present invention belong to the scope of protection of the present invention.
[0027] Figure 1 It is a schematic flowchart of the vehicle offline upgrade method provided by the present invention, characterized by including: Step 110, the diagnostic device sends the vehicle software version information of the target vehicle to the software platform; wherein, the vehicle software version information is used to instruct the software platform to send software upgrade information to the diagnostic device when it detects that the latest vehicle software version information of the target vehicle is inconsistent with the vehicle software version information. In the present invention, the diagnostic device is a special tool, usually used in the process of automobile maintenance and repair, for reading information such as vehicle fault codes, real-time data, and freeze frame data. It communicates with the vehicle's electronic control unit (ECU) through the vehicle's on-board diagnostics (OBD) interface. The diagnostic device can be a handheld scanning tool or a more complex computer system, which can identify and solve potential vehicle problems, as well as perform tasks such as software updates and resets.
[0028] In the present invention, the target vehicle refers to a specific vehicle that needs to be diagnosed, repaired, or have its software updated. In the automotive industry, each vehicle has its own electronic system and software, which may need to be updated regularly to fix vulnerabilities, improve performance, or add new features. The target vehicle is the focus of all relevant operations and update processes, ensuring that its software and hardware systems are in the best state.
[0029] In the present invention, the software platform is a centralized system for managing, storing, and distributing vehicle software updates. It usually includes a database containing software update information for different vehicle models and versions. The software platform is responsible for receiving query requests from the diagnostic device, comparing the current vehicle software version with the latest version, and providing updates when necessary. In addition, the software platform may also provide a user interface that allows technicians to easily manage and execute software update tasks. The software platform ensures the security, compliance, and effectiveness of software updates and is a key component of vehicle software life cycle management.
[0030] The diagnostic device sends the software version information of the target vehicle to the software platform to ensure that the software platform can timely understand the current software status of the vehicle.
[0031] The software platform intelligently detects whether there is a version update by comparing the sent vehicle software version information with the latest version information cached in the platform. When a version inconsistency is detected, the software platform can timely send software upgrade information to the diagnostic device to ensure that the vehicle can timely receive the latest software update. By sending upgrade information only when the version information is inconsistent, unnecessary communication is reduced, and the efficiency of the system is improved.
[0032] Step 120, when the diagnostic device receives the software upgrade information, download the latest vehicle software version of the target vehicle according to the software upgrade information. After receiving the software upgrade information sent by the software platform, the diagnostic device will perform the next steps according to this information to ensure that the vehicle software can be updated to the latest version in a timely manner.
[0033] The diagnostic device automatically downloads the latest vehicle software version of the target vehicle according to the instructions in the software upgrade information, reducing manual intervention and improving the efficiency and accuracy of the upgrade process.
[0034] Through the precise upgrade information provided by the software platform, the diagnostic device can download a software version that is fully compatible with the target vehicle, avoiding problems caused by version mismatch.
[0035] In the invention, during the download process, an encrypted transmission protocol (such as TLS / SSL) is usually adopted to protect the security of data during transmission and prevent the data from being intercepted or tampered with.
[0036] Step 130, when the latest vehicle software version of the target vehicle downloaded passes the verification, the diagnostic device installs the latest vehicle software version for the target vehicle.
[0037] In the present invention, before installation, the diagnostic device verifies the integrity and authenticity of the downloaded vehicle software version. This is usually done by comparing the hash value of the downloaded file with the hash value provided by the software platform to ensure that the software package has not been tampered with or damaged during transmission.
[0038] The verification process also includes checking whether the software package meets the security standards and compliance requirements to ensure that the installed software will not pose potential risks to the vehicle system. Once the verification passes, the diagnostic device will automatically start installing the latest vehicle software version. This process usually includes transmitting the software package to the vehicle's ECU and executing the necessary installation commands.
[0039] In the present invention, in the case where the diagnostic device receives the software upgrade information, the latest vehicle software version of the target vehicle is downloaded according to the software upgrade information, realizing precise vehicle software version information exchange, intelligent software upgrade information push, secure package download and verification, and reliable software installation process, achieving efficient and secure upgrade of vehicle software. This process not only ensures that the vehicle system always runs in the latest state, improving vehicle performance and safety, but also reduces maintenance costs and customer complaints by reducing human operation errors and improving operation convenience, thereby enhancing vehicle reliability and user satisfaction.
[0040] Optionally, the software upgrade information includes at least one of the following: download address information of the latest vehicle software version, software installation requirement information, software hash value information.
[0041] Before the step of the diagnostic device installing the latest vehicle software version for the target vehicle when the latest vehicle software version information of the downloaded target vehicle passes the verification, the method further includes: Performing a hash calculation on the latest vehicle software version through a hash algorithm to obtain a first hash value; When the first hash value is consistent with the software hash value information, determining that the content integrity of the latest vehicle software version passes the verification; When the content integrity of the latest vehicle software version passes the verification and the compliance check passes, determining that the latest vehicle software version information of the target vehicle passes the verification.
[0042] In the present invention, a hash calculation is performed on the latest vehicle software version through a hash algorithm to obtain a first hash value. This step is to verify the integrity of the software package and ensure that the software package has not been tampered with during transmission or storage.
[0043] Comparing the calculated first hash value with the software hash value information provided by the software platform. If the two are consistent, it indicates that the content integrity of the software package has passed the verification, ensuring that the software package has not been illegally tampered with during transmission.
[0044] On the basis that the content integrity passes the verification, a compliance check is also required. This step ensures that the software version complies with relevant regulations and safety standards. For example, the software upgrade management system required by the UNECE R156 regulation includes verification before upgrade, monitoring during upgrade, and verification after upgrade, etc.
[0045] Only when the content integrity of the latest vehicle software version passes the verification and the compliance check passes, can it be determined that the latest vehicle software version information of the target vehicle passes the verification. This is the last safety check before installation, ensuring the security and compliance of the software.
[0046] In the present invention, a comprehensive security verification process aims to protect the authenticity and integrity of software upgrades, prevent invalid upgrades, and ensure the security and compliance of the software upgrade process. Through this process, data damage during the software upgrade process can be reasonably prevented, and unauthorized access and tampering can be prevented, thereby ensuring the safe upgrade of vehicle software.
[0047] Optionally, the diagnostic device installing the latest vehicle software version for the target vehicle includes: The diagnostic device obtains the current vehicle state information of the target vehicle; When the current vehicle state information meets the software installation requirement information, installing the latest vehicle software version for the target vehicle according to the installation instruction.
[0048] In the present invention, the diagnostic device first needs to obtain the current status information of the target vehicle. This includes but is not limited to key information such as the vehicle's battery voltage, engine status, whether the vehicle is stationary, and whether the doors are closed.
[0049] The software installation requirement information refers to the conditions that must be met before installing a new software version. For example, the vehicle must be stationary, the battery voltage must be within a specific range, and certain vehicle systems must be turned off. The diagnostic device compares the obtained current vehicle status information with the software installation requirement information to determine whether the installation conditions are met.
[0050] If the current vehicle status information meets the software installation requirements, the diagnostic device will continue with the installation process. If the conditions are not met, the diagnostic device may prompt the user to take corresponding measures, such as parking, charging, or turning off certain systems.
[0051] After confirming that the conditions are met, the diagnostic device starts installing the latest vehicle software version for the vehicle according to the preset installation instructions. This may include operations such as transferring the software package to the vehicle's ECU, performing necessary file replacements, and configuration updates.
[0052] In the present invention, the diagnostic device ensures the security and effectiveness of software installation, and also improves the user experience because users can be confident that their vehicle software is up-to-date and the installation process has been strictly verified.
[0053] Optionally, after the step of calculating the hash value of the latest vehicle software version through the hash algorithm to obtain the first hash value, the method further includes: In the case where the first hash value is inconsistent with the software hash value information, it is determined that the content integrity of the latest vehicle software version fails to pass the verification, and a file error warning message is generated; Delete the latest vehicle software version and re-download the latest vehicle software version of the target vehicle.
[0054] In the present invention, when the first hash value is inconsistent with the software hash value information, the system determines that the content integrity of the latest vehicle software version fails to pass the verification. This means that during the download process, the file may have been corrupted or tampered with.
[0055] At this time, a file error warning message is generated to notify the user or system administrator of the hash value mismatch problem. This warning can be a log record, a message prompt on the user interface, or an automatically sent error report.
[0056] In the present invention, after deleting the damaged file, the system will restart the download process and download the latest vehicle software version of the target vehicle from the software platform again. This step ensures that the user can obtain a complete and unmodified software version.
[0057] After the re-download is completed, the system will use the hash algorithm to calculate the hash of the newly downloaded software version again and compare it with the hash value information provided by the software platform to verify the integrity of the newly downloaded file.
[0058] Figure 2 The overall flowchart of the vehicle offline upgrade provided by the present invention is as Figure 2 shown and includes: The maintenance personnel accurately read the actual vehicle version number through the diagnostic tablet and conveniently report the vehicle series information to the unified software management platform; After receiving the uploaded vehicle series and version number, the software management platform immediately starts the intelligent matching mechanism, automatically retrieves and generates the corresponding upgrade task information, including the detailed ECU name, the status satisfied by the vehicle, the encryption key, and the program package download link. This information will be seamlessly connected to the diagnostic tablet to provide the maintenance personnel with a one-stop, efficient and convenient upgrade service experience; With a simple click on the diagnostic platform, the download process of the upgrade package can be started. After the download is completed, the system will automatically perform a strict integrity check of the program package, use an advanced hash algorithm to ensure that the file content is intact, and at the same time perform a compliance check to double-guarantee the authenticity and security of the program package, ensure the smooth progress of the upgrade process, and ensure that the program package is pure and not tampered with; After clicking the "Install" button, the system will immediately evaluate and display all the necessary conditions currently satisfied by the vehicle for flashing. After confirming that the vehicle status meets the requirements, you only need to simply confirm to start the accurate flashing process of the vehicle parts. The aim is to ensure the safety and effectiveness of the flashing operation.
[0059] In the present invention, during the program download process, the TLS protocol is adopted to ensure the security of information transmission and effectively prevent eavesdropping and attacks that may occur during the data transmission process. In addition, this method also has multiple advantages such as ensuring the integrity of the program package, preventing tampering, and being simple and efficient in operation.
[0060] The vehicle offline upgrade device provided by the present invention will be described below. The vehicle offline upgrade device described below can be correspondingly referred to the vehicle offline upgrade method described above.
[0061] Figure 3 The structural schematic diagram of the vehicle offline upgrade device provided by the present invention is as Figure 3 shown and includes: The sending module 310 is used for the diagnostic device to send the vehicle software version information of the target vehicle to the software platform; wherein, the vehicle software version information is used to instruct the software platform to send software upgrade information to the diagnostic device when it detects that the latest vehicle software version information of the target vehicle is inconsistent with the vehicle software version information. The downloading module 320 is used to download the latest vehicle software version of the target vehicle according to the software upgrade information when the diagnostic device receives the software upgrade information. The updating module 330 is used for the diagnostic device to install the latest vehicle software version for the target vehicle when the latest vehicle software version of the target vehicle downloaded passes the verification.
[0062] According to a vehicle off-line upgrade device provided by the present invention, the software upgrade information includes at least one of the following: download address information of the latest vehicle software version, software installation requirement information, and software hash value information.
[0063] According to a vehicle off-line upgrade device provided by the present invention, the device is further used for: Performing a hash calculation on the latest vehicle software version through a hash algorithm to obtain a first hash value; When the first hash value is consistent with the software hash value information, determining that the content integrity of the latest vehicle software version passes the verification; When the content integrity of the latest vehicle software version passes the verification and the compliance check passes, determining that the latest vehicle software version information of the target vehicle passes the verification.
[0064] According to a vehicle off-line upgrade device provided by the present invention, the device is further used for: The diagnostic device obtains the current vehicle state information of the target vehicle; When the current vehicle state information conforms to the software installation requirement information, installing the latest vehicle software version for the target vehicle according to the installation instruction.
[0065] According to a vehicle off-line upgrade device provided by the present invention, the device is further used for: When the first hash value is inconsistent with the software hash value information, determining that the content integrity of the latest vehicle software version fails to pass the verification, and generating a file error warning message; Deleting the latest vehicle software version, and re-downloading the latest vehicle software version of the target vehicle.
[0066] According to a vehicle off-line upgrade device provided by the present invention, the device is further used for: Generate a vehicle status adjustment prompt message when the current vehicle status information does not meet the software installation requirement information; Among them, the vehicle status adjustment prompt message is used to prompt to adjust the vehicle status to a vehicle status that meets the software installation requirement information.
[0067] When the diagnostic device of the present invention receives the software upgrade information, the latest vehicle software version of the target vehicle is downloaded according to the software upgrade information, realizing accurate vehicle software version information exchange, intelligent software upgrade information push, safe program package download and verification, and reliable software installation process, realizing the efficient and safe upgrade of vehicle software. This process not only ensures that the vehicle system always runs in the latest state, improves vehicle performance and safety, but also reduces maintenance costs and customer complaints by reducing human operation errors and improving operation convenience, thereby enhancing vehicle reliability and user satisfaction.
[0068] Figure 4 It is a schematic structural diagram of the electronic device provided by the present invention, as Figure 4 shown, the electronic device may include: a processor 410, a communication interface 420, a memory 430, and a communication bus 440. Among them, the processor 410, the communication interface 420, and the memory 430 complete mutual communication through the communication bus 440. The processor 410 can call the logical instructions in the memory 430 to execute the vehicle offline upgrade method, and the method includes: the diagnostic device sends the vehicle software version information of the target vehicle to the software platform; among them, the vehicle software version information is used to instruct the software platform to cache and send software upgrade information to the diagnostic device when the latest vehicle software version information of the target vehicle detected is inconsistent with the vehicle software version information; When the diagnostic device receives the software upgrade information, download the latest vehicle software version of the target vehicle according to the software upgrade information; When the latest vehicle software version of the downloaded target vehicle passes the verification, the diagnostic device installs the latest vehicle software version for the target vehicle.
[0069] In addition, when the logical instructions in the above-mentioned memory 430 are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), magnetic disks, or optical discs that can store program codes.
[0070] On the other hand, the present invention also provides a computer program product. The computer program product includes a computer program that can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the vehicle offline upgrade method provided by the above-mentioned various methods. The method includes: a diagnostic device sending vehicle software version information of a target vehicle to a software platform; wherein, the vehicle software version information is used to instruct the software platform to cache and, when detecting that the latest vehicle software version information of the target vehicle is inconsistent with the vehicle software version information, send software upgrade information to the diagnostic device; When the diagnostic device receives the software upgrade information, downloading the latest vehicle software version of the target vehicle according to the software upgrade information; When the downloaded latest vehicle software version of the target vehicle passes verification, the diagnostic device installs the latest vehicle software version for the target vehicle.
[0071] In yet another aspect, the present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it is implemented to execute the vehicle offline upgrade method provided by the above-mentioned various methods. The method includes: a diagnostic device sending vehicle software version information of a target vehicle to a software platform; wherein, the vehicle software version information is used to instruct the software platform to cache and, when detecting that the latest vehicle software version information of the target vehicle is inconsistent with the vehicle software version information, send software upgrade information to the diagnostic device; When the diagnostic device receives the software upgrade information, downloading the latest vehicle software version of the target vehicle according to the software upgrade information; When the latest vehicle software version of the target vehicle downloaded is verified, the diagnostic device installs the latest vehicle software version for the target vehicle.
[0072] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. A person of ordinary skill in the art can understand and implement it without creative labor.
[0073] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, and of course also by hardware. Based on such an understanding, the above technical solutions, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0074] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit them. Although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments or perform equivalent replacements for some of the technical features. These modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of each embodiment of the present invention.
Claims
1. A method for offline vehicle upgrade, characterized in that, Including: The diagnostic device sends the vehicle software version information of the target vehicle to the software platform; wherein, the vehicle software version information is used to instruct the software platform to send software upgrade information to the diagnostic device when it detects that the latest vehicle software version information of the target vehicle is inconsistent with the vehicle software version information; When the diagnostic device receives the software upgrade information, it downloads the latest vehicle software version of the target vehicle according to the software upgrade information; When the latest vehicle software version of the target vehicle downloaded passes the verification, the diagnostic device installs the latest vehicle software version for the target vehicle.
2. The vehicle offline upgrade method according to claim 1, wherein The software upgrade information includes at least one of the following: download address information of the latest vehicle software version, software installation requirement information, software hash value information.
3. The vehicle offline upgrade method according to claim 2, wherein Before the step of the diagnostic device installing the latest vehicle software version for the target vehicle when the latest vehicle software version information of the target vehicle downloaded passes the verification, the method further includes: Performing a hash calculation on the latest vehicle software version through a hash algorithm to obtain a first hash value; When the first hash value is consistent with the software hash value information, it is determined that the content integrity of the latest vehicle software version passes the verification; When the content integrity of the latest vehicle software version passes the verification and the compliance check passes, it is determined that the latest vehicle software version information of the target vehicle passes the verification.
4. The vehicle offline upgrade method according to claim 2, characterized in that The diagnostic device installing the latest vehicle software version for the target vehicle includes: The diagnostic device obtains the current vehicle state information of the target vehicle; When the current vehicle state information meets the software installation requirement information, according to the installation instruction, the diagnostic device installs the latest vehicle software version for the target vehicle.
5. The vehicle offline upgrade method according to claim 3, wherein After the step of performing a hash calculation on the latest vehicle software version through a hash algorithm to obtain a first hash value, the method further includes: When the first hash value is inconsistent with the software hash value information, it is determined that the content integrity of the latest vehicle software version does not pass the verification, and a file error warning message is generated; Deleting the latest vehicle software version and re-downloading the latest vehicle software version of the target vehicle.
6. The vehicle off-line upgrade method according to claim 4, characterized in that After the step of the diagnostic device obtaining the current vehicle state information of the target vehicle, the method further includes: When the current vehicle state information does not meet the software installation requirement information, a vehicle state adjustment prompt message is generated; Wherein, the vehicle state adjustment prompt message is used to prompt to adjust the vehicle state to a vehicle state that meets the software installation requirement information.
7. A vehicle off-line upgrade device, characterized in that Including: A sending module, configured to send, by the diagnostic device, the vehicle software version information of the target vehicle to the software platform; wherein, the vehicle software version information is used to instruct the software platform to send software upgrade information to the diagnostic device when it detects that the latest vehicle software version information of the target vehicle is inconsistent with the vehicle software version information; A download module, configured to download the latest vehicle software version of the target vehicle according to the software upgrade information when the diagnostic device receives the software upgrade information; An update module, configured to install the latest vehicle software version for the target vehicle by the diagnostic device when the latest vehicle software version of the target vehicle downloaded passes the verification.
8. An electronic device, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein When the processor executes the computer program, it implements the vehicle offline upgrade method according to any one of claims 1 to 6.
9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the vehicle offline upgrade method according to any one of claims 1 to 6.
10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the vehicle offline upgrade method according to any one of claims 1 to 6.