CN111796843B - Application program upgrading method, device, equipment and storage medium - Google Patents

Application program upgrading method, device, equipment and storage medium Download PDF

Info

Publication number
CN111796843B
CN111796843B CN202010601737.4A CN202010601737A CN111796843B CN 111796843 B CN111796843 B CN 111796843B CN 202010601737 A CN202010601737 A CN 202010601737A CN 111796843 B CN111796843 B CN 111796843B
Authority
CN
China
Prior art keywords
application
upgraded
vehicle
upgrade
upgrade package
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.)
Active
Application number
CN202010601737.4A
Other languages
Chinese (zh)
Other versions
CN111796843A (en
Inventor
王利伟
高洪伟
吕贵林
陈涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
FAW Group Corp
Original Assignee
FAW Group Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by FAW Group Corp filed Critical FAW Group Corp
Priority to CN202010601737.4A priority Critical patent/CN111796843B/en
Publication of CN111796843A publication Critical patent/CN111796843A/en
Application granted granted Critical
Publication of CN111796843B publication Critical patent/CN111796843B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/12Applying verification of the received information
    • H04L63/123Applying verification of the received information received data contents, e.g. message integrity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the application discloses an application program upgrading method, device, equipment and storage medium, wherein the method is executed by main vehicle-mounted equipment arranged in a vehicle and comprises the following steps: downloading an upgrade package of at least one application to be upgraded; upgrading at least one application to be upgraded, which is locally set; and transmitting the upgrade package of the at least one application to be upgraded to auxiliary vehicle-mounted equipment arranged in the vehicle, so that the auxiliary vehicle-mounted equipment upgrades the at least one application to be upgraded which is locally arranged according to the received upgrade package. According to the method and the device, the upgrade package is downloaded through the main vehicle-mounted equipment, the upgrade package of the application to be upgraded is shared between the main vehicle-mounted equipment and the auxiliary setting equipment through data transmission between the main vehicle-mounted equipment and the auxiliary setting equipment, the local application to be upgraded is independently upgraded by the main vehicle-mounted equipment and the auxiliary vehicle-mounted equipment, synchronous upgrading of the application to be upgraded in different equipment in a vehicle is achieved, and further the application program upgrading efficiency in the vehicle provided with the multiple vehicle-mounted equipment is improved.

Description

Application program upgrading method, device, equipment and storage medium
Technical Field
The embodiment of the application relates to the internet of vehicles technology, in particular to an application program upgrading method, device, equipment and storage medium.
Background
Today, the development of continuous intellectualization and networking of automobiles is that automobiles are not just a walking tool, but also a service entrance for providing entertainment and enriching life for users.
In order to make users more enjoyable in the use of automobiles, users are often provided with internet of vehicles services such as music, video, radio stations, news, and food through in-vehicle devices.
In the prior art, a plurality of vehicle-mounted devices are arranged in a vehicle, so that internet of vehicles service can be provided for different users at the same time, and the use experience of the users is improved. In order to continuously optimize the user experience, the internet of vehicles service needs to be updated regularly. Therefore, how to upgrade applications installed in a plurality of vehicle-mounted devices for providing internet of vehicles services is a technical problem to be solved.
Disclosure of Invention
The embodiment of the application program upgrading method, device, equipment and storage medium are used for upgrading the Internet of vehicles service application program in the vehicle provided with a plurality of vehicle-mounted equipment.
In a first aspect, an embodiment of the present application provides an application program upgrading method, which is executed by a main vehicle-mounted device disposed in a vehicle, including:
downloading an upgrade package of at least one application to be upgraded;
upgrading at least one application to be upgraded, which is set locally; the method comprises the steps of,
transmitting an upgrade package of at least one application to be upgraded to auxiliary vehicle-mounted equipment arranged in the vehicle, so that the auxiliary vehicle-mounted equipment upgrades the at least one application to be upgraded which is locally arranged according to the received upgrade package.
In a second aspect, an embodiment of the present application further provides an application program upgrading method, which is executed by a sub-vehicle device disposed in a vehicle, including:
receiving an upgrade package of at least one application to be upgraded sent by main vehicle-mounted equipment arranged in the vehicle;
and upgrading at least one application to be upgraded, which is locally set, according to the received upgrading packet.
In a third aspect, an embodiment of the present application further provides an application upgrade apparatus, which is executed by a main vehicle-mounted device disposed in a vehicle, including:
the upgrade package downloading module is used for downloading at least one upgrade package of the application to be upgraded;
the local upgrading module is used for upgrading at least one application to be upgraded which is locally set; the method comprises the steps of,
And the upgrade package transmission module is used for transmitting at least one upgrade package of the application to be upgraded to auxiliary vehicle-mounted equipment arranged in the vehicle, so that the auxiliary vehicle-mounted equipment upgrades at least one locally-arranged application to be upgraded according to the received upgrade package.
In a fourth aspect, an embodiment of the present application further provides an application upgrade apparatus, which is executed by a sub-vehicle device disposed in a vehicle, including:
the upgrade package receiving module is used for receiving an upgrade package of at least one application to be upgraded, which is sent by main vehicle-mounted equipment arranged in the vehicle;
and the local upgrading module is used for upgrading at least one application to be upgraded which is locally set according to the received upgrading packet.
In a fifth aspect, an embodiment of the present application further provides an in-vehicle apparatus, including:
one or more processors;
a memory for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement any one of the application upgrade methods provided in the first aspect or the second aspect.
In a sixth aspect, embodiments of the present application further provide a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements any one of the application program upgrading methods provided in the first or second aspects.
According to the method and the device, at least one upgrade package of the application to be upgraded is downloaded through main vehicle-mounted equipment arranged in a vehicle; upgrading at least one application to be upgraded, which is locally set; and transmitting the upgrade package of the at least one application to be upgraded to auxiliary vehicle-mounted equipment arranged in the vehicle, so that the auxiliary vehicle-mounted equipment upgrades the at least one application to be upgraded which is locally arranged according to the received upgrade package. According to the technical scheme, the upgrade package is downloaded through the main vehicle-mounted equipment, the upgrade package of the application to be upgraded is shared between the main vehicle-mounted equipment and the auxiliary setting equipment through data transmission between the main vehicle-mounted equipment and the auxiliary setting equipment, the local application to be upgraded is independently upgraded by the main vehicle-mounted equipment and the auxiliary vehicle-mounted equipment, synchronous upgrading of the application to be upgraded in different equipment in a vehicle is achieved, and further the upgrading efficiency of the application program in the vehicle provided with the multiple vehicle-mounted equipment is improved.
Drawings
FIG. 1A is a schematic diagram of an upgrade system;
FIG. 1B is a flowchart of an application upgrade method according to an embodiment of the present application;
FIG. 2 is a flowchart of an application upgrade method according to a second embodiment of the present application;
FIG. 3 is a flowchart of an application upgrade method according to a third embodiment of the present application;
fig. 4 is a block diagram of an application upgrading device according to a fourth embodiment of the present application;
fig. 5 is a block diagram of an application upgrading device according to a fifth embodiment of the present application;
fig. 6 is a structural diagram of a main in-vehicle apparatus in a sixth embodiment of the present invention;
fig. 7 is a structural diagram of a sub-vehicle-mounted device in a seventh embodiment of the present invention.
Detailed Description
The present application is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the application and not limiting thereof. It should be further noted that, for convenience of description, only some, but not all of the structures related to the present application are shown in the drawings.
In order to clearly explain the technical solutions in the embodiments of the present application, first, an upgrade system according to the embodiments of the present application will be described in detail.
Referring to a schematic diagram of an upgrade system shown in fig. 1A, the upgrade system includes an upgrade server 10 and a vehicle 20; wherein the vehicle 20 includes a main in-vehicle device 21 and at least one sub-in-vehicle device 22. Among them, applications for providing internet of vehicles services such as music, video, radio, news, and food are installed in the main in-vehicle device 21 and each sub in-vehicle device 22.
Wherein an upgrade package of at least one application installed in the main in-vehicle device 21 and/or the sub in-vehicle device 22 is stored in the upgrade server 10;
a main vehicle-mounted device 21 for downloading an upgrade package of an application to be upgraded from the upgrade server 10, and transmitting the downloaded upgrade package of at least one application to be upgraded to the sub vehicle-mounted device 22;
the main vehicle-mounted device 21 is further configured to perform application upgrade on at least one locally set application to be upgraded according to the downloaded upgrade package.
The auxiliary vehicle-mounted device 22 is configured to perform application upgrade on at least one locally set application to be upgraded according to the received upgrade package.
Example 1
Fig. 1B is a flowchart of an application program upgrading method provided in an embodiment of the present application, which is applicable to a case of upgrading at least one application program for providing a vehicle network service provided in a vehicle by the upgrading system shown in fig. 1A, and the method is performed by an application program upgrading device, which is implemented by software and/or hardware and is specifically configured in a main in-vehicle device 21 provided in the vehicle.
An application program upgrading method as shown in fig. 1B, which is executed by a main in-vehicle apparatus provided in a vehicle, includes:
S110, downloading an upgrade package of at least one application to be upgraded.
The application to be upgraded is an upgradeable application program for providing internet of vehicles services such as music, videos, radio stations, news, food and the like in the vehicle.
Illustratively, the host on-board device may download an upgrade package of at least one application to be upgraded from an upgrade server in the upgrade system shown in fig. 1A.
In an optional implementation manner of the embodiment of the present application, the release information may include an application identifier of at least one sub-application to be upgraded, so that the main vehicle-mounted device searches, according to the application identifier of the sub-application to be upgraded, the sub-application to be upgraded corresponding to the application identifier in the release system, and downloads an upgrade package of the sub-application to be upgraded.
In order to facilitate the acquisition of the upgrade package of the sub-application to be upgraded, improve the efficiency of acquiring the upgrade package of the sub-application, and reduce the operation processing of the user at the same time, in another optional implementation manner of the embodiment of the present application, the release information may include the download information of the sub-application to be upgraded, so that the main vehicle-mounted device directly performs the download operation of the upgrade package of the sub-application to be upgraded based on the download information. Illustratively, the download information may be a download address, which may be presented in the form of a web address or two-dimensional code.
S120, upgrading at least one application to be upgraded, which is set locally.
Specifically, according to the downloaded upgrade package, application upgrade is performed on at least one application to be upgraded, which is associated with the upgrade package, in the main vehicle-mounted device.
It should be noted that, the application to be upgraded for the local upgrade performed by the main vehicle-mounted device may be all applications associated with the downloaded upgrade package, or may be part of applications, which is not limited in this embodiment of the present application.
S130, transmitting an upgrade package of at least one application to be upgraded to auxiliary vehicle-mounted equipment arranged in the vehicle, so that the auxiliary vehicle-mounted equipment upgrades the at least one application to be upgraded which is locally arranged according to the received upgrade package.
Optionally, transmitting at least one of the downloaded upgrade packages of each application to be upgraded to the auxiliary vehicle-mounted equipment through a data transmission channel between the main vehicle-mounted equipment and the auxiliary vehicle-mounted equipment; correspondingly, the auxiliary vehicle-mounted equipment performs application upgrading on at least one to-be-upgraded application which is locally set and is associated with the received upgrading packet according to the received upgrading packet.
The method comprises the steps that a main vehicle-mounted device transmits an upgrade package of at least one application to be upgraded to a secondary vehicle-mounted device arranged in a vehicle through a locally arranged multi-system communication application; correspondingly, the auxiliary vehicle-mounted equipment receives an upgrade package of at least one application to be upgraded, which is sent by the main vehicle-mounted equipment, through a locally arranged multi-system communication application.
In an optional implementation manner of the embodiment of the present application, the upgrade package sent by the primary vehicle-mounted device to the secondary vehicle-mounted device may be an upgrade package of all downloaded applications to be upgraded, so as to ensure that the secondary vehicle-mounted device can implement the application program upgrade as comprehensively as possible. Accordingly, the auxiliary vehicle-mounted device can receive the full upgrade package, or download the upgrade package of the application program to be upgraded from the full upgrade package sent by the main vehicle-mounted device according to the locally installed application program to be upgraded.
In order to reduce the waste of resources caused by unnecessary data transmission, in another optional implementation manner of the embodiment of the present application, the main vehicle device may further send the downloaded upgrade packet of the part of the application to be upgraded to the auxiliary vehicle device. Correspondingly, the auxiliary vehicle-mounted equipment receives all upgrade packages sent by the main vehicle-mounted equipment so as to upgrade the corresponding applications to be upgraded.
For example, the main vehicle-mounted device may further determine at least one application to be upgraded in the auxiliary vehicle-mounted device before transmitting an upgrade package of the at least one application to be upgraded to the auxiliary vehicle-mounted device disposed in the vehicle; correspondingly, at least one upgrade package of the application to be upgraded in the auxiliary vehicle-mounted equipment is transmitted to the auxiliary vehicle-mounted equipment.
Optionally, the primary vehicle-mounted device stores the application program installed in the secondary vehicle-mounted device and the current version of each application in ascending order locally or in other devices associated with the primary vehicle-mounted device; the main vehicle-mounted equipment can search and match the application programs in the auxiliary vehicle-mounted equipment according to the version information of each downloaded application program, so that at least one application to be upgraded in the auxiliary vehicle-mounted equipment is determined.
It should be noted that, S120 and S130 may be executed simultaneously or sequentially, and the execution sequence of both may not be limited in this embodiment of the present application.
According to the method and the device, at least one upgrade package of the application to be upgraded is downloaded through main vehicle-mounted equipment arranged in a vehicle; upgrading at least one application to be upgraded, which is locally set; and transmitting the upgrade package of the at least one application to be upgraded to auxiliary vehicle-mounted equipment arranged in the vehicle, so that the auxiliary vehicle-mounted equipment upgrades the at least one application to be upgraded which is locally arranged according to the received upgrade package. According to the technical scheme, the upgrade package is downloaded through the main vehicle-mounted equipment, the upgrade package of the application to be upgraded is shared between the main vehicle-mounted equipment and the auxiliary setting equipment through data transmission between the main vehicle-mounted equipment and the auxiliary setting equipment, the local application to be upgraded is independently upgraded by the main vehicle-mounted equipment and the auxiliary vehicle-mounted equipment, synchronous upgrading of the application to be upgraded in different equipment in a vehicle is achieved, and further the upgrading efficiency of the application program in the vehicle provided with the multiple vehicle-mounted equipment is improved.
In an optional implementation manner of the embodiment of the present application, in order to ensure stability of an application program after a subsequent upgrade, in an application program upgrade process, after downloading an upgrade package of at least one application to be upgraded, a host vehicle device upgrades at least one application to be upgraded, which is locally set; and before transmitting the upgrade package of at least one application to be upgraded to the auxiliary vehicle-mounted equipment arranged in the vehicle, the upgrade package may further include: transmitting a version verification request to an upgrade server aiming at each application to be upgraded so as to obtain an upgrade package recall result of each application to be upgraded; and if the upgrade package of the application to be upgraded is not recalled, continuing to execute the upgrading operation of the local application to be upgraded and the application to be upgraded in the auxiliary vehicle-mounted equipment.
Specifically, the main vehicle-mounted device sends a version verification request to the upgrade server; after receiving the version verification request, the upgrade server determines whether an upgrade package of the application to be upgraded in the upgrade server is recalled or not based on each current version in the version verification request; if the application to be upgraded is recalled, the upgrade package of the application to be upgraded is recalled due to stability or other reasons, so that the application to be upgraded does not need to be upgraded, namely, the local upgrade operation of the application to be upgraded is not executed any more, and the upgrade package transmission operation of the application to be upgraded is executed to the auxiliary vehicle-mounted equipment, so that the application upgrade of the application to be upgraded in the vehicle is terminated. If the application to be upgraded is not recalled, the method indicates that the performance of the upgrade package of the application to be upgraded is good, local upgrade operation of the application to be upgraded can be executed, and upgrade package transmission operation of the application to be upgraded is carried out on the auxiliary vehicle-mounted equipment, so that application upgrade of the application to be upgraded, which is installed on the main vehicle-mounted equipment and the auxiliary vehicle-mounted equipment in the vehicle, is realized.
On the basis of the technical schemes, in order to realize management and monitoring of the application upgrading conditions in the auxiliary vehicle-mounted equipment, the auxiliary vehicle-mounted equipment sends an upgrading receipt to the main vehicle-mounted equipment after upgrading at least one locally-set application to be upgraded according to the received upgrading packet; correspondingly, the main vehicle-mounted equipment receives the upgrade receipt sent by the auxiliary vehicle-mounted equipment and is used for local storage or reporting to other equipment related to the main vehicle-mounted equipment, so that the upgrade receipt is stored in the other equipment. The upgrade return comprises software versions and/or upgrade results of the applications to be upgraded, which are associated with the received upgrade package. The upgrading result comprises upgrading success and upgrading failure.
Optionally, when the upgrade result of the auxiliary vehicle-mounted device is that the upgrade fails, the auxiliary vehicle-mounted device may roll back the application to be upgraded that fails to upgrade in a set period of time, and feed back an upgrade receipt of the roll-back upgrade process to the main vehicle-mounted device. Optionally, in order to ensure successful upgrade of the application to be upgraded, if rollback of the application to be upgraded still fails within a set period of time or the rollback frequency is greater than a set frequency threshold, an upgrade receipt of the upgrade failure is fed back to the main vehicle-mounted device, and the main vehicle-mounted device is requested to re-download and/or re-send the upgrade package of the application to be upgraded. Wherein, the threshold value of the setting times is set by the technician according to the requirement or the experience value.
When at least two auxiliary vehicle-mounted devices are arranged in the vehicle, in order to facilitate effective control of each auxiliary vehicle-mounted device and ensure successful upgrading of upgrading-failed to-be-upgraded application in other auxiliary vehicle-mounted devices, a rollback instruction can be sent to at least one auxiliary vehicle-mounted device arranged in the vehicle so as to instruct the auxiliary vehicle-mounted device to rollback upgrading-failed to-be-upgraded application; correspondingly, after receiving the rollback instruction, the auxiliary vehicle-mounted device triggers and executes rollback operation on the application to be upgraded, which fails to be upgraded.
In an optional implementation manner of the embodiment of the present application, optionally, after upgrading at least one application to be upgraded that is set locally, the main vehicle device may further generate an upgrade response piece for the upgrade action.
When the upgrading result in the main vehicle-mounted equipment is that the upgrading is failed, rollback is carried out on the application to be upgraded which is failed to be upgraded, and an upgrading receipt of the rollback upgrading process is generated. Optionally, in order to ensure successful upgrade of the application to be upgraded, if rollback of the application to be upgraded still fails within a set period of time or the rollback frequency is greater than a set frequency threshold, downloading the upgrade package of the application to be upgraded again. Wherein, the threshold value of the setting times is set by the technician according to the requirement or the experience value.
In order to ensure successful upgrading of the application to be upgraded in the auxiliary vehicle-mounted equipment, when the upgrading of the application to be upgraded in the main vehicle-mounted equipment fails, a rollback instruction is also sent to at least one auxiliary vehicle-mounted equipment arranged in the vehicle so as to instruct each auxiliary vehicle-mounted equipment to rollback the upgrading application which fails to be upgraded.
Based on the technical solutions of the above embodiments, the application to be upgraded may be each independent application set in the vehicle, or may be each sub-application to be upgraded included in the fusion application set in the vehicle.
A converged application is understood to be an application program comprising at least one sub-application.
Optionally, if each application to be upgraded is a sub-application to be upgraded contained in the converged application, correspondingly, downloading an upgrade package of at least one application to be upgraded may be: receiving release information of at least one sub-application to be upgraded contained in the fusion application; and downloading at least one upgrade package of the sub-application to be upgraded according to the release information. The upgrade package of the sub-application to be upgraded is contained in the upgrade package of the fusion application; that is, the upgrade package of the fusion application is generated after the upgrade packages of the sub-applications are uniformly packaged.
When at least one sub-application to be upgraded in the fusion application needs to be upgraded, the upgrade package of each sub-application to be upgraded is contained in the upgrade package of the fusion application.
In order to facilitate upgrade management of the converged application and the applications in various places, an upgrade package of a non-to-be-upgraded sub-application in each sub-application is generally contained in an upgrade package of the converged application. The upgrade package for the sub-application to be upgraded may be all or part of the upgrade package of the sub-application not to be upgraded. In order to reduce data redundancy, the upgrade package of the non-to-be-upgraded sub-application can also be a blank package added with a set transmission field.
Optionally, a developer or manager of the fusion application packages the upgrade package of each sub-application to be upgraded and the upgrade package of each non-sub-application to be upgraded in the fusion application to obtain the upgrade package of the fusion application; and sending the upgrade package of the fusion application to an upgrade server for storage. Correspondingly, the upgrade server receives an upgrade package of the fusion application; determining and issuing an upgrade package of at least one sub-application to be upgraded in the upgrade package of the fusion application; pushing the release information of the determined upgrade package of at least one sub-application to be upgraded to the main vehicle-mounted equipment; and the corresponding main vehicle-mounted equipment receives the release information of the sub-application to be upgraded.
Example two
Fig. 2 is a flowchart of an application program upgrading method provided in a second embodiment of the present application, which is applicable to a case of upgrading at least one application program for providing a vehicle network service provided in a vehicle by the upgrading system shown in fig. 1A, and the method is performed by an application program upgrading device, which is implemented by software and/or hardware and is specifically configured in a sub-vehicle device 22 provided in the vehicle.
An application program upgrading method as shown in fig. 2, which is executed by a sub-vehicle-mounted device provided in a vehicle, includes:
s210, receiving an upgrade package of at least one application to be upgraded, which is sent by main vehicle-mounted equipment arranged in the vehicle.
The application to be upgraded is an upgradeable application program for providing internet of vehicles services such as music, videos, radio stations, news, food and the like in the vehicle.
Specifically, the main vehicle-mounted device downloads an upgrade package of at least one application to be upgraded, and sends the upgrade package of the at least one application to be upgraded to the auxiliary vehicle-mounted device.
Illustratively, the host on-board device may download an upgrade package of at least one application to be upgraded from an upgrade server in the upgrade system shown in fig. 1A.
Optionally, transmitting at least one of the downloaded upgrade packages of each application to be upgraded to the auxiliary vehicle-mounted equipment through a data transmission channel between the main vehicle-mounted equipment and the auxiliary vehicle-mounted equipment; correspondingly, the auxiliary vehicle-mounted equipment performs application upgrading on at least one to-be-upgraded application which is locally set and is associated with the received upgrading packet according to the received upgrading packet.
The method comprises the steps that a main vehicle-mounted device transmits an upgrade package of at least one application to be upgraded to a secondary vehicle-mounted device arranged in a vehicle through a locally arranged multi-system communication application; correspondingly, the auxiliary vehicle-mounted equipment receives an upgrade package of at least one application to be upgraded, which is sent by the main vehicle-mounted equipment, through a locally arranged multi-system communication application.
In an optional implementation manner of the embodiment of the present application, the upgrade package sent by the primary vehicle-mounted device to the secondary vehicle-mounted device may be an upgrade package of all downloaded applications to be upgraded, so as to ensure that the secondary vehicle-mounted device can implement the application program upgrade as comprehensively as possible. Accordingly, the auxiliary vehicle-mounted device can receive the full upgrade package, or download the upgrade package of the application program to be upgraded from the full upgrade package sent by the main vehicle-mounted device according to the locally installed application program to be upgraded.
In order to reduce the waste of resources caused by unnecessary data transmission, in another optional implementation manner of the embodiment of the present application, the main vehicle device may further send the downloaded upgrade packet of the part of the application to be upgraded to the auxiliary vehicle device. Correspondingly, the auxiliary vehicle-mounted equipment receives all upgrade packages sent by the main vehicle-mounted equipment so as to upgrade the corresponding applications to be upgraded.
For example, the main vehicle-mounted device may further determine at least one application to be upgraded in the auxiliary vehicle-mounted device before transmitting an upgrade package of the at least one application to be upgraded to the auxiliary vehicle-mounted device disposed in the vehicle; transmitting an upgrade package of at least one application to be upgraded in the auxiliary vehicle-mounted equipment to the auxiliary vehicle-mounted equipment; correspondingly, the auxiliary vehicle-mounted equipment receives the upgrade package.
Optionally, the primary vehicle-mounted device stores the application program installed in the secondary vehicle-mounted device and the current version of each application in ascending order locally or in other devices associated with the primary vehicle-mounted device; the main vehicle-mounted equipment can search and match the application programs in the auxiliary vehicle-mounted equipment according to the version information of each downloaded application program, so as to determine at least one application to be upgraded in the auxiliary vehicle-mounted equipment; transmitting an upgrade package of at least one application to be upgraded in the auxiliary vehicle-mounted equipment to the auxiliary vehicle-mounted equipment; correspondingly, the auxiliary vehicle-mounted equipment receives the upgrade package.
S220, according to the received upgrade package, upgrading at least one application to be upgraded, which is set locally.
Specifically, according to the received upgrade package, application upgrade is performed on at least one application to be upgraded, which is associated with the upgrade package, in the auxiliary vehicle-mounted equipment.
It should be noted that, the application to be upgraded for the local upgrade of the auxiliary vehicle-mounted device may be all applications associated with the received upgrade package, or may be part of applications, which is not limited in this embodiment of the present application.
According to the method, the device and the system, the auxiliary vehicle-mounted device arranged in the vehicle receives the upgrade package of at least one application to be upgraded sent by the device of the main vehicle arranged in the vehicle; and upgrading at least one application to be upgraded, which is locally set, according to the received upgrade package. According to the technical scheme, the upgrade package is downloaded through the main vehicle-mounted equipment, the upgrade package of the application to be upgraded is shared between the main vehicle-mounted equipment and the auxiliary setting equipment through data transmission between the main vehicle-mounted equipment and the auxiliary setting equipment, the local application to be upgraded is independently upgraded by the main vehicle-mounted equipment and the auxiliary vehicle-mounted equipment, synchronous upgrading of the application to be upgraded in different equipment in a vehicle is achieved, and further the upgrading efficiency of the application program in the vehicle provided with the multiple vehicle-mounted equipment is improved.
On the basis of the technical schemes, in order to realize management and monitoring of the application upgrading conditions in the auxiliary vehicle-mounted equipment, the auxiliary vehicle-mounted equipment sends an upgrading receipt to the main vehicle-mounted equipment after upgrading at least one locally-set application to be upgraded according to the received upgrading packet; the upgrade return comprises software versions and/or upgrade results of the applications to be upgraded, which are associated with the received upgrade package. The upgrading result comprises upgrading success and upgrading failure. Correspondingly, the main vehicle-mounted equipment receives the upgrade receipt sent by the auxiliary vehicle-mounted equipment and is used for local storage or reporting to other equipment related to the main vehicle-mounted equipment, so that the upgrade receipt is stored in the other equipment.
Optionally, when the upgrade result of the auxiliary vehicle-mounted device is that the upgrade fails, the auxiliary vehicle-mounted device may roll back the application to be upgraded that fails to upgrade in a set period of time, and feed back an upgrade receipt of the roll-back upgrade process to the main vehicle-mounted device. Optionally, in order to ensure successful upgrade of the application to be upgraded, if rollback of the application to be upgraded still fails within a set period of time or the rollback frequency is greater than a set frequency threshold, an upgrade receipt of the upgrade failure is fed back to the main vehicle-mounted device, and the main vehicle-mounted device is requested to re-download and/or re-send the upgrade package of the application to be upgraded. Wherein, the threshold value of the setting times is set by the technician according to the requirement or the experience value.
When at least two auxiliary vehicle-mounted devices are arranged in the vehicle, in order to facilitate effective control of each auxiliary vehicle-mounted device, and ensure successful upgrade of upgrade-failed to-be-upgraded application in other auxiliary vehicle-mounted devices, a rollback instruction can be sent to at least one auxiliary vehicle-mounted device arranged in the vehicle by the main vehicle-mounted device; correspondingly, the auxiliary vehicle-mounted equipment receives a rollback instruction sent by the main vehicle-mounted equipment based on an upgrading result of upgrading identification; and rolling back the application to be upgraded, the upgrading result of which is that the upgrading fails, according to the rollback instruction.
It should be noted that, the upgrade result may also be an upgrade result generated by the main vehicle-mounted device for the upgrade action after the upgrade package of the application to be upgraded is downloaded, and at least one locally set application to be upgraded is upgraded.
On the basis of the technical solutions of the above embodiments, in order to ensure stability of an application program after being upgraded in the auxiliary vehicle-mounted device, an upgrade package received by the auxiliary vehicle-mounted device is an upgrade package that is not recalled in the upgrade server.
In an exemplary process of upgrading an application program, after downloading an upgrade package of at least one application to be upgraded, the main vehicle-mounted device may further transmit the upgrade package of the at least one application to be upgraded to a secondary vehicle-mounted device disposed in the vehicle: transmitting a version verification request to an upgrade server aiming at each application to be upgraded so as to obtain an upgrade package recall result of each application to be upgraded; if the upgrade package of the application to be upgraded is not recalled, continuing to execute the transmission operation of at least one upgrade package of the application to be upgraded to the auxiliary vehicle-mounted equipment; correspondingly, the auxiliary vehicle-mounted equipment receives an upgrade package of at least one application to be upgraded, which is sent by the main vehicle-mounted equipment.
Specifically, the main vehicle-mounted device sends a version verification request to the upgrade server; after receiving the version verification request, the upgrade server determines whether an upgrade package of the application to be upgraded in the upgrade server is recalled or not based on each current version in the version verification request; if the application to be upgraded is recalled, the upgrade package of the application to be upgraded is recalled, and the application to be upgraded is not required to be upgraded due to stability or other reasons, namely the operation of transmitting the upgrade package of the application to be upgraded to the auxiliary vehicle-mounted equipment is not executed any more, so that the application upgrading of the application to be upgraded in the auxiliary vehicle-mounted equipment is terminated. If the application to be upgraded is not recalled, the good performance of the upgrade package of the application to be upgraded is indicated, and the operation of transmitting the upgrade package of the application to be upgraded to the auxiliary vehicle-mounted equipment can be executed, so that the application upgrade of the application to be upgraded, which is installed by the auxiliary vehicle-mounted equipment, is realized.
It can be understood that, in order to ensure the stability of the locally set upgraded application program by the host vehicle-mounted device, after downloading the upgrade package of at least one application to be upgraded, the host vehicle-mounted device performs an operation of sending a version verification request to the upgrade server for each application to be upgraded before upgrading the locally set at least one application to be upgraded.
Based on the technical solutions of the above embodiments, the application to be upgraded may be each independent application set in the vehicle, or may be each sub-application to be upgraded included in the fusion application set in the vehicle.
A converged application is understood to be an application program comprising at least one sub-application.
Optionally, if each application to be upgraded is a sub-application to be upgraded contained in the converged application, correspondingly, downloading an upgrade package of at least one application to be upgraded may be: receiving release information of at least one sub-application to be upgraded contained in the fusion application; and downloading at least one upgrade package of the sub-application to be upgraded according to the release information. The upgrade package of the sub-application to be upgraded is contained in the upgrade package of the fusion application; that is, the upgrade package of the fusion application is generated after the upgrade packages of the sub-applications are uniformly packaged.
When at least one sub-application to be upgraded in the fusion application needs to be upgraded, the upgrade package of each sub-application to be upgraded is contained in the upgrade package of the fusion application.
In order to facilitate upgrade management of the converged application and the applications in various places, an upgrade package of a non-to-be-upgraded sub-application in each sub-application is generally contained in an upgrade package of the converged application. The upgrade package for the sub-application to be upgraded may be all or part of the upgrade package of the sub-application not to be upgraded. In order to reduce data redundancy, the upgrade package of the non-to-be-upgraded sub-application can also be a blank package added with a set transmission field.
Optionally, a developer or manager of the fusion application packages the upgrade package of each sub-application to be upgraded and the upgrade package of each non-sub-application to be upgraded in the fusion application to obtain the upgrade package of the fusion application; and sending the upgrade package of the fusion application to an upgrade server for storage. Correspondingly, the upgrade server receives an upgrade package of the fusion application; determining and issuing an upgrade package of at least one sub-application to be upgraded in the upgrade package of the fusion application; pushing the release information of the determined upgrade package of at least one sub-application to be upgraded to the main vehicle-mounted equipment; the method comprises the steps that a main vehicle-mounted device receives release information of a sub-application to be upgraded, and downloads an upgrade package of at least one sub-application to be upgraded according to the release information; and sending the downloaded upgrade package of the at least one sub-application to be upgraded to the auxiliary vehicle-mounted equipment. Correspondingly, the auxiliary vehicle-mounted equipment receives an upgrade package of the sub-application to be upgraded, and upgrades at least one sub-application to be upgraded which is locally set according to the received upgrade package.
Example III
Fig. 3 is a flowchart of an application program upgrading method provided in a third embodiment of the present application, where the embodiment provides a preferred implementation manner based on the technical solutions of the foregoing embodiments.
An application program upgrading method as shown in fig. 3, comprising:
s301, a developer or manager of the fusion application adds an upgrade requirement to a sub-application upgrade package of each sub-application to be upgraded and an application package of each non-sub-application to be upgraded in the fusion application, and packages the sub-application upgrade package to generate a fusion upgrade package.
S302, signing the fusion upgrade package, and compressing and encrypting.
S303, sending the encrypted fusion upgrade package to a cloud server.
S304, the cloud server performs integrity verification on the fusion upgrade package.
And verifying the integrity of the sub-application upgrade package according to the digest signature of the sub-fusion upgrade package.
S305, decompressing the fusion upgrade package passing verification and performing decryption and signature verification.
S306, splitting the fusion upgrade package into a plurality of sub-application upgrade packages, and determining sub-applications to be upgraded in the sub-applications.
S307, determining the release range of each sub-application to be upgraded according to the upgrade requirement in the fusion upgrade package.
The release range may include requirements for a software and hardware version of a vehicle provided with a single vehicle-mounted device, and requirements for software and hardware versions of respective vehicle-mounted devices in a vehicle provided with one main vehicle-mounted device and at least one sub vehicle-mounted device.
S308, according to the release range, releasing the sub-application upgrade packages of the sub-applications to be upgraded.
S309, generating release information according to the download address of the sub-application upgrade package.
S310, pushing the release information to the main vehicle-mounted equipment.
S311, receiving triggering operation of the user on the release information.
S312, determining whether the main vehicle-mounted equipment has the downloading condition according to the network state and the storage state. If yes, then execute S313A; otherwise, S313B is performed.
Wherein the download condition includes network connection and sufficient storage space.
S313A, downloading the corresponding sub-application upgrade packages item by item according to the release information. Execution continues with S314.
S313B, finishing installation.
S314, carrying out integrity verification on the downloaded sub-application upgrade package.
And verifying the integrity of the sub-application upgrade package according to the abstract signature of the sub-application upgrade package.
S315, receiving installation triggering operation of a user.
S316, generating a version verification request aiming at the sub-application upgrade package passing verification.
S317, a version verification request is sent to a cloud server.
S318, the cloud server determines recall results of the sub-application upgrading package of the sub-application to be upgraded according to the version information stored by the cloud server.
If the downloaded version information of the sub-application to be upgraded is consistent with the version information stored by the cloud server, the recall result is not recalled; otherwise, recall is performed.
S319, a recall result of a sub-application upgrading package of the sub-application to be upgraded is issued to the main vehicle-mounted equipment. If not, executing S320; otherwise, S313B is performed.
Wherein the recall results include recalls and non-recalls.
S320, the main vehicle-mounted equipment upgrades each sub-application to be upgraded which is locally set, and generates an upgrade receipt;
s321, the main vehicle-mounted equipment determines sub-applications to be upgraded of each auxiliary vehicle-mounted equipment according to locally stored application version information in the auxiliary vehicle-mounted equipment;
the steps S320-S321 may be executed in parallel with the step S322 or sequentially, and the specific execution sequence of the two parts is not limited in this application.
S322, the main vehicle-mounted equipment detects whether the auxiliary vehicle-mounted equipment has installation conditions or not; if yes, executing S323; otherwise, S313B is performed;
s323, transmitting a sub-application upgrading packet of the corresponding sub-application to be upgraded to the auxiliary vehicle-mounted equipment;
s324, the auxiliary vehicle-mounted equipment upgrades each sub-application to be upgraded and generates an upgrade receipt;
s325, feeding back an upgrade receipt to the main vehicle-mounted equipment;
S326, determining whether all sub-applications to be upgraded in the main vehicle-mounted equipment and all the sub-vehicle-mounted equipment in the vehicle are successfully installed according to the upgrade receipt; if not, then S327 is executed; otherwise, S331 is performed.
S327, carrying out rollback upgrade on the sub-application to be upgraded which is not installed successfully and is set locally, and generating an upgrade receipt;
s328, a rollback instruction is sent to each auxiliary vehicle-mounted device aiming at the sub-application to be upgraded which is not successfully installed;
s329, the auxiliary vehicle-mounted equipment performs rollback upgrade on the sub-application to be upgraded, which fails to upgrade;
the S327 and S328 may be executed sequentially or concurrently, and the execution sequence of the two is not limited in this application.
The rollback upgrade in the main vehicle-mounted device and the rollback upgrade in the auxiliary vehicle-mounted device can be synchronously executed so as to save the upgrade time.
S330, feeding back an upgrade response piece to the main vehicle-mounted equipment; returning to execution S326;
S331、
and after each sub-application to be upgraded in the fusion application is successfully installed, reporting an installation result and a current application version of the fusion application to a cloud server.
Example IV
Fig. 4 is a block diagram of an application upgrading device according to a fourth embodiment of the present application. This embodiment is applicable to a case where at least one application program for providing a vehicle network service provided in a vehicle is upgraded by an upgrade system shown in fig. 1A, which is implemented by software and/or hardware and is specifically configured in a main in-vehicle device 21 provided in the vehicle.
An application upgrading apparatus as shown in fig. 4, comprising: an upgrade package download module 410, a local upgrade module 420, and an upgrade package transmission module 430. Wherein, the liquid crystal display device comprises a liquid crystal display device,
an upgrade package downloading module 410, configured to download an upgrade package of at least one application to be upgraded;
a local upgrade module 420, configured to upgrade at least one of the applications to be upgraded that are locally set; the method comprises the steps of,
and the upgrade package transmission module 430 is configured to transmit an upgrade package of at least one application to be upgraded to a sub-vehicle device set in the vehicle, so that the sub-vehicle device upgrades the at least one locally set application to be upgraded according to the received upgrade package.
According to the embodiment of the application to be upgraded, at least one upgrade package of the application to be upgraded is downloaded through an upgrade package downloading module in the main vehicle-mounted equipment; upgrading at least one application to be upgraded which is locally set through a local upgrading module; and transmitting the upgrade package of the at least one application to be upgraded to auxiliary vehicle-mounted equipment arranged in the vehicle through an upgrade package transmission module, so that the auxiliary vehicle-mounted equipment upgrades the at least one application to be upgraded locally according to the received upgrade package. According to the technical scheme, the upgrade package is downloaded through the main vehicle-mounted equipment, the upgrade package of the application to be upgraded is shared between the main vehicle-mounted equipment and the auxiliary setting equipment through data transmission between the main vehicle-mounted equipment and the auxiliary setting equipment, the local application to be upgraded is independently upgraded by the main vehicle-mounted equipment and the auxiliary vehicle-mounted equipment, synchronous upgrading of the application to be upgraded in different equipment in a vehicle is achieved, and further the upgrading efficiency of the application program in the vehicle provided with the multiple vehicle-mounted equipment is improved.
Further, the upgrade package transmission module 430 includes:
and the upgrade package transmission unit is used for transmitting at least one upgrade package of the application to be upgraded to auxiliary vehicle-mounted equipment arranged in the vehicle through the locally arranged multi-system communication application.
Further, the apparatus further comprises:
the application to be upgraded determining module is used for determining at least one application to be upgraded in the auxiliary vehicle-mounted equipment before transmitting an upgrading packet of at least one application to be upgraded to the auxiliary vehicle-mounted equipment arranged in the vehicle;
accordingly, the upgrade package transmission module 430 includes:
and the upgrade package transmission unit is used for transmitting the upgrade package of at least one application to be upgraded in the auxiliary vehicle-mounted equipment to the auxiliary vehicle-mounted equipment.
Further, the apparatus further comprises:
the upgrade receipt receiving module is used for receiving the upgrade receipt sent by the auxiliary vehicle-mounted equipment and storing the upgrade receipt;
the upgrade return comprises software versions and/or upgrade results of the applications to be upgraded, which are associated with the received upgrade package.
Further, the apparatus further comprises:
and the rollback instruction sending module is used for sending a rollback instruction to at least one auxiliary vehicle-mounted device arranged in the vehicle if the upgrading result in the upgrading return license is upgrading failure, so as to instruct each auxiliary vehicle-mounted device to rollback the application to be upgraded which is failed to upgrade, and feeding back the upgrading return license.
Further, the apparatus further comprises:
the upgrade receipt uploading module is used for uploading the upgrade receipt of the upgrade receipt and/or the upgrade receipt of the auxiliary vehicle-mounted equipment to an upgrade server for storage; and pushing the application package to be upgraded by the upgrading server based on the upgrading receipt.
Further, the apparatus further comprises:
the version verification request sending module is used for upgrading at least one application to be upgraded which is locally set after downloading an upgrade package of the at least one application to be upgraded; before transmitting the upgrade package of at least one application to be upgraded to the auxiliary vehicle-mounted equipment arranged in the vehicle, sending a version verification request to an upgrade server aiming at each application to be upgraded so as to obtain an upgrade package recall result of each application to be upgraded;
and the upgrading operation triggering module is used for continuously executing the upgrading operation of the local application to be upgraded and the application to be upgraded in the auxiliary vehicle-mounted equipment if the upgrading packet of the application to be upgraded is not recalled.
Further, each application to be upgraded is a sub-application to be upgraded contained in the fusion application;
accordingly, the upgrade package download module 410 includes:
The release information receiving unit is used for receiving release information of at least one sub-application to be upgraded contained in the fusion application; the upgrade package of the sub-application to be upgraded is contained in the upgrade package of the fusion application;
and the upgrade package downloading unit is used for downloading at least one upgrade package of the sub-application to be upgraded according to the release information.
The application program upgrading device can execute the application program upgrading method provided by any embodiment of the application program upgrading device, and has the corresponding functional modules and beneficial effects of executing the application program upgrading method.
Example five
Fig. 5 is a block diagram of an application upgrading device according to a fifth embodiment of the present application. This embodiment is applicable to a case where at least one application program for providing a vehicle network service provided in a vehicle is upgraded by an upgrade system shown in fig. 1A, which is implemented by software and/or hardware and is specifically configured in a sub-in-vehicle device 22 provided in the vehicle.
An application program upgrading apparatus as shown in fig. 5, which is executed by a sub-in-vehicle device provided in a vehicle, includes: an upgrade package receiving module 510 and a local upgrade module 520. Wherein, the liquid crystal display device comprises a liquid crystal display device,
an upgrade package receiving module 510, configured to receive an upgrade package of at least one application to be upgraded sent by a main vehicle-mounted device set in the vehicle;
The local upgrade module 520 is configured to upgrade at least one of the applications to be upgraded that are locally set according to the received upgrade package.
According to the method, an upgrade package receiving module in the auxiliary vehicle-mounted equipment receives an upgrade package of at least one application to be upgraded, which is sent by equipment of a main vehicle and is arranged in a vehicle; and upgrading at least one application to be upgraded, which is locally set, through the local upgrading module according to the received upgrading packet. According to the technical scheme, the upgrade package is downloaded through the main vehicle-mounted equipment, the upgrade package of the application to be upgraded is shared between the main vehicle-mounted equipment and the auxiliary setting equipment through data transmission between the main vehicle-mounted equipment and the auxiliary setting equipment, the local application to be upgraded is independently upgraded by the main vehicle-mounted equipment and the auxiliary vehicle-mounted equipment, synchronous upgrading of the application to be upgraded in different equipment in a vehicle is achieved, and further the upgrading efficiency of the application program in the vehicle provided with the multiple vehicle-mounted equipment is improved.
Further, the upgrade package receiving module 510 includes:
and the upgrade package receiving unit is used for receiving the upgrade package of at least one application to be upgraded, which is sent by the main vehicle-mounted equipment arranged in the vehicle, through the locally arranged multi-system communication application.
Further, the apparatus further comprises:
the upgrade receipt sending module is used for sending an upgrade receipt to the main vehicle-mounted equipment;
the upgrade return comprises software versions and/or upgrade results of the applications to be upgraded, which are associated with the received upgrade package.
Further, the apparatus further comprises:
the rollback instruction receiving module is used for receiving a rollback instruction sent by the main vehicle-mounted equipment based on an upgrade result of upgrade failure;
and the rollback module is used for rollback the application to be upgraded, the upgrade result of which is upgrade failure, according to the rollback instruction, and returning an upgrade receipt.
Further, the upgrade package is an upgrade package which is not recalled in the upgrade server.
Further, the application to be upgraded is a sub-application in the fusion upgrade package.
The application program upgrading device can execute the application program upgrading method provided by any embodiment of the application program upgrading device, and has the corresponding functional modules and beneficial effects of executing the application program upgrading method.
Example six
Fig. 6 is a structural diagram of a main in-vehicle apparatus in a sixth embodiment of the present invention. The main in-vehicle apparatus as shown in fig. 6 includes: input device 610, output device 620, processor 630, and storage device 640.
The input device 610 is configured to download an upgrade package of at least one application to be upgraded;
an output device 620, configured to transmit an upgrade package of at least one of the applications to be upgraded to a sub-vehicle device disposed in the vehicle;
one or more processors 630;
a storage 640 for storing one or more programs.
In fig. 6, for example, a processor 630 is shown, the input device 610 in the main in-vehicle device may be connected to the output device 620, the processor 630, and the storage device 640 by a bus or other means, and the processor 630 and the storage device 640 are also connected by a bus or other means, for example, in fig. 6.
In this embodiment, the processor 630 in the main vehicle-mounted device may control the input device 610 to download an upgrade package of at least one application to be upgraded; the processor 630 may also be controlled to upgrade at least one of the applications to be upgraded that is locally set; the output device 620 may be further controlled to transmit an upgrade package of at least one of the applications to be upgraded to a sub-vehicle device disposed in the vehicle, so that the sub-vehicle device upgrades at least one of the applications to be upgraded locally according to the received upgrade package.
The storage device 640 in the main vehicle device is used as a computer readable storage medium, and may be used to store one or more programs, such as a software program, a computer executable program, and a module, such as program instructions/modules corresponding to the application program upgrading method in the embodiment of the present invention (for example, the upgrade package downloading module 410, the local upgrade module 420, and the upgrade package transmission module 430 shown in fig. 4). The processor 630 executes various functional applications of the main in-vehicle apparatus and data processing by running software programs, instructions and modules stored in the storage device 640, that is, implements the application program upgrade method in the above-described method embodiment.
The storage 640 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, at least one application program required for a function; the storage data area may store data or the like (such as an upgrade package or the like of an application to be upgraded in the above-described embodiment). In addition, the storage 640 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the storage 640 may further include memory located remotely from the processor 630, which may be connected to a server through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
Example seven
Fig. 7 is a structural diagram of a sub-vehicle-mounted device in a seventh embodiment of the present invention. The sub in-vehicle apparatus as shown in fig. 7 includes: input device 710, output device 720, processor 730, and storage device 740.
The input device 710 is configured to receive an upgrade package of at least one application to be upgraded sent by a main vehicle-mounted device set in the vehicle;
an output device 720 for displaying locally set application programs;
one or more processors 730;
storage 740 for storing one or more programs.
In fig. 7, a processor 730 is taken as an example, and the input device 710 in the auxiliary vehicle device may be connected to the output device 720, the processor 730, and the storage device 740 through a bus or other means, and the processor 730 and the storage device 740 are also connected through a bus or other means, which is taken as an example in fig. 7.
In this embodiment, the processor 730 in the auxiliary vehicle-mounted device may control the input device 710 to receive an upgrade packet of at least one application to be upgraded sent by the main vehicle-mounted device set in the vehicle; processor 730 may also be controlled to upgrade at least one of the applications to be upgraded locally according to the received upgrade package; the output device 720 may also be controlled to expose locally provided applications.
The storage 740 in the auxiliary vehicle device is used as a computer readable storage medium, and may be used to store one or more programs, such as a software program, a computer executable program, and a module, for example, program instructions/modules (for example, the upgrade package receiving module 510 and the local upgrade module 520 shown in fig. 5) corresponding to the application program upgrade method in the embodiment of the present invention. The processor 730 executes various functional applications and data processing of the sub-vehicle device by running software programs, instructions and modules stored in the storage 740, that is, implements the application program upgrading method in the above-described method embodiment.
Storage 740 may include a storage program area that may store an operating system, at least one application program required for functions, and a storage data area; the storage data area may store data or the like (such as an upgrade package or the like of an application to be upgraded in the above-described embodiment). In addition, storage 740 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage device. In some examples, storage 740 may further include memory remotely located relative to processor 730, which may be connected to a server via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
Example eight
The embodiment of the application also provides a vehicle which comprises the main vehicle-mounted device shown in fig. 6 and at least one auxiliary vehicle-mounted device shown in fig. 7.
The method comprises the steps that a main vehicle-mounted device downloads an upgrade package of at least one application to be upgraded and sends the upgrade package of the at least one application to be upgraded to at least one auxiliary vehicle-mounted device;
the main vehicle-mounted equipment upgrades the application of at least one to-be-upgraded application which is locally set according to the downloaded upgrade package;
and the auxiliary vehicle-mounted equipment upgrades the application of at least one to-be-upgraded application which is locally set according to the received upgrade package.
Further, the auxiliary vehicle-mounted equipment sends an upgrade receipt to the main vehicle-mounted equipment; the upgrade return comprises software versions and/or upgrade results of the applications to be upgraded, which are associated with the received upgrade package.
Further, if the upgrade result in the upgrade return license is upgrade failure, the main vehicle-mounted equipment sends a rollback instruction to at least one auxiliary vehicle-mounted equipment arranged in the vehicle;
and after the auxiliary vehicle-mounted equipment receives the rollback instruction, the application to be upgraded, which is failed to upgrade, is rolled back.
Example nine
The embodiment of the application also provides an upgrading system, which comprises the eighth embodiment of the application, the vehicle and an upgrading server.
Examples ten
An embodiment of the present invention provides a computer-readable storage medium having stored thereon a computer program which, when executed by an application upgrade apparatus, implements an application upgrade method provided by the embodiment of the present invention, the method being executed by a main vehicle-mounted device provided in a vehicle, including: downloading an upgrade package of at least one application to be upgraded; upgrading at least one application to be upgraded, which is set locally; and transmitting the upgrade package of at least one application to be upgraded to auxiliary vehicle-mounted equipment arranged in the vehicle, so that the auxiliary vehicle-mounted equipment upgrades the at least one application to be upgraded which is locally arranged according to the received upgrade package.
The embodiment of the invention also provides another computer readable storage medium, on which a computer program is stored, which when executed by an application upgrading device, implements the application upgrading method provided by the implementation of the invention, the method is executed by a secondary vehicle-mounted device arranged in a vehicle, and comprises the following steps: receiving an upgrade package of at least one application to be upgraded sent by main vehicle-mounted equipment arranged in the vehicle; and upgrading at least one application to be upgraded, which is locally set, according to the received upgrade package.
Note that the above is only a preferred embodiment of the present application and the technical principle applied. Those skilled in the art will appreciate that the present application is not limited to the particular embodiments described herein, but is capable of numerous obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the present application. Therefore, while the present application has been described in connection with the above embodiments, the present application is not limited to the above embodiments, but may include many other equivalent embodiments without departing from the spirit of the present application, the scope of which is defined by the scope of the appended claims.

Claims (8)

1. An application program upgrading method, characterized by being executed by a main in-vehicle apparatus provided in a vehicle, comprising:
downloading an upgrade package of at least one application to be upgraded, wherein each application to be upgraded is a sub-application to be upgraded contained in the fusion application;
upgrading at least one application to be upgraded, which is set locally; the method comprises the steps of,
transmitting an upgrade package of at least one application to be upgraded to auxiliary vehicle-mounted equipment arranged in the vehicle, so that the auxiliary vehicle-mounted equipment upgrades the at least one application to be upgraded which is locally arranged according to the received upgrade package;
Receiving an upgrade receipt sent by the auxiliary vehicle-mounted equipment for storage; and/or generating an upgrade receipt for storage according to the upgrade condition of the application to be upgraded;
the upgrade return comprises software versions and/or upgrade results of the applications to be upgraded, which are associated with the received upgrade package;
transmitting a rollback instruction to at least one auxiliary vehicle-mounted device arranged in a vehicle so as to instruct the auxiliary vehicle-mounted device to rollback an application to be upgraded, wherein the application to be upgraded is failed to upgrade;
the downloading the upgrade package of at least one application to be upgraded comprises the following steps:
receiving release information of at least one sub-application to be upgraded contained in the fusion application; the upgrade package of the sub-application to be upgraded is contained in the upgrade package of the fusion application;
downloading an upgrade package of at least one sub-application to be upgraded according to the release information;
the receiving the release information of at least one sub-application to be upgraded, which is contained in the fusion application, includes:
packaging the upgrade package of each sub-application to be upgraded and the upgrade package of each non-sub-application to be upgraded in the fusion application by a developer or manager of the fusion application to obtain the upgrade package of the fusion application; the upgrade package of the fusion application is sent to an upgrade server for storage;
Receiving an upgrade package of the fusion application through the upgrade server, and determining and issuing at least one upgrade package of the sub-application to be upgraded in the upgrade package of the fusion application; pushing the determined release information of the upgrade package of at least one sub-application to be upgraded to the main vehicle-mounted equipment;
and the main vehicle-mounted equipment receives the release information of the sub-application to be upgraded.
2. The method according to claim 1, wherein transmitting an upgrade package of at least one of the applications to be upgraded to a sub-vehicle-mounted device provided in the vehicle, comprises:
and transmitting an upgrade package of at least one application to be upgraded to auxiliary vehicle-mounted equipment arranged in the vehicle through a locally arranged multi-system communication application.
3. The method of claim 1, wherein prior to transmitting an upgrade package of at least one of the applications to be upgraded to a secondary on-board device disposed in the vehicle, the method further comprises:
determining at least one application to be upgraded in the auxiliary vehicle-mounted equipment;
correspondingly, transmitting at least one upgrade package of the application to be upgraded to auxiliary vehicle-mounted equipment arranged in the vehicle, wherein the upgrade package comprises the following components:
And transmitting an upgrade package of at least one application to be upgraded in the auxiliary vehicle-mounted equipment to the auxiliary vehicle-mounted equipment.
4. An application program upgrading method, characterized by being executed by a sub-in-vehicle apparatus provided in a vehicle, comprising:
receiving an upgrade package of at least one application to be upgraded sent by main vehicle-mounted equipment arranged in the vehicle, wherein each application to be upgraded is a sub-application to be upgraded contained in a fusion application;
according to the received upgrade package, upgrading at least one locally-set application to be upgraded;
the auxiliary vehicle-mounted equipment sends an upgrade receipt to the main vehicle-mounted equipment after upgrading at least one locally-set application to be upgraded according to the received upgrade package;
the upgrade return comprises software versions and/or upgrade results of the applications to be upgraded, which are associated with the received upgrade package;
the auxiliary vehicle-mounted equipment receives a rollback instruction sent by the main vehicle-mounted equipment based on an upgrading result of upgrading identification, and rolls back an application to be upgraded, the upgrading result of which is failed in upgrading, according to the rollback instruction;
the upgrade package of the application to be upgraded receives release information of at least one sub-application to be upgraded contained in the fusion application through the main vehicle-mounted equipment, and is obtained by downloading according to the release information; the upgrade package of the sub-application to be upgraded is contained in the upgrade package of the fusion application;
The main vehicle-mounted device receives release information of at least one sub-application to be upgraded, which is contained in the fusion application, and the release information comprises:
packaging the upgrade package of each sub-application to be upgraded and the upgrade package of each non-sub-application to be upgraded in the fusion application by a developer or manager of the fusion application to obtain the upgrade package of the fusion application; the upgrade package of the fusion application is sent to an upgrade server for storage;
determining and releasing at least one upgrade package of the sub-application to be upgraded in the upgrade package of the fusion application by using the upgrade package of the fusion application received by the upgrade server; pushing the determined release information of the upgrade package of at least one sub-application to be upgraded to the main vehicle-mounted equipment;
and the main vehicle-mounted equipment receives the release information of the sub-application to be upgraded.
5. An application program upgrading apparatus, characterized by being executed by a main in-vehicle device provided in a vehicle, comprising:
the system comprises an upgrade package downloading module, a storage module and a storage module, wherein the upgrade package downloading module is used for downloading an upgrade package of at least one application to be upgraded, and each application to be upgraded is a sub-application to be upgraded contained in a fusion application;
The local upgrading module is used for upgrading at least one application to be upgraded which is locally set; the method comprises the steps of,
the upgrade package transmission module is used for transmitting the upgrade package of at least one application to be upgraded to auxiliary vehicle-mounted equipment arranged in the vehicle so that the auxiliary vehicle-mounted equipment upgrades the at least one application to be upgraded which is locally arranged according to the received upgrade package;
the upgrade receipt receiving module is used for receiving the upgrade receipt sent by the auxiliary vehicle-mounted equipment and storing the upgrade receipt;
the upgrade return comprises software versions and/or upgrade results of the applications to be upgraded, which are associated with the received upgrade package;
the rollback instruction sending module is used for sending a rollback instruction to at least one auxiliary vehicle-mounted device arranged in the vehicle so as to instruct the auxiliary vehicle-mounted device to rollback the application to be upgraded, which fails to be upgraded;
the upgrade package downloading module is specifically configured to:
receiving release information of at least one sub-application to be upgraded contained in the fusion application; the upgrade package of the sub-application to be upgraded is contained in the upgrade package of the fusion application;
downloading an upgrade package of at least one sub-application to be upgraded according to the release information;
The receiving the release information of at least one sub-application to be upgraded, which is contained in the fusion application, includes:
packaging the upgrade package of each sub-application to be upgraded and the upgrade package of each non-sub-application to be upgraded in the fusion application by a developer or manager of the fusion application to obtain the upgrade package of the fusion application; the upgrade package of the fusion application is sent to an upgrade server for storage;
receiving an upgrade package of the fusion application through the upgrade server, and determining and issuing at least one upgrade package of the sub-application to be upgraded in the upgrade package of the fusion application; pushing the determined release information of the upgrade package of at least one sub-application to be upgraded to the main vehicle-mounted equipment;
and the main vehicle-mounted equipment receives the release information of the sub-application to be upgraded.
6. An application program upgrading apparatus, characterized by being executed by a sub-in-vehicle device provided in a vehicle, comprising:
the upgrade package receiving module is used for receiving upgrade packages of at least one application to be upgraded, which are sent by main vehicle-mounted equipment arranged in the vehicle, wherein each application to be upgraded is a sub-application to be upgraded contained in the fusion application;
The local upgrading module is used for upgrading at least one application to be upgraded which is locally set according to the received upgrading packet;
the upgrade receipt sending module is used for sending an upgrade receipt to the main vehicle-mounted equipment;
the upgrade return comprises software versions and/or upgrade results of the applications to be upgraded, which are associated with the received upgrade package;
the rollback instruction receiving module is used for receiving a rollback instruction sent by the main vehicle-mounted equipment based on an upgrading result of upgrading identification by the auxiliary vehicle-mounted equipment, and rollback is carried out on an application to be upgraded, the upgrading result of which is failed in upgrading, according to the rollback instruction;
the upgrade package of the application to be upgraded receives release information of at least one sub-application to be upgraded contained in the fusion application through the main vehicle-mounted equipment, and is obtained by downloading according to the release information; the upgrade package of the sub-application to be upgraded is contained in the upgrade package of the fusion application;
the main vehicle-mounted device receives release information of at least one sub-application to be upgraded, which is contained in the fusion application, and the release information comprises:
packaging the upgrade package of each sub-application to be upgraded and the upgrade package of each non-sub-application to be upgraded in the fusion application by a developer or manager of the fusion application to obtain the upgrade package of the fusion application; the upgrade package of the fusion application is sent to an upgrade server for storage;
Determining and releasing at least one upgrade package of the sub-application to be upgraded in the upgrade package of the fusion application by using the upgrade package of the fusion application received by the upgrade server; pushing the determined release information of the upgrade package of at least one sub-application to be upgraded to the main vehicle-mounted equipment;
and the main vehicle-mounted equipment receives the release information of the sub-application to be upgraded.
7. An in-vehicle apparatus, characterized by comprising:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, causes the one or more processors to implement an application upgrade method as recited in any of claims 1-4.
8. A computer readable storage medium having stored thereon a computer program, which when executed by a processor implements an application upgrade method according to any of claims 1-4.
CN202010601737.4A 2020-06-28 2020-06-28 Application program upgrading method, device, equipment and storage medium Active CN111796843B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010601737.4A CN111796843B (en) 2020-06-28 2020-06-28 Application program upgrading method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010601737.4A CN111796843B (en) 2020-06-28 2020-06-28 Application program upgrading method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111796843A CN111796843A (en) 2020-10-20
CN111796843B true CN111796843B (en) 2023-05-23

Family

ID=72804602

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010601737.4A Active CN111796843B (en) 2020-06-28 2020-06-28 Application program upgrading method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111796843B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112312358B (en) * 2020-10-26 2023-04-18 潍柴动力股份有限公司 Communication method and vehicle-mounted terminal
CN112732293A (en) * 2020-12-31 2021-04-30 青岛海信电子产业控股股份有限公司 Vehicle-mounted system upgrading method and vehicle-mounted terminal
CN113110861B (en) * 2021-04-30 2023-02-21 中国第一汽车股份有限公司 Automobile data recorder terminal upgrading method, device, equipment and storage medium
CN113434164B (en) * 2021-05-31 2023-05-02 浙江吉利控股集团有限公司 Cloud configuration updating method and system for setting item of vehicle-mounted entertainment host
CN116132975A (en) * 2023-01-17 2023-05-16 青岛海尔智能家电科技有限公司 Method, device and storage medium for over-the-air downloading in a network of node devices

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106775819A (en) * 2016-11-12 2017-05-31 驭联智能科技发展(上海)有限公司 System and method is updated under novel on-vehicle device data line
CN107835501A (en) * 2017-10-31 2018-03-23 广州小鹏汽车科技有限公司 A kind of automobile method for upgrading software, apparatus and system
CN108334356A (en) * 2017-09-21 2018-07-27 安徽江淮汽车集团股份有限公司 A kind of remotely updating program method and system
CN109324815A (en) * 2018-08-31 2019-02-12 百度在线网络技术(北京)有限公司 Monitoring method, device, equipment and the computer readable storage medium of system upgrade
CN110378123A (en) * 2019-07-18 2019-10-25 上海擎感智能科技有限公司 A kind of method for upgrading software and system for car-mounted terminal
CN110716729A (en) * 2019-09-26 2020-01-21 上海科世达-华阳汽车电器有限公司 Automobile online upgrading method, system and equipment and readable storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104540121A (en) * 2014-12-29 2015-04-22 触动多媒体技术(上海)有限公司 Multimedia on-board equipment content updating system and method
US20170171272A1 (en) * 2015-12-11 2017-06-15 Myine Electronics, Inc. Distributed in-vehicle resource downloading and streaming
US10706002B2 (en) * 2018-03-13 2020-07-07 Micron Technology, Inc. Resources sharing among vehicle applications connected via a bus

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106775819A (en) * 2016-11-12 2017-05-31 驭联智能科技发展(上海)有限公司 System and method is updated under novel on-vehicle device data line
CN108334356A (en) * 2017-09-21 2018-07-27 安徽江淮汽车集团股份有限公司 A kind of remotely updating program method and system
CN107835501A (en) * 2017-10-31 2018-03-23 广州小鹏汽车科技有限公司 A kind of automobile method for upgrading software, apparatus and system
CN109324815A (en) * 2018-08-31 2019-02-12 百度在线网络技术(北京)有限公司 Monitoring method, device, equipment and the computer readable storage medium of system upgrade
CN110378123A (en) * 2019-07-18 2019-10-25 上海擎感智能科技有限公司 A kind of method for upgrading software and system for car-mounted terminal
CN110716729A (en) * 2019-09-26 2020-01-21 上海科世达-华阳汽车电器有限公司 Automobile online upgrading method, system and equipment and readable storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Master-Slave Control Scheme in Electric Vehicle Smart Charging Infrastructure;Chung, Ching-Yen等;《Scientific World Journal》;1-15 *
车载嵌入式设备的远程升级***设计;许梦茹;《中国优秀硕士学位论文全文数据库 (工程科技Ⅱ辑)》;C035-72 *

Also Published As

Publication number Publication date
CN111796843A (en) 2020-10-20

Similar Documents

Publication Publication Date Title
CN111796843B (en) Application program upgrading method, device, equipment and storage medium
CN111722861B (en) Application program upgrading method, device, equipment and storage medium
CN110471692B (en) Over-the-air upgrading method, device, equipment and storage medium of terminal program
EP2919440B1 (en) Advertisement processing method and device
CN102724308A (en) Software update method and software update system
KR20070038157A (en) Methods and apparatus for providing program guide state information to a device
CN111770172A (en) Message middleware consumption proxy method, device, proxy server and storage medium
CN101472050A (en) Method and system for updating software, digital television receive terminal and server
CN109358867B (en) Automatic upgrading method, device and system for unmanned vehicle application and storage medium
US20170033980A1 (en) Agent manager for distributed transaction monitoring system
WO2023241458A1 (en) Software upgrade method and apparatus for vehicle-mounted controller, and device and storage medium
JP5989190B1 (en) Gateway and in-vehicle software update system using the same
JP2024040359A (en) Server for distributing update data, distribution method and distribution program of update data, and software update system
CN115225492A (en) Remote upgrading method and system
CN108683691B (en) Vehicle end remote control method, device and system
CN113282310A (en) Application management method and system, vehicle-mounted device, server and readable storage medium
CN100464520C (en) Method and system for realizing distributed data loading
CN109981778B (en) Method, device, equipment and storage medium for realizing service of content distribution network
CN114978902B (en) Information processing method, apparatus, device, storage medium, and program product
CN117331576A (en) Application pre-download method, device, computer and storage medium
CN115361119A (en) Batch upgrading method and device for vehicle-mounted equipment software
WO2022205200A1 (en) Version management method and apparatus
US9049180B2 (en) Method for providing a signal output on the basis of a main file and at least one secondary file, and motor vehicle
CN114969223A (en) Map updating method, device and system
CN115150271B (en) Gateway upgrading and data routing method, device, equipment and storage medium

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
GR01 Patent grant
GR01 Patent grant