WO2016177061A1 - Upgrade method and apparatus using over-the-air download technology - Google Patents

Upgrade method and apparatus using over-the-air download technology Download PDF

Info

Publication number
WO2016177061A1
WO2016177061A1 PCT/CN2016/075355 CN2016075355W WO2016177061A1 WO 2016177061 A1 WO2016177061 A1 WO 2016177061A1 CN 2016075355 W CN2016075355 W CN 2016075355W WO 2016177061 A1 WO2016177061 A1 WO 2016177061A1
Authority
WO
WIPO (PCT)
Prior art keywords
upgrade
version
information
user
upgrade package
Prior art date
Application number
PCT/CN2016/075355
Other languages
French (fr)
Chinese (zh)
Inventor
狄若蒙
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016177061A1 publication Critical patent/WO2016177061A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • H04W8/24Transfer of terminal data
    • H04W8/245Transfer of terminal data from a network towards a terminal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • H04W8/24Transfer of terminal data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition

Definitions

  • This document relates to, but is not limited to, the field of communication technologies, and in particular, to an over-the-air technology upgrade method and apparatus.
  • OTA upgrade generally does not erase user data. It is a lossless upgrade method. It mainly downloads OTA upgrade packages and automatically upgrades through WiFi, 3G and 4G networks. Compared to the full upgrade, the OTA upgrade package is usually less than one-tenth the size of the upgrade package. And most importantly, the OTA upgrade does not require backup data, all upgrades can be completed in just a few minutes, and all user data will remain intact. Therefore, OTA upgrade as a follow-up service of the product can not only modify the defects and deficiencies of the previous version, but also introduce many new features and functions in the upgrade, and continuously improve the user experience.
  • the current OTA upgrade can only evolve in a straight line.
  • the different new features introduced for each upgrade do not have the right to choose, that is, they cannot choose to introduce only some of the more desirable new features.
  • upgrade service providers there are also considerations when introducing new features and features. If too many features and features are introduced, they will consume the resources of the user device, thus limiting the possibility of providing more update functions and features.
  • OTA upgrade is a differential-based upgrade, that is, the production of the upgrade package depends on the current state of the machine (called the source version) and the state that is expected to be upgraded (called the target version). If you use a simple way to let users customize and then push and upgrade, more source and target versions will be generated. The resulting upgrade package will be very much and difficult to maintain. For example, the previous upgrade will introduce a maximum of 2 new feature points. The next upgrade will introduce 2 new feature points. After the previous upgrade, 4 states will be generated. After the next upgrade, 16 states will be generated, that is, 4 source versions and With 16 target versions, 64 different OTA upgrade packages are combined. When more feature points are introduced or more upgrades are made, this number will increase further, greatly increasing the workload of doing package, verification and distribution.
  • the embodiment of the invention provides an over-the-air technology upgrade method and device, which can implement a user-customizable OTA upgrade, improve the user experience, and reduce the workload of the upgrade service provider to create and distribute the upgrade package.
  • An embodiment of the present invention provides an over-the-air downloading technology upgrade method, which is applied to a server, and the method includes:
  • the additional function rollback upgrade package, the basic version upgrade package, and the additional function add upgrade package for the upgrade are generated according to the upgrade customization information;
  • the additional function rollback upgrade package, the base version upgrade package, and the additional function are added to the user equipment to add an upgrade package.
  • the upgrade customization information fed back by the user equipment includes: user equipment identifier, version information of a current version used by the user equipment, and information of an installed additional function, and information customized by the user for additional functions to be installed. .
  • the adding according to the upgrade customization information, an additional function rollback upgrade package, a basic version upgrade package, and an additional function for adding the upgrade package, including:
  • the embodiment of the present invention further provides an air downloading technology upgrade method, which is applied to a user equipment, and the method includes:
  • the user After receiving the information of the new function provided by the server for the upgrade, the user is provided with the information of the additional function that the current version has been installed and not installed, and the information of the new additional function provided by the upgrade;
  • the additional function rollback upgrade package, the base version upgrade package, and the additional function add upgrade package are sequentially downloaded and installed from the server.
  • the upgrade customization information of the user includes: a user equipment identifier, version information of a current version used by the user, and information of an installed additional function, and information customized by the user for additional functions to be installed.
  • the downloading and installing the additional function rollback upgrade package, the basic version upgrade package, and the additional function add upgrade package from the server including:
  • the information that provides the user with the additional function that the current version has been installed and not installed and the new additional function that is provided by the upgrade include:
  • the additional function recommendation list is selected from the list of the installed and uninstalled additional functions of the current version and the new additional function list provided by the current upgrade according to the user's usage habit, and the additional function recommendation list is fed back to the user.
  • Embodiments of the present invention also provide a computer readable storage medium storing computer executable instructions for performing any of the methods described above.
  • the embodiment of the invention further provides an over-the-air downloading technology upgrading device, which is applied to a server, and includes:
  • the information pushing module is configured to send information of the new additional function provided by the upgrade to the user equipment;
  • the upgrade package creation module is configured to: after receiving the upgrade customization information fed back by the user equipment, create an additional function rollback upgrade package, a basic version upgrade package, and an additional function add upgrade package for the upgrade according to the upgrade customization information;
  • An upgrade package distribution module is configured to distribute the additional function fallback upgrade package, a base version upgrade package, and an additional function to the user device to add an upgrade package.
  • the upgrade customization information fed back by the user equipment includes: user equipment identifier, version information of a current version used by the user equipment, and information of an installed additional function, and information customized by the user for additional functions to be installed. .
  • the upgrade package creation module is configured to implement an additional function rollback upgrade package, a basic version upgrade package, and an additional function add upgrade package for the upgrade according to the upgrade customization information:
  • the embodiment of the invention further provides an over-the-air downloading technology upgrading device, which is applied to user equipment, and includes:
  • the information receiving and displaying module is configured to receive the information of the new function provided by the server and the new function provided by the current upgrade after receiving the information of the new function provided by the server for the upgrade. ;
  • a function customization module configured to determine an upgrade customization information of the user and feed back to the server after detecting that the user selects an additional function that needs to be added and/or uninstalled;
  • Upgrade package download and installation module set to download and install the attached file from the server Add a feature rollback upgrade package, a base version upgrade package, and additional features to add an upgrade package.
  • the upgrade customization information of the user includes: a user equipment identifier, version information of a current version used by the user, and information of an installed additional function, and information customized by the user for additional functions to be installed.
  • the upgrade package download and installation module is set to:
  • the information receiving and displaying module is configured to provide the user with information about the additional functions that the current version has installed and not installed, and new additional functions provided by the upgrade in the following manner:
  • the additional function recommendation list is selected from the list of the installed and uninstalled additional functions of the current version and the new additional function list provided by the current upgrade according to the user's usage habit, and the additional function recommendation list is fed back to the user.
  • the method and device for upgrading the over-the-air technology transforms the OTA upgrade process into a three-stage upgrade mode, and the current version of the user is uninstalled by the function uninstallation package in the first stage of the upgrade.
  • the various function points are rolled back to get a basic version that does not contain additional functions and features.
  • the basic version is upgraded.
  • the upgrade of this stage is mainly to fix the defects and vulnerabilities of the previous version and improve system security.
  • this three-stage upgrade approach discards the traditional way of making differences only between the source and target versions, thus In the case of multiple source versions and target versions, the number of upgrade packages that need to be produced and distributed is greatly reduced, and user-customizable OTA upgrades are implemented to improve the user experience.
  • FIG. 1 is a flowchart of an air download technology upgrade method (server) according to an embodiment of the present invention
  • FIG. 2 is a flowchart of an over-the-air technology upgrade method (user equipment) according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of an over-the-air downloading technology upgrading apparatus (server) according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram of an over-the-air technology upgrade device (user equipment) according to an embodiment of the present invention
  • FIG. 5 is a flowchart of a user-customizable OTA upgrade method according to a specific example of the present invention.
  • FIG. 6 is a schematic diagram of information interaction between a user equipment and a server according to a specific example of the present invention.
  • FIG. 7 is a schematic diagram of an OTA upgrade system (including a server and a user terminal) according to a specific example of the present invention.
  • an embodiment of the present invention provides an over-the-air downloading technology upgrade method, which is applied to a server, and the method includes:
  • the information of the new additional functions provided by this upgrade includes: the name of all new additional functions, and the characteristics of each new additional function.
  • the upgrade customization information fed back by the user equipment includes: a user equipment identifier, version information of a current version used by the user equipment, information of an installed additional function, and information of an additional function that the user needs to install;
  • the additional function rollback upgrade package, the basic version upgrade package, and the additional function for the upgrade are added, including:
  • an additional function rollback upgrade package for uninstalling all the installed additional functions on the current version is created
  • the production is used to upgrade the base part of the current version to the new version.
  • the base version upgrade package for the base part of this;
  • the basic version upgrade package is used to solve the bugs and vulnerabilities in the basic features of the current version, and the security of the current version is improved and repaired.
  • an additional function rollback upgrade package for uninstalling all installed additional functions on the current version is created, including:
  • the version corresponding to the additional function will be added as the source version on the basic part of the current version, and the version composed only of the base part of the current version will be used as the target version.
  • the version and the target version use a file-based method for differential packetization, and an additional function rollback upgrade package corresponding to the additional function is obtained;
  • the base version upgrade package for upgrading the base part of the current version to the base part of the new version according to the version information of the current version includes:
  • a version consisting only of the base part of the current version is used as the source version, and a version consisting only of the base part of the new version is used as the target version, and the source version and the target version are differentially packaged or block based on the file-based manner.
  • the device is differentially packaged to obtain the current version of the base version upgrade package;
  • the additional functions for downloading and installing all the additional functions customized by the user on the basic part of the new version are added, including:
  • the version composed of the basic part of the current version is used as the source version, and only the version composed of the corresponding additional function is added as the target version on the basic part of the current version.
  • the source version and the target version use a file-based method for differential packetization, and an additional function corresponding to the additional function customized by the user is added to add an upgrade package;
  • the upgrade package in the production of upgrade packages, unlike traditional OTA upgrades, due to the diversity of device status before and after user upgrade, if the source version-target version differential package is used, a large number of different upgrade packages will be generated for maintenance and Distribution brings a lot of work and is not feasible. Therefore, this In the embodiment of the invention, when the upgrade package is created, the additional functional part of the version is separated from the basic part, and the independent evolution is performed separately, and the package is independently performed.
  • the upgrade of this part is mainly used to solve the errors and vulnerabilities in the basic part of the previous version, as well as to improve and fix the security of the previous version, using the file-based in the two basic versions. Or make an upgrade package based on the block.
  • the base version is the target version
  • the file-based method is used for the differential package, and the corresponding is obtained.
  • Upgrade package for additional features.
  • an embodiment of the present invention provides an over-the-air downloading technology upgrade method, which is applied to a user equipment, and the method includes:
  • the user is provided with the information of the additional features that have been installed and not installed in the current version and the new additional functions provided by the upgrade, including:
  • the list of additional functions can display the name of each additional function, and so on.
  • the list of new additional features provided by this upgrade can display the name of each new additional feature provided by this upgrade.
  • the user is provided with the information of the additional features that have been installed and not installed in the current version and the new additional functions provided by the upgrade, including:
  • the upgrade customization information of the user includes: a user equipment identifier, version information of a current version used by the user, information of an installed additional function, and information of an additional function customized by the user to be installed;
  • download and install the additional function rollback upgrade package, the basic version upgrade package, and the additional function to add the upgrade package from the server including:
  • Download and install the additional function to roll back the upgrade package uninstall all the additional features of the current version, download and install the basic version upgrade package after the uninstallation, upgrade the basic part of the current version to the basic part of the new version, after the upgrade is complete, download and Install additional features to add upgrade packages to add all the additional features that are customized for the new version.
  • the user downloads three upgrade packages: an additional feature rollback upgrade package for the additional features that have been installed in the current version, an upgrade package for the base version, and an additional feature for the user-customized additional features introduced in the next release to add the upgrade package.
  • Embodiments of the present invention also provide a computer readable storage medium storing computer executable instructions for performing any of the methods described above.
  • an embodiment of the present invention provides an over-the-air downloading technology upgrading apparatus, which is applied to a server, and includes:
  • the information pushing module 301 is configured to send information about the new additional function provided by the upgrade to the user equipment;
  • the upgrade package creation module 302 is configured to: after receiving the upgrade customization information fed back by the user equipment, create an additional function rollback upgrade package, a basic version upgrade package, and an additional function to add an upgrade package according to the upgrade customization information;
  • the upgrade package distribution module 303 is configured to distribute an additional function rollback upgrade package, a base version upgrade package, and an additional function to the user device to add the upgrade package.
  • the upgrade customization information fed back by the user equipment includes: the user equipment identifier, the version information of the current version used by the user equipment, the information of the installed additional function, and the information of the additional function that the user needs to install.
  • the upgrade package creation module 302 is configured to implement an additional function rollback upgrade package, a basic version upgrade package, and an additional function upgrade package for the upgrade according to the upgrade customization information:
  • an additional function rollback upgrade package for uninstalling all the installed additional functions on the current version is created
  • an embodiment of the present invention provides an over-the-air downloading technology upgrading apparatus, which is applied to user equipment, and includes:
  • the information receiving and displaying module 401 is configured to: after receiving the information of the new function provided by the server for the current upgrade, provide the user with the information of the additional function that the current version has been installed and not installed, and the new additional function provided by the upgrade. information;
  • the function customization module 402 is configured to determine the upgrade customization information of the user and feed back to the server after detecting that the user selects an additional function that needs to be added and/or uninstalled;
  • Upgrade package download and installation module 403, set to download and install additional work from the server in turn You can roll back the upgrade package, the base version upgrade package, and additional features to add the upgrade package.
  • the upgrade customization information of the user includes: the user equipment identifier, the version information of the current version used by the user, the information of the installed additional function, and the information of the additional function that the user needs to install.
  • the upgrade package download and installation module 403 is set to:
  • Download and install the additional function to roll back the upgrade package uninstall all the additional features of the current version, download and install the basic version upgrade package after the uninstallation, upgrade the basic part of the current version to the basic part of the new version, after the upgrade is complete, download and Install additional features to add upgrade packages to add all the additional features that are customized for the new version.
  • the information receiving and displaying module 401 is configured to provide the user with information about the additional functions that the current version has been installed and not installed, and the new additional functions provided by the upgrade in the following manner:
  • the additional function recommendation list is selected from the list of the installed and uninstalled additional functions of the current version and the new additional function list provided by the upgrade, and the additional function recommendation list is fed back to the user.
  • this example provides a user-customizable OTA upgrade method, which specifically includes the following steps:
  • Step S501 The server pushes the new upgrade function and feature to the user equipment (User Equipment, UE);
  • Step S502 after receiving the information pushed by the server, the user equipment displays to the user a list of additional functions that have been installed and not installed in the current version, and a list of new additional functions that are upgraded this time;
  • the user equipment can also personally recommend a function characteristic suitable for the user according to the user usage habit;
  • Step S503 After detecting that the user selects an additional function that needs to be added and/or uninstalled, the user equipment selects the identification information of the user equipment, the version information of the current version, the number corresponding to the installed additional function, and all the upgraded versions need to be installed. The number corresponding to the additional function is sent to the server;
  • Step S504 The server uses the file-based differential method to create an additional function rollback upgrade package for all existing additional function features.
  • Step S505 The server makes a current version upgrade to the next version of the base version upgrade package.
  • Step S506 The server uses the file-based differential method to create an additional function for adding additional functional features that need to be installed.
  • Step S507 The user downloads the corresponding additional function fallback upgrade package, the basic version upgrade package, and the additional function to add the upgrade package from the server according to the customized additional function.
  • the user first unlocks the additional function to roll back the upgrade package, and uninstalls the current All additional functions, after uninstalling all the additional functions, the user unlocks the basic version upgrade package and performs the upgrade.
  • the additional functions are released, the upgrade package is executed, and additional functions are added.
  • the user equipment uses a mobile phone as an example:
  • S602 The mobile phone receives the information of the new additional function, displays the additional function of the current version and the new version to the user, receives the customized customization information of the user, and sends the customized information to the server.
  • S603 The server creates an upgrade package according to the upgrade information of the user, and pushes the corresponding upgrade package to the mobile phone. Download the upgrade package and install it.
  • the user selects the desired function.
  • the device sends the version information of the current version, the function number that has been installed, the function number selected by the user, and the IMEI (International Mobile Equipment Identity) of the device to the OTA upgrade server.
  • the server parses, the upgrade will be made.
  • the package is deployed in conjunction with the IMEI and directed to the user device.
  • the user device downloads the upgrade package in the background when the WiFi connection is available, and the download is completed. After the completion, the user is reminded to upgrade.
  • the user performs the upgrade at the appropriate time.
  • the device goes into the recovery mode to perform the upgrade operation, and then unpacks the function uninstall rollback upgrade package, the basic version upgrade package, and the function add upgrade package to perform patch upgrade.
  • the device automatically reboots into the new version.
  • the example provides an over-the-air technology upgrade device, which is applied to the user equipment 701, and includes a data transmission module 7011, a function display module 7012, and an upgrade module 7013:
  • the data transmission module 7011 is configured to receive information about the new additional function provided by the server for the upgrade and send it to the function display module 7012; feed back the upgrade information of the user to the server; and receive the additional function of the server to roll back the upgrade package, and the basis The version upgrade package and additional functions add the upgrade package and send it to the upgrade module 7013;
  • the function display module 7012 is configured to display information about the additional functions that the current version has been installed and not installed, and information about the new additional functions provided by the upgrade;
  • the upgrade module 7013 is configured to sequentially download and install the additional function rollback upgrade package, the base version upgrade package, and the additional function of the server distribution to add the upgrade package.
  • the function display module 7012 is further configured to select an additional function recommendation list from the list of the installed and uninstalled additional functions of the current version and the new additional function list provided by the current upgrade according to the usage habit of the user, and recommend the additional function. The list is shown to the user.
  • the present example provides an over-the-air technology upgrade device, which is applied to the server 702, and includes a data transmission module 7021, a directional push module 7022, and an upgrade package creation module 7023:
  • the data transmission module 7021 is configured to send information about the new additional function provided by the current upgrade to the user equipment 701; receive the upgrade customization information of the user fed back by the user equipment 701 and send it to the directional push module 7022;
  • the upgrade package, the basic version upgrade package, and the additional function add upgrade package are sent to the user device 701;
  • the directional push module 7022 is configured to send information about the new function provided by the upgrade to the data transmission module 7021; send the upgrade customization information of the user to the upgrade package creation module 7023; and roll back the upgrade package and the basic version upgrade package. And additional features to add upgrade packages to the data transfer module Block 7021;
  • the upgrade package creation module 7023 is configured to create an additional function rollback upgrade package, a basic version upgrade package, and an additional function add upgrade package for the upgrade according to the upgrade information of the user, and send the upgrade package to the directional push module 7022;
  • the OTA upgrade process is transformed into a three-stage upgrade mode, and the function release offloading package is used to roll back the function points of the current version of the user in the first phase of the upgrade.
  • the upgrade of this phase is mainly to fix the deficiencies and vulnerabilities of the previous version and improve system security, without introducing features, in the third
  • the phase is upgraded from the new base version, adding user-selected features.
  • This three-stage upgrade eliminates the traditional way of making differences only between the source and target versions, resulting in multiple source and target versions. In this case, the number of upgrade packages that need to be produced and distributed is greatly reduced, and user-customizable OTA upgrades are implemented to improve the user experience.
  • each module/unit in the foregoing embodiment may be implemented in the form of hardware, or may be implemented by using a software function module.
  • Formal implementations, such as through integrated circuits to implement their respective functions may also be implemented in the form of software functional modules, such as by executing a program and instructions in a memory and memory to perform their respective functions.
  • the invention is not limited to any specific form of combination of hardware and software.
  • the above technical solution greatly reduces the number of upgrade packages that need to be produced and distributed in the case of multiple source versions and target versions, and implements a user-customizable OTA upgrade, thereby improving the user experience.

Abstract

An upgrade method using an over-the-air download technology, which is applied to a server. The method comprises: sending information about a new additional function provided by the upgrade to a user equipment; after receiving upgrade customization information fed back by the user equipment, making an additional function rollback upgrade package, a base version upgrade package and an additional function adding upgrade package which are used in the upgrade according to the upgrade customization information; and distributing the additional function rollback upgrade package, the base version upgrade package and the additional function adding upgrade package to the user equipment.

Description

一种空中下载技术升级方法和装置Aerial download technology upgrade method and device 技术领域Technical field
本文涉及但不限于通信技术领域,尤其涉及的是一种空中下载技术升级方法和装置。This document relates to, but is not limited to, the field of communication technologies, and in particular, to an over-the-air technology upgrade method and apparatus.
背景技术Background technique
目前,手机、平板、智能投影仪和电视盒子等消费类电子设备大都是采用OTA(Over-the-Air Technology,空中下载技术)升级方式进行升级。At present, consumer electronic devices such as mobile phones, tablets, smart projectors and TV boxes are mostly upgraded using OTA (Over-the-Air Technology) upgrades.
OTA升级一般不会擦除用户数据,是一种无损的升级方式,主要通过WiFi、3G和4G等网络自动下载OTA升级包、自动升级。相比完整升级的方式,OTA方式的升级包通常不到完整升级的升级包大小的十分之一。并且最重要的是,OTA升级无需备份数据,短短几分钟就能完成所有升级工作,所有用户数据都会完好无损的保留下来。因此,OTA升级作为产品的后续服务,不仅能修改之前版本的缺陷和不足,通常还会在升级中引进许多新的特性和功能,持续提升用户的使用体验。OTA upgrade generally does not erase user data. It is a lossless upgrade method. It mainly downloads OTA upgrade packages and automatically upgrades through WiFi, 3G and 4G networks. Compared to the full upgrade, the OTA upgrade package is usually less than one-tenth the size of the upgrade package. And most importantly, the OTA upgrade does not require backup data, all upgrades can be completed in just a few minutes, and all user data will remain intact. Therefore, OTA upgrade as a follow-up service of the product can not only modify the defects and deficiencies of the previous version, but also introduce many new features and functions in the upgrade, and continuously improve the user experience.
但是,目前的OTA升级只能按照一条直线演进,对用户来说,对于每次升级引入的不同新功能,并没有选择取舍的权利,即不能选择只引入某些更想要的新特性而舍弃一些并不感兴趣的功能。对升级服务提供方来说,在引入新功能和特性时也需要考虑如果引入过多的功能和特性会占用用户设备的资源,因此限制了提供更多更新功能和特性的可能性。However, the current OTA upgrade can only evolve in a straight line. For users, the different new features introduced for each upgrade do not have the right to choose, that is, they cannot choose to introduce only some of the more desirable new features. Some features that are not of interest. For upgrade service providers, there are also considerations when introducing new features and features. If too many features and features are introduced, they will consume the resources of the user device, thus limiting the possibility of providing more update functions and features.
另一方面,OTA升级是一种基于差分的升级方式,即升级包的制作依赖于机器当前的状态(称之为源版本)和期望升级到的状态(称之为目标版本)。如果采用简单的让用户进行定制选择再定向推送升级的方式,会生成较多的源版本和目标版本,由此组合而成的升级包会非常多,维护困难。比如,前一次升级最多新引入2个功能点,后一次升级新引入2个功能点,则前一次升级后会产生4种状态,后一次升级后会产生16种状态,即4个源版本和16个目标版本,组合出64种不同的OTA升级包,当引入的功能点更多或升级次数更多时,这个数字将会进一步上升,使做包、验证和分发的工作量极大地增加。 On the other hand, OTA upgrade is a differential-based upgrade, that is, the production of the upgrade package depends on the current state of the machine (called the source version) and the state that is expected to be upgraded (called the target version). If you use a simple way to let users customize and then push and upgrade, more source and target versions will be generated. The resulting upgrade package will be very much and difficult to maintain. For example, the previous upgrade will introduce a maximum of 2 new feature points. The next upgrade will introduce 2 new feature points. After the previous upgrade, 4 states will be generated. After the next upgrade, 16 states will be generated, that is, 4 source versions and With 16 target versions, 64 different OTA upgrade packages are combined. When more feature points are introduced or more upgrades are made, this number will increase further, greatly increasing the workload of doing package, verification and distribution.
因此,如何实现用户可定制的OTA升级,并且尽量减少升级服务提供方制作、分发升级包的工作量,是需要解决的问题。Therefore, how to implement a user-customizable OTA upgrade and minimize the workload of the upgrade service provider to make and distribute the upgrade package is a problem that needs to be solved.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本发明实施例提供一种空中下载技术升级方法和装置,能够实现用户可定制的OTA升级,提高用户体验,并降低升级服务提供方制作、分发升级包的工作量。The embodiment of the invention provides an over-the-air technology upgrade method and device, which can implement a user-customizable OTA upgrade, improve the user experience, and reduce the workload of the upgrade service provider to create and distribute the upgrade package.
本发明实施例提供了一种空中下载技术升级方法,应用于服务器,该方法包括:An embodiment of the present invention provides an over-the-air downloading technology upgrade method, which is applied to a server, and the method includes:
向用户设备发送本次升级提供的新附加功能的信息;Sending information about the new additional features provided by this upgrade to the user equipment;
接收到所述用户设备反馈的升级定制信息后,根据所述升级定制信息制作本次升级用的附加功能回退升级包、基础版本升级包和附加功能添加升级包;After receiving the upgrade customization information fed back by the user equipment, the additional function rollback upgrade package, the basic version upgrade package, and the additional function add upgrade package for the upgrade are generated according to the upgrade customization information;
向所述用户设备分发所述附加功能回退升级包、基础版本升级包和附加功能添加升级包。The additional function rollback upgrade package, the base version upgrade package, and the additional function are added to the user equipment to add an upgrade package.
可选地,所述用户设备反馈的升级定制信息包括:用户设备标识、所述用户设备使用的当前版本的版本信息和已经安装的附加功能的信息、以及用户定制的需要安装的附加功能的信息。Optionally, the upgrade customization information fed back by the user equipment includes: user equipment identifier, version information of a current version used by the user equipment, and information of an installed additional function, and information customized by the user for additional functions to be installed. .
可选地,所述根据所述升级定制信息制作本次升级用的附加功能回退升级包、基础版本升级包和附加功能添加升级包,包括:Optionally, the adding, according to the upgrade customization information, an additional function rollback upgrade package, a basic version upgrade package, and an additional function for adding the upgrade package, including:
根据当前版本的版本信息和已经安装的附加功能的信息,制作用于在所述当前版本上卸载掉所有已经安装的附加功能的附加功能回退升级包;Making an additional function rollback upgrade package for uninstalling all installed additional functions on the current version according to the version information of the current version and the information of the installed additional functions;
根据当前版本的版本信息,制作用于将当前版本的基础部分升级为新版本的基础部分的基础版本升级包;以及Based on the version information of the current version, create a base version upgrade package for upgrading the base portion of the current version to the base portion of the new version;
根据用户定制的需要安装的附加功能的信息,制作用于在新版本的基础部分上下载并安装用户定制的所有附加功能的附加功能添加升级包。 Add an upgrade package to add additional features for downloading and installing all of the user-customized add-on features on the base of the new version based on user-customized information about the additional features that need to be installed.
本发明实施例还提供了一种空中下载技术升级方法,应用于用户设备,该方法包括:The embodiment of the present invention further provides an air downloading technology upgrade method, which is applied to a user equipment, and the method includes:
接收到服务器推送的本次升级提供的新功能的信息后,向用户提供当前版本已经安装和未安装的附加功能的信息和本次升级提供的新附加功能的信息;After receiving the information of the new function provided by the server for the upgrade, the user is provided with the information of the additional function that the current version has been installed and not installed, and the information of the new additional function provided by the upgrade;
在检测到用户选择了需要添加和/或卸载的附加功能后,确定用户的升级定制信息并反馈给所述服务器;After detecting that the user selects an additional function that needs to be added and/or uninstalled, determining the user's upgrade customization information and feeding back to the server;
从所述服务器处依次下载并安装所述附加功能回退升级包、基础版本升级包和附加功能添加升级包。The additional function rollback upgrade package, the base version upgrade package, and the additional function add upgrade package are sequentially downloaded and installed from the server.
可选地,所述用户的升级定制信息包括:用户设备标识、用户使用的当前版本的版本信息和已经安装的附加功能的信息、以及用户定制的需要安装的附加功能的信息。Optionally, the upgrade customization information of the user includes: a user equipment identifier, version information of a current version used by the user, and information of an installed additional function, and information customized by the user for additional functions to be installed.
可选地,所述从所述服务器处依次下载并安装所述附加功能回退升级包、基础版本升级包和附加功能添加升级包,包括:Optionally, the downloading and installing the additional function rollback upgrade package, the basic version upgrade package, and the additional function add upgrade package from the server, including:
下载并安装所述附加功能回退升级包,卸载当前版本的所有附加功能,卸载完成后,下载并安装所述基础版本升级包,将当前版本的基础部分升级为新版本的基础部分,升级完成后,下载并安装附加功能添加升级包,为新版本添加用户定制的所有附加功能。Download and install the additional function to roll back the upgrade package, uninstall all the additional features of the current version. After the uninstallation is completed, download and install the basic version upgrade package, upgrade the basic part of the current version to the basic part of the new version, and complete the upgrade. After that, download and install the add-on feature to add the upgrade package to add all the additional features customized by the new version.
可选地,所述向用户提供当前版本已经安装和未安装的附加功能的信息和本次升级提供的新附加功能的信息包括:Optionally, the information that provides the user with the additional function that the current version has been installed and not installed and the new additional function that is provided by the upgrade include:
根据用户的使用习惯从当前版本的已经安装和未安装的附加功能列表和本次升级提供的新附加功能列表中选择附加功能推荐列表,并将所述附加功能推荐列表反馈给用户。The additional function recommendation list is selected from the list of the installed and uninstalled additional functions of the current version and the new additional function list provided by the current upgrade according to the user's usage habit, and the additional function recommendation list is fed back to the user.
本发明实施例还提出了一种计算机可读存储介质,存储有计算机可执行指令,计算机可执行指令用于执行上述描述的任意一个方法。Embodiments of the present invention also provide a computer readable storage medium storing computer executable instructions for performing any of the methods described above.
本发明实施例还提供了一种空中下载技术升级装置,应用于服务器,包括: The embodiment of the invention further provides an over-the-air downloading technology upgrading device, which is applied to a server, and includes:
信息推送模块,设置为向用户设备发送本次升级提供的新附加功能的信息;The information pushing module is configured to send information of the new additional function provided by the upgrade to the user equipment;
升级包制作模块,设置为接收到所述用户设备反馈的升级定制信息后,根据所述升级定制信息制作本次升级用的附加功能回退升级包、基础版本升级包和附加功能添加升级包;The upgrade package creation module is configured to: after receiving the upgrade customization information fed back by the user equipment, create an additional function rollback upgrade package, a basic version upgrade package, and an additional function add upgrade package for the upgrade according to the upgrade customization information;
升级包分发模块,设置为向所述用户设备分发所述附加功能回退升级包、基础版本升级包和附加功能添加升级包。An upgrade package distribution module is configured to distribute the additional function fallback upgrade package, a base version upgrade package, and an additional function to the user device to add an upgrade package.
可选地,所述用户设备反馈的升级定制信息包括:用户设备标识、所述用户设备使用的当前版本的版本信息和已经安装的附加功能的信息、以及用户定制的需要安装的附加功能的信息。Optionally, the upgrade customization information fed back by the user equipment includes: user equipment identifier, version information of a current version used by the user equipment, and information of an installed additional function, and information customized by the user for additional functions to be installed. .
可选地,所述升级包制作模块是设置为采用以下方式实现根据所述升级定制信息制作本次升级用的附加功能回退升级包、基础版本升级包和附加功能添加升级包:Optionally, the upgrade package creation module is configured to implement an additional function rollback upgrade package, a basic version upgrade package, and an additional function add upgrade package for the upgrade according to the upgrade customization information:
根据当前版本的版本信息和已经安装的附加功能的信息,制作用于在所述当前版本上卸载掉所有已经安装的附加功能的附加功能回退升级包;Making an additional function rollback upgrade package for uninstalling all installed additional functions on the current version according to the version information of the current version and the information of the installed additional functions;
根据当前版本的版本信息,制作用于将当前版本的基础部分升级为新版本的基础部分的基础版本升级包;以及Based on the version information of the current version, create a base version upgrade package for upgrading the base portion of the current version to the base portion of the new version;
根据用户定制的需要安装的附加功能的信息,制作用于在新版本的基础部分上下载并安装用户定制的所有附加功能的附加功能添加升级包。Add an upgrade package to add additional features for downloading and installing all of the user-customized add-on features on the base of the new version based on user-customized information about the additional features that need to be installed.
本发明实施例还提供了一种空中下载技术升级装置,应用于用户设备,包括:The embodiment of the invention further provides an over-the-air downloading technology upgrading device, which is applied to user equipment, and includes:
信息接收及展示模块,设置为接收到服务器推送的本次升级提供的新功能的信息后,向用户提供当前版本已经安装和未安装的附加功能的信息和本次升级提供的新附加功能的信息;The information receiving and displaying module is configured to receive the information of the new function provided by the server and the new function provided by the current upgrade after receiving the information of the new function provided by the server for the upgrade. ;
功能定制模块,设置为在检测到用户选择了需要添加和/或卸载的附加功能后,确定用户的升级定制信息并反馈给所述服务器;a function customization module, configured to determine an upgrade customization information of the user and feed back to the server after detecting that the user selects an additional function that needs to be added and/or uninstalled;
升级包下载及安装模块,设置为从所述服务器处依次下载并安装所述附 加功能回退升级包、基础版本升级包和附加功能添加升级包。Upgrade package download and installation module, set to download and install the attached file from the server Add a feature rollback upgrade package, a base version upgrade package, and additional features to add an upgrade package.
可选地,所述用户的升级定制信息包括:用户设备标识、用户使用的当前版本的版本信息和已经安装的附加功能的信息、以及用户定制的需要安装的附加功能的信息。Optionally, the upgrade customization information of the user includes: a user equipment identifier, version information of a current version used by the user, and information of an installed additional function, and information customized by the user for additional functions to be installed.
可选地,升级包下载及安装模块是设置为:Optionally, the upgrade package download and installation module is set to:
下载并安装所述附加功能回退升级包,卸载当前版本的所有附加功能,卸载完成后,下载并安装所述基础版本升级包,将当前版本的基础部分升级为新版本的基础部分,升级完成后,下载并安装附加功能添加升级包,为新版本添加用户定制的所有附加功能。Download and install the additional function to roll back the upgrade package, uninstall all the additional features of the current version. After the uninstallation is completed, download and install the basic version upgrade package, upgrade the basic part of the current version to the basic part of the new version, and complete the upgrade. After that, download and install the add-on feature to add the upgrade package to add all the additional features customized by the new version.
可选地,信息接收及展示模块是设置为采用以下方式实现向用户提供当前版本已经安装和未安装的附加功能的信息和本次升级提供的新附加功能的信息:Optionally, the information receiving and displaying module is configured to provide the user with information about the additional functions that the current version has installed and not installed, and new additional functions provided by the upgrade in the following manner:
根据用户的使用习惯从当前版本的已经安装和未安装的附加功能列表和本次升级提供的新附加功能列表中选择附加功能推荐列表,并将所述附加功能推荐列表反馈给用户。The additional function recommendation list is selected from the list of the installed and uninstalled additional functions of the current version and the new additional function list provided by the current upgrade according to the user's usage habit, and the additional function recommendation list is fed back to the user.
与相关技术相比,本发明实施例提供的一种空中下载技术升级方法和装置,将OTA升级流程改造为三段式升级方式,在升级的第一阶段通过功能卸载回退包将用户当前版本的各个功能点进行回退,得到一个不包含附加功能和特性的基础版本,在第二阶段进行基础版本的升级,该阶段的升级主要是修复前一版本的不足和漏洞和提升系统安全性,不引入功能,在第三阶段从新的基础版本进行升级,添加用户选择的功能,这种三段式升级的方式抛弃了传统的仅在源版本和目标版本之间做差分的方式,从而在有多个源版本和目标版本的情况下,大大减少了需要制作、分发的升级包的个数,实现了用户可定制的OTA升级,提高了用户体验。Compared with the related art, the method and device for upgrading the over-the-air technology provided by the embodiment of the present invention transforms the OTA upgrade process into a three-stage upgrade mode, and the current version of the user is uninstalled by the function uninstallation package in the first stage of the upgrade. The various function points are rolled back to get a basic version that does not contain additional functions and features. In the second phase, the basic version is upgraded. The upgrade of this stage is mainly to fix the defects and vulnerabilities of the previous version and improve system security. Without introducing features, upgrading from the new base version in the third phase, adding user-selected features, this three-stage upgrade approach discards the traditional way of making differences only between the source and target versions, thus In the case of multiple source versions and target versions, the number of upgrade packages that need to be produced and distributed is greatly reduced, and user-customizable OTA upgrades are implemented to improve the user experience.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1为本发明实施例的一种空中下载技术升级方法(服务器)流程图; 1 is a flowchart of an air download technology upgrade method (server) according to an embodiment of the present invention;
图2为本发明实施例的一种空中下载技术升级方法(用户设备)流程图;2 is a flowchart of an over-the-air technology upgrade method (user equipment) according to an embodiment of the present invention;
图3为本发明实施例的一种空中下载技术升级装置(服务器)示意图;FIG. 3 is a schematic diagram of an over-the-air downloading technology upgrading apparatus (server) according to an embodiment of the present invention; FIG.
图4为本发明实施例的一种空中下载技术升级装置(用户设备)示意图;4 is a schematic diagram of an over-the-air technology upgrade device (user equipment) according to an embodiment of the present invention;
图5为本发明具体示例的用户可定制的OTA升级方法流程图;5 is a flowchart of a user-customizable OTA upgrade method according to a specific example of the present invention;
图6为本发明具体示例的用户设备和服务器之间进行交互的信息交互示意图;6 is a schematic diagram of information interaction between a user equipment and a server according to a specific example of the present invention;
图7为本发明具体示例的OTA升级系统(包括服务器和用户终端)示意图。FIG. 7 is a schematic diagram of an OTA upgrade system (including a server and a user terminal) according to a specific example of the present invention.
本发明的实施方式Embodiments of the invention
下文中将结合附图对本发明的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments in the present application may be arbitrarily combined with each other.
如图1所示,本发明实施例提供了一种空中下载技术升级方法,应用于服务器,该方法包括:As shown in FIG. 1 , an embodiment of the present invention provides an over-the-air downloading technology upgrade method, which is applied to a server, and the method includes:
S101,向用户设备发送本次升级提供的新附加功能的信息;S101. Send, to the user equipment, information about a new additional function provided by the upgrade.
其中,本次升级提供的新附加功能的信息包括:所有新附加功能的名称,还可以包括每一项新附加功能的特性等。Among them, the information of the new additional functions provided by this upgrade includes: the name of all new additional functions, and the characteristics of each new additional function.
S102,接收到用户设备反馈的升级定制信息后,根据升级定制信息制作本次升级用的附加功能回退升级包、基础版本升级包和附加功能添加升级包;S102. After receiving the upgrade customization information fed back by the user equipment, the additional function rollback upgrade package, the basic version upgrade package, and the additional function add upgrade package for the upgrade according to the upgrade customization information.
其中,用户设备反馈的升级定制信息包括:用户设备标识、用户设备使用的当前版本的版本信息和已经安装的附加功能的信息、以及用户定制的需要安装的附加功能的信息;The upgrade customization information fed back by the user equipment includes: a user equipment identifier, version information of a current version used by the user equipment, information of an installed additional function, and information of an additional function that the user needs to install;
其中,根据升级定制信息制作本次升级用的附加功能回退升级包、基础版本升级包和附加功能添加升级包,包括:Among them, according to the upgrade customization information, the additional function rollback upgrade package, the basic version upgrade package, and the additional function for the upgrade are added, including:
根据当前版本的版本信息和已经安装的附加功能的信息,制作用于在当前版本上卸载掉所有已经安装的附加功能的附加功能回退升级包;According to the version information of the current version and the information of the additional functions that have been installed, an additional function rollback upgrade package for uninstalling all the installed additional functions on the current version is created;
根据当前版本的版本信息,制作用于将当前版本的基础部分升级为新版 本的基础部分的基础版本升级包;以及Based on the version information of the current version, the production is used to upgrade the base part of the current version to the new version. The base version upgrade package for the base part of this; and
根据用户定制的需要安装的附加功能的信息,制作用于在新版本的基础部分上下载并安装用户定制的所有附加功能的附加功能添加升级包;Add an upgrade package to add additional features for downloading and installing all of the user-customized add-on features on the base portion of the new version, based on user-customized information about the additional features that need to be installed;
其中,基础版本升级包用于解决当前版本基础特性部分的错误和漏洞,对当前版本的安全性进行提升和修补。The basic version upgrade package is used to solve the bugs and vulnerabilities in the basic features of the current version, and the security of the current version is improved and repaired.
其中,根据当前版本的版本信息和已经安装的附加功能的信息,制作用于在当前版本上卸载掉所有已经安装的附加功能的附加功能回退升级包,包括:In addition, according to the version information of the current version and the information of the installed additional functions, an additional function rollback upgrade package for uninstalling all installed additional functions on the current version is created, including:
对于当前版本已经安装的每一项附加功能,将在当前版本的基础部分上仅添加对应附加功能所构成的版本作为源版本,将仅由当前版本的基础部分构成的版本作为目标版本,对源版本和目标版本采用基于文件的方式进行差分做包,获得对应于该项附加功能的附加功能回退升级包;For each additional feature that has been installed in the current version, only the version corresponding to the additional function will be added as the source version on the basic part of the current version, and the version composed only of the base part of the current version will be used as the target version. The version and the target version use a file-based method for differential packetization, and an additional function rollback upgrade package corresponding to the additional function is obtained;
其中,根据当前版本的版本信息,制作用于将当前版本的基础部分升级为新版本的基础部分的基础版本升级包,包括:The base version upgrade package for upgrading the base part of the current version to the base part of the new version according to the version information of the current version includes:
将仅由当前版本的基础部分所构成的版本作为源版本,将仅由新版本的基础部分所构成的版本作为目标版本,对源版本和目标版本采用基于文件的方式进行差分做包或基于块设备的方式进行差分做包,获得当前版本的基础版本升级包;A version consisting only of the base part of the current version is used as the source version, and a version consisting only of the base part of the new version is used as the target version, and the source version and the target version are differentially packaged or block based on the file-based manner. The device is differentially packaged to obtain the current version of the base version upgrade package;
其中,根据用户定制的需要安装的附加功能的信息,制作用于在新版本的基础部分上下载并安装用户定制的所有附加功能的附加功能添加升级包,包括:In addition, according to the information of the additional functions that the user needs to install, the additional functions for downloading and installing all the additional functions customized by the user on the basic part of the new version are added, including:
对于用户定制的需要添加的每一项附加功能,将仅由当前版本的基础部分构成的版本作为源版本,将在当前版本的基础部分上仅添加对应附加功能所构成的版本作为目标版本,对源版本和目标版本采用基于文件的方式进行差分做包,获得用户定制的该项附加功能对应的附加功能添加升级包;For each additional function that needs to be added by the user, only the version composed of the basic part of the current version is used as the source version, and only the version composed of the corresponding additional function is added as the target version on the basic part of the current version. The source version and the target version use a file-based method for differential packetization, and an additional function corresponding to the additional function customized by the user is added to add an upgrade package;
其中,在制作升级包方面,与传统的OTA升级不同的是:由于用户升级前后设备状态的多样性,如果采用源版本-目标版本差分做包的方式将产生大量不同的升级包,给维护和分发带来极大工作量,不具备可行性。因此,本 发明实施例在制作升级包时,将版本的附加功能部分和基础部分分离开,分别独立演进,独立做包。对于版本的基础部分(基础版本),该部分的升级主要是用于解决之前版本基础部分的错误和漏洞,以及对之前版本的安全性进行提升和修补,在前后两个基础版本中使用基于文件或基于块的方式制作升级包。对于之前版本已经拥有的每一个已有附加功能,以在基础版本上仅添加对应附加功能所构成的版本为源版本,以基础版本为目标版本,使用基于文件的方式进行差分做包,得到对应于附加功能特性的回退包。对于用户定制的升级后版本的每一个附加功能,以基础版本为源版本,以在基础版本上仅添加对应附加功能所构成的版本为目标版本,使用基于文件的方式进行差分做包,得到对应于附加功能特性的升级包。Among them, in the production of upgrade packages, unlike traditional OTA upgrades, due to the diversity of device status before and after user upgrade, if the source version-target version differential package is used, a large number of different upgrade packages will be generated for maintenance and Distribution brings a lot of work and is not feasible. Therefore, this In the embodiment of the invention, when the upgrade package is created, the additional functional part of the version is separated from the basic part, and the independent evolution is performed separately, and the package is independently performed. For the base part of the version (the base version), the upgrade of this part is mainly used to solve the errors and vulnerabilities in the basic part of the previous version, as well as to improve and fix the security of the previous version, using the file-based in the two basic versions. Or make an upgrade package based on the block. For each existing additional function that has been in the previous version, only the version corresponding to the additional function is added to the base version as the source version, the base version is the target version, and the file-based method is used for the differential package, and the corresponding is obtained. A fallback package for additional features. For each additional function of the user-customized upgraded version, the base version is the source version, and only the version corresponding to the additional function is added to the target version as the target version, and the file-based method is used for the differential package, and the corresponding is obtained. Upgrade package for additional features.
S103,向用户设备分发附加功能回退升级包、基础版本升级包和附加功能添加升级包。S103. Distribute an additional function rollback upgrade package, a basic version upgrade package, and an additional function to the user equipment to add the upgrade package.
如图2所示,本发明实施例提供了一种空中下载技术升级方法,应用于用户设备,该方法包括:As shown in FIG. 2, an embodiment of the present invention provides an over-the-air downloading technology upgrade method, which is applied to a user equipment, and the method includes:
S201,接收到服务器推送的本次升级提供的新功能的信息后,向用户提供当前版本已经安装和未安装的附加功能的信息和本次升级提供的新附加功能的信息;S201. After receiving the information about the new function provided by the server and being upgraded by the server, the information about the additional function that the current version has been installed and not installed, and the information about the new additional function provided by the upgrade are provided to the user;
其中,向用户提供当前版本已经安装和未安装的附加功能的信息和本次升级提供的新附加功能的信息,包括:Among them, the user is provided with the information of the additional features that have been installed and not installed in the current version and the new additional functions provided by the upgrade, including:
显示当前版本已经安装和未安装的附加功能列表和本次升级提供的新附加功能的列表;Displays a list of additional features that are installed and not installed in the current release and a list of new additional features provided by this upgrade;
其中,附加功能列表可以显示每一个附加功能的名称等。Among them, the list of additional functions can display the name of each additional function, and so on.
其中,本次升级提供的新附加功能的列表可以显示本次升级提供的每一个新附加功能的名称。Among them, the list of new additional features provided by this upgrade can display the name of each new additional feature provided by this upgrade.
其中,向用户提供当前版本已经安装和未安装的附加功能的信息和本次升级提供的新附加功能的信息,还包括:Among them, the user is provided with the information of the additional features that have been installed and not installed in the current version and the new additional functions provided by the upgrade, including:
根据用户的使用习惯从当前版本的已经安装和未安装的附加功能列表和 本次升级提供的新附加功能列表中选择附加功能推荐列表,并将附加功能推荐列表反馈给用户;According to the user's usage habits from the current version of the list of additional features that have been installed and not installed and Select the additional function recommendation list from the list of new additional functions provided by this upgrade, and feed back the additional function recommendation list to the user;
S202,在检测到用户选择了需要添加和/或卸载的附加功能后,确定用户的升级定制信息并反馈给服务器;S202. After detecting that the user selects an additional function that needs to be added and/or uninstalled, determine the upgrade customization information of the user and feed back to the server.
其中,用户的升级定制信息包括:用户设备标识、用户使用的当前版本的版本信息和已经安装的附加功能的信息、以及用户定制的需要安装的附加功能的信息;The upgrade customization information of the user includes: a user equipment identifier, version information of a current version used by the user, information of an installed additional function, and information of an additional function customized by the user to be installed;
S203,从服务器处依次下载并安装附加功能回退升级包、基础版本升级包和附加功能添加升级包。S203. Download and install an additional function rollback upgrade package, a basic version upgrade package, and an additional function to add an upgrade package from the server.
其中,从服务器处依次下载并安装附加功能回退升级包、基础版本升级包和附加功能添加升级包,包括:Among them, download and install the additional function rollback upgrade package, the basic version upgrade package, and the additional function to add the upgrade package from the server, including:
下载并安装附加功能回退升级包,卸载当前版本的所有附加功能,卸载完成后,下载并安装基础版本升级包,将当前版本的基础部分升级为新版本的基础部分,升级完成后,下载并安装附加功能添加升级包,为新版本添加用户定制的所有附加功能。Download and install the additional function to roll back the upgrade package, uninstall all the additional features of the current version, download and install the basic version upgrade package after the uninstallation, upgrade the basic part of the current version to the basic part of the new version, after the upgrade is complete, download and Install additional features to add upgrade packages to add all the additional features that are customized for the new version.
也即,用户下载三个升级包:当前版本已经安装的附加功能的附加功能回退升级包、基础版本的升级包和用户定制的在下一版本中引入的所有附加功能的附加功能添加升级包。分三阶段依次进行升级:首先解开回退包执行,将当前所有附加功能卸载,得到一个不含附加功能的当前版本的基础版本;然后解开基础版本升级包执行,从当前版本的基础版本升级到新的基础版本;最后解开新的功能升级包执行,安装用户定制的新功能。全部安装完成后重启进入新系统,定制升级过程完毕。That is, the user downloads three upgrade packages: an additional feature rollback upgrade package for the additional features that have been installed in the current version, an upgrade package for the base version, and an additional feature for the user-customized additional features introduced in the next release to add the upgrade package. Upgrade in three stages: first unroll the rollback package execution, uninstall all current additional functions, get a base version of the current version without additional functions; then unpack the base version upgrade package execution, from the current version of the base version Upgrade to the new base version; finally unpack the new feature upgrade package and install new user-customized features. After all installations are completed, reboot into the new system and the custom upgrade process is complete.
本发明实施例还提出了一种计算机可读存储介质,存储有计算机可执行指令,计算机可执行指令用于执行上述描述的任意一个方法。Embodiments of the present invention also provide a computer readable storage medium storing computer executable instructions for performing any of the methods described above.
如图3所示,本发明实施例提供了一种空中下载技术升级装置,应用于服务器,包括:As shown in FIG. 3, an embodiment of the present invention provides an over-the-air downloading technology upgrading apparatus, which is applied to a server, and includes:
信息推送模块301,设置为向用户设备发送本次升级提供的新附加功能的信息; The information pushing module 301 is configured to send information about the new additional function provided by the upgrade to the user equipment;
升级包制作模块302,设置为接收到用户设备反馈的升级定制信息后,根据升级定制信息制作本次升级用的附加功能回退升级包、基础版本升级包和附加功能添加升级包;The upgrade package creation module 302 is configured to: after receiving the upgrade customization information fed back by the user equipment, create an additional function rollback upgrade package, a basic version upgrade package, and an additional function to add an upgrade package according to the upgrade customization information;
升级包分发模块303,设置为向用户设备分发附加功能回退升级包、基础版本升级包和附加功能添加升级包。The upgrade package distribution module 303 is configured to distribute an additional function rollback upgrade package, a base version upgrade package, and an additional function to the user device to add the upgrade package.
其中,用户设备反馈的升级定制信息包括:用户设备标识、用户设备使用的当前版本的版本信息和已经安装的附加功能的信息、以及用户定制的需要安装的附加功能的信息。The upgrade customization information fed back by the user equipment includes: the user equipment identifier, the version information of the current version used by the user equipment, the information of the installed additional function, and the information of the additional function that the user needs to install.
其中,升级包制作模块302是设置为采用以下方式实现根据升级定制信息制作本次升级用的附加功能回退升级包、基础版本升级包和附加功能添加升级包:The upgrade package creation module 302 is configured to implement an additional function rollback upgrade package, a basic version upgrade package, and an additional function upgrade package for the upgrade according to the upgrade customization information:
根据当前版本的版本信息和已经安装的附加功能的信息,制作用于在当前版本上卸载掉所有已经安装的附加功能的附加功能回退升级包;According to the version information of the current version and the information of the additional functions that have been installed, an additional function rollback upgrade package for uninstalling all the installed additional functions on the current version is created;
根据当前版本的版本信息,制作用于将当前版本的基础部分升级为新版本的基础部分的基础版本升级包;以及Based on the version information of the current version, create a base version upgrade package for upgrading the base portion of the current version to the base portion of the new version;
根据用户定制的需要安装的附加功能的信息,制作用于在新版本的基础部分上下载并安装用户定制的所有附加功能的附加功能添加升级包。Add an upgrade package to add additional features for downloading and installing all of the user-customized add-on features on the base of the new version based on user-customized information about the additional features that need to be installed.
如图4所示,本发明实施例提供了一种空中下载技术升级装置,应用于用户设备,包括:As shown in FIG. 4, an embodiment of the present invention provides an over-the-air downloading technology upgrading apparatus, which is applied to user equipment, and includes:
信息接收及展示模块401,设置为接收到服务器推送的本次升级提供的新功能的信息后,向用户提供当前版本已经安装和未安装的附加功能的信息和本次升级提供的新附加功能的信息;The information receiving and displaying module 401 is configured to: after receiving the information of the new function provided by the server for the current upgrade, provide the user with the information of the additional function that the current version has been installed and not installed, and the new additional function provided by the upgrade. information;
功能定制模块402,设置为在检测到用户选择了需要添加和/或卸载的附加功能后,确定用户的升级定制信息并反馈给服务器;The function customization module 402 is configured to determine the upgrade customization information of the user and feed back to the server after detecting that the user selects an additional function that needs to be added and/or uninstalled;
升级包下载及安装模块403,设置为从服务器处依次下载并安装附加功 能回退升级包、基础版本升级包和附加功能添加升级包。Upgrade package download and installation module 403, set to download and install additional work from the server in turn You can roll back the upgrade package, the base version upgrade package, and additional features to add the upgrade package.
其中,用户的升级定制信息包括:用户设备标识、用户使用的当前版本的版本信息和已经安装的附加功能的信息、以及用户定制的需要安装的附加功能的信息。The upgrade customization information of the user includes: the user equipment identifier, the version information of the current version used by the user, the information of the installed additional function, and the information of the additional function that the user needs to install.
其中,升级包下载及安装模块403是设置为:The upgrade package download and installation module 403 is set to:
下载并安装附加功能回退升级包,卸载当前版本的所有附加功能,卸载完成后,下载并安装基础版本升级包,将当前版本的基础部分升级为新版本的基础部分,升级完成后,下载并安装附加功能添加升级包,为新版本添加用户定制的所有附加功能。Download and install the additional function to roll back the upgrade package, uninstall all the additional features of the current version, download and install the basic version upgrade package after the uninstallation, upgrade the basic part of the current version to the basic part of the new version, after the upgrade is complete, download and Install additional features to add upgrade packages to add all the additional features that are customized for the new version.
其中,信息接收及展示模块401是设置为采用以下方式实现向用户提供当前版本已经安装和未安装的附加功能的信息和本次升级提供的新附加功能的信息:The information receiving and displaying module 401 is configured to provide the user with information about the additional functions that the current version has been installed and not installed, and the new additional functions provided by the upgrade in the following manner:
根据用户的使用习惯从当前版本的已经安装和未安装的附加功能列表和本次升级提供的新附加功能列表中选择附加功能推荐列表,并将附加功能推荐列表反馈给用户。According to the user's usage habits, the additional function recommendation list is selected from the list of the installed and uninstalled additional functions of the current version and the new additional function list provided by the upgrade, and the additional function recommendation list is fed back to the user.
具体示例Specific example
如图5所示,本示例提供了一种用户可定制的OTA升级方法,具体包括以下步骤:As shown in FIG. 5, this example provides a user-customizable OTA upgrade method, which specifically includes the following steps:
步骤S501:服务器向用户设备(User Equipment,UE)推送本次升级新功能和特性;Step S501: The server pushes the new upgrade function and feature to the user equipment (User Equipment, UE);
步骤S502,用户设备收到服务器推送的信息后,向用户展示当前版本的已经安装和未安装的附加功能列表,和本次升级新的附加功能列表;Step S502, after receiving the information pushed by the server, the user equipment displays to the user a list of additional functions that have been installed and not installed in the current version, and a list of new additional functions that are upgraded this time;
其中,用户设备还可以根据用户使用习惯向用户个性化推荐适合用户使用的功能特性; The user equipment can also personally recommend a function characteristic suitable for the user according to the user usage habit;
步骤S503:用户设备检测到用户选择了需要添加和/或卸载的附加功能后,将用户设备的标识信息、当前版本的版本信息、已经安装的附加功能对应的编号、升级后版本需要安装的所有附加功能对应的编号,发送到服务器;Step S503: After detecting that the user selects an additional function that needs to be added and/or uninstalled, the user equipment selects the identification information of the user equipment, the version information of the current version, the number corresponding to the installed additional function, and all the upgraded versions need to be installed. The number corresponding to the additional function is sent to the server;
步骤S504:服务器利用基于文件的差分方式制作所有已有附加功能特性的附加功能回退升级包。Step S504: The server uses the file-based differential method to create an additional function rollback upgrade package for all existing additional function features.
步骤S505:服务器制作当前版本升级到下一版本的基础版本升级包。Step S505: The server makes a current version upgrade to the next version of the base version upgrade package.
步骤S506:服务器利用基于文件的差分方式制作需要安装的所有附加功能特性的附加功能添加升级包。Step S506: The server uses the file-based differential method to create an additional function for adding additional functional features that need to be installed.
步骤S507:用户根据自己定制的附加功能从服务器下载对应的附加功能回退升级包、基础版本升级包和附加功能添加升级包,用户在升级时首先解开附加功能回退升级包执行,卸载当前所有附加功能,用户卸载所有附加功能之后解开基础版本升级包执行,进行升级,用户升级到新的基础版本后解开附加功能添加升级包执行,添加附加功能特性。Step S507: The user downloads the corresponding additional function fallback upgrade package, the basic version upgrade package, and the additional function to add the upgrade package from the server according to the customized additional function. When the user upgrades, the user first unlocks the additional function to roll back the upgrade package, and uninstalls the current All additional functions, after uninstalling all the additional functions, the user unlocks the basic version upgrade package and performs the upgrade. After the user upgrades to the new base version, the additional functions are released, the upgrade package is executed, and additional functions are added.
其中,如图6所示,以下以一个具体的例子说明用户可定制的OTA升级方法是如何在用户设备和服务器之间进行交互的,其中,用户设备以手机为例:As shown in FIG. 6, the following describes a user-customizable OTA upgrade method in a specific example to interact between the user equipment and the server. The user equipment uses a mobile phone as an example:
S601,服务器在制作好新版本之后,将此版本引入的新附加功能的信息推送到手机。S601, after the server makes a new version, the information of the new additional function introduced by the version is pushed to the mobile phone.
S602,手机接收到新附加功能的信息,向用户展示当前版本和新版本的附加功能,接收用户的升级定制信息,并发送给服务器。S602: The mobile phone receives the information of the new additional function, displays the additional function of the current version and the new version to the user, receives the customized customization information of the user, and sends the customized information to the server.
S603,服务器根据用户的升级定制信息制作升级包,推送对应的升级包到手机。手机下载升级包并安装。S603: The server creates an upgrade package according to the upgrade information of the user, and pushes the corresponding upgrade package to the mobile phone. Download the upgrade package and install it.
可选地,用户在得到推送的升级信息之后,选择想要的功能。设备将当前版本的版本信息、已经安装的功能编号、用户选择的功能编号、和设备的IMEI(International Mobile Equipment Identity,移动设备国际身份码)发送到OTA升级服务器,服务器解析后将制作好的升级包结合IMEI进行部署,定向推送到用户设备上。用户设备在拥有WiFi连接时后台下载升级包,下载完 毕后提醒用户升级。用户在合适的时间进行升级操作。设备转入恢复(recovery)模式进行升级操作,依次解开功能卸载回退升级包、基础版本升级包和功能添加升级包进行打补丁升级。升级完成后设备自动重启进入新版本。Optionally, after obtaining the pushed upgrade information, the user selects the desired function. The device sends the version information of the current version, the function number that has been installed, the function number selected by the user, and the IMEI (International Mobile Equipment Identity) of the device to the OTA upgrade server. After the server parses, the upgrade will be made. The package is deployed in conjunction with the IMEI and directed to the user device. The user device downloads the upgrade package in the background when the WiFi connection is available, and the download is completed. After the completion, the user is reminded to upgrade. The user performs the upgrade at the appropriate time. The device goes into the recovery mode to perform the upgrade operation, and then unpacks the function uninstall rollback upgrade package, the basic version upgrade package, and the function add upgrade package to perform patch upgrade. After the upgrade is complete, the device automatically reboots into the new version.
如图7所示,本示例提供了一种空中下载技术升级装置,应用于用户设备701,包括数据传输模块7011、功能展示模块7012和升级模块7013:As shown in FIG. 7, the example provides an over-the-air technology upgrade device, which is applied to the user equipment 701, and includes a data transmission module 7011, a function display module 7012, and an upgrade module 7013:
数据传输模块7011,设置为接收服务器推送的本次升级提供的新附加功能的信息并发送给功能展示模块7012;向服务器反馈用户的升级定制信息;接收服务器分发的附加功能回退升级包、基础版本升级包和附加功能添加升级包并发送给升级模块7013;The data transmission module 7011 is configured to receive information about the new additional function provided by the server for the upgrade and send it to the function display module 7012; feed back the upgrade information of the user to the server; and receive the additional function of the server to roll back the upgrade package, and the basis The version upgrade package and additional functions add the upgrade package and send it to the upgrade module 7013;
功能展示模块7012,设置为向用户展示当前版本已经安装和未安装的附加功能的信息和本次升级提供的新附加功能的信息;The function display module 7012 is configured to display information about the additional functions that the current version has been installed and not installed, and information about the new additional functions provided by the upgrade;
升级模块7013,设置为依次下载并安装服务器分发的附加功能回退升级包、基础版本升级包和附加功能添加升级包。The upgrade module 7013 is configured to sequentially download and install the additional function rollback upgrade package, the base version upgrade package, and the additional function of the server distribution to add the upgrade package.
其中,功能展示模块7012,还设置为根据用户的使用习惯从当前版本的已经安装和未安装的附加功能列表和本次升级提供的新附加功能列表中选择附加功能推荐列表,并将附加功能推荐列表展示给用户。The function display module 7012 is further configured to select an additional function recommendation list from the list of the installed and uninstalled additional functions of the current version and the new additional function list provided by the current upgrade according to the usage habit of the user, and recommend the additional function. The list is shown to the user.
如图7所示,本示例提供了一种空中下载技术升级装置,应用于服务器702,包括数据传输模块7021、定向推送模块7022和升级包制作模块7023:As shown in FIG. 7, the present example provides an over-the-air technology upgrade device, which is applied to the server 702, and includes a data transmission module 7021, a directional push module 7022, and an upgrade package creation module 7023:
数据传输模块7021,用于将本次升级提供的新附加功能的信息发送给用户设备701;接收用户设备701反馈的用户的升级定制信息并将其发送给定向推送模块7022;将附加功能回退升级包、基础版本升级包和附加功能添加升级包发送给用户设备701;The data transmission module 7021 is configured to send information about the new additional function provided by the current upgrade to the user equipment 701; receive the upgrade customization information of the user fed back by the user equipment 701 and send it to the directional push module 7022; The upgrade package, the basic version upgrade package, and the additional function add upgrade package are sent to the user device 701;
定向推送模块7022,设置为将本次升级提供的新功能的信息发送给数据传输模块7021;将用户的升级定制信息发送给升级包制作模块7023;将附加功能回退升级包、基础版本升级包和附加功能添加升级包发送给数据传输模 块7021;The directional push module 7022 is configured to send information about the new function provided by the upgrade to the data transmission module 7021; send the upgrade customization information of the user to the upgrade package creation module 7023; and roll back the upgrade package and the basic version upgrade package. And additional features to add upgrade packages to the data transfer module Block 7021;
升级包制作模块7023,设置为根据用户的升级定制信息制作本次升级用的附加功能回退升级包、基础版本升级包和附加功能添加升级包,并将其发送给定向推送模块7022;The upgrade package creation module 7023 is configured to create an additional function rollback upgrade package, a basic version upgrade package, and an additional function add upgrade package for the upgrade according to the upgrade information of the user, and send the upgrade package to the directional push module 7022;
上述实施例提供的一种空中下载技术升级方法和装置,将OTA升级流程改造为三段式升级方式,在升级的第一阶段通过功能卸载回退包将用户当前版本的各个功能点进行回退,得到一个不包含附加功能和特性的基础版本,在第二阶段进行基础版本的升级,该阶段的升级主要是修复前一版本的不足和漏洞和提升系统安全性,不引入功能,在第三阶段从新的基础版本进行升级,添加用户选择的功能,这种三段式升级的方式抛弃了传统的仅在源版本和目标版本之间做差分的方式,从而在有多个源版本和目标版本的情况下,大大减少了需要制作、分发的升级包的个数,实现了用户可定制的OTA升级,提高用户体验。The method and device for upgrading the over-the-air technology provided by the foregoing embodiment, the OTA upgrade process is transformed into a three-stage upgrade mode, and the function release offloading package is used to roll back the function points of the current version of the user in the first phase of the upgrade. Get a basic version that does not contain additional features and features, and upgrade the base version in the second phase. The upgrade of this phase is mainly to fix the deficiencies and vulnerabilities of the previous version and improve system security, without introducing features, in the third The phase is upgraded from the new base version, adding user-selected features. This three-stage upgrade eliminates the traditional way of making differences only between the source and target versions, resulting in multiple source and target versions. In this case, the number of upgrade packages that need to be produced and distributed is greatly reduced, and user-customizable OTA upgrades are implemented to improve the user experience.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件(例如处理器)完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现,相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,也可以采用软件功能模块的形式实现,例如通过集成电路来实现其相应功能,也可以采用软件功能模块的形式实现,例如通过处理器执行存储与存储器中的程序/指令来实现其相应功能。本发明不限制于任何特定形式的硬件和软件的结合。One of ordinary skill in the art will appreciate that all or a portion of the above steps may be performed by a program to instruct related hardware, such as a processor, which may be stored in a computer readable storage medium, such as a read only memory, disk or optical disk. Wait. Optionally, all or part of the steps of the foregoing embodiments may also be implemented by using one or more integrated circuits. Accordingly, each module/unit in the foregoing embodiment may be implemented in the form of hardware, or may be implemented by using a software function module. Formal implementations, such as through integrated circuits to implement their respective functions, may also be implemented in the form of software functional modules, such as by executing a program and instructions in a memory and memory to perform their respective functions. The invention is not limited to any specific form of combination of hardware and software.
需要说明的是,本发明还可有其他多种实施例,在不背离本发明精神及其实质的情况下,熟悉本领域的技术人员可根据本发明作出各种相应的改变和变形,但这些相应的改变和变形都应属于本发明所附的权利要求的保护范围。 It is to be understood that the invention may be susceptible to various other modifications and changes in the embodiments of the present invention without departing from the spirit and scope of the invention. Corresponding changes and modifications are intended to be included within the scope of the appended claims.
工业实用性Industrial applicability
上述技术方案在有多个源版本和目标版本的情况下,大大减少了需要制作、分发的升级包的个数,实现了用户可定制的OTA升级,提高了用户体验。 The above technical solution greatly reduces the number of upgrade packages that need to be produced and distributed in the case of multiple source versions and target versions, and implements a user-customizable OTA upgrade, thereby improving the user experience.

Claims (16)

  1. 一种空中下载技术升级方法,应用于服务器,该方法包括:An air download technology upgrade method is applied to a server, and the method includes:
    向用户设备发送本次升级提供的新附加功能的信息;Sending information about the new additional features provided by this upgrade to the user equipment;
    接收到所述用户设备反馈的升级定制信息后,根据所述升级定制信息制作本次升级用的附加功能回退升级包、基础版本升级包和附加功能添加升级包;After receiving the upgrade customization information fed back by the user equipment, the additional function rollback upgrade package, the basic version upgrade package, and the additional function add upgrade package for the upgrade are generated according to the upgrade customization information;
    向所述用户设备分发所述附加功能回退升级包、基础版本升级包和附加功能添加升级包。The additional function rollback upgrade package, the base version upgrade package, and the additional function are added to the user equipment to add an upgrade package.
  2. 如权利要求1所述的方法,其中,The method of claim 1 wherein
    所述用户设备反馈的升级定制信息包括:用户设备标识、所述用户设备使用的当前版本的版本信息和已经安装的附加功能的信息、以及用户定制的需要安装的附加功能的信息。The upgrade customization information fed back by the user equipment includes: a user equipment identifier, version information of a current version used by the user equipment, and information of an installed additional function, and information customized by the user for additional functions to be installed.
  3. 如权利要求2所述的方法,其中,The method of claim 2, wherein
    所述根据所述升级定制信息制作本次升级用的附加功能回退升级包、基础版本升级包和附加功能添加升级包,包括:And the adding the upgrade function, the basic version upgrade package, and the additional function to add the upgrade package for the upgrade according to the upgrade customization information, including:
    根据当前版本的版本信息和已经安装的附加功能的信息,制作用于在所述当前版本上卸载掉所有已经安装的附加功能的附加功能回退升级包;Making an additional function rollback upgrade package for uninstalling all installed additional functions on the current version according to the version information of the current version and the information of the installed additional functions;
    根据当前版本的版本信息,制作用于将当前版本的基础部分升级为新版本的基础部分的基础版本升级包;以及Based on the version information of the current version, create a base version upgrade package for upgrading the base portion of the current version to the base portion of the new version;
    根据用户定制的需要安装的附加功能的信息,制作用于在新版本的基础部分上下载并安装用户定制的所有附加功能的附加功能添加升级包。Add an upgrade package to add additional features for downloading and installing all of the user-customized add-on features on the base of the new version based on user-customized information about the additional features that need to be installed.
  4. 一种空中下载技术升级方法,应用于用户设备,该方法包括:An air download technology upgrade method is applied to user equipment, and the method includes:
    接收到服务器推送的本次升级提供的新功能的信息后,向用户提供当前版本已经安装和未安装的附加功能的信息和本次升级提供的新附加功能的信息;After receiving the information of the new function provided by the server for the upgrade, the user is provided with the information of the additional function that the current version has been installed and not installed, and the information of the new additional function provided by the upgrade;
    在检测到用户选择了需要添加和/或卸载的附加功能后,确定用户的升级 定制信息并反馈给所述服务器;Determine the user's upgrade after detecting that the user has selected additional features that need to be added and/or uninstalled Customizing information and feeding back to the server;
    从所述服务器处依次下载并安装附加功能回退升级包、基础版本升级包和附加功能添加升级包。Download and install the add-on feature rollback upgrade package, the base version upgrade package, and additional features from the server to add the upgrade package.
  5. 如权利要求4所述的方法,其中,The method of claim 4, wherein
    所述用户的升级定制信息包括:用户设备标识、用户使用的当前版本的版本信息和已经安装的附加功能的信息、以及用户定制的需要安装的附加功能的信息。The upgrade customization information of the user includes: a user equipment identifier, version information of a current version used by the user, and information of an installed additional function, and information customized by the user for additional functions to be installed.
  6. 如权利要求4或5所述的方法,其中,The method according to claim 4 or 5, wherein
    所述从所述服务器处依次下载并安装所述附加功能回退升级包、基础版本升级包和附加功能添加升级包,包括:And downloading and installing the additional function rollback upgrade package, the basic version upgrade package, and the additional function to add the upgrade package from the server, including:
    下载并安装所述附加功能回退升级包,卸载当前版本的所有附加功能,卸载完成后,下载并安装所述基础版本升级包,将当前版本的基础部分升级为新版本的基础部分,升级完成后,下载并安装附加功能添加升级包,为新版本添加用户定制的所有附加功能。Download and install the additional function to roll back the upgrade package, uninstall all the additional features of the current version. After the uninstallation is completed, download and install the basic version upgrade package, upgrade the basic part of the current version to the basic part of the new version, and complete the upgrade. After that, download and install the add-on feature to add the upgrade package to add all the additional features customized by the new version.
  7. 如权利要求4或5所述的方法,其中,The method according to claim 4 or 5, wherein
    所述向用户提供当前版本已经安装和未安装的附加功能的信息和本次升级提供的新附加功能的信息包括:The information of providing the user with additional functions that the current version has been installed and not installed and the new additional functions provided by the upgrade include:
    根据用户的使用习惯从当前版本的已经安装和未安装的附加功能列表和本次升级提供的新附加功能列表中选择附加功能推荐列表,并将所述附加功能推荐列表反馈给用户。The additional function recommendation list is selected from the list of the installed and uninstalled additional functions of the current version and the new additional function list provided by the current upgrade according to the user's usage habit, and the additional function recommendation list is fed back to the user.
  8. 一种空中下载技术升级装置,应用于服务器,包括:An over-the-air download technology upgrade device applied to a server, including:
    信息推送模块,设置为向用户设备发送本次升级提供的新附加功能的信息;The information pushing module is configured to send information of the new additional function provided by the upgrade to the user equipment;
    升级包制作模块,设置为接收到所述用户设备反馈的升级定制信息后,根据所述升级定制信息制作本次升级用的附加功能回退升级包、基础版本升级包和附加功能添加升级包; The upgrade package creation module is configured to: after receiving the upgrade customization information fed back by the user equipment, create an additional function rollback upgrade package, a basic version upgrade package, and an additional function add upgrade package for the upgrade according to the upgrade customization information;
    升级包分发模块,设置为向所述用户设备分发所述附加功能回退升级包、基础版本升级包和附加功能添加升级包。An upgrade package distribution module is configured to distribute the additional function fallback upgrade package, a base version upgrade package, and an additional function to the user device to add an upgrade package.
  9. 如权利要求8所述的装置,其中,The device of claim 8 wherein
    所述用户设备反馈的升级定制信息包括:用户设备标识、所述用户设备使用的当前版本的版本信息和已经安装的附加功能的信息、以及用户定制的需要安装的附加功能的信息。The upgrade customization information fed back by the user equipment includes: a user equipment identifier, version information of a current version used by the user equipment, and information of an installed additional function, and information customized by the user for additional functions to be installed.
  10. 如权利要求9所述的装置,其中,The device according to claim 9, wherein
    所述升级包制作模块是设置为采用以下方式实现根据所述升级定制信息制作本次升级用的附加功能回退升级包、基础版本升级包和附加功能添加升级包:The upgrade package creation module is configured to implement an additional function rollback upgrade package, a basic version upgrade package, and an additional function add upgrade package for the upgrade according to the upgrade customization information.
    根据当前版本的版本信息和已经安装的附加功能的信息,制作用于在所述当前版本上卸载掉所有已经安装的附加功能的附加功能回退升级包;Making an additional function rollback upgrade package for uninstalling all installed additional functions on the current version according to the version information of the current version and the information of the installed additional functions;
    根据当前版本的版本信息,制作用于将当前版本的基础部分升级为新版本的基础部分的基础版本升级包;以及Based on the version information of the current version, create a base version upgrade package for upgrading the base portion of the current version to the base portion of the new version;
    根据用户定制的需要安装的附加功能的信息,制作用于在新版本的基础部分上下载并安装用户定制的所有附加功能的附加功能添加升级包。Add an upgrade package to add additional features for downloading and installing all of the user-customized add-on features on the base of the new version based on user-customized information about the additional features that need to be installed.
  11. 一种空中下载技术升级装置,应用于用户设备,包括:An over-the-air download technology upgrade device is applied to user equipment, including:
    信息接收及展示模块,设置为接收到服务器推送的本次升级提供的新功能的信息后,向用户提供当前版本已经安装和未安装的附加功能的信息和本次升级提供的新附加功能的信息;The information receiving and displaying module is configured to receive the information of the new function provided by the server and the new function provided by the current upgrade after receiving the information of the new function provided by the server for the upgrade. ;
    功能定制模块,设置为在检测到用户选择了需要添加和/或卸载的附加功能后,确定用户的升级定制信息并反馈给所述服务器;a function customization module, configured to determine an upgrade customization information of the user and feed back to the server after detecting that the user selects an additional function that needs to be added and/or uninstalled;
    升级包下载及安装模块,设置为从所述服务器处依次下载并安装附加功能回退升级包、基础版本升级包和附加功能添加升级包。The upgrade package download and installation module is set to download and install an additional function rollback upgrade package, a basic version upgrade package, and an additional function to add an upgrade package from the server.
  12. 如权利要求11所述的装置,其中,The device of claim 11 wherein
    所述用户的升级定制信息包括:用户设备标识、用户使用的当前版本的 版本信息和已经安装的附加功能的信息、以及用户定制的需要安装的附加功能的信息。The upgrade customization information of the user includes: a user equipment identifier, and a current version used by the user. Version information and information about additional features that have been installed, as well as information customized by the user to install additional features.
  13. 如权利要求11或12所述的装置,其中,The apparatus according to claim 11 or 12, wherein
    升级包下载及安装模块是设置为:The upgrade package download and installation module is set to:
    下载并安装所述附加功能回退升级包,卸载当前版本的所有附加功能,卸载完成后,下载并安装所述基础版本升级包,将当前版本的基础部分升级为新版本的基础部分,升级完成后,下载并安装附加功能添加升级包,为新版本添加用户定制的所有附加功能。Download and install the additional function to roll back the upgrade package, uninstall all the additional features of the current version. After the uninstallation is completed, download and install the basic version upgrade package, upgrade the basic part of the current version to the basic part of the new version, and complete the upgrade. After that, download and install the add-on feature to add the upgrade package to add all the additional features customized by the new version.
  14. 如权利要求11或12所述的装置,其中,The apparatus according to claim 11 or 12, wherein
    信息接收及展示模块是设置为采用以下方式实现向用户提供当前版本已经安装和未安装的附加功能的信息和本次升级提供的新附加功能的信息:The information receiving and displaying module is configured to provide the user with information on the additional functions that the current version has installed and not installed, and new additional functions provided by the upgrade in the following manner:
    根据用户的使用习惯从当前版本的已经安装和未安装的附加功能列表和本次升级提供的新附加功能列表中选择附加功能推荐列表,并将所述附加功能推荐列表反馈给用户。The additional function recommendation list is selected from the list of the installed and uninstalled additional functions of the current version and the new additional function list provided by the current upgrade according to the user's usage habit, and the additional function recommendation list is fed back to the user.
  15. 一种计算机可读存储介质,存储有计算机可执行指令,计算机可执行指令用于执行权利要求1~3任意一项所述的方法。A computer readable storage medium storing computer executable instructions for performing the method of any one of claims 1 to 3.
  16. 一种计算机可读存储介质,存储有计算机可执行指令,计算机可执行指令用于执行权利要求4~7任意一项所述的方法。 A computer readable storage medium storing computer executable instructions for performing the method of any one of claims 4-7.
PCT/CN2016/075355 2015-10-30 2016-03-02 Upgrade method and apparatus using over-the-air download technology WO2016177061A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510730855.4 2015-10-30
CN201510730855.4A CN106658475B (en) 2015-10-30 2015-10-30 Method and device for upgrading over-the-air technology

Publications (1)

Publication Number Publication Date
WO2016177061A1 true WO2016177061A1 (en) 2016-11-10

Family

ID=57217415

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/075355 WO2016177061A1 (en) 2015-10-30 2016-03-02 Upgrade method and apparatus using over-the-air download technology

Country Status (2)

Country Link
CN (1) CN106658475B (en)
WO (1) WO2016177061A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110149224A (en) * 2019-05-10 2019-08-20 上海擎感智能科技有限公司 Upgrade notification method and device, storage medium and terminal in the download technology of space
CN111158718A (en) * 2019-12-26 2020-05-15 智车优行科技(北京)有限公司 Local communication server, OTA (over the air) upgrading method thereof and cloud server
CN111309338A (en) * 2020-02-12 2020-06-19 杭州涂鸦信息技术有限公司 Method and system for importing difference firmware
CN111949298A (en) * 2020-08-21 2020-11-17 湖南快乐阳光互动娱乐传媒有限公司 Generation method and device of upgrade package, server and computer storage medium
CN112188434A (en) * 2020-09-21 2021-01-05 西安墨科通讯科技有限公司 OTA (over the air) upgrading method and system
CN112312213A (en) * 2019-07-30 2021-02-02 青岛海信传媒网络技术有限公司 Upgrading method of digital television system and related device

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107239309B (en) * 2017-06-06 2021-03-02 网易(杭州)网络有限公司 Patch generation method and device, updating method, electronic device and storage medium
CN107291515B (en) * 2017-07-10 2020-09-25 北京明朝万达科技股份有限公司 Client intelligent upgrading method and system based on state feedback
CN108269166A (en) * 2017-12-05 2018-07-10 青岛海尔工业智能研究院有限公司 Upgrade method, device, server and the storage medium of customed product
CN108134874A (en) * 2017-12-20 2018-06-08 维沃移动通信有限公司 A kind of function recommends method and mobile terminal
CN108270870B (en) * 2018-01-30 2020-04-07 维沃移动通信有限公司 Prompt message pushing method and device
CN109495590B (en) * 2018-12-29 2021-10-19 思必驰科技股份有限公司 Method and system for expanding voice product function of terminal equipment
CN110569311B (en) * 2019-10-30 2020-07-10 上海商魁信息科技有限公司 Data synchronization method and device for database and computer storage medium
CN112860287A (en) * 2021-01-18 2021-05-28 深圳市锐尔觅移动通信有限公司 System program upgrading method and device, computer equipment and storage medium
CN115514741A (en) * 2021-06-23 2022-12-23 华为技术有限公司 OTA (over the air) upgrading method and device and computer readable storage medium
CN113504925A (en) * 2021-06-28 2021-10-15 中汽创智科技有限公司 Over-the-air upgrading method, upgrading system and electronic equipment
CN114268941A (en) * 2021-12-27 2022-04-01 北京自如信息科技有限公司 Target equipment upgrading method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050079863A1 (en) * 2003-10-08 2005-04-14 Macaluso Anthony G. Over the air provisioning of mobile device settings
CN101002406A (en) * 2004-06-10 2007-07-18 三星电子株式会社 Apparatus and method for efficient generation of delta files for over-the-air upgrades in a wireless network
CN102147841A (en) * 2011-03-09 2011-08-10 中兴通讯股份有限公司 Terminal data memory card and realization method thereof
CN103136013A (en) * 2011-12-01 2013-06-05 腾讯科技(深圳)有限公司 Method and system of software upgrade
CN104391728A (en) * 2014-12-12 2015-03-04 北京奇虎科技有限公司 Software upgrading delta pack acquiring method, corresponding upgrading method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9710250B2 (en) * 2013-03-15 2017-07-18 Microsoft Technology Licensing, Llc Mechanism for safe and reversible rolling upgrades
CN103259936B (en) * 2013-05-21 2014-11-19 东莞宇龙通信科技有限公司 Operating system upgrade method for mobile terminal and operating system upgrade device of operating system upgrade method
CN103313229B (en) * 2013-05-27 2017-04-19 华为终端有限公司 Method and device for upgrading aerial downloading technology
CN103544033B (en) * 2013-09-30 2017-02-08 小米科技有限责任公司 Method, device and associated equipment for rolling back application program
CN104965736B (en) * 2015-06-19 2018-04-27 青岛海信移动通信技术股份有限公司 A kind of method and device continuously upgraded

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050079863A1 (en) * 2003-10-08 2005-04-14 Macaluso Anthony G. Over the air provisioning of mobile device settings
CN101002406A (en) * 2004-06-10 2007-07-18 三星电子株式会社 Apparatus and method for efficient generation of delta files for over-the-air upgrades in a wireless network
CN102147841A (en) * 2011-03-09 2011-08-10 中兴通讯股份有限公司 Terminal data memory card and realization method thereof
CN103136013A (en) * 2011-12-01 2013-06-05 腾讯科技(深圳)有限公司 Method and system of software upgrade
CN104391728A (en) * 2014-12-12 2015-03-04 北京奇虎科技有限公司 Software upgrading delta pack acquiring method, corresponding upgrading method and device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110149224A (en) * 2019-05-10 2019-08-20 上海擎感智能科技有限公司 Upgrade notification method and device, storage medium and terminal in the download technology of space
CN112312213A (en) * 2019-07-30 2021-02-02 青岛海信传媒网络技术有限公司 Upgrading method of digital television system and related device
CN111158718A (en) * 2019-12-26 2020-05-15 智车优行科技(北京)有限公司 Local communication server, OTA (over the air) upgrading method thereof and cloud server
CN111309338A (en) * 2020-02-12 2020-06-19 杭州涂鸦信息技术有限公司 Method and system for importing difference firmware
CN111949298A (en) * 2020-08-21 2020-11-17 湖南快乐阳光互动娱乐传媒有限公司 Generation method and device of upgrade package, server and computer storage medium
CN112188434A (en) * 2020-09-21 2021-01-05 西安墨科通讯科技有限公司 OTA (over the air) upgrading method and system

Also Published As

Publication number Publication date
CN106658475B (en) 2020-07-07
CN106658475A (en) 2017-05-10

Similar Documents

Publication Publication Date Title
WO2016177061A1 (en) Upgrade method and apparatus using over-the-air download technology
US10348861B2 (en) Software upgrade method and terminal
US9146729B2 (en) Deployment and updating of applications and drivers on a client device using an extensible markup language (XML) configuration file
CN104991793B (en) A kind of method, apparatus and system for application program subpackage
EP2786279B1 (en) Deployment of a driver or an application on a client device having a write-filter
EP3032802B1 (en) Method for sharing application between terminals, and terminals
EP2907099B1 (en) Testing framework for applications
US20150074659A1 (en) Methods and Apparatus to Perform Web-Based Installations and/or Upgrade Architectures for Enterprise Software
US20140380295A1 (en) Method and system for updating application, and computer storage medium thereof
EP2864872B1 (en) Automatic provisioning of a software platform to a device ecosystem
WO2013081681A1 (en) Creation or installation of a disk image for a target device having one of a plurality of hardware platforms
EP2786248A1 (en) Automatic updating of an application or a driver on a client device using a deployment configuration file
CN103701856A (en) Method for defining and acquiring upgrade package of terminal equipment
CN103513998A (en) Method and device for generating upgrade package and method and terminal for upgrading dynamic documents in difference mode
CN103353845A (en) Method and device for uploading and pushing script
CN110543327B (en) Service component multiplexing method, device, computer equipment and storage medium
KR101541112B1 (en) FOTA system and the method
CN105323269A (en) Method for updating APP in Android system, terminal and storage medium
WO2018033094A1 (en) Rich communication suite release platform, method and system for version update, and mobile terminal
WO2016150387A1 (en) Interface processing method, apparatus, and system
CN104598237B (en) A kind of method and apparatus that user interface is generated under upgrade mode
US20160378553A1 (en) Resource Management Method and Device for Terminal System
CN105700900B (en) A kind of method and device optimizing wireless lan function
WO2016074460A1 (en) Data processing method and device
WO2023020071A1 (en) Upgrade package acquisition method and smart device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16789055

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16789055

Country of ref document: EP

Kind code of ref document: A1