CN103313229B - Method and device for upgrading aerial downloading technology - Google Patents
Method and device for upgrading aerial downloading technology Download PDFInfo
- Publication number
- CN103313229B CN103313229B CN201310200305.2A CN201310200305A CN103313229B CN 103313229 B CN103313229 B CN 103313229B CN 201310200305 A CN201310200305 A CN 201310200305A CN 103313229 B CN103313229 B CN 103313229B
- Authority
- CN
- China
- Prior art keywords
- upgraded
- characteristic
- feature
- user
- ota
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 64
- 238000005516 engineering process Methods 0.000 title abstract description 9
- 238000011084 recovery Methods 0.000 claims 2
- 230000005540 biological transmission Effects 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 16
- 230000008859 change Effects 0.000 description 9
- 238000004891 communication Methods 0.000 description 8
- 238000005192 partition Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 6
- 238000012545 processing Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000012217 deletion Methods 0.000 description 2
- 230000037430 deletion Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/34—Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Stored Programmes (AREA)
Abstract
Description
技术领域technical field
本发明涉及移动通信领域,尤其涉及到一种空中下载技术升级的方法及设备。The invention relates to the field of mobile communication, in particular to a method and equipment for over-the-air technology upgrade.
背景技术Background technique
在空中下载技术(Over-the-Air Technology,OTA)中,运营商将软件版本升级包置于OTA服务器中,手机终端基于当前的软件版本,利用空口(The air interface),自动或者手动搜索相应的软件版本升级包,并将软件版本升级包下载到手机终端上,将本机版本升级为新的软件版本。当前,各终端设备商与运营商合作,根据市场要求和客户反馈,在旧软件版本的基础上添加新特性,制作差分包,利用OTA技术,将用户当前版本更新为较新软件版本,灵活方便的去满足市场和客户的需求。In the Over-the-Air Technology (OTA), the operator puts the software version upgrade package in the OTA server, and the mobile terminal automatically or manually searches for the corresponding software version based on the current software version by using the air interface (The air interface). The software version upgrade package, and the software version upgrade package is downloaded to the mobile terminal, and the local version is upgraded to a new software version. At present, various terminal equipment manufacturers cooperate with operators to add new features to the old software version based on market requirements and customer feedback, make differential packages, and use OTA technology to update the current version of the user to a newer software version, which is flexible and convenient To meet the needs of the market and customers.
当用户将手机终端当前旧软件版本版本升级为新软件版本时,运营商定制的所有特性在用户的手机终端中强制升级并生效。由此现有技术无法针对用户提供多元化和个性化的升级服务。When the user upgrades the current old software version of the mobile terminal to a new software version, all features customized by the operator will be forced to be upgraded in the user's mobile terminal and take effect. Therefore, the prior art cannot provide diversified and personalized upgrade services for users.
发明内容Contents of the invention
本发明实施例提供了一种空中下载技术升级的方法及设备,旨在解决如何针对用户提供多元化和个性化的升级服务的问题。Embodiments of the present invention provide a method and device for over-the-air technology upgrade, aiming at solving the problem of how to provide diversified and personalized upgrade services for users.
第一方面,一种空中下载技术OTA升级的方法,所述方法包括:In the first aspect, a method for OTA upgrade of over-the-air technology, the method includes:
接收OTA服务器发送的特性目录;所述特性目录包括待升级的特性信息,所述特性目录根据新软件版本与旧软件版本的差异得到;Receiving the feature directory sent by the OTA server; the feature directory includes feature information to be upgraded, and the feature directory is obtained according to the difference between the new software version and the old software version;
获取用户从所述特性目录中选择的待升级的特性;Obtain the feature to be upgraded selected by the user from the feature catalog;
升级用户选择的待升级的特性。Upgrade the features to be upgraded selected by the user.
结合第一方面,在第一方面的第一种可能的实现方式中,所述升级用户选择的待升级的特性,包括:With reference to the first aspect, in a first possible implementation manner of the first aspect, the upgrading of the characteristics to be upgraded selected by the user includes:
根据从所述OTA服务器接收到的OTA升级包对所述特性目录中的所有特性进行升级,所述特性目录包括在所述OTA升级包中;upgrading all the features in the feature directory according to the OTA upgrade package received from the OTA server, the feature directory being included in the OTA update package;
将所述特性目录中未被选择的待升级的特性恢复为升级之前的特性。The unselected features to be upgraded in the feature directory are restored to the features before the upgrade.
结合第一方面的第一种可能的实现方式,在第一方面的第二种可能的实现方式中,所述将所述特性目录中未被选择的待升级的特性恢复为升级之前的特性,包括:With reference to the first possible implementation of the first aspect, in the second possible implementation of the first aspect, the restoration of the unselected features to be upgraded in the feature directory to the features before the upgrade, include:
当所述未被选择的待升级的特性的属性是新增时,删除所述未被选择的待升级的特性;When the attributes of the unselected characteristics to be upgraded are newly added, deleting the unselected characteristics to be upgraded;
当所述未被选择的待升级的特性的属性是更新时,使用升级之前所述未被选择的待升级的特性;When the attributes of the unselected characteristics to be upgraded are updated, using the unselected characteristics to be upgraded before the upgrade;
当所述未被选择的特性的属性是删除时,恢复升级之前所述未被选择的待升级的特性。When the attribute of the unselected characteristic is delete, restore the unselected characteristic to be upgraded before the upgrade.
结合第一方面的第二种可能的实现方式,在第一方面第三种可能的实现方式中,所述将所述特性目录中未被选择的待升级的特性恢复为升级之前的特性之前,所述方法还包括:With reference to the second possible implementation of the first aspect, in the third possible implementation of the first aspect, before restoring the unselected features to be upgraded in the feature catalog to the features before the upgrade, The method also includes:
从所述OTA升级包携带的日志记录表中获取所述未被选择的待升级的特性的属性;Obtain the attributes of the unselected features to be upgraded from the log record table carried by the OTA upgrade package;
所述日志记录表根据新软件版本与旧软件版本的差异得到,所述日志记录表中包括所有所述待升级的特性信息的属性信息;所述属性信息包括:新增、更新或删除。The log record table is obtained according to the difference between the new software version and the old software version, and the log record table includes attribute information of all the characteristic information to be upgraded; the attribute information includes: adding, updating or deleting.
结合第一方面,在第一方面的第四种可能的实现方式中,所述升级用户选择的待升级的特性,包括:With reference to the first aspect, in a fourth possible implementation manner of the first aspect, the upgrading of the characteristics to be upgraded selected by the user includes:
将用户选择的待升级的特性的信息发送到所述OTA服务器;Send the information of the characteristics to be upgraded selected by the user to the OTA server;
接收从所述OTA服务器返回的所述用户选择的待升级的特性对应的升级包;receiving an upgrade package corresponding to the feature to be upgraded selected by the user returned from the OTA server;
根据所述用户选择的待升级的特性对应的升级包对所述用户选择的待升级的特性进行升级。The feature to be upgraded selected by the user is upgraded according to the upgrade package corresponding to the feature to be upgraded selected by the user.
第二方面,一种空中下载技术OTA升级的方法,所述方法包括:In a second aspect, a method for OTA upgrade of over-the-air technology, the method includes:
向终端发送特性目录,以使得所述终端获取用户从所述特性目录中选择的待升级的特性,并升级用户选择的待升级的特性;所述特性目录包括待升级的特性信息,所述特性目录根据新软件版本与旧软件版本的差异得到。sending the feature list to the terminal, so that the terminal acquires the feature to be upgraded selected by the user from the feature list, and upgrades the feature to be upgraded selected by the user; the feature list includes feature information to be upgraded, and the feature The catalog is derived from the difference between the new software version and the old software version.
结合第二方面,在第二方面的第一种可能的实现方式中,所述特性目录包括在向所述终端发送的OTA升级包中。With reference to the second aspect, in a first possible implementation manner of the second aspect, the feature directory is included in an OTA upgrade package sent to the terminal.
结合第二方面的第一种可能的实现方式,在第二方面的第二种可能的实现方式中,所述方法还包括:向所述终端发送日志记录表,以使所述终端根据所述日志记录表升级用户选择的待升级的特性;With reference to the first possible implementation of the second aspect, in a second possible implementation of the second aspect, the method further includes: sending a log record table to the terminal, so that the terminal The log record table upgrades the features to be upgraded selected by the user;
所述日志记录表包括在向所述终端发送的OTA升级包中;所述日志记录表根据新软件版本与旧软件版本的差异得到,所述日志记录表中包括所有所述待升级的特性信息的属性信息;所述属性信息包括:新增、更新或删除。The log record table is included in the OTA upgrade package sent to the terminal; the log record table is obtained according to the difference between the new software version and the old software version, and the log record table includes all the characteristic information to be upgraded attribute information; the attribute information includes: adding, updating or deleting.
结合第二方面,在第二方面的第三种可能的实现方式中,所述方法在向终端发送特性目录的步骤之后,还包括:With reference to the second aspect, in a third possible implementation manner of the second aspect, after the step of sending the feature list to the terminal, the method further includes:
接收所述终端发送的用户从所述特性目录中选择的待升级的特性的信息;receiving information about the features to be upgraded selected by the user from the feature catalog sent by the terminal;
向所述终端发送用户选择的待升级的特性对应的升级包,以使得所述终端根据所述用户选择的待升级的特性对应的升级包对所述用户选择的待升级的特性进行升级。Sending an upgrade package corresponding to the characteristic to be upgraded selected by the user to the terminal, so that the terminal upgrades the characteristic to be upgraded selected by the user according to the upgrade package corresponding to the characteristic to be upgraded selected by the user.
第三方面,一种终端,所述终端包括:In a third aspect, a terminal, the terminal includes:
接收单元,用于接收OTA服务器发送的特性目录;所述特性目录包括待升级的特性信息,所述特性目录根据新软件版本与旧软件版本的差异得到;The receiving unit is used to receive the feature catalog sent by the OTA server; the feature catalog includes feature information to be upgraded, and the feature catalog is obtained according to the difference between the new software version and the old software version;
获取单元,用于获取用户从所述特性目录中选择的待升级的特性;an acquiring unit, configured to acquire the feature to be upgraded selected by the user from the feature catalog;
升级单元,用于升级用户选择的待升级的特性。The upgrade unit is used for upgrading the feature to be upgraded selected by the user.
结合第三方面,在第三方面的第一种可能的实现方式中,所述升级单元,具体用于:With reference to the third aspect, in a first possible implementation manner of the third aspect, the upgrading unit is specifically used for:
根据从所述OTA服务器接收到的OTA升级包对所述特性目录中的所有特性进行升级,所述特性目录包括在所述OTA升级包中;upgrading all the features in the feature directory according to the OTA upgrade package received from the OTA server, the feature directory being included in the OTA update package;
将所述特性目录中未被选择的待升级的特性恢复为升级之前的特性。The unselected features to be upgraded in the feature directory are restored to the features before the upgrade.
结合第三方面的第一种可能的实现方式,在第三方面的第二种可能的实现方式中,所述升级单元执行步骤将所述特性目录中未被选择的待升级的特性恢复为升级之前的特性,包括:With reference to the first possible implementation of the third aspect, in a second possible implementation of the third aspect, the upgrade unit executes the step of restoring unselected features to be upgraded in the feature directory to upgrade Previous features, including:
当所述未被选择的待升级的特性的属性是新增时,删除所述未被选择的待升级的特性;When the attributes of the unselected characteristics to be upgraded are newly added, deleting the unselected characteristics to be upgraded;
当所述未被选择的待升级的特性的属性是更新时,使用升级之前所述未被选择的待升级的特性;When the attributes of the unselected characteristics to be upgraded are updated, using the unselected characteristics to be upgraded before the upgrade;
当所述未被选择的特性的属性是删除时,恢复升级之前所述未被选择的待升级的特性。When the attribute of the unselected characteristic is delete, restore the unselected characteristic to be upgraded before the upgrade.
结合第三方面的第二种可能的实现方式,在第三方面的第三种可能的实现方式中,所述终端还包括获取单元,所述获取单元具体用于:With reference to the second possible implementation manner of the third aspect, in a third possible implementation manner of the third aspect, the terminal further includes an obtaining unit, and the obtaining unit is specifically configured to:
在所述升级单元将所述特性目录中未被选择的待升级的特性恢复为升级之前的特性之前,从所述OTA升级包携带的日志记录表中获取所述未被选择的待升级的特性的属性;Before the upgrade unit restores the unselected features to be upgraded in the feature directory to the features before the upgrade, obtain the unselected features to be upgraded from the log record table carried in the OTA upgrade package properties;
所述日志记录表根据新软件版本与旧软件版本的差异得到,所述日志记录表中包括所有所述待升级的特性信息的属性信息;所述属性信息包括:新增、更新或删除。The log record table is obtained according to the difference between the new software version and the old software version, and the log record table includes attribute information of all the characteristic information to be upgraded; the attribute information includes: adding, updating or deleting.
结合第三方面,在第三方面的第四种可能的实现方式中,所述升级单元,具体用于:With reference to the third aspect, in a fourth possible implementation manner of the third aspect, the upgrading unit is specifically used for:
将用户选择的待升级的特性的信息发送到所述OTA服务器;Send the information of the characteristics to be upgraded selected by the user to the OTA server;
接收从所述OTA服务器返回的所述用户选择的待升级的特性对应的升级包;receiving an upgrade package corresponding to the feature to be upgraded selected by the user returned from the OTA server;
根据所述用户选择的待升级的特性对应的升级包对所述用户选择的待升级的特性进行升级。The feature to be upgraded selected by the user is upgraded according to the upgrade package corresponding to the feature to be upgraded selected by the user.
第四方面,一种服务器,所述服务器包括:In a fourth aspect, a server, the server includes:
发送单元,用于向终端发送特性目录,以使得所述终端获取用户从所述特性目录中选择的待升级的特性,并升级用户选择的待升级的特性;所述特性目录包括待升级的特性信息,所述特性目录根据新软件版本与旧软件版本的差异得到。A sending unit, configured to send a feature list to the terminal, so that the terminal acquires the feature to be upgraded selected by the user from the feature list, and upgrades the feature to be upgraded selected by the user; the feature list includes the feature to be upgraded Information, the feature list is obtained according to the difference between the new software version and the old software version.
结合第四方面,在第四方面的第一种可能的实现方式中,所述特性目录包括在向所述终端发送的OTA升级包中。With reference to the fourth aspect, in a first possible implementation manner of the fourth aspect, the feature directory is included in an OTA update package sent to the terminal.
结合第四方面的第一种可能的实现方式,在第四方面的第二种可能的实现方式中,所述服务器还包括发送子单元,所述发送子单元具体用于:With reference to the first possible implementation manner of the fourth aspect, in a second possible implementation manner of the fourth aspect, the server further includes a sending subunit, and the sending subunit is specifically configured to:
向所述终端发送日志记录表,以使所述终端根据所述日志记录表升级用户选择的待升级的特性;sending a log record table to the terminal, so that the terminal upgrades the feature to be upgraded selected by the user according to the log record table;
所述日志记录表包括在向所述终端发送的OTA升级包中;所述日志记录表根据新软件版本与旧软件版本的差异得到,所述日志记录表中包括所有所述待升级的特性信息的属性信息;所述属性信息包括:新增、更新或删除。The log record table is included in the OTA upgrade package sent to the terminal; the log record table is obtained according to the difference between the new software version and the old software version, and the log record table includes all the characteristic information to be upgraded attribute information; the attribute information includes: adding, updating or deleting.
结合第四方面,在第四方面的第三种可能的实现方式中,所述服务器还包括接收单元,所述接收单元具体用于:With reference to the fourth aspect, in a third possible implementation manner of the fourth aspect, the server further includes a receiving unit, and the receiving unit is specifically configured to:
接收所述终端发送的用户从所述特性目录中选择的待升级的特性的信息;receiving information about the features to be upgraded selected by the user from the feature catalog sent by the terminal;
所述发送单元还用于:The sending unit is also used for:
向所述终端发送用户选择的待升级的特性对应的升级包,以使得所述终端根据所述用户选择的待升级的特性对应的升级包对所述用户选择的待升级的特性进行升级。Sending an upgrade package corresponding to the characteristic to be upgraded selected by the user to the terminal, so that the terminal upgrades the characteristic to be upgraded selected by the user according to the upgrade package corresponding to the characteristic to be upgraded selected by the user.
本发明实施例,终端可以从OTA服务器接收包括可升级特性信息的特性目录,该特性目录中包括的可升级特性信息可以供用户选择,在用户从特性目录中选择待升级的特性后,终端可以只升级用户选择的待升级的特性,从而使得用户可以灵活方便的选择需要升级的特性,提高用户体验,为用户提供了多元化和个性化的升级服务。In this embodiment of the present invention, the terminal can receive a feature catalog including upgradeable feature information from the OTA server, and the upgradeable feature information included in the feature catalog can be selected by the user. After the user selects the feature to be upgraded from the feature catalog, the terminal can Only the features to be upgraded selected by the user are upgraded, so that the user can flexibly and conveniently select the features to be upgraded, improve user experience, and provide users with diversified and personalized upgrade services.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained based on these drawings without creative effort.
图1是本发明实施例提供的一种OTA升级的方法流程图;Fig. 1 is a kind of method flowchart of OTA upgrade provided by the embodiment of the present invention;
图2是本发明实施例提供的一种OTA升级的方法流程图;FIG. 2 is a flow chart of a method for OTA upgrading provided by an embodiment of the present invention;
图3是本发明实施例提供的一种OTA升级的方法流程图;FIG. 3 is a flow chart of a method for OTA upgrading provided by an embodiment of the present invention;
图4是本发明实施例提供的一种形成日志记录表的方法示意图;FIG. 4 is a schematic diagram of a method for forming a log record table provided by an embodiment of the present invention;
图5是本发明实施例提供的一种获取日志记录表中特性的变更类型的方法示意图;FIG. 5 is a schematic diagram of a method for obtaining a change type of a characteristic in a log record table provided by an embodiment of the present invention;
图6是本发明实施例提供的一种OTA升级的方法流程图;FIG. 6 is a flowchart of a method for OTA upgrading provided by an embodiment of the present invention;
图7是本发明实施例提供的一种显示特性的方法示意图;Fig. 7 is a schematic diagram of a method for displaying characteristics provided by an embodiment of the present invention;
图8是本发明实施例提供的一种OTA升级的方法流程图;FIG. 8 is a flow chart of a method for OTA upgrading provided by an embodiment of the present invention;
图9是本发明实施例提供的一种OTA升级的方法示意图;FIG. 9 is a schematic diagram of an OTA upgrade method provided by an embodiment of the present invention;
图10是本发明实施例提供的一种终端的装置结构图;FIG. 10 is a device structural diagram of a terminal provided by an embodiment of the present invention;
图11是本发明实施例提供的一种服务器的装置结构图;Fig. 11 is a device structural diagram of a server provided by an embodiment of the present invention;
图12是本发明实施例提供的一种终端的装置结构图;FIG. 12 is a device structure diagram of a terminal provided by an embodiment of the present invention;
图13是本发明实施例提供的一种服务器的装置结构图。FIG. 13 is a device structural diagram of a server provided by an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
参考图1,图1是本发明实施例提供的一种OTA升级的方法流程图。如图1所示,所述方法包括以下步骤:Referring to FIG. 1 , FIG. 1 is a flow chart of an OTA upgrade method provided by an embodiment of the present invention. As shown in Figure 1, the method includes the following steps:
步骤101,终端接收OTA服务器发送的特性目录;所述特性目录包括待升级的特性信息,所述特性目录根据新软件版本与旧软件版本的差异得到。Step 101, the terminal receives a feature list sent by an OTA server; the feature list includes feature information to be upgraded, and the feature list is obtained according to the difference between the new software version and the old software version.
OTA服务器中有新软件版本之后,可以向终端发送根据新软件版本和旧软件版本的差异得到的特性目录。其中,特性目录可以包括待升级的特性的所属类别、属性信息等,用户可以根据所述待升级的特性的所属类别和属性信息选择需要升级的升级特性。其中,所属类别是运营商根据所述待升级的特性的升级过程的不同定义的,属性信息是服务器根据所述待升级的特性在新软件版本和旧软件版本的差异得到的。After there is a new software version in the OTA server, the feature catalog obtained according to the difference between the new software version and the old software version can be sent to the terminal. Wherein, the feature catalog may include category and attribute information of the feature to be upgraded, and the user may select the upgrade feature to be upgraded according to the category and attribute information of the feature to be upgraded. Wherein, the category is defined by the operator according to the upgrade process of the characteristic to be upgraded, and the attribute information is obtained by the server according to the difference between the new software version and the old software version of the characteristic to be upgraded.
步骤102,终端获取用户从所述特性目录中选择的待升级的特性。Step 102, the terminal acquires the feature to be upgraded selected by the user from the feature catalog.
当终端的显示界面上显示特性目录时,用户可以从特性目录中选择待升级的特性;例如特性目录中可以包括5个待升级的特性信息,用户可以通过按键或触摸屏或其他方式选择这5个特性信息中的任意一个或多个进行升级,终端可以获取到用户选择的待升级的特性。When the feature list is displayed on the display interface of the terminal, the user can select the feature to be upgraded from the feature list; for example, the feature list can include 5 feature information to be upgraded, and the user can select these 5 features through buttons or touch screen or other methods Any one or more of the characteristic information is upgraded, and the terminal can obtain the characteristic to be upgraded selected by the user.
步骤103,终端升级用户选择的待升级的特性。Step 103, the terminal upgrades the feature to be upgraded selected by the user.
在获取到用户选择的待升级的特性后,终端对这些待升级的特性进行升级。对待升级的特性进行升级的过程,可以包括以下两种可能的实施方式。After acquiring the features to be upgraded selected by the user, the terminal upgrades the features to be upgraded. The process of upgrading the feature to be upgraded may include the following two possible implementation manners.
一种实施方式为:终端根据从OTA服务器接收到的OTA升级包对特性目录中的所有特性进行升级,然后终端将特性目录中未被选择的待升级的特性恢复为升级之前的特性,从而实现了仅针对用户选择的特性进行升级。One implementation is: the terminal upgrades all the features in the feature directory according to the OTA upgrade package received from the OTA server, and then the terminal restores the unselected features to be upgraded in the feature directory to the features before the upgrade, so as to realize Upgrades are made only for user-selected features.
另一种实施方式为:终端从OTA服务器中获取用户选择的特性所对应的升级包,然后根据获取的升级包对用户选择的特性进行升级。Another implementation manner is: the terminal acquires the upgrade package corresponding to the feature selected by the user from the OTA server, and then upgrades the feature selected by the user according to the acquired upgrade package.
本发明实施例提供一种OTA升级的方法,终端可以从OTA服务器接收包括可升级特性信息的特性目录,该特性目录中包括的可升级特性信息可以供用户选择,在用户从特性目录中选择待升级的特性后,终端可以只升级用户选择的待升级的特性,从而使得用户可以灵活方便的选择需要升级的特性,提高用户体验,为用户提供了多元化和个性化的升级服务,同时,使得运营商和设备商合作提供尽可能多的特性,进一步提供用户选择的自由度。An embodiment of the present invention provides an OTA upgrade method. The terminal can receive a feature catalog including upgradeable feature information from the OTA server. The upgradeable feature information included in the feature catalog can be selected by the user. After upgrading the features, the terminal can only upgrade the features that the user chooses to be upgraded, so that the user can flexibly and conveniently select the features that need to be upgraded, improve user experience, and provide users with diversified and personalized upgrade services. Operators and equipment manufacturers cooperate to provide as many features as possible, further providing users with freedom of choice.
参考图2,图2是本发明实施例提供的一种OTA升级的方法流程图。如图2所示,所述方法包括以下步骤:Referring to FIG. 2 , FIG. 2 is a flow chart of an OTA upgrade method provided by an embodiment of the present invention. As shown in Figure 2, the method includes the following steps:
OTA服务器向终端发送特性目录,以使得所述终端获取用户从所述特性目录中选择的待升级的特性,并升级用户选择的待升级的特性;所述特性目录包括待升级的特性信息,所述特性目录根据新软件版本与旧软件版本的差异得到。The OTA server sends the feature catalog to the terminal, so that the terminal obtains the feature to be upgraded selected by the user from the feature catalog, and upgrades the feature to be upgraded selected by the user; the feature catalog includes feature information to be upgraded, so The above feature list is obtained according to the difference between the new software version and the old software version.
第一种可能的实现方式,所述特性目录包括在向所述终端发送的OTA升级包中。In a first possible implementation manner, the feature directory is included in an OTA upgrade package sent to the terminal.
所述OTA升级包是新软件版本和旧软件版本的差分包。The OTA upgrade package is a differential package of the new software version and the old software version.
结合第一种可能的实现方式,所述方法还包括:向所述终端发送日志记录表,以使所述终端根据所述日志记录表升级用户选择的待升级的特性;With reference to the first possible implementation manner, the method further includes: sending a log record table to the terminal, so that the terminal upgrades the feature to be upgraded selected by the user according to the log record table;
所述日志记录表包括在向所述终端发送的OTA升级包中;所述日志记录表根据新软件版本与旧软件版本的差异得到,所述日志记录表中包括所有所述待升级的特性信息的属性信息;所述属性信息包括:新增、更新或删除。The log record table is included in the OTA upgrade package sent to the terminal; the log record table is obtained according to the difference between the new software version and the old software version, and the log record table includes all the characteristic information to be upgraded attribute information; the attribute information includes: adding, updating or deleting.
第二种可能的实现方式,所述方法在向终端发送特性目录的步骤之后,还包括:In a second possible implementation, after the step of sending the feature directory to the terminal, the method further includes:
接收所述终端发送的用户从所述特性目录中选择的待升级的特性的信息;receiving information about the features to be upgraded selected by the user from the feature catalog sent by the terminal;
向所述终端发送用户选择的待升级的特性对应的升级包,以使得所述终端根据所述用户选择的待升级的特性对应的升级包对所述用户选择的待升级的特性进行升级。Sending an upgrade package corresponding to the characteristic to be upgraded selected by the user to the terminal, so that the terminal upgrades the characteristic to be upgraded selected by the user according to the upgrade package corresponding to the characteristic to be upgraded selected by the user.
本发明实施例提供一种OTA升级的方法,所述方法通过接收OTA服务器发送的特性目录,在从所述特性目录中选择待升级的特性后,升级用户选择的待升级的特性,从而使得用户可以灵活方便的选择需要升级的特性,提高用户体验,同时,使得运营商和设备商合作提高尽可能多的特性,进一步提供用户选择的自由度。An embodiment of the present invention provides an OTA upgrade method. The method receives the feature catalog sent by the OTA server, and after selecting the feature to be upgraded from the feature catalog, upgrades the feature to be upgraded selected by the user, so that the user It can flexibly and conveniently select the features that need to be upgraded to improve user experience. At the same time, operators and equipment manufacturers can cooperate to improve as many features as possible, further providing users with freedom of choice.
参考图3,图3是本发明实施例提供的一种OTA升级的方法流程图。本发明实施例并不限于各步骤之间的顺序,以下仅以一种实施方式为例做具体说明。Referring to FIG. 3 , FIG. 3 is a flow chart of an OTA upgrade method provided by an embodiment of the present invention. The embodiment of the present invention is not limited to the order of the steps, and the following only uses one implementation manner as an example for specific description.
如图3所示,所述方法包括以下步骤:As shown in Figure 3, the method includes the following steps:
步骤301,终端接收OTA服务器发送的特性目录,所述特性目录包括待升级的特性信息,所述特性目录根据新软件版本与旧软件版本的差异得到。Step 301, the terminal receives a feature list sent by an OTA server, the feature list includes feature information to be upgraded, and the feature list is obtained according to the difference between the new software version and the old software version.
步骤302,终端接收OTA服务器发送的日志记录表,以使得所述终端根据所述日志记录表升级用户选择的待升级的特性;然后执行步骤303。Step 302, the terminal receives the log record table sent by the OTA server, so that the terminal upgrades the feature to be upgraded selected by the user according to the log record table; and then executes step 303.
需要说明的是,OTA服务器向终端发送的特性目录和日志记录表,可以是包含在OTA服务器向终端发送的OTA升级包中一起发送的。It should be noted that the feature directory and log record table sent by the OTA server to the terminal may be included in the OTA upgrade package sent by the OTA server to the terminal.
具体的,所述日志记录表可以包括所有所述待升级的特性信息所属的类别、全局标识、属性信息等,所述属性信息包括:新增、更新或删除。Specifically, the log record table may include categories, global identifiers, and attribute information of all the characteristic information to be upgraded, and the attribute information includes: adding, updating, or deleting.
特性目录中可以包括所有待升级的特性信息所属的类别、属性信息以及关于特性信息的功能描述。特性目录与日志记录表包括的内容有部分重合,区别在于,特性目录用于在终端的显示界面上显示给用户,可以供用户从中选择待升级的特性;而日志记录表用于:在终端升级用户选择的待升级的特性时,终端通过查询日志记录表来获得特性的信息,或者,日志记录表用于OTA服务器记录新软件版本与旧软件版本的差异。The feature directory may include the category to which all feature information to be upgraded belongs, attribute information, and a function description about the feature information. The contents of the feature directory and the log record table are partially overlapped. The difference is that the feature directory is used to display to the user on the display interface of the terminal, allowing the user to select the feature to be upgraded; and the log record table is used to: upgrade on the terminal When the user selects the feature to be upgraded, the terminal obtains the feature information by querying the log record table, or the log record table is used by the OTA server to record the difference between the new software version and the old software version.
下面对特性所属的类别进行介绍。假设运营商定制m个新特性,其集合表示为:M={t0,t1,…,tm-1}。根据新特性所属的类别,升级过程采用不同的处理过程。例如新特性可以进行如下分类:The categories to which the features belong are introduced below. Assuming that the operator customizes m new features, the set is expressed as: M={t 0 ,t 1 ,…,t m-1 }. Depending on the category the new feature falls into, the upgrade process takes a different course of action. For example, new features can be classified as follows:
A类特性属于相互关联特性。如开机标识(logo),涉及快速开机logo、静态开机logo等特性的调整。针对此类特性,空中下载技术(Over-the-Air Technology,OTA)升级选择时,若用户选中A类特性中的某一个特性时,与A类特性相关联的其他特性也被同时选中。Type A features are interrelated features. For example, the boot logo (logo), which involves the adjustment of features such as fast boot logo and static boot logo. For this type of feature, when selecting an Over-the-Air Technology (OTA) upgrade, if the user selects one of the A-type features, other features associated with the A-type feature will also be selected at the same time.
B类特性属于强制待升级的特性。该类特性主要解决手机问题或者运营商强烈要求用户预置的应用等,如手机安全漏洞、死机重启等问题的修复。此类特性将不给用户任何提示,在后台强制升级。Type B features are mandatory features to be upgraded. This type of feature mainly solves mobile phone problems or applications that operators strongly require users to preset, such as the repair of mobile phone security vulnerabilities, crashes and restarts. Such features will force the upgrade in the background without any prompt to the user.
C类特性属于独立特性,即与其他特性无关联同时不解决某问题而设立的特性。该类特性是最常见定制,如开机动画、开机铃声、应用等。此类特性可让用户自行选择。Type C features are independent features, that is, features that are not related to other features and do not solve a certain problem. This type of feature is the most common customization, such as boot animation, boot ringtone, applications, etc. Such features are left to the user's choice.
任何特性均存在重要级别、功能、类别等属性,用户参考此属性,合理评估某特性升级的价值,尤其是用户陌生的特性。需要说明的是,在每次OTA升级的过程中,日志记录表中包含的特性所对应的类别,可以是上述三类中的任意一类或多类。Any feature has attributes such as importance level, function, and category. Users refer to this attribute to reasonably evaluate the value of a feature upgrade, especially features that are unfamiliar to users. It should be noted that during each OTA upgrade process, the categories corresponding to the features included in the log record table may be any one or more of the above three categories.
在具体实施方式中,例如可以通过全局标识对所述待升级的特性进行标识,所述全局标识可以为每一个待升级的特性在移动终端中存储的逻辑地址,将所述逻辑地址作为全局标识对所述每一个待升级的特性进行标识。In a specific implementation manner, for example, the feature to be upgraded can be identified by a global identifier, and the global identifier can be a logical address stored in the mobile terminal for each feature to be upgraded, and the logical address can be used as the global identifier Identify each feature to be upgraded.
具体的,将每一个待升级的特性在移动终端中存储的逻辑地址作为全局标识对所述每一个待升级的特性进行标识是一种方式。手机终端的各种应用特性一般存储在手机的各种分区中,比如壁纸、各种游戏应用等存储在system、data、cust等分区中。手机终端的任何特性在手机中均是唯一的,并且可以用全局标识去表示,该全局标识简称为T_flag。例如手机支持的语言列表特性,该特性在升级包中的表现形式为ASCII编码等,属于分区系统中文件/cust/operator/state/xml/default.xml的white_languages参数,则/cust/operator/state/xml/default.xml.white_languages在整个系统中存在唯一性,即该特性可以以它在移动终端中存储的逻辑地址/cust/operator/state/xml/default.xml.white_languages作为全局标识T_flag,可建立特性的逻辑地址与特性的全局标识之间的映射关系。如表1所示:Specifically, it is a way to use the logical address of each feature to be upgraded stored in the mobile terminal as a global identifier to identify each feature to be upgraded. Various application features of a mobile terminal are generally stored in various partitions of the mobile phone, such as wallpapers, various game applications, etc. are stored in partitions such as system, data, and cust. Any feature of the mobile terminal is unique in the mobile phone and can be represented by a global flag, which is called T_flag for short. For example, the language list feature supported by the mobile phone, which is expressed in ASCII code in the upgrade package, etc., belongs to the white_languages parameter of the file /cust/operator/state/xml/default.xml in the partition system, then /cust/operator/state /xml/default.xml.white_languages is unique in the entire system, that is, this feature can use its logical address stored in the mobile terminal /cust/operator/state/xml/default.xml.white_languages as the global identifier T_flag, which can be Establish a mapping relationship between the logical address of the feature and the global identifier of the feature. As shown in Table 1:
表1Table 1
具体的,参考图4,图4是本发明实施例提供的一种形成日志记录表的方法示意图。如图4所示,假设旧软件版本为U01版本,新软件版本为U02版本,新增100个新特性,任何特性均有相应的全局标识T_flag。Specifically, refer to FIG. 4 , which is a schematic diagram of a method for forming a log record table provided by an embodiment of the present invention. As shown in Figure 4, assume that the old software version is U01, the new software version is U02, 100 new features are added, and any feature has a corresponding global flag T_flag.
步骤401,根据平台、system分区、cust分区等不同模块或分区的内容逐次比较。Step 401, comparing contents of different modules or partitions such as platform, system partition, and cust partition one by one.
新软件版本和旧软件版本不断比较存储特性值在OTA升级包中的逻辑地址与T_flag,并且将更新前的特性值与更新后的特性值填入日志记录表中,该日志记录表同时存储特性变更类型,变更类型包括新增(I)、删除(D)、变更(U)三种类型。The new software version and the old software version constantly compare the logical address and T_flag of the stored characteristic value in the OTA upgrade package, and fill in the log record table with the characteristic value before the update and the updated characteristic value, and the log record table stores the characteristic value at the same time Change type, the change type includes three types: addition (I), deletion (D), and change (U).
具体的,确定特性的变更类型的方法可以如下:Specifically, the method for determining the change type of a characteristic can be as follows:
判断待升级的特性的全局标识是否在新软件版本的全局标识中;Determine whether the global identifier of the feature to be upgraded is in the global identifier of the new software version;
当所述待升级的特性的全局标识不在新软件版本的全局标识中,且所述待升级的特性的全局标识在旧软件版本版本的全局标识中,则更新所述待升级的特性的属性为删除;When the global identifier of the characteristic to be upgraded is not in the global identifier of the new software version, and the global identifier of the characteristic to be upgraded is in the global identifier of the old software version, then update the attribute of the characteristic to be upgraded as delete;
当所述待升级的特性的全局标识在新软件版本的全局标识中,判断所述待升级的特性的全局标识是否在旧软件版本版本的全局标识中;When the global identifier of the characteristic to be upgraded is in the global identifier of the new software version, determine whether the global identifier of the characteristic to be upgraded is in the global identifier of the old software version;
当所述待升级的特性的全局标识不在旧软件版本版本的全局标识中,则更新所述待升级的特性的属性为新增;When the global identifier of the feature to be upgraded is not in the global identifier of the old software version, then updating the attribute of the feature to be upgraded is newly added;
当所述待升级的特性的全局标识在旧软件版本版本的全局标识中,则更新所述待升级的特性的属性为更新。When the global identifier of the feature to be upgraded is in the global identifier of the old software version, updating the attribute of the feature to be upgraded is updated.
具体的,参考图5,图5是本发明实施例提供的一种获取日志记录表中特性的变更类型的方法示意图。如图5所示,新版本中若存在该T_flag,而旧版本中不存在,变更类型为I,属于新增新特性;若新版本不存在该T_flag,而旧版本中存在该T_flag,变更类型为D,属于删除特性;如果新旧版本中均存在该T_flag,仅属性值不同,更新类型为U,属于更新特性。Specifically, refer to FIG. 5 , which is a schematic diagram of a method for obtaining a change type of a characteristic in a log record table according to an embodiment of the present invention. As shown in Figure 5, if the T_flag exists in the new version but does not exist in the old version, the change type is I, which is a new feature; if the T_flag does not exist in the new version, but the T_flag exists in the old version, the change type It is D, which belongs to the deletion feature; if the T_flag exists in both the old and new versions, only the attribute value is different, and the update type is U, which belongs to the update feature.
步骤402,存储日志记录表,形成一个携带所述日志记录表的OTA升级包。Step 402, storing the log record table to form an OTA upgrade package carrying the log record table.
所述日志记录表中可以包括如下内容:The following content can be included in the log record table:
通过如上所述的方法,该OTA升级包与传统OTA升级包相比,在内容形式上,增加一个关于特性的变更类型的日志记录表,该日志记录表记录了新版本相对旧版本所做的任何变更的历史记录。Through the above-mentioned method, compared with the traditional OTA upgrade package, the OTA upgrade package adds a log record table about the change type of the feature in the content form, and the log record table records the changes made by the new version relative to the old version. History of any changes.
步骤303,终端获取用户从所述特性目录中选择的待升级的特性。Step 303, the terminal acquires the feature to be upgraded selected by the user from the feature catalog.
终端可以将特性目录显示给用户,从而使得用户可以从特性目录中选择待升级的特性。The terminal can display the feature list to the user, so that the user can select the feature to be upgraded from the feature list.
步骤304,终端根据从所述OTA服务器接收到的OTA升级包对所述特性目录中的所有特性进行升级。Step 304, the terminal upgrades all the features in the feature directory according to the OTA upgrade package received from the OTA server.
本实施例并不限定步骤303和步骤304执行的先后顺序。This embodiment does not limit the order in which step 303 and step 304 are performed.
步骤305,终端从所述OTA升级包携带的日志记录表中获取未被选择的待升级的特性的属性。Step 305, the terminal obtains the attributes of the unselected features to be upgraded from the log record table carried in the OTA upgrade package.
所述日志记录表根据新软件版本与旧软件版本的差异得到,所述日志记录表中包括所有所述待升级的特性信息的属性信息;所述属性信息包括:新增、更新或删除。The log record table is obtained according to the difference between the new software version and the old software version, and the log record table includes attribute information of all the characteristic information to be upgraded; the attribute information includes: adding, updating or deleting.
步骤306,终端将所述特性目录中未被用户选择的待升级的特性恢复为升级之前的特性。Step 306, the terminal restores the features to be upgraded that are not selected by the user in the feature list to the features before the upgrade.
本步骤具体可以包括:This step can specifically include:
当所述未被选择的待升级的特性的属性是新增时,删除所述未被选择的待升级的特性;When the attributes of the unselected characteristics to be upgraded are newly added, deleting the unselected characteristics to be upgraded;
当所述未被选择的待升级的特性的属性是更新时,使用升级之前所述未被选择的待升级的特性;When the attributes of the unselected characteristics to be upgraded are updated, using the unselected characteristics to be upgraded before the upgrade;
当所述未被选择的特性的属性是删除时,恢复升级之前所述未被选择的待升级的特性。When the attribute of the unselected characteristic is delete, restore the unselected characteristic to be upgraded before the upgrade.
本发明实施例,通过对接收到的OTA升级包的全部特性升级后,再恢复OTA升级包中未被选择的特性,从而使得用户可以灵活方便的选择需要升级的特性,提高用户体验,为用户提供了多元化和个性化的升级服务,同时,使得运营商和设备商合作提供尽可能多的特性,进一步提供用户选择的自由度。In the embodiment of the present invention, after upgrading all the features of the received OTA upgrade package, the unselected features in the OTA upgrade package are restored, so that users can flexibly and conveniently select the features that need to be upgraded, improve user experience, and provide users with Provides diversified and personalized upgrade services, and at the same time, enables operators and equipment manufacturers to cooperate to provide as many features as possible, further providing users with freedom of choice.
具体的,参考图6,图6是本发明实施例提供的一种OTA升级的方法流程图。如图6所示,Specifically, refer to FIG. 6, which is a flowchart of an OTA upgrade method provided by an embodiment of the present invention. As shown in Figure 6,
步骤601,用户选择升级模式,所述升级模式包括整机升级模式(Entrielyupgrade mode,EUM)和特性升级模式(features upgrade mode,FUM);当用户选择EUM时,执行步骤602,当用户选择FUM时,执行步骤603。Step 601, the user selects an upgrade mode, the upgrade mode includes Entriely upgrade mode (EUM) and features upgrade mode (features upgrade mode, FUM); when the user selects EUM, execute step 602, when the user selects FUM , go to step 603.
在具体实施方式中,在进行OTA升级时,可以为用户提供可选的升级模式。例如:用户可以选择现有的常规升级模式,即EUM,用户也可以选择本发明实施例提供的可选的升级模式,即FUM。In a specific implementation manner, when performing an OTA upgrade, an optional upgrade mode may be provided for the user. For example: the user can choose the existing normal upgrade mode, that is, EUM, and the user can also choose the optional upgrade mode provided by the embodiment of the present invention, that is, FUM.
步骤602,终端根据预先下载的OTA升级包进行整机升级。Step 602, the terminal upgrades the whole device according to the pre-downloaded OTA upgrade package.
步骤603,终端向用户显示特性目录,供用户选择待升级的特性。Step 603, the terminal displays the feature list to the user for the user to select the feature to be upgraded.
步骤604,终端接收用户选择升级的待升级的特性的信息。In step 604, the terminal receives information about the characteristics to be upgraded that the user chooses to upgrade.
具体的,OTA升级包根据日志记录表提供用户选择升级的特性列表。如图7,图7是本发明实施例提供的一种显示特性的方法示意图。如图7是手机客户端用户选择界面一种示例,界面包括选择框、特性简称、属性信息、所属类别,所述选择框用于给用户提供选择,所述特性简称用于标识每一个特性,所述属性信息包括新增特性、更新特性、删除特性,分别对应新旧版本操作类型为I、U、D的操作类型。当用户点击属性选择按钮时,会给用户展现与该特性相关的所属类别,如相互关联类别、强制待升级的特性、独立特性等。Specifically, the OTA upgrade package provides a feature list that the user chooses to upgrade according to the log record table. As shown in FIG. 7 , FIG. 7 is a schematic diagram of a method for displaying characteristics provided by an embodiment of the present invention. Figure 7 is an example of the user selection interface of the mobile client. The interface includes a selection box, a feature abbreviation, attribute information, and a category. The selection box is used to provide choices for the user, and the feature abbreviation is used to identify each feature. The attribute information includes newly added features, updated features, and deleted features, which correspond to the operation types of I, U, and D in the old and new versions respectively. When the user clicks the attribute selection button, the category related to the feature will be displayed to the user, such as interrelated categories, mandatory features to be upgraded, independent features, etc.
步骤605,终端根据所述OTA升级包中的所有待升级的特性的全局标识和用户选择升级的待升级的特性的全局标识统计得到用户未选择升级的待升级的特性的全局标识,并将所述用户未选择升级的待升级的特性的全局标识保存在临时变量中。Step 605, the terminal obtains the global identifiers of the characteristics to be upgraded that the user does not choose to upgrade according to the global identifiers of all the characteristics to be upgraded in the OTA upgrade package and the global identifiers of the characteristics to be upgraded that the user chooses to upgrade, and calculates the The global identifiers of the features to be upgraded that the user does not choose to upgrade are stored in temporary variables.
步骤606,终端根据OTA升级包升级OTA升级包的所有待升级的特性。Step 606, the terminal upgrades all features to be upgraded in the OTA upgrade package according to the OTA upgrade package.
步骤607,OTA升级包正常升级,OTA升级包完成之后,终端根据未选择的特性T_flag且类型为非B类型的特性,搜索到相应的历史记录的属性信息,进行相逆操作,因为B类型的特性是不需要用户同意,需要强制升级的特性。假设用户未选择的特性t1为新增特性,为I的属性信息,系统将会在升级之后的版本上删除t1特性,将其还原成旧版本的状态;如果未选择的特性t2为变更特性,为U的更新类型,系统将会将特性的旧版本的取值取代更新后的值,将其还原成旧版本的状态;如果未选择的特性为删除特性,为D的更新类型,系统将会让该特性还原旧版本的状态。由此客户选择的新特性已经生效,客户未选择的新特性未还原成旧版本的状态,即未选择的新特性并未生效。Step 607: The OTA upgrade package is normally upgraded. After the OTA upgrade package is completed, the terminal searches for the attribute information of the corresponding historical record according to the unselected feature T_flag and the type is not a B-type feature, and performs the reverse operation, because the B-type A feature is a feature that does not require user consent and requires mandatory upgrades. Assuming that the feature t1 not selected by the user is a new feature and is the attribute information of I, the system will delete the feature t1 in the upgraded version and restore it to the state of the old version; if the feature t2 not selected by the user is a changed feature, is the update type of U, the system will replace the value of the old version of the feature with the updated value, and restore it to the state of the old version; if the unselected feature is a delete feature and the update type of D, the system will Let the feature restore the state of the old version. Therefore, the new features selected by the customer have taken effect, and the new features not selected by the customer have not been restored to the state of the old version, that is, the new features not selected by the customer have not taken effect.
本发明实施例提供一种OTA升级的方法,所述方法通过对接收到的OTA升级包的全部特性升级后,再恢复OTA升级包中未被选择的特性,从而使得用户可以灵活方便的选择需要升级的特性,提高用户体验,同时,使得运营商和设备商合作提高尽可能多的特性,进一步提供用户选择的自由度。The embodiment of the present invention provides a method for OTA upgrade. After upgrading all the features of the received OTA upgrade package, the method restores the unselected features in the OTA upgrade package, so that the user can flexibly and conveniently select the required Upgraded features improve user experience. At the same time, operators and equipment manufacturers cooperate to improve as many features as possible, further providing users with freedom of choice.
参考图8,图8是本发明实施例提供的一种OTA升级的方法流程图。本发明实施例并不限于各步骤之间的顺序,以下仅以一种实施方式为例做具体说明。Referring to FIG. 8, FIG. 8 is a flow chart of an OTA upgrade method provided by an embodiment of the present invention. The embodiment of the present invention is not limited to the order of the steps, and the following only uses one implementation manner as an example for specific description.
如图8所示,所述方法包括以下步骤:As shown in Figure 8, the method includes the following steps:
步骤801,终端接收OTA服务器发送的特性目录,所述特性目录包括待升级的特性信息,所述特性目录根据新软件版本与旧软件版本的差异得到;Step 801, the terminal receives the feature catalog sent by the OTA server, the feature catalog includes feature information to be upgraded, and the feature catalog is obtained according to the difference between the new software version and the old software version;
步骤802,终端获取用户从所述特性目录中选择的待升级的特性;Step 802, the terminal obtains the feature to be upgraded selected by the user from the feature catalog;
步骤803,终端将用户选择的待升级的特性的信息发送到所述OTA服务器;Step 803, the terminal sends the information of the feature to be upgraded selected by the user to the OTA server;
步骤804,终端接收从所述OTA服务器返回的所述用户选择的待升级的特性对应的升级包;Step 804, the terminal receives the upgrade package corresponding to the feature to be upgraded selected by the user returned from the OTA server;
步骤805,终端根据所述用户选择的待升级的特性对应的升级包对所述用户选择的待升级的特性进行升级。Step 805, the terminal upgrades the feature to be upgraded selected by the user according to the upgrade package corresponding to the feature to be upgraded selected by the user.
具体的,参考图9,图9是本发明实施例提供的一种OTA升级的方法示意图。如图9所示,运营商将携带日志记录表的OTA升级包发送到OTA服务器,OTA升级客户端(相当于上述实施例中的终端)选择FUM模式并向OTA服务器发送待升级的特性的请求;OTA服务器调用接口函数,根据OTA升级包和日志记录表将新特性发送给OTA升级客户端;OTA升级客户端将所述新特性以特性目录等形式展现给用户,让用户根据需要进行选择,选择结束后,发送所述特性的T_flag至OTA服务器;OTA服务器根据所述特性的T_flag搜索日志记录表,将所述特性的升级包发送给OTA升级客户端,OTA升级客户端接受所述特性的升级包后进行升级,最后,将升级状态发送给OTA服务器。Specifically, refer to FIG. 9, which is a schematic diagram of an OTA upgrade method provided by an embodiment of the present invention. As shown in Figure 9, the operator sends the OTA upgrade package carrying the log record table to the OTA server, and the OTA upgrade client (equivalent to the terminal in the above embodiment) selects the FUM mode and sends a request for the characteristics to be upgraded to the OTA server ; The OTA server calls the interface function, and sends the new feature to the OTA upgrade client according to the OTA upgrade package and the log record table; the OTA upgrade client presents the new feature to the user in the form of a feature directory, etc., allowing the user to select according to needs, After the selection is finished, send the T_flag of the characteristic to the OTA server; the OTA server searches the log record table according to the T_flag of the characteristic, sends the upgrade package of the characteristic to the OTA upgrade client, and the OTA upgrade client accepts the T_flag of the characteristic Upgrade after the upgrade package, and finally, send the upgrade status to the OTA server.
本发明实施例提供一种OTA升级的方法,所述方法通过将用户选择的待升级的特性发送到OTA服务器,接收OTA服务器返回的待升级的特性升级用户选择的待升级的特性,从而使得用户可以灵活方便的选择需要升级的特性,提高用户体验,同时,使得运营商和设备商合作提高尽可能多的特性,进一步提供用户选择的自由度。An embodiment of the present invention provides a method for OTA upgrading. The method sends the characteristics to be upgraded selected by the user to the OTA server, and receives the characteristics to be upgraded returned by the OTA server to upgrade the characteristics to be upgraded selected by the user, so that the user can It can flexibly and conveniently select the features that need to be upgraded to improve user experience. At the same time, operators and equipment manufacturers can cooperate to improve as many features as possible, further providing users with freedom of choice.
参考图10,图10是本发明实施例提供的一种终端的装置结构图。如图10所示,所述终端包括以下单元:Referring to FIG. 10 , FIG. 10 is a device structural diagram of a terminal provided by an embodiment of the present invention. As shown in Figure 10, the terminal includes the following units:
接收单元1001,用于接收OTA服务器发送的特性目录;所述特性目录包括待升级的特性信息,所述特性目录根据新软件版本与旧软件版本的差异得到;The receiving unit 1001 is configured to receive the feature catalog sent by the OTA server; the feature catalog includes feature information to be upgraded, and the feature catalog is obtained according to the difference between the new software version and the old software version;
OTA服务器中有新软件版本之后,可以向终端发送根据新软件版本和旧软件版本的差异得到的特性目录。其中,特性目录可以包括待升级的特性的所属类别、属性信息等,用户可以根据所述待升级的特性的所属类别和属性信息选择需要升级的升级特性。其中,所属类别是运营商根据所述待升级的特性的升级过程的不同定义的,属性信息是服务器根据所述待升级的特性在新软件版本和旧软件版本的差异得到的。After there is a new software version in the OTA server, the feature catalog obtained according to the difference between the new software version and the old software version can be sent to the terminal. Wherein, the feature catalog may include category and attribute information of the feature to be upgraded, and the user may select the upgrade feature to be upgraded according to the category and attribute information of the feature to be upgraded. Wherein, the category is defined by the operator according to the upgrade process of the characteristic to be upgraded, and the attribute information is obtained by the server according to the difference between the new software version and the old software version of the characteristic to be upgraded.
获取单元1002,用于获取用户从所述特性目录中选择的待升级的特性;An acquiring unit 1002, configured to acquire the feature to be upgraded selected by the user from the feature catalog;
当终端的显示界面上显示特性目录时,用户可以从特性目录中选择待升级的特性;例如特性目录中可以包括5个待升级的特性信息,用户可以通过按键或触摸屏或其他方式选择这5个特性信息中的任意一个或多个进行升级,终端可以获取到用户选择的待升级的特性。When the feature list is displayed on the display interface of the terminal, the user can select the feature to be upgraded from the feature list; for example, the feature list can include 5 feature information to be upgraded, and the user can select these 5 features through buttons or touch screen or other methods Any one or more of the characteristic information is upgraded, and the terminal can obtain the characteristic to be upgraded selected by the user.
第一种可能的实现方式,所述终端还包括获取单元1002,所述获取单元1002具体用于:In a first possible implementation manner, the terminal further includes an acquiring unit 1002, and the acquiring unit 1002 is specifically configured to:
在所述升级单元将所述特性目录中未被选择的待升级的特性恢复为升级之前的特性之前,从所述OTA升级包携带的日志记录表中获取所述未被选择的待升级的特性的属性;Before the upgrade unit restores the unselected features to be upgraded in the feature directory to the features before the upgrade, obtain the unselected features to be upgraded from the log record table carried in the OTA upgrade package properties;
所述日志记录表根据新软件版本与旧软件版本的差异得到,所述日志记录表中包括所有所述待升级的特性信息的属性信息;所述属性信息包括:新增、更新或删除。The log record table is obtained according to the difference between the new software version and the old software version, and the log record table includes attribute information of all the characteristic information to be upgraded; the attribute information includes: adding, updating or deleting.
升级单元1003,用于升级用户选择的待升级的特性。The upgrade unit 1003 is configured to upgrade the feature to be upgraded selected by the user.
第一种可能的实现方式,所述升级单元1003,具体用于:In a first possible implementation manner, the upgrading unit 1003 is specifically used for:
根据从所述OTA服务器接收到的OTA升级包对所述特性目录中的所有特性进行升级,所述特性目录包括在所述OTA升级包中;upgrading all the features in the feature directory according to the OTA upgrade package received from the OTA server, the feature directory being included in the OTA update package;
将所述特性目录中未被选择的待升级的特性恢复为升级之前的特性。The unselected features to be upgraded in the feature directory are restored to the features before the upgrade.
第一种可能的实现方式,所述升级单元1003执行步骤将所述特性目录中未被选择的待升级的特性恢复为升级之前的特性,包括:In a first possible implementation manner, the upgrade unit 1003 executes steps to restore the unselected features to be upgraded in the feature directory to the features before the upgrade, including:
当所述未被选择的待升级的特性的属性是新增时,删除所述未被选择的待升级的特性;When the attributes of the unselected characteristics to be upgraded are newly added, deleting the unselected characteristics to be upgraded;
当所述未被选择的待升级的特性的属性是更新时,使用升级之前所述未被选择的待升级的特性;When the attributes of the unselected characteristics to be upgraded are updated, using the unselected characteristics to be upgraded before the upgrade;
当所述未被选择的特性的属性是删除时,恢复升级之前所述未被选择的待升级的特性。When the attribute of the unselected characteristic is delete, restore the unselected characteristic to be upgraded before the upgrade.
第一种可能的实现方式,所述终端还包括获取单元1002,所述获取单元1002具体用于:In a first possible implementation manner, the terminal further includes an acquiring unit 1002, and the acquiring unit 1002 is specifically configured to:
在所述升级单元将所述特性目录中未被选择的待升级的特性恢复为升级之前的特性之前,从所述OTA升级包携带的日志记录表中获取所述未被选择的待升级的特性的属性;Before the upgrade unit restores the unselected features to be upgraded in the feature directory to the features before the upgrade, obtain the unselected features to be upgraded from the log record table carried in the OTA upgrade package properties;
所述日志记录表根据新软件版本与旧软件版本的差异得到,所述日志记录表中包括所有所述待升级的特性信息的属性信息;所述属性信息包括:新增、更新或删除。The log record table is obtained according to the difference between the new software version and the old software version, and the log record table includes attribute information of all the characteristic information to be upgraded; the attribute information includes: adding, updating or deleting.
第二种可能的实现方式,所述升级单元1003,具体用于:In a second possible implementation manner, the upgrading unit 1003 is specifically used for:
将用户选择的待升级的特性的信息发送到所述OTA服务器;Send the information of the characteristics to be upgraded selected by the user to the OTA server;
接收从所述OTA服务器返回的所述用户选择的待升级的特性对应的升级包;receiving an upgrade package corresponding to the feature to be upgraded selected by the user returned from the OTA server;
根据所述用户选择的待升级的特性对应的升级包对所述用户选择的待升级的特性进行升级。The feature to be upgraded selected by the user is upgraded according to the upgrade package corresponding to the feature to be upgraded selected by the user.
在获取到用户选择的待升级的特性后,终端对这些待升级的特性进行升级。对待升级的特性进行升级的过程,可以包括以下两种可能的实施方式。After acquiring the features to be upgraded selected by the user, the terminal upgrades the features to be upgraded. The process of upgrading the feature to be upgraded may include the following two possible implementation manners.
一种实施方式为:终端根据从OTA服务器接收到的OTA升级包对特性目录中的所有特性进行升级,然后终端将特性目录中未被用户选择的待升级的特性恢复为升级之前的特性,从而实现了仅针对用户选择的特性进行升级。One implementation is: the terminal upgrades all the features in the feature directory according to the OTA upgrade package received from the OTA server, and then the terminal restores the features to be upgraded that are not selected by the user in the feature directory to the features before the upgrade, so that Implemented upgrades only for user-selected features.
另一种实施方式为:终端从OTA服务器中获取用户选择的特性所对应的升级包,然后根据获取的升级包对用户选择的特性进行升级。Another implementation manner is: the terminal acquires the upgrade package corresponding to the feature selected by the user from the OTA server, and then upgrades the feature selected by the user according to the acquired upgrade package.
本发明实施例提供一种终端,终端可以从OTA服务器接收包括可升级特性信息的特性目录,该特性目录中包括的可升级特性信息可以供用户选择,在用户从特性目录中选择待升级的特性后,终端可以只升级用户选择的待升级的特性,从而使得用户可以灵活方便的选择需要升级的特性,提高用户体验,为用户提供了多元化和个性化的升级服务,同时,使得运营商和设备商合作提供尽可能多的特性,进一步提供用户选择的自由度。An embodiment of the present invention provides a terminal. The terminal can receive a feature catalog including upgradeable feature information from an OTA server. The upgradeable feature information included in the feature catalog can be selected by the user. When the user selects the feature to be upgraded from the feature catalog Finally, the terminal can only upgrade the features to be upgraded selected by the user, so that the user can flexibly and conveniently select the features to be upgraded, improve user experience, and provide users with diversified and personalized upgrade services. At the same time, operators and Equipment manufacturers cooperate to provide as many features as possible, further providing users with freedom of choice.
参考图11,图11是本发明实施例提供的一种服务器的装置结构图。如图11所示,所述服务器包括以下单元:Referring to FIG. 11 , FIG. 11 is a device structural diagram of a server provided by an embodiment of the present invention. As shown in Figure 11, the server includes the following units:
发送单元1101,用于向终端发送特性目录,以使得所述终端获取用户从所述特性目录中选择的待升级的特性,并升级用户选择的待升级的特性;所述特性目录包括待升级的特性信息,所述特性目录根据新软件版本与旧软件版本的差异得到。The sending unit 1101 is configured to send a feature list to the terminal, so that the terminal obtains the feature to be upgraded selected by the user from the feature list, and upgrades the feature to be upgraded selected by the user; the feature list includes the feature to be upgraded The feature information, the feature list is obtained according to the difference between the new software version and the old software version.
第一种可能的实现方式,所述特性目录包括在向所述终端发送的OTA升级包中。In a first possible implementation manner, the feature directory is included in an OTA upgrade package sent to the terminal.
所述OTA升级包是新软件版本和旧软件版本的差分包。The OTA upgrade package is a differential package of the new software version and the old software version.
结合第一种可能的实现方式,所述服务器还包括发送子单元,所述发送子单元具体用于:向所述终端发送日志记录表,以使所述终端根据所述日志记录表升级用户选择的待升级的特性;With reference to the first possible implementation manner, the server further includes a sending subunit, and the sending subunit is specifically configured to: send a log record table to the terminal, so that the terminal upgrades the user selection according to the log record table. The features to be upgraded;
所述日志记录表包括在向所述终端发送的OTA升级包中;所述日志记录表根据新软件版本与旧软件版本的差异得到,所述日志记录表中包括所有所述待升级的特性信息的属性信息;所述属性信息包括:新增、更新或删除。The log record table is included in the OTA upgrade package sent to the terminal; the log record table is obtained according to the difference between the new software version and the old software version, and the log record table includes all the characteristic information to be upgraded attribute information; the attribute information includes: adding, updating or deleting.
第二种可能的实现方式,所述服务器还包括接收单元,所述接收单元具体用于:In a second possible implementation manner, the server further includes a receiving unit, and the receiving unit is specifically configured to:
接收所述终端发送的用户从所述特性目录中选择的待升级的特性的信息;receiving information about the features to be upgraded selected by the user from the feature catalog sent by the terminal;
所述发送单元还用于:The sending unit is also used for:
向所述终端发送用户选择的待升级的特性对应的升级包,以使得所述终端根据所述用户选择的待升级的特性对应的升级包对所述用户选择的待升级的特性进行升级。Sending an upgrade package corresponding to the characteristic to be upgraded selected by the user to the terminal, so that the terminal upgrades the characteristic to be upgraded selected by the user according to the upgrade package corresponding to the characteristic to be upgraded selected by the user.
本发明实施例提供一种服务器,所述服务器通过接收OTA服务器发送的特性目录,在从所述特性目录中选择待升级的特性后,升级用户选择的待升级的特性,从而使得用户可以灵活方便的选择需要升级的特性,提高用户体验,同时,使得运营商和设备商合作提高尽可能多的特性,进一步提供用户选择的自由度。An embodiment of the present invention provides a server, the server upgrades the feature to be upgraded selected by the user after receiving the feature list sent by the OTA server, after selecting the feature to be upgraded from the feature list, so that the user can flexibly and conveniently The selection needs to upgrade features to improve user experience. At the same time, operators and equipment manufacturers should cooperate to improve as many features as possible to further provide users with freedom of choice.
参考图12,图12是本发明实施例提供的一种终端的装置结构图。参考图12,图12是本发明实施例提供的一种终端1200,本发明具体实施例并不对所述终端的具体实现做限定。所述终端1200包括:Referring to FIG. 12 , FIG. 12 is a device structural diagram of a terminal provided by an embodiment of the present invention. Referring to FIG. 12 , FIG. 12 is a terminal 1200 provided by an embodiment of the present invention. The specific embodiment of the present invention does not limit the specific implementation of the terminal. The terminal 1200 includes:
处理器(processor)1201,通信接口(Communications Interface)1202,存储器(memory)1203,总线1204。A processor (processor) 1201 , a communication interface (Communications Interface) 1202 , a memory (memory) 1203 , and a bus 1204 .
处理器1201,通信接口1202,存储器1203通过总线1204完成相互间的通信。The processor 1201 , the communication interface 1202 , and the memory 1203 communicate with each other through the bus 1204 .
通信接口1202,用于与终端或者OTA服务器进行通信;Communication interface 1202, used to communicate with the terminal or OTA server;
处理器1201,用于执行程序。Processor 1201, configured to execute programs.
具体地,程序可以包括程序代码,所述程序代码包括计算机操作指令。Specifically, the program may include program code, and the program code includes computer operation instructions.
处理器1201可能是一个中央处理器(central processing unit,CPU),或者是特定集成电路ASIC(Application Specific Integrated Circuit),或者是被配置成实施本发明实施例的一个或多个集成电路。The processor 1201 may be a central processing unit (central processing unit, CPU), or a specific integrated circuit ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement the embodiments of the present invention.
存储器1203,用于存储程序。存储器1203可以是易失性存储器(volatilememory),例如随机存取存储器(random-access memory,RAM),或者非易失性存储器(non-volatile memory),例如只读存储器(read-only memory,ROM),快闪存储器(flashmemory),硬盘(hard disk drive,HDD)或固态硬盘(solid-state drive,SSD)。处理器1201根据存储器1203存储的程序指令,执行以下方法:The memory 1203 is used to store programs. The memory 1203 may be a volatile memory (volatile memory), such as a random-access memory (random-access memory, RAM), or a non-volatile memory (non-volatile memory), such as a read-only memory (read-only memory, ROM ), flash memory (flashmemory), hard disk (hard disk drive, HDD) or solid-state drive (solid-state drive, SSD). The processor 1201 executes the following method according to the program instructions stored in the memory 1203:
接收OTA服务器发送的特性目录;所述特性目录包括待升级的特性信息,所述特性目录根据新软件版本与旧软件版本的差异得到;Receiving the feature directory sent by the OTA server; the feature directory includes feature information to be upgraded, and the feature directory is obtained according to the difference between the new software version and the old software version;
获取用户从所述特性目录中选择的待升级的特性;Obtain the feature to be upgraded selected by the user from the feature catalog;
升级用户选择的待升级的特性。Upgrade the features to be upgraded selected by the user.
所述升级用户选择的待升级的特性,包括:The features to be upgraded selected by the upgrade user include:
根据从所述OTA服务器接收到的OTA升级包对所述特性目录中的所有特性进行升级,所述特性目录包括在所述OTA升级包中;upgrading all the features in the feature directory according to the OTA upgrade package received from the OTA server, the feature directory being included in the OTA update package;
将所述特性目录中未被选择的待升级的特性恢复为升级之前的特性。The unselected features to be upgraded in the feature directory are restored to the features before the upgrade.
所述将所述特性目录中未被选择的待升级的特性恢复为升级之前的特性,包括:The restoring the unselected features to be upgraded in the feature directory to the features before the upgrade includes:
当所述未被选择的待升级的特性的属性是新增时,删除所述未被选择的待升级的特性;When the attributes of the unselected characteristics to be upgraded are newly added, deleting the unselected characteristics to be upgraded;
当所述未被选择的待升级的特性的属性是更新时,使用升级之前所述未被选择的待升级的特性;When the attributes of the unselected characteristics to be upgraded are updated, using the unselected characteristics to be upgraded before the upgrade;
当所述未被选择的特性的属性是删除时,恢复升级之前所述未被选择的待升级的特性。When the attribute of the unselected characteristic is delete, restore the unselected characteristic to be upgraded before the upgrade.
所述将所述特性目录中未被选择的待升级的特性恢复为升级之前的特性之前,所述方法还包括:Before restoring the unselected features to be upgraded in the feature directory to the features before the upgrade, the method further includes:
从所述OTA升级包携带的日志记录表中获取所述未被选择的待升级的特性的属性;Obtain the attributes of the unselected features to be upgraded from the log record table carried by the OTA upgrade package;
所述日志记录表根据新软件版本与旧软件版本的差异得到,所述日志记录表中包括所有所述待升级的特性信息的属性信息;所述属性信息包括:新增、更新或删除。The log record table is obtained according to the difference between the new software version and the old software version, and the log record table includes attribute information of all the characteristic information to be upgraded; the attribute information includes: adding, updating or deleting.
另一种实施方式中,所述升级用户选择的待升级的特性,包括:In another implementation manner, the upgrading of the features selected by the user to be upgraded includes:
将用户选择的待升级的特性的信息发送到所述OTA服务器;Send the information of the characteristics to be upgraded selected by the user to the OTA server;
接收从所述OTA服务器返回的所述用户选择的待升级的特性对应的升级包;receiving an upgrade package corresponding to the feature to be upgraded selected by the user returned from the OTA server;
根据所述用户选择的待升级的特性对应的升级包对所述用户选择的待升级的特性进行升级。The feature to be upgraded selected by the user is upgraded according to the upgrade package corresponding to the feature to be upgraded selected by the user.
本发明实施例提供一种终端,终端可以从OTA服务器接收包括可升级特性信息的特性目录,该特性目录中包括的可升级特性信息可以供用户选择,在用户从特性目录中选择待升级的特性后,终端可以只升级用户选择的待升级的特性,从而使得用户可以灵活方便的选择需要升级的特性,提高用户体验,为用户提供了多元化和个性化的升级服务,同时,使得运营商和设备商合作提供尽可能多的特性,进一步提供用户选择的自由度。An embodiment of the present invention provides a terminal. The terminal can receive a feature catalog including upgradeable feature information from an OTA server. The upgradeable feature information included in the feature catalog can be selected by the user. When the user selects the feature to be upgraded from the feature catalog Finally, the terminal can only upgrade the features to be upgraded selected by the user, so that the user can flexibly and conveniently select the features to be upgraded, improve user experience, and provide users with diversified and personalized upgrade services. At the same time, operators and Equipment manufacturers cooperate to provide as many features as possible, further providing users with freedom of choice.
参考图13,图13是本发明实施例提供的一种服务器的装置结构图。参考图13,图13是本发明实施例提供的一种服务器1300,本发明具体实施例并不对所述服务器的具体实现做限定。所述服务器1300包括:Referring to FIG. 13 , FIG. 13 is a device structural diagram of a server provided by an embodiment of the present invention. Referring to FIG. 13 , FIG. 13 is a server 1300 provided by an embodiment of the present invention, and the specific embodiment of the present invention does not limit the specific implementation of the server. The server 1300 includes:
处理器(processor)1301,通信接口(Communications Interface)1302,存储器(memory)1303,总线1304。A processor (processor) 1301 , a communication interface (Communications Interface) 1302 , a memory (memory) 1303 , and a bus 1304 .
处理器1301,通信接口1302,存储器1303通过总线1304完成相互间的通信。The processor 1301 , the communication interface 1302 , and the memory 1303 communicate with each other through the bus 1304 .
通信接口1302,用于与服务器或者OTA服务器进行通信;Communication interface 1302, used for communicating with server or OTA server;
处理器1301,用于执行程序。Processor 1301, configured to execute programs.
具体地,程序可以包括程序代码,所述程序代码包括计算机操作指令。Specifically, the program may include program code, and the program code includes computer operation instructions.
处理器1301可能是一个中央处理器(central processing unit,CPU),或者是特定集成电路ASIC(Application Specific Integrated Circuit),或者是被配置成实施本发明实施例的一个或多个集成电路。The processor 1301 may be a central processing unit (central processing unit, CPU), or a specific integrated circuit ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement the embodiments of the present invention.
存储器1303,用于存储程序。存储器1303可以是易失性存储器(volatilememory),例如随机存取存储器(random-access memory,RAM),或者非易失性存储器(non-volatile memory),例如只读存储器(read-only memory,ROM),快闪存储器(flashmemory),硬盘(hard disk drive,HDD)或固态硬盘(solid-state drive,SSD)。处理器1301根据存储器1303存储的程序指令,执行以下方法:The memory 1303 is used to store programs. The memory 1303 may be a volatile memory (volatile memory), such as a random-access memory (random-access memory, RAM), or a non-volatile memory (non-volatile memory), such as a read-only memory (read-only memory, ROM ), flash memory (flashmemory), hard disk (hard disk drive, HDD) or solid-state drive (solid-state drive, SSD). The processor 1301 executes the following method according to the program instructions stored in the memory 1303:
向终端发送特性目录,以使得所述终端获取用户从所述特性目录中选择的待升级的特性,并升级用户选择的待升级的特性;所述特性目录包括待升级的特性信息,所述特性目录根据新软件版本与旧软件版本的差异得到。sending the feature list to the terminal, so that the terminal acquires the feature to be upgraded selected by the user from the feature list, and upgrades the feature to be upgraded selected by the user; the feature list includes feature information to be upgraded, and the feature The catalog is derived from the difference between the new software version and the old software version.
所述特性目录包括在向所述终端发送的OTA升级包中。The feature directory is included in the OTA upgrade package sent to the terminal.
所述方法还包括:向所述终端发送日志记录表,以使所述终端根据所述日志记录表升级用户选择的待升级的特性;The method further includes: sending a log record table to the terminal, so that the terminal upgrades the feature to be upgraded selected by the user according to the log record table;
所述日志记录表包括在向所述终端发送的OTA升级包中;所述日志记录表根据新软件版本与旧软件版本的差异得到,所述日志记录表中包括所有所述待升级的特性信息的属性信息;所述属性信息包括:新增、更新或删除。The log record table is included in the OTA upgrade package sent to the terminal; the log record table is obtained according to the difference between the new software version and the old software version, and the log record table includes all the characteristic information to be upgraded attribute information; the attribute information includes: adding, updating or deleting.
所述方法在向终端发送特性目录的步骤之后,还可以包括:After the step of sending the characteristic directory to the terminal, the method may further include:
接收所述终端发送的用户从所述特性目录中选择的待升级的特性的信息;receiving information about the features to be upgraded selected by the user from the feature catalog sent by the terminal;
向所述终端发送用户选择的待升级的特性对应的升级包,以使得所述终端根据所述用户选择的待升级的特性对应的升级包对所述用户选择的待升级的特性进行升级。Sending an upgrade package corresponding to the characteristic to be upgraded selected by the user to the terminal, so that the terminal upgrades the characteristic to be upgraded selected by the user according to the upgrade package corresponding to the characteristic to be upgraded selected by the user.
本发明实施例提供一种服务器,所述服务器通过接收OTA服务器发送的特性目录,在从所述特性目录中选择待升级的特性后,升级用户选择的待升级的特性,从而使得用户可以灵活方便的选择需要升级的特性,提高用户体验,同时,使得运营商和设备商合作提高尽可能多的特性,进一步提供用户选择的自由度。An embodiment of the present invention provides a server, the server upgrades the feature to be upgraded selected by the user after receiving the feature list sent by the OTA server, after selecting the feature to be upgraded from the feature list, so that the user can flexibly and conveniently The selection needs to upgrade features to improve user experience. At the same time, operators and equipment manufacturers should cooperate to improve as many features as possible to further provide users with freedom of choice.
以上所述,仅为本发明较佳的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应该以权利要求的保护范围为准。The above is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art within the technical scope disclosed in the present invention can easily think of changes or Replacement should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be determined by the protection scope of the claims.
Claims (6)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310200305.2A CN103313229B (en) | 2013-05-27 | 2013-05-27 | Method and device for upgrading aerial downloading technology |
PCT/CN2014/076564 WO2014190836A1 (en) | 2013-05-27 | 2014-04-30 | Upgrade method and device for over-the-air technology |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310200305.2A CN103313229B (en) | 2013-05-27 | 2013-05-27 | Method and device for upgrading aerial downloading technology |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103313229A CN103313229A (en) | 2013-09-18 |
CN103313229B true CN103313229B (en) | 2017-04-19 |
Family
ID=49137911
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310200305.2A Active CN103313229B (en) | 2013-05-27 | 2013-05-27 | Method and device for upgrading aerial downloading technology |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN103313229B (en) |
WO (1) | WO2014190836A1 (en) |
Families Citing this family (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103313229B (en) * | 2013-05-27 | 2017-04-19 | 华为终端有限公司 | Method and device for upgrading aerial downloading technology |
CN104932909A (en) * | 2014-03-17 | 2015-09-23 | 中兴通讯股份有限公司 | Terminal software upgrading method and device |
CN105094868A (en) * | 2014-05-13 | 2015-11-25 | 中兴通讯股份有限公司 | Software upgrading method, server and terminal |
CN105468393B (en) * | 2014-09-10 | 2019-06-14 | 启碁科技股份有限公司 | module version upgrading method and terminal device |
CN104239110B (en) * | 2014-09-30 | 2017-06-16 | 广东欧珀移动通信有限公司 | Reduce the method and apparatus of OTA delta package sizes |
CN106658475B (en) * | 2015-10-30 | 2020-07-07 | 中兴通讯股份有限公司 | Method and device for upgrading over-the-air technology |
CN106506671B (en) * | 2016-11-22 | 2019-12-13 | 北京安云世纪科技有限公司 | OTA upgrade processing method, device and server |
CN106681759A (en) * | 2016-12-12 | 2017-05-17 | 北京珠穆朗玛移动通信有限公司 | Software updating method and mobile terminal |
CN106658473B (en) * | 2017-03-06 | 2020-06-26 | 奇酷互联网络科技(深圳)有限公司 | Method and equipment for customizing audio and video data |
CN109558160A (en) * | 2017-09-26 | 2019-04-02 | 阿里巴巴集团控股有限公司 | Upgrade method, embedded system |
CN108132798A (en) * | 2017-12-20 | 2018-06-08 | 深圳创维-Rgb电子有限公司 | Upgrade method, device and computer readable storage medium |
CN111970102B (en) * | 2020-08-31 | 2023-06-23 | Oppo广东移动通信有限公司 | Data processing method, device, electronic device and storage medium |
CN113873010B (en) * | 2021-08-31 | 2023-12-22 | 青岛海尔科技有限公司 | Upgrading method and device of equipment, storage medium and electronic device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1662882A (en) * | 2002-06-21 | 2005-08-31 | 皇家飞利浦电子股份有限公司 | Configuration management on the server side |
CN101420431A (en) * | 2008-11-28 | 2009-04-29 | 中兴通讯股份有限公司 | FOTA server, terminal and software version processing method and system therefor |
CN102929669A (en) * | 2012-10-29 | 2013-02-13 | 北京开元智信通软件有限公司 | Embedded software upgrading method, system and device |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070093243A1 (en) * | 2005-10-25 | 2007-04-26 | Vivek Kapadekar | Device management system |
CN101026464A (en) * | 2006-02-25 | 2007-08-29 | 宇龙计算机通信科技(深圳)有限公司 | Wireless terminal wireless upgrding method and wireless upgrading system |
KR101426710B1 (en) * | 2006-07-14 | 2014-09-23 | 삼성전자주식회사 | Apparatus and method for updating version information of a mobile terminal |
CN102098662A (en) * | 2009-12-09 | 2011-06-15 | 乐金电子(中国)研究开发中心有限公司 | Method and system for updating software of mobile terminal |
CN102012826A (en) * | 2010-11-19 | 2011-04-13 | 奇智软件(北京)有限公司 | Method and system for intelligently installing/upgrading software |
CN102917343A (en) * | 2011-08-04 | 2013-02-06 | 中兴通讯股份有限公司 | Firmware upgrading method, device and system |
CN103095838B (en) * | 2013-01-16 | 2016-03-30 | 百度时代网络技术(北京)有限公司 | A kind of method of Android smartphone software of being upgraded by download increment AKU |
CN103313229B (en) * | 2013-05-27 | 2017-04-19 | 华为终端有限公司 | Method and device for upgrading aerial downloading technology |
-
2013
- 2013-05-27 CN CN201310200305.2A patent/CN103313229B/en active Active
-
2014
- 2014-04-30 WO PCT/CN2014/076564 patent/WO2014190836A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1662882A (en) * | 2002-06-21 | 2005-08-31 | 皇家飞利浦电子股份有限公司 | Configuration management on the server side |
CN101420431A (en) * | 2008-11-28 | 2009-04-29 | 中兴通讯股份有限公司 | FOTA server, terminal and software version processing method and system therefor |
CN102929669A (en) * | 2012-10-29 | 2013-02-13 | 北京开元智信通软件有限公司 | Embedded software upgrading method, system and device |
Also Published As
Publication number | Publication date |
---|---|
WO2014190836A1 (en) | 2014-12-04 |
CN103313229A (en) | 2013-09-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103313229B (en) | Method and device for upgrading aerial downloading technology | |
US10503490B2 (en) | Mobile application processing | |
WO2020057131A1 (en) | Content sharing method, terminal device and storage medium | |
JP6011479B2 (en) | Application management apparatus, application management system, and program | |
KR20190067229A (en) | Application interface management method and apparatus | |
US20160170712A1 (en) | Method for integrally implementing development and release of APP | |
CN102546675A (en) | Software upgrading system and method | |
CN106062693B (en) | Desktop sharing method and mobile terminal | |
CN102971705A (en) | Applications including multiple experience modules | |
CN103092665A (en) | Immediate updating device and immediate updating method | |
CN111538523A (en) | Differential upgrading method, device and storage medium | |
JP6289004B2 (en) | Information processing system, information processing method, user terminal, and information processing program | |
CN101330674A (en) | Method for dynamically updating mobile phone software menu | |
CN106547594A (en) | The config update method of theme bag and terminal | |
CN104461612A (en) | Data processing method and device | |
CN106936979A (en) | The method and apparatus of destruction operation | |
EP3260981B1 (en) | Information processing apparatus, information processing system, and information processing method for updating firmware | |
CN106982254B (en) | The method and apparatus of file download | |
CN114296822A (en) | Application skinning processing method, device, device and medium | |
EP2798510B1 (en) | Systems and methods for the management and distribution of settings | |
CN106550102A (en) | A kind of data processing method, device and SIM | |
CN112882733B (en) | Application updating method and device, electronic equipment and storage medium | |
CN113721936A (en) | Application management method, intelligent terminal, device and storage medium | |
US9661056B2 (en) | Modification free extension of web based applications | |
JP6204775B2 (en) | Information processing system and information processing apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20171123 Address after: Metro Songshan Lake high tech Industrial Development Zone, Guangdong Province, Dongguan City Road 523808 No. 2 South Factory (1) project B2 -5 production workshop Patentee after: Huawei terminal (Dongguan) Co.,Ltd. Address before: 518129 Longgang District, Guangdong, Bantian HUAWEI base B District, building 2, building No. Patentee before: HUAWEI DEVICE Co.,Ltd. |
|
CP01 | Change in the name or title of a patent holder |
Address after: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province Patentee after: HUAWEI DEVICE Co.,Ltd. Address before: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province Patentee before: Huawei terminal (Dongguan) Co.,Ltd. |
|
CP01 | Change in the name or title of a patent holder | ||
TR01 | Transfer of patent right |
Effective date of registration: 20210425 Address after: Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040 Patentee after: Honor Device Co.,Ltd. Address before: Metro Songshan Lake high tech Industrial Development Zone, Guangdong Province, Dongguan City Road 523808 No. 2 South Factory (1) project B2 -5 production workshop Patentee before: HUAWEI DEVICE Co.,Ltd. |
|
TR01 | Transfer of patent right | ||
CP03 | Change of name, title or address |
Address after: Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040 Patentee after: Honor Terminal Co.,Ltd. Country or region after: China Address before: 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong Patentee before: Honor Device Co.,Ltd. Country or region before: China |
|
CP03 | Change of name, title or address |