CN114756264A - Cloud manufacturing method and upgrading method for USB (universal serial bus) flash disk upgrading package of vehicle-mounted software - Google Patents
Cloud manufacturing method and upgrading method for USB (universal serial bus) flash disk upgrading package of vehicle-mounted software Download PDFInfo
- Publication number
- CN114756264A CN114756264A CN202210428467.0A CN202210428467A CN114756264A CN 114756264 A CN114756264 A CN 114756264A CN 202210428467 A CN202210428467 A CN 202210428467A CN 114756264 A CN114756264 A CN 114756264A
- Authority
- CN
- China
- Prior art keywords
- vehicle
- flash disk
- software
- upgrade
- usb flash
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a method for manufacturing a USB flash disk upgrade patch cloud of vehicle-mounted software and an upgrading method, comprising the following steps of S1, acquiring software corresponding to a vehicle and needing USB flash disk upgrade by the cloud; s2, configuring the upgrade mode of the software; s3, generating a configuration file and a certificate file; and S4, encrypting the software, the configuration file and the certificate file, and packaging according to a specified directory structure to generate a USB flash disk upgrade package. According to the method, the software package for upgrading the USB flash disk is configured, the upgrading mode is configured, the upgrading vehicle is associated, the corresponding configuration file and the corresponding certificate file are generated, all files are encrypted and packaged, the USB flash disk upgrading package is manufactured, and therefore the USB flash disk is used for upgrading the vehicle-mounted equipment.
Description
Technical Field
The invention belongs to the technical field of remote upgrading of vehicle-mounted software, and particularly relates to a method for manufacturing a USB flash disk upgrading package cloud of the vehicle-mounted software and an upgrading method.
Background
With the development of the internet technology, in order to reduce the recall of the problem vehicles, various major car factories timely process the after-sale problems, iteratively update the functions of the vehicles in the market, improve the user experience, and deeply research and apply the remote upgrading technology of the software of the vehicle-mounted equipment. In order to improve the efficiency of updating software, some differential packages are manufactured by adopting a cloud end, for example, chinese patent CN202110439640.2 relates to a method for manufacturing an upgrade package of a vehicle-mounted ECU, an upgrade method and an upgrade device. The method for manufacturing the upgrade patch comprises the following steps: the initial file package and the upgrade file package are fragmented to form an initial file sub-package group and an upgrade file sub-package group respectively based on the first fragmentation parameter and the second fragmentation parameter; obtaining a differential upgrading sub-packet group according to the corresponding relation of the sub-packets; and storing the corresponding relation of the first fragment parameter, the second fragment parameter, the differential upgrade sub-packet group and the sub-packet to form a differential upgrade file. The upgrading method comprises the following steps: acquiring the manufactured differential upgrade file; based on a first fragmentation parameter in the differential upgrade file, fragmenting the initial file packet into an initial file sub-packet group; restoring an upgrade file sub-packet group based on the corresponding relation between the differential upgrade sub-packet group and the sub-packet in the differential upgrade file and in combination with the initial file sub-packet group; and combining the sub-packages of the upgrade files into an upgrade file package based on the restored upgrade files. The upgrading device is used for executing the upgrading packet manufacturing method and the upgrading method. However, some vehicles do not have a network and cannot download the upgrade package from the cloud. Although some vehicles have a network, the owner of the vehicle does not want to spend much time downloading the software package, which brings inconvenience to the user.
Disclosure of Invention
In order to solve the problems, the invention provides a cloud manufacturing method and an upgrading method for a USB flash disk upgrading package of vehicle-mounted software.
In order to solve the technical problems, the technical scheme adopted by the invention is that the method for manufacturing the cloud end of the USB flash disk upgrading package of the vehicle-mounted software comprises the following steps,
s1, acquiring software corresponding to the vehicle and needing USB flash disk upgrading by the cloud;
s2, configuring the upgrade mode of the software;
s3, generating a configuration file and a certificate file;
and S4, encrypting the software, the configuration file and the certificate file, and packaging according to a specified directory structure to generate a USB flash disk upgrade package.
As an optimization, step S1 includes,
s101, logging in an OTA cloud system and entering a USB upgrade package management interface;
s102, selecting a vehicle system and a vehicle type configuration group corresponding to a vehicle;
s103, selecting a target large version to be upgraded;
and S104, selecting a software number and a software package corresponding to an upgrading object to be subjected to USB flash disk upgrading.
As an optimization, in step S2, the upgrade mode includes a factory mode and an after-sales mode; configuring associated information corresponding to the vehicle when the upgrade mode is configured as an after-market mode.
As an optimization, the configuration of the association information includes,
s201, selecting a vehicle needing to be upgraded;
s202, inputting the VIN code of the vehicle and generating a task ID associated with the VIN code;
s203, importing the VIN code and the task ID into an OTA cloud system.
As an optimization, in step S3, the configuration file includes a task ID and/or an upgrade mode and/or a target and rollback software package information and/or upgrade preconditions and/or parallel upgrade information.
Preferably, the certificate file includes a certificate ID and certificate content.
And as optimization, the specified directory structure comprises a first-level directory, an upgrade object directory is created under the first-level directory, a software part number directory, a target and a rollback directory are created under the upgrade object directory, the USB flash disk upgrade package is placed under the software part number directory, the target and the rollback directory, and then the configuration file and the certificate file are placed under a directory at the same level as the upgrade object directory to generate the USB flash disk upgrade package.
Based on the manufacturing method, the invention also provides a USB flash disk upgrading method of vehicle-mounted software, which is used for upgrading the software of vehicle-mounted equipment and comprises the following steps,
S5, copying the USB flash disk upgrade package to a USB flash disk from a cloud end;
s6, inserting the USB flash disk into a USB interface of a corresponding vehicle;
s7, the vehicle decrypts the configuration file in the USB flash disk upgrade package, if the upgrade mode in the configuration file is the after-sale mode, the step S8 is executed, otherwise, the step S9 is executed;
s8, the vehicle completes the verification of the upgrade authority according to the VIN code and the task ID through the communication with the cloud;
and S9, decrypting other files in the USB flash disk upgrade package by the vehicle, deploying and installing, and completing software upgrade.
As an optimization, the vehicle decrypts the usb disk upgrade package through the FOTA program.
Compared with the prior art, the invention has the following advantages:
according to the method, an administrator logs in an OTA cloud system, enters a USB upgrade package management page provided by the system, selects a vehicle system to be upgraded of a USB flash disk, then enters an upgrade package manufacturing page, and selects a corresponding vehicle type configuration group and a target large version to be upgraded. And then entering an upgrade software page, and selecting software to be subjected to USB flash disk upgrade. Configuring an upgrade mode, associating an upgrade vehicle, generating a corresponding configuration file and a certificate file, after the configuration file and the certificate file are generated, encrypting all selected software packages, the configuration file and the certificate file, and then compressing and packaging all the software packages, the configuration file and the certificate file according to a specified directory structure to generate a USB flash disk upgrade package. And downloading the USB flash disk upgrading package from the cloud to a USB flash disk, decompressing, inserting into a USB port of the vehicle, and upgrading the whole USB flash disk software after the vehicle end completes the verification of the vehicle and the file. According to the invention, the USB flash disk upgrading package can be manufactured and downloaded at any time and any place through the cloud, and the software upgrading of the whole vehicle can be completed under the condition that the vehicle does not have a network.
Drawings
FIG. 1 is a general logic flow diagram of the present invention;
FIG. 2 is a directory structure diagram for building a USB flash disk upgrade package;
FIG. 3 is a flow chart of a vehicle performing USB upgrade.
Detailed Description
The invention will be further explained with reference to the drawings and the embodiments.
The embodiment is as follows: with reference to figures 1-3 of the drawings,
a method for manufacturing a USB flash disk upgrading package cloud of vehicle-mounted software comprises the following steps,
and S1, acquiring software corresponding to the vehicle and subjected to USB flash disk upgrading from the cloud. In particular, the method comprises the following steps of,
s101, logging in an OTA cloud system and entering a USB upgrade package management interface;
s102, selecting a vehicle system and a vehicle type configuration group corresponding to a vehicle;
s103, selecting a target large version to be upgraded;
and S104, selecting a software number and a software package corresponding to an upgrading object to be subjected to USB flash disk upgrading.
Logging in the OTA cloud system, entering a USB upgrade package management page provided by the system, wherein the page already provides all vehicle series information of a vehicle manufacturer, and selecting a vehicle series, such as the vehicle series P90. And then entering an upgrade package manufacturing page, and selecting a vehicle type configuration group P90_ CONF _ G _01 to be upgraded and a target large version P90_ V001.01_20211112 to be upgraded. And then entering an upgrade software page, adding all software of the vehicle system P90 which needs OTA upgrade into the list, and distinguishing according to upgrade objects and software part numbers, wherein if the upgrade objects THU and the corresponding software with the software numbers 9111115-PO21 are incompatible with the same upgrade object software of the vehicle which needs to be upgraded, the software with two different software part numbers needs to be selected.
S2, configuring the upgrade mode of the software; the upgrade mode comprises a factory mode and an after-sales mode; configuring associated information corresponding to the vehicle when the upgrade mode is configured as an after-market mode. The configuration of the associated information may include,
s201, selecting a vehicle needing to be upgraded;
s202, inputting the VIN code of the vehicle and generating a task ID associated with the VIN code;
s203, importing the VIN code and the task ID into an OTA cloud system.
And returning to the USB upgrade package manufacturing page, and selecting an upgrade mode. If the factory mode is selected, the upgraded vehicle does not need to be reconfigured, because the USB flash disk upgrade of the vehicle is not subjected to authority control in the engineering mode. If the after-sale mode is selected, the vehicle needing upgrading is needed to be reconfigured, and then an upgrading vehicle selection interface is entered, the VIN code LVZA53PA5KCS00111 of the upgrading vehicle is input, and the vehicle is selected to be added, provided that the vehicle belongs to the selected vehicle system. If the number of vehicles is large, vehicle information can be written into the excel file, the VIN number in the file is required to be ensured to belong to the selected vehicle type, and otherwise the cloud end can fail to verify. And after the file is input, importing the file into the cloud. Thus, the association of the upgrading task and the vehicle is completed.
S3, generating a configuration file and a certificate file; the configuration file comprises a task ID and/or an upgrade mode and/or a target and rollback software package information and/or an upgrade precondition and/or parallel upgrade information. The certificate file includes a certificate ID and certificate content.
When a USB upgrade package page is manufactured, manufacturing is selected to start, the cloud end generates a corresponding configuration file USB _ task.json for information configured just now by the USB upgrade task, and the configuration file includes information such as task id 202111120000001, the selected upgrade mode, the target and rollback software package information of each upgrade software such as software number 9111115-PO21, upgrade precondition, parallel upgrade and the like. Json, in addition to the configuration file, needs to generate a certificate file, which includes each certificate id and corresponding certificate content information. As long as the software package for the usb disk upgrade is signed, a certificate file needs to be generated.
S4, encrypting the software, the configuration file and the certificate file, and packaging according to the specified directory structure to generate the USB flash disk upgrade package. The specified directory structure comprises a first-level directory, an upgrade object directory is created under the first-level directory, a software part number directory, a target and a rollback directory are created under the upgrade object directory, the USB flash disk upgrade package is placed under the software part number directory, the target and the rollback directory, and then the configuration files and the certificate files are placed under a directory with the same level as the upgrade object directory to generate the USB flash disk upgrade package.
After the configuration files and the certificate files are generated, the cloud encrypts the target of the software number 9111115-PO21, the rollback software packages upgrade. Then, an upgrade object directory of the THU is created, and then a software part number directory of 9111115-PO21, and underlying object and rollback directories rollback and upgrade are created under the THU directory. The software packages are placed under these two directories, respectively. And then put usb _ task.json and cer.json under the same level of the upgrade object directory, as shown in fig. 2. And finally, compressing and packaging to generate a U disk upgrade package IncallUpdide.
Based on the manufacturing method, the invention also provides a USB flash disk upgrading method of vehicle-mounted software, which is used for upgrading the software of vehicle-mounted equipment and comprises the following steps,
s5, copying the USB flash disk upgrade package to a USB flash disk from a cloud;
s6, inserting the USB flash disk into a USB interface of a corresponding vehicle;
s7, the vehicle decrypts the configuration file in the USB flash disk upgrade package through the FOTA program, if the upgrade mode in the configuration file is an after-sales mode, the step S8 is executed, otherwise, the step S9 is executed;
S8, the vehicle completes the verification of the upgrade permission according to the VIN code and the task ID through the communication with the cloud;
and S9, decrypting other files in the USB flash disk upgrading package by the vehicle, deploying and installing, and completing software upgrading.
More specifically, a configured USB flash drive upgrade package IncallUpdide.zip is downloaded on a USB upgrade package management page, and then copied to a U disk root directory and decompressed. As shown in fig. 3, a USB disk is inserted into a USB port of a vehicle in which the VIN code is LVZA53PA5KCS00111, a FOTA program in the vehicle decrypts a configuration information file USB _ task.json, determines whether the current upgrade is an after-sales mode, if yes, checks the upgrade authority to a cloud, and the cloud configures association between the VIN code LVZA53PA5KCS00111 and the current task, so that the check can pass. If it is factory mode, no authorization verification is required. Then, other files are decrypted, and the deployment and installation processes are carried out.
According to the method, an administrator logs in an OTA cloud system, enters a USB upgrade patch management page provided by the system, selects a vehicle series to be upgraded of the USB flash disk, then enters an upgrade patch manufacturing page, and selects a corresponding vehicle type configuration group and a target large version to be upgraded. And then entering an upgrade software page, and selecting software to be upgraded by the USB flash disk. Configuring an upgrading mode, associating an upgrading vehicle, generating a corresponding configuration file and a corresponding certificate file, after the configuration file and the certificate file are generated, encrypting all selected software packages, the configuration file and the certificate file, and then compressing and packaging all the software packages, the configuration file and the certificate file according to a specified directory structure to generate a USB flash disk upgrading package. And downloading the USB flash disk upgrading package from the cloud to a USB flash disk for decompression, inserting the USB flash disk into a vehicle USB port, and upgrading the whole USB flash disk software after the vehicle end completes vehicle and file verification. According to the invention, the USB flash disk upgrading package can be manufactured and downloaded at any time and any place through the cloud, and the software upgrading of the whole vehicle can be completed under the condition that the vehicle has no network.
Finally, it should be noted that the above embodiments are only used for illustrating the technical solutions of the present invention and not for limiting the technical solutions, and those skilled in the art should understand that modifications or equivalent substitutions can be made on the technical solutions of the present invention without departing from the spirit and scope of the technical solutions, and all that should be covered by the claims of the present invention.
Claims (9)
1. A method for manufacturing a cloud end of a USB flash disk upgrading package of vehicle-mounted software is characterized by comprising the following steps of,
s1, acquiring software corresponding to the vehicle and needing USB flash disk upgrading by the cloud;
s2, configuring the upgrade mode of the software;
s3, generating a configuration file and a certificate file;
s4, encrypting the software, the configuration file and the certificate file, and packaging according to the specified directory structure to generate the USB flash disk upgrade package.
2. The cloud manufacturing method for the USB flash disk upgrade package of vehicle software according to claim 1, wherein step S1 includes,
s101, logging in an OTA cloud system, and entering a USB upgrade package management interface;
s102, selecting a vehicle system and a vehicle type configuration group corresponding to a vehicle;
s103, selecting a target large version to be upgraded;
and S104, selecting a software number and a software package corresponding to an upgrading object to be subjected to USB flash disk upgrading.
3. The cloud manufacturing method for the USB flash disk upgrade package of vehicle software according to claim 1, wherein in step S2, the upgrade mode includes a factory mode and an after-sales mode; configuring associated information corresponding to the vehicle when the upgrade mode is configured as an after-market mode.
4. The cloud manufacturing method for the USB flash disk upgrade package of vehicle software according to claim 3, wherein the configuration of the associated information includes,
s201, selecting a vehicle needing to be upgraded;
s202, inputting the VIN code of the vehicle and generating a task ID associated with the VIN code;
s203, importing the VIN code and the task ID into an OTA cloud system.
5. The cloud manufacturing method for the USB flash disk upgrade package of vehicle software according to claim 3, wherein in step S3, the configuration file includes task ID and/or upgrade mode and/or target and rollback software package information and/or upgrade precondition and/or parallel upgrade information.
6. The cloud manufacturing method for the USB flash disk upgrade package of the vehicle-mounted software according to claim 3, wherein the certificate file includes a certificate ID and certificate contents.
7. The cloud manufacturing method for the USB flash disk upgrade package of the vehicle-mounted software according to claim 6, wherein the specified directory structure includes a first-level directory, an upgrade object directory is created under the first-level directory, a software part number directory, a software object number directory, a software rollback directory and a USB flash disk upgrade package are created under the upgrade object directory, the USB flash disk upgrade package is placed under the software part number directory, the software object number directory, the software rollback directory, a configuration file and a certificate file are placed under a same level directory as the upgrade object directory, and the USB flash disk upgrade package is generated.
8. A method for upgrading a USB flash disk of vehicle-mounted software is characterized by comprising the following steps,
s5, copying the USB flash disk upgrade package of any one of claims 1-7 from the cloud to a USB flash disk;
s6, inserting the USB flash disk into a USB interface of a corresponding vehicle;
s7, the vehicle decrypts the configuration file in the USB flash disk upgrade package, if the upgrade mode in the configuration file is an after-sales mode, the step S8 is executed, otherwise, the step S9 is executed;
s8, the vehicle completes the verification of the upgrade permission according to the VIN code and the task ID through the communication with the cloud;
and S9, decrypting other files in the USB flash disk upgrading package by the vehicle, deploying and installing, and completing software upgrading.
9. The method for upgrading the USB flash disk of vehicle-mounted software according to claim 8, wherein the vehicle decrypts the USB flash disk upgrade package through a FOTA program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210428467.0A CN114756264A (en) | 2022-04-22 | 2022-04-22 | Cloud manufacturing method and upgrading method for USB (universal serial bus) flash disk upgrading package of vehicle-mounted software |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210428467.0A CN114756264A (en) | 2022-04-22 | 2022-04-22 | Cloud manufacturing method and upgrading method for USB (universal serial bus) flash disk upgrading package of vehicle-mounted software |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114756264A true CN114756264A (en) | 2022-07-15 |
Family
ID=82330722
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210428467.0A Pending CN114756264A (en) | 2022-04-22 | 2022-04-22 | Cloud manufacturing method and upgrading method for USB (universal serial bus) flash disk upgrading package of vehicle-mounted software |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114756264A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115809096A (en) * | 2023-02-02 | 2023-03-17 | 麒麟软件有限公司 | Batch self-adaptive upgrading method for operating systems |
CN116775077A (en) * | 2023-06-27 | 2023-09-19 | 深圳市青葡萄科技有限公司 | Method, device and storage medium for upgrading software based on storage device |
CN116974616A (en) * | 2023-07-14 | 2023-10-31 | 红石阳光(北京)科技股份有限公司 | Method for upgrading all electronic control units of whole vehicle through USB flash disk |
-
2022
- 2022-04-22 CN CN202210428467.0A patent/CN114756264A/en active Pending
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115809096A (en) * | 2023-02-02 | 2023-03-17 | 麒麟软件有限公司 | Batch self-adaptive upgrading method for operating systems |
CN115809096B (en) * | 2023-02-02 | 2023-04-25 | 麒麟软件有限公司 | Batch self-adaptive upgrading method for operating system |
CN116775077A (en) * | 2023-06-27 | 2023-09-19 | 深圳市青葡萄科技有限公司 | Method, device and storage medium for upgrading software based on storage device |
CN116974616A (en) * | 2023-07-14 | 2023-10-31 | 红石阳光(北京)科技股份有限公司 | Method for upgrading all electronic control units of whole vehicle through USB flash disk |
CN116974616B (en) * | 2023-07-14 | 2024-03-15 | 红石阳光(北京)科技股份有限公司 | Method for upgrading all electronic control units of whole vehicle through USB flash disk |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN114756264A (en) | Cloud manufacturing method and upgrading method for USB (universal serial bus) flash disk upgrading package of vehicle-mounted software | |
CN102830992B (en) | Plug-in loading method and system | |
CN112953820B (en) | Gateway device, firmware update method, and storage medium | |
CN103677891B (en) | method for selective software rollback | |
US10162625B2 (en) | Vehicle control storage methods and systems | |
EP3623939A1 (en) | Method and apparatus for wirelessly updating software for vehicle | |
US10705820B2 (en) | Method and apparatus for secure multi-cycle vehicle software updates | |
US20160378457A1 (en) | Program update system and program update method | |
CN103679005B (en) | The method for enabling the development mode of secure electronic control unit | |
CN107992753B (en) | Method for updating software of a control device of a vehicle | |
CN103220264A (en) | Methods to provide digital signature to secure flash programming function | |
CN106201607A (en) | The upgrade method of a kind of software version and equipment | |
Ekatpure | Challenges Associated with the Deployment of Software Over-the-Air (SOTA) Updates in the Automotive Industry | |
CN101194229A (en) | Updating of data instructions | |
US20220283799A1 (en) | Center, update management method, and non-transitory storage medium | |
KR20200019565A (en) | Method and device for wirelessly updating software for vehicle | |
CN113635860A (en) | Vehicle control method, device, system, medium, equipment and terminal | |
CN110851821A (en) | Android intelligent device APK safety management and control method | |
CN115871574A (en) | OTA (over the air) updating execution device and method for vehicle | |
CN116541054A (en) | Off-line upgrading method for automobile software | |
US11941126B2 (en) | Center, information rewriting method, and non-transitory storage medium | |
WO2007051958A1 (en) | Update package format and method for grouping and sequencing update payloads | |
CN116795400A (en) | OTA upgrading method, device, equipment and storage medium | |
CN115617386A (en) | Method, device, equipment and storage medium for constructing firmware in storage equipment | |
CN115996375A (en) | Method and system for realizing vehicle over-the-air downloading |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |