Multi-module upgrading method and system of in-vehicle infotainment system, terminal and storage medium
By obtaining and verifying the module compression package files of the vehicle machine system, identifying the file information to be upgraded, and synchronously upgrading and restarting, the cumbersome problem of upgrading the vehicle machine system in the existing technology has been solved and the upgrade efficiency has been improved.
Patent Information
- Application Number
- CN202510235225.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-28
- Publication Date
- 2025-05-02
AI Technical Summary
In the prior art, the upgrade of the vehicle machine system requires the individual upgrade of each module, which leads to the cumbersome and inefficient upgrade process.
By obtaining the module compression package file of the vehicle system, checking and decompressing and identifying, the information on the file to be upgraded is obtained. Then, multiple files to be upgraded synchronously and restarted according to the upgrade results to achieve the target version of the car system.
The upgrade process is simplified, time is saved, and the upgrade efficiency of the car and machine system is improved. It only requires an overall restart without a separate restart.
Smart Images

Figure CN119917144A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of vehicle system upgrade, and in particular to a multi-module upgrade method, system, terminal and computer-readable storage medium of a vehicle system. Background Art
[0002] At present, in most cases, the vehicle's instrument, central control or smart cockpit are all developed by the same company, so it involves the OTA upgrade of the instrument and central control, and the instrument and central control generally interact with each other through CAN communication or serial port. The vehicle system generally involves two major components: central control and instrument. The central control is divided into sub-systems: ARM intelligent system part and MCU part; the instrument is divided into sub-systems: ARM system or embedded system and MCU part.
[0003] At present, the existing upgrade modes are divided into offline upgrade mode and online upgrade mode. Generally, each module is downloaded to the local computer or copied to a USB flash drive separately, and then each module is upgraded separately, which not only requires multiple downloads or copies, but also multiple verifications. After the verification, it is necessary to upgrade and restart the system multiple times, which is repeated many times, resulting in low upgrade efficiency of the vehicle system.
[0004] Therefore, the prior art still needs to be improved and developed. Summary of the invention
[0005] The main purpose of the present invention is to provide a multi-module upgrade method, system, terminal and storage medium for a vehicle system, aiming to solve the problem that the existing technology upgrades the vehicle system by upgrading each module separately, the upgrade process is repetitive and cumbersome, and the upgrade efficiency of the vehicle system is low.
[0006] To achieve the above object, the present invention provides a multi-module upgrade method for a vehicle system, the multi-module upgrade method for the vehicle system comprising the following steps:
[0007] When it is detected that there is an update for the vehicle system, a module compression package file of the vehicle system is obtained, and the module compression package file is verified to obtain a file verification result;
[0008] If the file verification result is that the verification is passed, the module compression package file is decompressed and identified to obtain the file information to be upgraded;
[0009] If the to-be-upgraded file information indicates that there are multiple to-be-upgraded files, the multiple to-be-upgraded files are synchronously upgraded to obtain an upgrade result, and the vehicle system is restarted according to the upgrade result to obtain a target version of the vehicle system.
[0010] Optionally, the multi-module upgrade method of the vehicle system, wherein when it is detected that the vehicle system has an update, a module compression package file of the vehicle system is obtained, and the module compression package file is verified to obtain a file verification result, specifically includes:
[0011] When it is detected that there is an update for the vehicle system, the upgrade module of the vehicle system is scanned to obtain a module scanning result, and the module to be upgraded in the module scanning result is compressed according to the differential package method to obtain a module compression package file;
[0012] The module compression package file is downloaded to obtain a download result, and the module compression package file is verified according to the download result to obtain a file verification result.
[0013] Optionally, the multi-module upgrade method of the vehicle system, wherein the verification process is performed on the module compression package file according to the download result to obtain the file verification result, specifically including:
[0014] Calculate the hash value of the module compressed package file according to the download result to obtain a target hash value, and compare the target hash value with the cloud hash value corresponding to the module compressed package file;
[0015] If the target hash value is consistent with the cloud hash value, the file verification result is determined to be passed;
[0016] If the target hash value is inconsistent with the cloud hash value, the file verification result is determined to be verification failure.
[0017] Optionally, the multi-module upgrade method of the vehicle system, wherein if the file verification result is that the verification is passed, the module compression package file is decompressed and identified to obtain the file information to be upgraded, specifically includes:
[0018] If the file verification result is that the verification is passed, the module compression package file is decompressed to obtain multiple files to be upgraded;
[0019] The version information of all the files to be upgraded is identified to obtain a version identification result, and the corresponding file information to be upgraded is obtained according to the version identification result.
[0020] Optionally, the multi-module upgrade method of the vehicle system, wherein the version information of all the files to be upgraded is identified and processed to obtain a version identification result, and corresponding file information to be upgraded is obtained according to the version identification result, and then further includes:
[0021] Compare all file version information of the file information to be upgraded with the current version information of all the files to be upgraded;
[0022] If all file version information is consistent with the corresponding current version information, it is determined that the file information to be upgraded does not contain any file to be upgraded;
[0023] If there are multiple file version information that are inconsistent with the corresponding current version information, it is determined that the to-be-upgraded file information means there are multiple to-be-upgraded files.
[0024] Optionally, the multi-module upgrade method of the vehicle system, wherein if the to-be-upgraded file information indicates that there are multiple to-be-upgraded files, the multiple to-be-upgraded files are synchronously upgraded to obtain an upgrade result, and the vehicle system is restarted according to the upgrade result to obtain a target version of the vehicle system, specifically includes:
[0025] If the to-be-upgraded file information indicates that there are multiple to-be-upgraded files, a multi-task mechanism is started, and the to-be-upgraded files are synchronously upgraded according to the multi-task mechanism to obtain an upgrade result;
[0026] If the upgrade result is that all the files to be upgraded have completed upgrading, the vehicle system is restarted according to the upgrade result to obtain the vehicle system of the target version.
[0027] Optionally, the multi-module upgrade method of the vehicle system, wherein if the to-be-upgraded file information indicates that there are multiple to-be-upgraded files, a multi-tasking mechanism is started, and the to-be-upgraded files are synchronously upgraded according to the multi-tasking mechanism to obtain an upgrade result, and then further comprises:
[0028] If the upgrade result is that there is an upgrade exception, the corresponding abnormal file is read, the abnormal file is retried, and the abnormal file is optimized.
[0029] Optionally, in the multi-module upgrade method of the vehicle system, the multi-module upgrade system of the vehicle system includes:
[0030] A file verification module, for obtaining a module compression package file of the vehicle system when it is detected that there is an update of the vehicle system, and performing verification processing on the module compression package file to obtain a file verification result;
[0031] A file identification module is used to decompress and identify the module compressed package file to obtain the file information to be upgraded if the file verification result is that the verification is passed;
[0032] The file upgrade module is used to synchronously upgrade the multiple files to be upgraded if the file information to be upgraded indicates that there are multiple files to be upgraded, obtain the upgrade result, and restart the vehicle system according to the upgrade result to obtain the target version of the vehicle system.
[0033] In addition, to achieve the above-mentioned purpose, the present invention also provides a terminal, wherein the terminal includes: a memory, a processor, and a multi-module upgrade program of the vehicle system stored in the memory and executable on the processor, and when the multi-module upgrade program of the vehicle system is executed by the processor, the steps of the multi-module upgrade method of the vehicle system as described above are implemented.
[0034] In addition, to achieve the above-mentioned purpose, the present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a multi-module upgrade program of the vehicle system, and when the multi-module upgrade program of the vehicle system is executed by the processor, the steps of the multi-module upgrade method of the vehicle system as described above are implemented.
[0035] In the present invention, when it is detected that there is an update to the vehicle system, the module compression package file of the vehicle system is obtained, and the module compression package file is verified to obtain a file verification result; if the file verification result is that the verification is passed, the module compression package file is decompressed and identified to obtain the file information to be upgraded; if the file information to be upgraded is that there are multiple files to be upgraded, the multiple files to be upgraded are synchronously upgraded to obtain the upgrade result, and the vehicle system is restarted according to the upgrade result to obtain the target version of the vehicle system. The present invention packages each upgrade module into a compressed file, and only needs to perform a complete verification once, and each module can be upgraded at the same time to save overall time. After the upgrade of each module is completed, only one overall restart is required, and no separate restart is required, which simplifies the upgrade process; only the modules with differences are upgraded, thereby improving the upgrade efficiency of the vehicle system. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 It is a flow chart of a preferred embodiment of a multi-module upgrade method of a vehicle system of the present invention;
[0037] Figure 2 It is a structural diagram of a preferred embodiment of a multi-module upgrade system of a vehicle system of the present invention;
[0038] Figure 3 It is a schematic diagram of the operating environment of a preferred embodiment of the terminal of the present invention. DETAILED DESCRIPTION
[0039] In order to make the purpose, technical solution and advantages of the present invention clearer and more specific, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0040] It should be noted that if the embodiments of the present invention involve directional indications (such as up, down, left, right, front, back, etc.), the directional indications are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.
[0041] In addition, if there are descriptions involving "first", "second", etc. in the embodiments of the present invention, the descriptions of "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or suggesting their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
[0042] The multi-module upgrade method of the vehicle system described in the preferred embodiment of the present invention is as follows: Figure 1 As shown, the multi-module upgrade method of the vehicle system includes the following steps:
[0043] Step S10: when it is detected that there is an update for the vehicle system, a module compression package file of the vehicle system is obtained, and the module compression package file is verified to obtain a file verification result.
[0044] The step S10 comprises:
[0045] Step S11, when it is detected that there is an update for the vehicle system, the upgrade module of the vehicle system is scanned to obtain a module scanning result, and the module to be upgraded in the module scanning result is compressed according to a differential package method to obtain a module compression package file;
[0046] Step S12: download the module compressed package file to obtain a download result, and verify the module compressed package file according to the download result to obtain a file verification result.
[0047] Specifically, in an embodiment of the present invention, the vehicle system generally involves two major components: the central control and the instrument. The central control is further divided into subsystems: an ARM intelligent system part and an mcu1 part; the instrument is further divided into subsystems: an ARM system or an embedded system and an mcu2 part; when it is detected that the vehicle system has an update, the upgrade module of the vehicle system is scanned and processed to obtain a module scanning result (for example, an ARM intelligent system module, an mcu1 module, an ARM system module, and an mcu2 module), and the module to be upgraded in the module scanning result is compressed according to a specific command mode (for example, a differential packet mode) to obtain a module compression package file, wherein the specific command mode part code can be:
[0048] #Downgrade differential packet processing;
[0049] #rm update.zip;
[0050] #. / build / tools / releasetools / ota_from_target_files-v--block--override_timestamp-pout / host / linux-x86 / -kbuild / make / target / product / security / testk ey-inew.zip old.zip update.zip;
[0051] #Incremental differential packet processing;
[0052] #rm update.zip;
[0053] . / build / make / tools / releasetools / ota_from_target_files.py-pout / target / product / qssi / obj / PACKAGING / otatools_intermediates / otatools k build / make / target / product / security / testkey-vi old.zip new.zip update.zip.
[0054] Among them, the module compressed package file has a corresponding compilation command, and an ota package is generated during compilation, which is similar to the compilation command: source build / envsetup.sh, lunch trinket-userdebug, lunch trinket-user, . / build.sh dist-j16 / / n represents the number of CPU threads, . / build.sh dist-j32 2>&1|tee make_log.txt; after obtaining the module compressed package file, the module compressed package file needs to be downloaded to obtain a download result. If the download result is that the download is completed, the module compressed package file is verified according to the download result to obtain a file verification result. The specific verification process is to calculate the hash value of the module compressed package file according to the download result to obtain a target hash value, and compare the target hash value with the cloud hash value corresponding to the module compressed package file; if the target hash value is consistent with the cloud hash value, the file verification result is determined to be a verification pass; if the target hash value is inconsistent with the cloud hash value, the file verification result is determined to be a verification failure. The purpose of verification is to ensure the integrity of the upgrade file, prevent file anomalies during the download process, and prevent upgrade failure. The present invention packages each upgrade module into a compressed file, and only needs to perform a complete verification once after background download, without the need for multiple verification processes, thereby improving file verification efficiency.
[0055] Step S20: If the file verification result is that the verification is passed, the module compression package file is decompressed and identified to obtain the file information to be upgraded.
[0056] The step S20 comprises:
[0057] Step S21: If the file verification result is that the verification is passed, the module compression package file is decompressed to obtain multiple files to be upgraded;
[0058] Step S22: performing identification processing on the version information of all the files to be upgraded to obtain a version identification result, and obtaining corresponding file information to be upgraded according to the version identification result.
[0059] Specifically, if the file verification result is that the verification is passed, the module compressed package file is decompressed to obtain multiple files to be upgraded; then the number of files to be upgraded needs to be identified. Generally, the firmware package is a compressed file, which needs to be decompressed locally during the upgrade. Then, according to the version information in the decompressed package, the current version information is compared to determine which files need to be upgraded or all files need to be upgraded. Specifically, the version information of all the files to be upgraded is identified to obtain a version identification result. For example, the upgrade package contains the CurrentVersion.txt document, which contains the corresponding version information description, such as: Z6001.2025.02.12_09.29, Z6001_N32V1.02D2, and obtain the corresponding file information to be upgraded according to the version identification result; then, it is necessary to determine whether there are multiple files to be upgraded, specifically, compare all file version information of the file information to be upgraded with the current version information of all the files to be upgraded; if all file version information is consistent with the corresponding current version information, then it is determined that the file information to be upgraded does not contain any file to be upgraded; if there are multiple file version information that are inconsistent with the corresponding current version information, then it is determined that the file information to be upgraded contains multiple files to be upgraded.
[0060] Step S30: If the to-be-upgraded file information indicates that there are multiple to-be-upgraded files, the multiple to-be-upgraded files are synchronously upgraded to obtain an upgrade result, and the vehicle system is restarted according to the upgrade result to obtain a target version of the vehicle system.
[0061] The step S30 comprises:
[0062] Step S31: if the to-be-upgraded file information indicates that there are multiple to-be-upgraded files, then a multi-task mechanism is started, and the to-be-upgraded files are synchronously upgraded according to the multi-task mechanism to obtain an upgrade result;
[0063] Step S32: If the upgrade result is that all the files to be upgraded have completed upgrading, the vehicle system is restarted according to the upgrade result to obtain the vehicle system of the target version.
[0064] Specifically, in an embodiment of the present invention, if the file information to be upgraded indicates that there are multiple files to be upgraded, the multi-tasking mechanism is started, and the files to be upgraded are synchronously upgraded according to the multi-tasking mechanism to obtain an upgrade result. The corresponding upgrade process is that the upgrade process is divided into system upgrade and other module upgrade. After the system upgrade process update_engine is started, it starts to read the update system files in the decompressed package for upgrading. At the same time, it can inform the MCU or instrument through the protocol, and then start the corresponding service to start transmitting the corresponding upgrade file, inform the MCU or instrument to start receiving the upgrade file, and then upgrade; if the upgrade result is All the files to be upgraded have been upgraded, and to determine whether all the files to be upgraded have been upgraded, the vehicle system will display the corresponding upgrade progress when upgrading, and the upgrade of other modules MCU or instrument will have a corresponding upgrade progress status notification defined; after that, the vehicle system is restarted according to the upgrade result to obtain the target version of the vehicle system; after the upgrade of each module is completed, the present invention only needs to do an overall restart once, without restarting each module separately, simplifying the process and saving time; and the version information of each module in the compressed package is compared with the current module version information, and only the difference is upgraded, and no upgrade is required if there is no difference, and the mechanism is flexible.
[0065] Furthermore, if Figure 2 As shown, based on the multi-module upgrade method of the vehicle system, the present invention also provides a multi-module upgrade system of the vehicle system, wherein the multi-module upgrade system of the vehicle system includes:
[0066] The file verification module 51 is used to obtain the module compression package file of the vehicle system when it is detected that there is an update of the vehicle system, and to verify the module compression package file to obtain a file verification result;
[0067] A file identification module 52 is used to decompress and identify the module compressed package file to obtain the file information to be upgraded if the file verification result is that the verification is passed;
[0068] The file upgrade module 53 is used to synchronously upgrade the multiple files to be upgraded if the file information to be upgraded indicates that there are multiple files to be upgraded, obtain an upgrade result, and restart the vehicle system according to the upgrade result to obtain a target version of the vehicle system.
[0069] Furthermore, if Figure 3 As shown, based on the multi-module upgrade method of the vehicle system, the present invention also provides a terminal, which includes a processor 10, a memory 20 and a display 30. Figure 3Only some components of the terminal are shown, but it should be understood that it is not required to implement all of the components shown, and more or fewer components may be implemented instead.
[0070] In some embodiments, the memory 20 may be an internal storage unit of the terminal, such as a hard disk or memory of the terminal. In other embodiments, the memory 20 may also be an external storage device of the terminal, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (SecureDigital, SD) card, a flash card (Flash Card), etc. equipped on the terminal. Further, the memory 20 may also include both an internal storage unit of the terminal and an external storage device. The memory 20 is used to store application software and various types of data installed in the terminal, such as the program code of the installation terminal. The memory 20 may also be used to temporarily store data that has been output or is to be output. In one embodiment, the memory 20 stores a multi-module upgrade program 40 of the vehicle system, which can be executed by the processor 10, thereby realizing the multi-module upgrade method of the vehicle system in the present application.
[0071] In some embodiments, the processor 10 may be a central processing unit (CPU), a microprocessor or other data processing chip, used to run the program code or process data stored in the memory 20, such as executing a multi-module upgrade method of the vehicle system.
[0072] In some embodiments, the display 30 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, etc. The display 30 is used to display information on the terminal and to display a visual user interface. The components of the terminal communicate with each other via a system bus.
[0073] In one embodiment, when the processor 10 executes the multi-module upgrade program 40 of the vehicle system in the memory 20, the following steps are implemented:
[0074] When it is detected that there is an update for the vehicle system, a module compression package file of the vehicle system is obtained, and the module compression package file is verified to obtain a file verification result;
[0075] If the file verification result is that the verification is passed, the module compression package file is decompressed and identified to obtain the file information to be upgraded;
[0076] If the to-be-upgraded file information indicates that there are multiple to-be-upgraded files, the multiple to-be-upgraded files are synchronously upgraded to obtain an upgrade result, and the vehicle system is restarted according to the upgrade result to obtain a target version of the vehicle system.
[0077] When it is detected that the vehicle system has an update, the module compression package file of the vehicle system is obtained, and the module compression package file is verified to obtain a file verification result, which specifically includes:
[0078] When it is detected that there is an update for the vehicle system, the upgrade module of the vehicle system is scanned to obtain a module scanning result, and the module to be upgraded in the module scanning result is compressed according to the differential package method to obtain a module compression package file;
[0079] The module compression package file is downloaded to obtain a download result, and the module compression package file is verified according to the download result to obtain a file verification result.
[0080] The step of verifying the module compressed package file according to the download result to obtain a file verification result specifically includes:
[0081] Calculate the hash value of the module compressed package file according to the download result to obtain a target hash value, and compare the target hash value with the cloud hash value corresponding to the module compressed package file;
[0082] If the target hash value is consistent with the cloud hash value, the file verification result is determined to be passed;
[0083] If the target hash value is inconsistent with the cloud hash value, the file verification result is determined to be verification failure.
[0084] If the file verification result is that the verification is passed, the module compression package file is decompressed and identified to obtain the file information to be upgraded, which specifically includes:
[0085] If the file verification result is that the verification is passed, the module compression package file is decompressed to obtain multiple files to be upgraded;
[0086] The version information of all the files to be upgraded is identified to obtain a version identification result, and the corresponding file information to be upgraded is obtained according to the version identification result.
[0087] The method further comprises: performing identification processing on the version information of all the files to be upgraded to obtain a version identification result, and obtaining corresponding file information to be upgraded according to the version identification result, and then:
[0088] Compare all file version information of the file information to be upgraded with the current version information of all the files to be upgraded;
[0089] If all file version information is consistent with the corresponding current version information, it is determined that the file information to be upgraded does not contain any file to be upgraded;
[0090] If there are multiple file version information that are inconsistent with the corresponding current version information, it is determined that the to-be-upgraded file information means there are multiple to-be-upgraded files.
[0091] Wherein, if the file information to be upgraded indicates that there are multiple files to be upgraded, the multiple files to be upgraded are upgraded synchronously to obtain an upgrade result, and the vehicle system is restarted according to the upgrade result to obtain the vehicle system of the target version, specifically including:
[0092] If the to-be-upgraded file information indicates that there are multiple to-be-upgraded files, a multi-task mechanism is started, and the to-be-upgraded files are synchronously upgraded according to the multi-task mechanism to obtain an upgrade result;
[0093] If the upgrade result is that all the files to be upgraded have completed upgrading, the vehicle system is restarted according to the upgrade result to obtain the vehicle system of the target version.
[0094] If the file information to be upgraded indicates that there are multiple files to be upgraded, a multi-task mechanism is started, and the files to be upgraded are upgraded synchronously according to the multi-task mechanism to obtain an upgrade result, and then the method further includes:
[0095] If the upgrade result is that there is an upgrade exception, the corresponding abnormal file is read, the abnormal file is retried, and the abnormal file is optimized.
[0096] The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a multi-module upgrade program of a vehicle system, and when the multi-module upgrade program of the vehicle system is executed by a processor, the steps of the multi-module upgrade method of the vehicle system as described above are implemented.
[0097] In summary, the present invention provides a multi-module upgrade method, system, terminal and storage medium for a vehicle system, the method comprising: when it is detected that there is an update to the vehicle system, obtaining the module compression package file of the vehicle system, and verifying the module compression package file to obtain a file verification result; if the file verification result is that the verification is passed, then the module compression package file is decompressed and identified to obtain the file information to be upgraded; if the file information to be upgraded is that there are multiple files to be upgraded, then the multiple files to be upgraded are synchronously upgraded to obtain the upgrade result, and the vehicle system is restarted according to the upgrade result to obtain the target version of the vehicle system. The present invention packages each upgrade module into a compressed file, only one complete verification is required, and each module can be upgraded at the same time to save overall time. After the upgrade of each module is completed, only one overall restart is required, and no separate restart is required, which simplifies the upgrade process; only the modules with differences are upgraded, thereby improving the upgrade efficiency of the vehicle system.
[0098] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or terminal including the element.
[0099] Of course, those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing related hardware (such as a processor, a controller, etc.) through a computer program, and the program can be stored in a computer-readable storage medium that can be read by a computer, and the program can include the processes of the above-mentioned method embodiments when executed. The computer-readable storage medium can be a memory, a disk, an optical disk, etc.
[0100] It should be understood that the application of the present invention is not limited to the above examples. For ordinary technicians in this field, improvements or changes can be made based on the above description. All these improvements and changes should fall within the scope of protection of the claims attached to the present invention.
Claims
1. A multi-module upgrade method for a vehicle system, characterized in that: The multi-module upgrade method of the vehicle system includes: When it is detected that there is an update for the vehicle system, a module compression package file of the vehicle system is obtained, and the module compression package file is verified to obtain a file verification result; If the file verification result is that the verification is passed, the module compression package file is decompressed and identified to obtain the file information to be upgraded; If the to-be-upgraded file information indicates that there are multiple to-be-upgraded files, the multiple to-be-upgraded files are synchronously upgraded to obtain an upgrade result, and the vehicle system is restarted according to the upgrade result to obtain a target version of the vehicle system.
2. The multi-module upgrade method of the vehicle system according to claim 1, characterized in that: When it is detected that the vehicle system has an update, a module compression package file of the vehicle system is obtained, and the module compression package file is verified to obtain a file verification result, which specifically includes: When it is detected that there is an update for the vehicle system, the upgrade module of the vehicle system is scanned to obtain a module scanning result, and the module to be upgraded in the module scanning result is compressed according to the differential package method to obtain a module compression package file; The module compression package file is downloaded to obtain a download result, and the module compression package file is verified according to the download result to obtain a file verification result.
3. The multi-module upgrade method of the vehicle system according to claim 2, characterized in that: The verifying process of the module compression package file according to the download result to obtain the file verification result specifically includes: Calculate the hash value of the module compressed package file according to the download result to obtain a target hash value, and compare the target hash value with the cloud hash value corresponding to the module compressed package file; If the target hash value is consistent with the cloud hash value, the file verification result is determined to be passed; If the target hash value is inconsistent with the cloud hash value, the file verification result is determined to be verification failure.
4. The multi-module upgrade method of the vehicle system according to claim 1, characterized in that: If the file verification result is that the verification is passed, the module compression package file is decompressed and identified to obtain the file information to be upgraded, which specifically includes: If the file verification result is that the verification is passed, the module compression package file is decompressed to obtain multiple files to be upgraded; The version information of all the files to be upgraded is identified to obtain a version identification result, and the corresponding file information to be upgraded is obtained according to the version identification result.
5. The multi-module upgrade method of the vehicle system according to claim 4, characterized in that: The step of identifying the version information of all the files to be upgraded to obtain a version identification result, and obtaining the corresponding file information to be upgraded according to the version identification result, further includes: Comparing all file version information of the to-be-upgraded file information with the current version information of all the to-be-upgraded files; If all file version information is consistent with the corresponding current version information, it is determined that the file information to be upgraded does not contain any file to be upgraded; If there are multiple file version information that are inconsistent with the corresponding current version information, it is determined that the to-be-upgraded file information means there are multiple to-be-upgraded files.
6. The multi-module upgrade method of the vehicle system according to claim 1, characterized in that: If the file information to be upgraded indicates that there are multiple files to be upgraded, the multiple files to be upgraded are upgraded synchronously to obtain an upgrade result, and the vehicle system is restarted according to the upgrade result to obtain a target version of the vehicle system, specifically including: If the to-be-upgraded file information indicates that there are multiple to-be-upgraded files, a multi-task mechanism is started, and multiple to-be-upgraded files are synchronously upgraded according to the multi-task mechanism to obtain an upgrade result; If the upgrade result is that all the files to be upgraded have completed upgrading, the vehicle system is restarted according to the upgrade result to obtain the vehicle system of the target version.
7. The multi-module upgrade method of the vehicle system according to claim 6, characterized in that: If the to-be-upgraded file information indicates that there are multiple to-be-upgraded files, a multi-task mechanism is started, and the to-be-upgraded files are synchronously upgraded according to the multi-task mechanism to obtain an upgrade result, and then the following further includes: If the upgrade result is that there is an upgrade exception, the corresponding abnormal file is read, the abnormal file is retried, and the abnormal file is optimized.
8. A multi-module upgrade system for a vehicle system, characterized in that: The multi-module upgrade system of the vehicle system includes: A file verification module is used to obtain a module compression package file of the vehicle system when it is detected that there is an update of the vehicle system, and to verify the module compression package file to obtain a file verification result; A file identification module is used to decompress and identify the module compressed package file to obtain the file information to be upgraded if the file verification result is that the verification is passed; The file upgrade module is used to synchronously upgrade the multiple files to be upgraded if the file information to be upgraded indicates that there are multiple files to be upgraded, obtain the upgrade result, and restart the vehicle system according to the upgrade result to obtain the target version of the vehicle system.
9. A terminal, characterized in that: The terminal includes: a memory, a processor, and a multi-module upgrade program of the vehicle system stored in the memory and executable on the processor. When the multi-module upgrade program of the vehicle system is executed by the processor, the steps of the multi-module upgrade method of the vehicle system as described in any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a multi-module upgrade program of the vehicle system, and when the multi-module upgrade program of the vehicle system is executed by the processor, the steps of the multi-module upgrade method of the vehicle system as described in any one of claims 1-7 are implemented.