CN106470114A - A kind of collocation method of OTA AKU and device - Google Patents

A kind of collocation method of OTA AKU and device Download PDF

Info

Publication number
CN106470114A
CN106470114A CN201510514150.9A CN201510514150A CN106470114A CN 106470114 A CN106470114 A CN 106470114A CN 201510514150 A CN201510514150 A CN 201510514150A CN 106470114 A CN106470114 A CN 106470114A
Authority
CN
China
Prior art keywords
aku
ota
version
ota aku
software
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.)
Granted
Application number
CN201510514150.9A
Other languages
Chinese (zh)
Other versions
CN106470114B (en
Inventor
朱晓亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications Technology Co Ltd
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 Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN201510514150.9A priority Critical patent/CN106470114B/en
Publication of CN106470114A publication Critical patent/CN106470114A/en
Application granted granted Critical
Publication of CN106470114B publication Critical patent/CN106470114B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality

Abstract

The invention discloses a kind of collocation method of OTA AKU and device, it is related to mobile communication technology field, solve and be upgraded to needed for latest edition by current version that upgrade file chain is not unique due to what server obtained, software cannot successfully be upgraded from current version the problem of latest edition by the terminal unit leading to.Concrete scheme is:Detect whether an OTA AKU is special AKU;When an OTA AKU is special AKU, judge that an OTA AKU keeps whether the duration of special AKU is more than or equal to predetermined threshold value;When the duration that an OTA AKU keeps special AKU is more than or equal to predetermined threshold value, an OTA AKU is configured to common AKU, so that when software needs to be upgraded to the second edition, configures the 2nd OTA AKU on the server.The present invention is used in the configuration process of OTA AKU.

Description

A kind of collocation method of OTA AKU and device
Technical field
The present invention relates to mobile communication technology field, more particularly, to a kind of configuration of OTA AKU Method and device.
Background technology
Aerial download (English:Over the Air, referred to as:OTA) technology is a kind of by no Gauze network carries out the technology of data download, and it is generally applied to the terminals such as mobile phone, panel computer In the escalation process of the fixing version of the systems soft ware of equipment.Mainly adopt in current upgrade method Be single bag escalation policy, specifically, terminal unit initiates the detection of software version, service Device returns a download path to this terminal unit, so that terminal unit obtains according to this download path Obtain an OTA AKU, and then edition upgrading is carried out according to this OTA AKU.And, Storage resource and terminal unit in order to save server downloads the time of OTA AKU, and drops Low development cost, described OTA AKU is usually the differential file between two neighboring version. So, when carrying out system software upgrading using single bag escalation policy, and installing terminal equipment is soft The current version of part is Vm, and the latest edition of this software that server is issued is for Vn (wherein, M, n are positive integer, and n-m >=2) when, a software version can be initiated due to terminal unit Detection, only can obtain a differential file based on current version, lead to terminal unit needs Initiate multiple software version detection and software could be upgraded to latest edition from current version.
Initiate the number of times of redaction detection in order to reduce terminal unit, prior art proposes Wrapping the technology of continuous upgrading a kind of OTA, concrete scheme is that terminal unit initiates a software more Version detection, server can be according to software in the current version of terminal unit and local Latest edition, acquisition is upgraded to all differential files needed for latest edition by current version, and Mark upgrading order and the storing path of each differential file, then by each differential file simultaneously Return to terminal unit, so that terminal unit sequentially and preserves according to the upgrading of each differential file Path obtain multiple differential files, and then according to multiple differential files by software from current version liter Level arrives latest edition.
And in actual application, for the purpose of upgrading risk control, some OTA upgradings Bag is likely to be of particularity.For example, certain software issue all versions be respectively V1, V2, V3, V4, and, in server, the OTA AKU of configuration is respectively differential file V2-V1, complete packet V3, differential file V4-V3, but, differential file V4-V3 is the upgrading for Beijing user Bag, that is, only Beijing user can be upgraded to V4 from V3.In this case, if server Need the higher version V5 of configuration, and this version V5 be for all users, then, be All users (including Beijing user and non-Beijing user) can be allowed to be upgraded to highest version, Existing way is to configure two kinds of upgrade files, such as both upgrade files in the server respectively For differential file V5-V4 and differential file V5-V3.Based on above it is assumed that certain terminal sets Preparation has played software version detection, and the current version of this software of its installation is V1, now exists Using the continuous upgrading of bag more than above-mentioned OTA technology when, server can obtain two upgrade file chains (upgrade file chain includes being upgraded to all upgrade files needed for latest edition by current version), It is respectively:Upgrade file chain 1:Differential file V2-V1, complete packet V3, differential file V4-V3 And differential file V5-V4, upgrade file chain 2:Differential file V2-V1, complete packet V3 with And differential file V5-V3, such server just cannot be known to which upgrading terminal unit returns File chain, thus lead to not successfully upgrade.
Content of the invention
The present invention provides a kind of collocation method of OTA AKU and device, solves due to service What device obtained is upgraded to needed for latest edition by current version that upgrade file chain is not unique, leads to Software cannot successfully be upgraded the problem of latest edition by terminal unit from current version.
For reaching above-mentioned purpose, the present invention adopts the following technical scheme that:
A first aspect of the present invention, provides a kind of collocation method of OTA AKU, is applied to take Business device, described server configures have at least one OTA AKU, and methods described includes:
Detect whether an OTA AKU is special AKU;Wherein, a described OTA AKU includes difference between the current latest edition of described server and first version for the software File, or a described OTA AKU includes the described current latest edition of described software Complete packet, described first version is than a low version of described current latest edition;Described special AKU refers to described software upgrading for section terminating equipment to described current latest edition OTA AKU;
When a described OTA AKU is described special AKU, judge a described OTA AKU keeps whether the duration of described special AKU is more than or equal to predetermined threshold value;
When the duration that a described OTA AKU keeps described special AKU is more than or equal to institute When stating predetermined threshold value, a described OTA AKU is configured to common AKU, so that in institute When stating software and needing to be upgraded to the second edition, the 2nd OTA AKU is configured on described server; Wherein, described common AKU refers to described software upgrading for all terminal units to described The OTA AKU of current latest edition;Described 2nd OTA AKU includes the described second edition This differential file and described current latest edition between, or described 2nd OTA AKU bag Include the complete packet of the described second edition of described software, the described second edition is to need configuration Redaction.
In conjunction with a first aspect, in the first possible implementation, also including:
When the duration that a described OTA AKU keeps described special AKU is less than described presetting During threshold value, judge whether to need described software upgrading to the described second edition;
When need by described software upgrading to the described second edition when, by described first OTA upgrade Bag is configured to described common AKU, to configure described 2nd OTA liter on described server Level bag.
In conjunction with the first possible implementation of first aspect or first aspect, can in second Can implementation in, described by a described OTA AKU be configured to common AKU it Afterwards, also include:
Judge whether comprise automatic AKU at least one OTA AKU described;Wherein, institute State automatic AKU and refer to when the version detection not receiving terminal unit is asked, need to will be described The OTA AKU that software is upgraded;
When comprising described automatic AKU at least one OTA AKU described, by described from Dynamic AKU is sent out with the download path being in all OTA AKUs before described automatic AKU Deliver to described terminal unit, so that described terminal unit is downloaded described automatic AKU and is in institute State all OTA AKUs before automatic AKU.
In conjunction with the first possible implementation of first aspect or first aspect, can at the third Can implementation in, described by a described OTA AKU be configured to common AKU it Afterwards, also include:
The version detection request that receiving terminal apparatus send;Wherein, described version detection request bag Include the version number of the current version in described terminal unit for the described software;
When being upgraded to the OTA AKU needed for described current latest edition by described current version When number is more than default maximum chain length, according to the version number of described current version, from described to The OTA AKU with described maximum chain length equivalent number is obtained in a few OTA AKU; Wherein, all OTA liters in the OTA AKU of described and described maximum chain length equivalent number Level bag is continuous, and first OTA AKU is included between described current version and third edition basis Differential file, or described first OTA AKU include described software the described third edition this Complete packet, this version higher than described current version of the described third edition;
By each OTA upgrading in the OTA AKU of described and described maximum chain length equivalent number The download path of bag sends to described terminal unit, so as described terminal unit download described each OTA AKU.
In conjunction with the first possible implementation of first aspect or first aspect, can at the 4th kind Can implementation in, described by a described OTA AKU be configured to common AKU it Afterwards, also include:
The version detection request that receiving terminal apparatus send;Wherein, described version detection request bag Include the version number of the current version in described terminal unit for the described software and the product of described terminal unit Product model;
3rd OTA AKU is obtained according to described product type;Wherein, described 3rd OTA AKU includes the differential file between described current version and third edition basis, or the described 3rd OTA AKU includes this complete packet of the described third edition of described software, described this ratio of the third edition The high version of described current version;
According to the configuration parameter of described 3rd OTA AKU, determine that described terminal unit is supported many Bag is continuous to upgrade;
Obtain OTA AKU set, and by all OTA liters in described OTA AKU set The download path of level bag sends to described terminal unit, so that the download of described terminal unit is described OTA AKU set;Wherein, described OTA AKU set is included by described current version It is upgraded to the OTA AKU needed for described current latest edition.
In conjunction with the 4th kind of possible implementation of first aspect, the 5th kind of possible realization side In formula, described acquisition OTA AKU set, including:
Obtain by all OTA AKUs of described current version to described current latest edition, obtain First set to OTA AKU;
Judge to whether there is in the OTA AKU that described first set comprises and include described software The OTA AKU of the complete packet of corresponding version;
When there is the OTA AKU of complete packet of the described corresponding version including described software, By be in described include described software corresponding version complete packet OTA AKU after institute The OTA upgrading package having OTA AKU and including the complete packet of corresponding version of described software Become described OTA AKU set.
A second aspect of the present invention, provides a kind of configuration device of OTA AKU, is applied to take Business device, described server configures have at least one OTA AKU, and described device includes:
Whether detector unit, be special AKU for detection the first OTA AKU;Wherein, A described OTA AKU includes software in the current latest edition of described server and the first edition Differential file between this, or a described OTA AKU includes the described of described software and works as The complete packet of front latest edition, described first version is than a low version of described current latest edition This;Described special AKU refers to work as described software upgrading to described for section terminating equipment The OTA AKU of front latest edition;
Judging unit, for being institute when described detector unit detects a described OTA AKU When stating special AKU, judge described first OTA AKU keep described special AKU when Whether length is more than or equal to predetermined threshold value;
When described judging unit, dispensing unit, for judging that obtaining a described OTA AKU protects When the duration holding described special AKU is more than or equal to described predetermined threshold value, by described first OTA AKU is configured to common AKU, to need to be upgraded to the second edition in described software When, the 2nd OTA AKU is configured on described server;Wherein, described common AKU is Refer to for all terminal units, the OTA of described software upgrading to described current latest edition upgrade Bag;Described 2nd OTA AKU is included between the described second edition and described current latest edition Differential file, or described 2nd OTA AKU includes the described second edition of described software Complete packet, the described second edition be need configuration latest edition.
In conjunction with second aspect, in the first possible implementation,
Described judging unit, is additionally operable to keep described special upgrading when a described OTA AKU When the duration of bag is less than described predetermined threshold value, judge whether to need described software upgrading to described The second edition;
Described dispensing unit, is additionally operable to judge to obtain needing by described software when described judging unit When being upgraded to the described second edition, a described OTA AKU is configured to described common upgrading Bag, to configure described 2nd OTA AKU on described server.
In conjunction with the first possible implementation of second aspect or second aspect, can in second In the implementation of energy,
Described judging unit, is additionally operable to join a described OTA AKU in described dispensing unit After being set to common AKU, judge whether comprise automatically at least one OTA AKU described AKU;Wherein, described automatic AKU refers to do not receiving the version detection of terminal unit During request, the OTA AKU that described software need to be upgraded;
Described device also includes:
Transmitting element, for judging to obtain described at least one OTA upgrading when described judging unit When comprising described automatic AKU in bag, by described automatic AKU and be in described automatic upgrading The download path of all OTA AKUs before bag sends to described terminal unit, so that described Terminal unit is downloaded described automatic AKU and is in all OTA before described automatic AKU AKU.
In conjunction with the first possible implementation of second aspect or second aspect, can at the third In the implementation of energy, also include:
Receiving unit, general for being configured to a described OTA AKU in described dispensing unit After logical AKU, the version detection request that receiving terminal apparatus send;Wherein, described version Detection request includes the version number of the current version in described terminal unit for the described software;
Acquiring unit, is upgraded to needed for described current latest edition by described current version for working as OTA AKU number be more than default maximum chain length when, according to the version of described current version This number, obtain from least one OTA AKU described and described maximum chain length equivalent number OTA AKU;Wherein, in the OTA AKU of described and described maximum chain length equivalent number All OTA AKUs are continuous, and first OTA AKU includes described current version and the Differential file between three versions, or described first OTA AKU include described software This complete packet of the described third edition, this version higher than described current version of the described third edition;
Transmitting element, for described in described acquiring unit is got with described maximum chain appearance Send to described terminal etc. the download path of each OTA AKU in the OTA AKU of number Equipment, so that described terminal unit downloads each OTA AKU described.
In conjunction with the first possible implementation of second aspect or second aspect, can at the 4th kind In the implementation of energy, also include:
Receiving unit, general for being configured to a described OTA AKU in described dispensing unit After logical AKU, the version detection request that receiving terminal apparatus send;Wherein, described version Detection request includes the version number of the current version in described terminal unit for the described software and described end The product type of end equipment;
Acquiring unit, the described product type for being received according to described receiving unit obtains the Three OTA AKUs;Wherein, described 3rd OTA AKU includes described current version and Differential file between three versions, or described 3rd OTA AKU includes the institute of described software State this complete packet of the third edition, this version higher than described current version of the described third edition;
Determining unit, for the described 3rd OTA AKU being got according to described acquiring unit Configuration parameter, determine that described terminal unit is supported to wrap continuous upgrading more;
Described acquiring unit, is additionally operable to obtain OTA AKU set;Wherein, described OTA AKU set includes being upgraded to needed for described current latest edition by described current version OTA AKU;
Transmitting element, in the described OTA AKU set that gets described acquiring unit The download path of all OTA AKUs sends to described terminal unit, so that described terminal unit Download described OTA AKU set.
In conjunction with the 4th kind of possible implementation of second aspect, the 5th kind of possible realization side In formula, described acquiring unit, specifically for:
Obtain by all OTA AKUs of described current version to described current latest edition, obtain First set to OTA AKU;
Judge to whether there is in the OTA AKU that described first set comprises and include described software The OTA AKU of the complete packet of corresponding version;
When there is the OTA AKU of complete packet of the described corresponding version including described software, By be in described include described software corresponding version complete packet OTA AKU after institute The OTA upgrading package having OTA AKU and including the complete packet of corresponding version of described software Become described OTA AKU set.
The collocation method of OTA AKU and device that the present invention provides, server detects the first Whether one OTA AKU is to can be only used for section terminating equipment by software upgrading to currently up-to-date The special AKU of version, and when an OTA AKU is detected for special AKU, continue Whether the continuous duration judging an OTA AKU special AKU of holding is more than or equal to default Threshold value, is then more than or equal in the duration determining an OTA AKU special AKU of holding During predetermined threshold value, an OTA AKU is configured to be enough in all terminal units will be soft Part is upgraded to the common AKU of current latest edition.So, with respect to prior art, service Device pass through an OTA AKU be special AKU, and keep special AKU when grow up In or be equal to predetermined threshold value when, an OTA AKU is configured to common AKU so that When software needs to configure highest version, server need not configure the highest version pair with the configuration of this needs The multiple OTA AKUs answered, and then avoid server and receiving the software version of terminal unit During this detection, get is upgraded to latest edition institute by software in the current version of terminal unit Need the not unique problem of upgrade file chain to occur, ensure that terminal unit can by software from Current version is upgraded to latest edition, improves Consumer's Experience.
Brief description
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below The accompanying drawing of required use in embodiment or description of the prior art will be briefly described, show and Easily insight, drawings in the following description are only some embodiments of the present invention, for this area For those of ordinary skill, without having to pay creative labor, can also be according to this A little accompanying drawings obtain other accompanying drawings.
A kind of collocation method flow process of OTA AKU that Fig. 1 provides for one embodiment of the invention Figure;
The collocation method flow process of another kind of OTA AKU that Fig. 2 provides for one embodiment of the invention Figure;
The collocation method flow process of another OTA AKU that Fig. 3 provides for one embodiment of the invention Figure;
The collocation method flow process of another OTA AKU that Fig. 4 provides for one embodiment of the invention Figure;
A kind of configuration device composition of OTA AKU that Fig. 5 provides for another embodiment of the present invention Schematic diagram;
The configuration device group of another kind of OTA AKU that Fig. 6 provides for another embodiment of the present invention Become schematic diagram.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, to the technical side in the embodiment of the present invention Case is clearly and completely described it is clear that described embodiment is only the present invention one Divide embodiment, rather than whole embodiments.Based on the embodiment in the present invention, this area is general The every other embodiment that logical technical staff is obtained under the premise of not making creative work, Broadly fall into the scope of protection of the invention.
One embodiment of the invention provides a kind of collocation method of OTA AKU, is applied to server, This server configures has at least one OTA AKU, as shown in figure 1, the method can include:
101st, server detects whether an OTA AKU is special AKU.
Wherein, an OTA AKU includes the current latest edition and first in server for the software Differential file between version, or an OTA AKU includes the current latest edition of software Complete packet, the low version of first version than current latest edition.Described special upgrading Bag refers to the OTA AKU of software upgrading to current latest edition for section terminating equipment.
Specifically, for the purpose of upgrading risk control, under some application scenarios, run dimension When shield personnel configure OTA AKU in the server, some OTA AKUs can be configured to For section terminating equipment by the special AKU of software upgrading to latest edition, for example, pressing Under the scene upgraded according to region, by some OTA AKUs be configured for a certain specifically The AKU that software upgrading is currently up-to-date version by the terminal unit in area, so, in terminal When equipment initiates software version detection, the terminal unit being only in this particular locality just can be examined Measure this OTA AKU, and the terminal unit being not in this particular locality just can't detect.But It is, in order to avoid when software needs to configure highest version, server configures are multiple to be joined with this needs The highest version corresponding OTA AKU put, and lead to by software terminal unit current version Originally it is upgraded to the not unique situation of upgrade file chain needed for latest edition to occur, server needs to examine Survey and include differential file between the current latest edition of server and first version for the software, or Person includes an OTA AKU (the i.e. server inspection of the complete packet of current latest edition of software Survey last the OTA AKU at least one OTA AKU of itself configuration) whether For special AKU.
102nd, when an OTA AKU is special AKU, server judges an OTA AKU keeps whether the duration of special AKU is more than or equal to predetermined threshold value.
Wherein, when server detects an OTA AKU for special AKU, Ke Yiji Whether the continuous duration judging an OTA AKU special AKU of holding is more than or equal to default Threshold value.Exemplary, this predetermined threshold value can be preset and configure in an OTA liter One of level bag ageing attribute.
It should be noted that the predetermined threshold value described in the embodiment of the present invention can be answered according to actual It is configured with the demand of scene, the embodiment of the present invention is at this to the concrete value of predetermined threshold value not Do concrete restriction.
103rd, preset when the duration that an OTA AKU keeps special AKU is more than or equal to During threshold value, an OTA AKU is configured to common AKU by server, to need in software When being upgraded to the second edition, configure the 2nd OTA AKU on the server.
Wherein, common AKU refers to software upgrading for all terminal units to currently up-to-date The OTA AKU of version.2nd OTA AKU includes the second edition and current latest edition Between differential file, or the 2nd OTA AKU includes the complete packet of the second edition of software, The second edition is the latest edition needing configuration.
Specifically, in order to when software needs to be upgraded to the second edition, need not be in server The multiple OTA AKUs corresponding with this second edition of upper configuration, when server determines an OTA When AKU keeps the duration of special AKU to be more than or equal to predetermined threshold value, just can by this One OTA AKU is configured to be enough in all terminal units by software upgrading to current latest edition This common AKU, so, when software needs to be upgraded to the second edition, operation maintenance people Member just only need to configure a kind of OTA AKU corresponding with this second edition on the server, i.e. Configure a 2nd OTA AKU on the server.
Exemplary it is assumed that all versions that certain software is issued are respectively:V1、V2、V3、V4、 V5.Accordingly, on server, the OTA AKU of configuration is respectively differential file V2-V1, difference Single cent part V3-V2, differential file V4-V3, differential file V5-V4, and differential file V5-V4 It is special AKU just for Qingdao user that is to say, that only Qingdao user corresponding end End equipment, when initiating software version detection, just can detect current latest edition V5, for non- The corresponding terminal unit of Qingdao user, is only able to detect version V4.Now server can detect It is special AKU to differential file V5-V4, and continue to judge that this differential file V5-V4 keeps The duration of special AKU whether more than or equal to predetermined threshold value (it is assumed that this differential file V5-V4 In comprise ageing attribute, this ageing attribute is corresponding to be worth for 1 day, that is, predetermined threshold value be 1 My god) it is assumed that this differential file V5-V4 keep special AKU when a length of 1 day 01 hours, So, now server can determine that differential file V5-V4 has kept the duration of special AKU More than predetermined threshold value, so, differential file V5-V4 just can be configured to commonly rise by server Level bag, and then, when software needs to be upgraded to V6, operation maintenance personnel just can be directly in clothes A kind of OTA AKU corresponding with V6 of configuration on business device, such as configuration differential file V6-V5.
In embodiments of the present invention, further, the collocation method of this OTA AKU is acceptable Including:When the duration that an OTA AKU keeps special AKU is less than predetermined threshold value, clothes Business device judges whether to need software upgrading to the second edition.
When needing software upgrading to the second edition, an OTA AKU is configured by server For common AKU, to configure the 2nd OTA AKU on the server.
Wherein, in order to only need to configure a kind of feelings of OTA AKU corresponding with this second edition It is ensured that all terminal units can detect highest version under condition, when server determines an OTA When AKU keeps the duration of special AKU to be less than predetermined threshold value, server can continue to judge Whether there is the demand of configuration highest version, that is, judge whether to need by software upgrading to the second edition (i.e. Need the latest edition of configuration), and when determination needs software upgrading to the second edition, take First OTA AKU just can be configured to common AKU, in order to operation maintenance people by business device Member only need to configure a kind of OTA AKU corresponding with this second edition on the server, i.e. One the 2nd OTA AKU is configured on server.
In the first possible application scenarios, when software occur some leaks when, need with In the case of family is unwitting, software is upgraded automatically, therefore, in embodiments of the present invention, Further, as shown in Fig. 2 after step 103, the collocation method of this OTA AKU 104- step 105 can also be comprised the following steps:
104th, server judges whether comprise automatic AKU at least one OTA AKU.
Wherein, described automatic AKU refers to that the version detection not receiving terminal unit please When asking, the OTA AKU that software need to be upgraded.
105th, when comprising automatic AKU at least one OTA AKU, server will be from Dynamic AKU and be in all OTA AKUs before automatic AKU download path send to Terminal unit, so that terminal unit is downloaded automatic AKU and is in the institute before automatic AKU There is OTA AKU.
Wherein, for the scene needing automatic upgrading, server may determine that itself configuration at least When whether being included in the version detection request not receiving terminal unit in one OTA AKU, The OTA AKU that software need to be upgraded, that is, judge at least one OTA AKU be No comprise automatic AKU, and determine at least one OTA AKU in comprise automatic AKU When, all OTA AKUs before this automatic AKU are also changed into " automatic AKU ", Terminal unit can not be forced to upgrade for the OTA AKU after this automatic AKU.
Exemplary it is assumed that the OTA AKU configuring certain software on server is respectively difference literary composition Part V2-V1, complete packet V3, differential file V4-V3, differential file V5-V4, and assume poor Single cent part V4-V3 is to be to repair the automatic AKU that some leaks configure, then service Device detect differential file V4-V3 be automatic AKU after, by differential file V2-V1, The download path of complete packet V3 and differential file V4-V3 sends to terminal unit, so that eventually End equipment can be according to differential file V2-V1, complete packet V3 and differential file V4-V3 Download path downloads differential file V2-V1, complete packet V3 and differential file V4-V3, and then Complete automatically to upgrade.
And, when comprising multiple automatic AKU at least one OTA AKU, server By automatic AKU nearest for the current latest edition of distance in multiple automatic AKUs and can be somebody's turn to do certainly The download path of all OTA AKUs before dynamic AKU sends to terminal unit, so that eventually End equipment download multiple automatic AKUs in the nearest automatic AKU of the current latest edition of distance and It is in all OTA AKUs before this automatic AKU.
In the possible application scenarios of second, under the mechanism wrapping continuous upgrading, for end more The current version of the software installed in end equipment is relatively low, and the latest edition issued on server is relatively High situation, the number of the OTA AKU that client detects may be very many, so, If when the memory space inadequate of terminal unit and/or not enough power supply, terminal unit occurs that upgrading is lost Situation about losing, therefore, in order to avoid the appearance of this situation, in embodiments of the present invention, Further, as shown in figure 3, after step 103, the collocation method of this OTA AKU 106- step 108 can also be comprised the following steps:
106th, the version detection request that server receiving terminal apparatus send.
Wherein, described version detection request includes the version of the current version in terminal unit for the software This number.
107th, when be upgraded to by current version the OTA AKU needed for current latest edition Number more than default maximum chain length when, server according to the version number of current version, from least one The OTA AKU with maximum chain length equivalent number is obtained in individual OTA AKU.
Wherein, all OTA in the described OTA AKU with maximum chain length equivalent number AKU is continuous, and first OTA AKU includes the difference between current version and third edition basis Single cent part, or first OTA AKU include this complete packet of the third edition of software, the 3rd Version high version than current version.
Specifically, when server receives the inclusion software of terminal unit transmission in terminal unit The version number of current version version detection request after, server can first according to software at end The version number of the current version of end equipment and the version number of local current latest edition, determine by Current version be upgraded to the number of the OTA AKU needed for latest edition whether more than default Big chain length, and it is upgraded to the individual of the OTA AKU needed for latest edition by current version in determination When number is more than maximum chain length, server can be according to the version number of current version, from current version Start, obtain OTA AKU from least one OTA AKU, until the OTA getting The number of AKU is equal with maximum chain length.
It should be noted that in embodiments of the present invention, described maximum chain length can be according to reality The demand of border application scenarios is configured, the embodiment of the present invention specifically taking to maximum chain length at this It is worth and be not particularly limited.
108th, server by with each OTA liter in the OTA AKU of maximum chain length equivalent number The download path of level bag sends to terminal unit, so that terminal unit downloads each OTA AKU.
Wherein, get from least one OTA AKU in server equal with maximum chain length After the OTA AKU of number, just can be by the OTA upgrading with maximum chain length equivalent number The download path of each the OTA AKU in bag sends to terminal unit, so, terminal unit OTA AKU with maximum chain length equivalent number can be downloaded according to the download path receiving In each OTA AKU.Further, download to equal with maximum chain length in terminal unit Each OTA AKU in the OTA AKU of number, and after completing this time to upgrade, terminal sets For continuing to send version detection request to server, further obtain OTA AKU, Until by software upgrading on server configuration current latest edition.
Exemplary it is assumed that on server the total number of the OTA AKU of configuration be 20, The number being upgraded to the OTA AKU needed for highest version by minimum version is 20, certain The current version of this software of individual installing terminal equipment is minimum version, and default maximum chain length For 6, then when this terminal unit to server initiate version detection request after, server according to The current latest edition that software configures in the current version server of this terminal unit, determines The OTA AKU being upgraded to by current version needed for current latest edition number be 20, and More than default maximum chain length 6, then server now just can be by before in OTA AKU The download path of 6 OTA AKUs returns to terminal unit, so that the first basis of terminal unit should The download path of 6 OTA AKUs is upgraded it is possible to be continued to send version to server Till detection request is it is known that be upgraded to highest version.
In the third possible application scenarios, in order to compatibility single Bao Sheng of the prior art Terminal unit can be divided into and support the terminal unit of the continuous upgrading of many bags and support list by level strategy The terminal unit of bag upgrading, then, in embodiments of the present invention, further, as Fig. 4 institute Show, after step 103, the collocation method of this OTA AKU can also comprise the following steps 109- step 112:
109th, the version detection request that server receiving terminal apparatus send.
Wherein, described version detection request includes the version of the current version in terminal unit for the software This number and the product type of terminal unit.
110th, server obtains the 3rd OTA AKU according to product type.
Wherein, the 3rd OTA AKU includes the differential file between current version and third edition basis, Or the 3rd OTA AKU includes this complete packet of the third edition of software, the third edition this than current The high version of version.
Specifically, when server receives the version detection request of terminal unit transmission, permissible According to the product type of the terminal unit comprising in the request of this version detection, obtain and include current version This and than current version a high version differential file between this for the third edition, or include soft 3rd OTA AKU of this complete packet of the third edition of the high version of ratio current version of part.
111st, server, according to the configuration parameter of the 3rd OTA AKU, determines that terminal unit props up Hold wrap continuously to upgrade more.
Wherein, server, can be according to the 3rd after getting the 3rd OTA AKU Configuration parameter in OTA AKU, determines that this terminal unit is to support the ends wrapping continuous upgrading more End equipment, or support the terminal unit of single bag upgrading, and support, in determination terminal unit, wrap more Continuous upgrading, when that is, determination terminal unit is to support the terminal unit wrapping and continuously upgrading more, execution Following steps 112.If server determines that terminal unit supports single bag upgrading, that is, determine terminal unit When being the terminal unit supporting single bag upgrading, can be directly by the download road of the 3rd OTA AKU Footpath returns to terminal unit, so that terminal unit is according to by the download path of the 3rd OTA AKU Download the 3rd OTA AKU, and upgraded.
Exemplary, can configure different in advance in terminal unit corresponding OTA AKU Upgrade mode (this upgrade mode is configuration parameter), upgrade mode can include singly wrapping upgrading Wrap continuous upgrading with more, and for an OTA AKU, only can support a kind of upgrading mould Formula, i.e. be the terminal units supporting the continuous upgrading of many bags for terminal unit, its corresponding OTA All comprise occurrence in AKU is the configuration parameter wrapping continuous upgrading more, and for terminal unit For supporting the terminal unit of single bag upgrading, all comprising occurrence in its corresponding OTA AKU is The configuration parameter of single bag upgrading, so that server judges that this terminal unit is to support to wrap continuous liter more The terminal unit of level, or support the terminal unit of single bag upgrading.
112nd, server obtains OTA AKU set, and will be all in OTA AKU set The download path of OTA AKU sends to terminal unit, so that terminal unit downloads OTA upgrading Bag set.
Wherein, the set of OTA AKU includes being upgraded to current latest edition institute by current version The OTA AKU needing.When server determines that terminal unit supports the continuous upgrading of many bags, just may be used To continue to obtain OTA AKU, include being upgraded to current latest edition by current version to obtain The OTA AKU set of required OTA AKU, and getting OTA AKU set Afterwards, the download path of all OTA AKUs in this OTA AKU set was sent to end End equipment, so that terminal unit downloads OTA AKU set, and then by software from current version It is upgraded to current latest edition.
In embodiments of the present invention, in order to, on the premise of the upgrading that assures success, reducing and sending out Deliver to the number of the OTA AKU of terminal unit, the acquisition OTA liter described in step 112 Level bag set specifically can include:
Server obtains by all OTA AKUs of current version to current latest edition, obtains The first set of OTA AKU, and judge whether deposit in the OTA AKU that first set comprises OTA AKU in the complete packet of the corresponding version including software;Include the right of software when existing Answer version the OTA AKU of complete packet when, the complete of corresponding version including software will be in All OTA AKUs after the OTA AKU of bag are complete with the corresponding version including software The OTA AKU of whole bag forms described OTA AKU set.
And, the complete packet for the corresponding versions including multiple inclusion softwares in first set OTA AKU situation, can be by the complete packet of this multiple corresponding version including softwares All OTA after the nearest OTA AKU of the current latest edition of distance in OTA AKU AKU is upgraded apart from the nearest described OTA of OTA AKU composition of current latest edition with this Bag set.For example, OTA AKU is respectively differential file V2-V1, complete packet V3, difference File V4-V3, differential file V5-V4, complete packet V6, differential file V7-V6, difference literary composition Part V8-V7, then the final first set determining is complete packet V6, differential file V7-V6, Differential file V8-V7.
Exemplary it is assumed that the OTA AKU configuring certain software on server is respectively difference literary composition Part V2-V1, complete packet V3, differential file V4-V3, differential file V5-V4, and server Software the working as in terminal unit that the version detection request that the terminal unit receiving sends includes The version number of front version is V1, then server can first obtain by current version V1 to currently All OTA AKUs of latest edition V5, obtain the first set of OTA AKU, and this One set includes differential file V2-V1, complete packet V3, differential file V4-V3, differential file V5-V4, then, judges to whether there is the complete of the corresponding version including software in this first set The OTA AKU of bag, that is, the full bag of certain version of software is it may be determined that deposit in first set In the OTA AKU of the complete packet of the corresponding version including software, i.e. complete packet V3, then Server just can be only by under complete packet V3, differential file V4-V3, differential file V5-V4 Carry path to send to terminal unit.
And, in a kind of possible application scenarios, in order to avoid upgrading using differential file Now upgrade failure situation occur, in some cases, except configuring differential file in the server Outside it is also possible to the complete packet of corresponding some versions of configuration software in the server, now, In the case that this version had not only been configured with complete packet but also had been configured with differential file, preferentially set to terminal The standby upgrade file chain returning the differential file comprising this version.
For the ease of the understanding of those skilled in the art, answering for above-mentioned all possible presence With scene, the embodiment of the present invention is illustrated to the process that implements of the present invention at this.
For example, on server issue certain software all versions be A, B, C, D, E, F, The OTA upgrading of configuration on G, H, I, J, K, L, M, N, O, P, Q, and server Bag is respectively:Differential file A-B, complete packet C, differential file C-D, differential file D-E, Differential file E-F, differential file F-G, differential file G-H, complete packet H, differential file H-I, complete packet J, differential file J-K, differential file K-L, differential file L-M, difference literary composition Part M-N, differential file N-O, differential file O-P, differential file P-Q, this software is in terminal The current version of equipment is A, default maximum chain a length of 7, and wherein, differential file P-Q is only Special AKU for Shanghai user.
Server first detects whether differential file P-Q is special AKU, then, poor determining After single cent part P-Q is special AKU, judge that differential file P-Q keeps special AKU Duration whether is more than or equal to predetermined threshold value it is assumed that differential file P-Q keeps special AKU Duration be more than predetermined threshold value, then this differential file P-Q just can be configured to general by server Logical AKU, can be upgraded to highest version Q in order to all of terminal unit.
Further, server can detect and whether there is automatic liter in all of OTA AKU It is assumed that there is not automatic AKU in all of OTA AKU in level bag, then now server It is left intact it is assumed that the differential file F-G in OTA AKU is automatic AKU, that Now, server can be by differential file A-B, complete packet C, differential file C-D, difference File D-E, differential file E-F, the download path of differential file F-G send to terminal unit, So that terminal unit is by software upgrading to version G.Certainly, server can also further really Surely comprise complete packet C in the OTA AKU that need to return, before now can giving up complete packet OTA AKU that is to say, that server may finally to terminal unit return complete packet C, Under differential file C-D, differential file D-E, differential file E-F and differential file F-G Carry path.
Further, the version detection request that server receiving terminal apparatus send, and comprise soft The version number A of the current version in terminal unit for the part, now server can first obtain difference literary composition Part A-B, and judge whether this terminal unit is supported according to the configuration parameter of this differential file A-B Wrap continuously is upgraded more.If it is determined that this terminal unit supports that wrap continuously is upgraded more, then judge by current Whether version A is upgraded to the number of the OTA AKU needed for highest version Q more than maximum chain Long 7 it may be determined that go out the OTA AKU being upgraded to needed for highest version Q by current version A Number 17 be more than maximum chain length 7, then server can obtain 7 OTA AKUs, and This 7 OTA AKUs are continuous, and first OTA AKU is necessary for differential file A-B. So, 7 OTA AKUs of acquisition are respectively differential file A-B, complete packet C, difference File C-D, differential file D-E, differential file E-F, differential file F-G, differential file G-H. In addition, server also detects that is configured with complete packet H in server, big due to differential file Less than complete packet, therefore, download the duration of AKU and save end to reduce terminal unit The electricity of end equipment, can return differential file A-B, complete packet C, differential file with prioritizing selection C-D, differential file D-E, differential file E-F, differential file F-G, differential file G-H. Then server, it is also determined that there is complete packet C in 7 OTA AKUs, now can be given up OTA AKU before complete packet that is to say, that final determine return to terminal unit OTA AKU includes:Complete packet C, differential file C-D, differential file D-E, difference literary composition Part E-F, differential file F-G, differential file G-H.So server just can by complete packet C, Differential file C-D, differential file D-E, differential file E-F, differential file F-G, difference literary composition The download path of part G-H sends to terminal unit, so that terminal unit downloads OTA AKU simultaneously Complete this time to upgrade.Further, terminal unit can also initiate version detection request again, And said process is repeated by server so that the most at last software upgrading to highest version Q.
The collocation method of the OTA AKU that the present invention provides, server detects an OTA first Whether AKU is to can be only used for section terminating equipment by software upgrading to current latest edition Special AKU, and when an OTA AKU is detected for special AKU, continue to judge First OTA AKU keeps whether the duration of special AKU is more than or equal to predetermined threshold value, Then it is more than or equal to default threshold in the duration determining an OTA AKU special AKU of holding During value, an OTA AKU is configured to be enough in all terminal units by software upgrading Common AKU to current latest edition.So, with respect to prior art, server passes through It is special AKU in an OTA AKU, and keep the duration of special AKU to be more than or wait When predetermined threshold value, an OTA AKU is configured to common AKU so that in software When needing to configure highest version, it is corresponding that server need not configure multiple highest versions with the configuration of this needs OTA AKU, and then avoid server receiving terminal unit software version detect When, get is upgraded to upgrading needed for latest edition by software in the current version of terminal unit The not unique problem of file chain occurs, and ensures that terminal unit can be by software from current version Originally it is upgraded to latest edition, improve Consumer's Experience.
And, by the maximum chain length of setting so that when the current version of terminal unit is relatively low, Can first from server fetching portion OTA AKU, it is to avoid all OTA of disposable acquisition The situation of the upgrading failure that AKU may lead to occurs, thus reducing the risk of upgrading failure, Further increase Consumer's Experience.By configuration upgrading mode in OTA AKU so that can With to supporting the terminal units wrapping continuous upgrading to return multiple OTA AKUs it is achieved that and existing more There is the compatibility of single bag escalation policy.
Another embodiment of the present invention provides a kind of configuration device of OTA AKU, is applied to service Device, described server configures have at least one OTA AKU, as shown in figure 5, this OTA The configuration device of AKU can include:Detector unit 21, judging unit 22, dispensing unit 23.
Whether detector unit 21, be special AKU for detection the first OTA AKU;Wherein, A described OTA AKU includes software in the current latest edition of described server and the first edition Differential file between this, or a described OTA AKU includes the described of described software and works as The complete packet of front latest edition, described first version is than a low version of described current latest edition This;Described special AKU refers to work as described software upgrading to described for section terminating equipment The OTA AKU of front latest edition.
Judging unit 22, for detecting a described OTA upgrading when described detector unit 21 When wrapping as described special AKU, judge that a described OTA AKU keeps described special upgrading Whether the duration of bag is more than or equal to predetermined threshold value.
Dispensing unit 23, for judging to obtain a described OTA liter when described judging unit 22 When level bag keeps the duration of described special AKU to be more than or equal to described predetermined threshold value, will be described First OTA AKU is configured to common AKU, to need to be upgraded to second in described software During version, the 2nd OTA AKU is configured on described server;Wherein, described common upgrading Bag refers to the OTA of described software upgrading to described current latest edition for all terminal units AKU;Described 2nd OTA AKU includes the described second edition and described current latest edition Between differential file, or described 2nd OTA AKU includes described the second of described software The complete packet of version, the described second edition is the latest edition needing configuration.
In embodiments of the present invention, further, described judging unit 22, is additionally operable to when described When first OTA AKU keeps the duration of described special AKU to be less than described predetermined threshold value, sentence Disconnected the need of by described software upgrading to the described second edition.
Described dispensing unit 23, is additionally operable to judge that obtain needing will be described when described judging unit 22 When software upgrading is to the described second edition, a described OTA AKU is configured to described common AKU, to configure described 2nd OTA AKU on described server.
In embodiments of the present invention, further, described judging unit 22, is additionally operable to described After a described OTA AKU is configured to common AKU by dispensing unit 23, judge institute State at least one OTA AKU and whether comprise automatic AKU;Wherein, described automatic upgrading Bag refers to, when the version detection not receiving terminal unit is asked, to be risen described software The OTA AKU of level.
As shown in fig. 6, described device can also include:Transmitting element 24.
Transmitting element 24, for judging to obtain at least one OTA described when described judging unit 22 When comprising described automatic AKU in AKU, by described automatic AKU and be in described automatically The download path of all OTA AKUs before AKU sends to described terminal unit, so that Described terminal unit is downloaded described automatic AKU and is in all before described automatic AKU OTA AKU.
In embodiments of the present invention, further, this device can also include:Receiving unit 25, Acquiring unit 26.
Receiving unit 25, for joining a described OTA AKU in described dispensing unit 23 After being set to common AKU, the version detection request that receiving terminal apparatus send;Wherein, institute State the version number that version detection request includes the current version in described terminal unit for the described software.
Acquiring unit 26, is upgraded to described current latest edition institute for working as by described current version When the number of the OTA AKU needing is more than default maximum chain length, according to described current version Version number, obtains and described maximum chain length equivalent number from least one OTA AKU described OTA AKU;Wherein, the OTA AKU of described and described maximum chain length equivalent number In all OTA AKUs continuous, and first OTA AKU includes described current version And differential file between this for the third edition, or described first OTA AKU include described soft This complete packet of the described third edition of part, this version higher than described current version of the described third edition This.
Transmitting element 24, for described in described acquiring unit 26 is got with described maximum chain In the OTA AKU of long equivalent number, the download path of each OTA AKU sends to described Terminal unit, so that described terminal unit downloads each OTA AKU described.
In embodiments of the present invention, further, this device can also include:Determining unit 27.
Receiving unit 25, for joining a described OTA AKU in described dispensing unit 23 After being set to common AKU, the version detection request that receiving terminal apparatus send;Wherein, institute State version detection request includes the version number of the current version in described terminal unit for the described software with The product type of described terminal unit.
Acquiring unit 26, for obtaining according to the described product type that described receiving unit 25 receives Take the 3rd OTA AKU;Wherein, described 3rd OTA AKU includes described current version And differential file between this for the third edition, or described 3rd OTA AKU includes described software This complete packet of the described third edition, this version higher than described current version of the described third edition.
Determining unit 27, for described 3rd OTA being got according to described acquiring unit 26 The configuration parameter of AKU, determines that described terminal unit supports that wrap continuously is upgraded more.
Described acquiring unit 26, is additionally operable to obtain OTA AKU set;Wherein, described OTA AKU set includes being upgraded to needed for described current latest edition by described current version OTA AKU.
Transmitting element 24, for the described OTA AKU getting described acquiring unit 26 In set, the download path of all OTA AKUs sends to described terminal unit, so that described end End equipment downloads described OTA AKU set.
In embodiments of the present invention, further, described acquiring unit 26, specifically for obtaining By all OTA AKUs of described current version to described current latest edition, obtain OTA The first set of AKU;Judge to whether there is in the OTA AKU that described first set comprises OTA AKU including the complete packet of the corresponding version of described software;When there is described inclusion institute During the OTA AKU of the complete packet of corresponding version stating software, described inclusion will be in described soft All OTA AKUs after the OTA AKU of the complete packet of corresponding version of part and inclusion The OTA AKU of the complete packet of corresponding version of described software forms described OTA AKU collection Close.
It should be noted that it is each in the configuration device of OTA AKU provided in an embodiment of the present invention The specific work process of functional module may be referred to specifically retouching of corresponding process in embodiment of the method State, in this not go into detail for the embodiment of the present invention.
The configuration device of the OTA AKU that the present invention provides, detection the OTA upgrading first Whether bag is that to can be only used for section terminating equipment special to current latest edition by software upgrading AKU, and when an OTA AKU is detected and being special AKU, continue to judge this One OTA AKU keeps whether the duration of special AKU is more than or equal to predetermined threshold value, then It is more than or equal to predetermined threshold value in the duration determining an OTA AKU special AKU of holding When, an OTA AKU is configured to be enough in all terminal units software upgrading is arrived The common AKU of current latest edition.So, with respect to prior art, server passes through First OTA AKU is special AKU, and keeps the duration of special AKU to be more than or equal to During predetermined threshold value, an OTA AKU is configured to common AKU so that needing in software When configuring highest version, it is corresponding that server need not configure multiple highest versions with the configuration of this needs OTA AKU, and then avoid server when the software version receiving terminal unit detects, Get is upgraded to upgrade file needed for latest edition by software in the current version of terminal unit The not unique problem of chain occurs, and ensures that terminal unit can be by software from current version liter Level arrives latest edition, improves Consumer's Experience.
And, by the maximum chain length of setting so that when the current version of terminal unit is relatively low, Can first from server fetching portion OTA AKU, it is to avoid all OTA of disposable acquisition The situation of the upgrading failure that AKU may lead to occurs, thus reducing the risk of upgrading failure, Further increase Consumer's Experience.By configuration upgrading mode in OTA AKU so that can With to supporting the terminal units wrapping continuous upgrading to return multiple OTA AKUs it is achieved that and existing more There is the compatibility of single bag escalation policy.
Through the above description of the embodiments, those skilled in the art can be clearly Solve, for convenience and simplicity of description, only carry out illustrating with the division of above-mentioned each functional module Bright, in practical application, can as desired above-mentioned functions be distributed by different functional modules Complete, the internal structure of device will be divided into different functional modules, to complete above description All or part of function.
In several embodiments provided herein it should be understood that disclosed device and Method, can realize by another way.For example, device embodiment described above is only It is only illustrative, for example, the division of described module or unit, only a kind of logic function Divide, actual can have other dividing mode when realizing, and for example multiple units or assembly are permissible In conjunction with or be desirably integrated into another device, or some features can be ignored, or does not execute. Another, shown or discussed coupling each other or direct-coupling or communication connection permissible It is by some interfaces, the INDIRECT COUPLING of device or unit or communication connection, can be electrical, Mechanical or other forms.
The described unit illustrating as separating component can be or may not be physically separate , can be a physical location or multiple physical location as the part that unit shows, you can With positioned at a place, or multiple different places can also be distributed to.Can be according to actual Need to select the purpose to realize this embodiment scheme for some or all of unit therein.
In addition, each functional unit in each embodiment of the present invention can be integrated in a process In unit or unit is individually physically present it is also possible to two or more are single Unit is integrated in a unit.Above-mentioned integrated unit both can with the form of hardware realize, Can also be realized in the form of SFU software functional unit.
If described integrated unit is realized and as independent product using in the form of SFU software functional unit When product are sold or used, can be stored in a read/write memory medium.Based on such reason Solution, the part that technical scheme substantially contributes to prior art in other words or The all or part of this technical scheme can be embodied in the form of software product, and this software produces Product are stored in a storage medium, including some instructions with so that an equipment (can be Single-chip microcomputer, chip etc.) or side described in processor (processor) execution each embodiment of the present invention The all or part of step of method.And aforesaid storage medium includes:USB flash disk, portable hard drive, only Read memorizer (English:Read-Only Memory, referred to as:ROM), random access memory Device (English:Random Access Memory, referred to as:RAM), magnetic disc or CD etc. Various can be with the medium of store program codes.
The above, the only specific embodiment of the present invention, but protection scope of the present invention is simultaneously Be not limited to this, any those familiar with the art the invention discloses technology model In enclosing, change or replacement can be readily occurred in, all should be included within the scope of the present invention. Therefore, protection scope of the present invention should be defined by described scope of the claims.

Claims (12)

1. a kind of collocation method of OTA AKU is it is characterised in that be applied to server, Described server configures have at least one OTA AKU, and methods described includes:
Detect whether an OTA AKU is special AKU;Wherein, a described OTA AKU includes difference between the current latest edition of described server and first version for the software File, or a described OTA AKU includes the described current latest edition of described software Complete packet, described first version is than a low version of described current latest edition;Described special AKU refers to described software upgrading for section terminating equipment to described current latest edition OTA AKU;
When a described OTA AKU is described special AKU, judge a described OTA AKU keeps whether the duration of described special AKU is more than or equal to predetermined threshold value;
When the duration that a described OTA AKU keeps described special AKU is more than or equal to institute When stating predetermined threshold value, a described OTA AKU is configured to common AKU, so that in institute When stating software and needing to be upgraded to the second edition, the 2nd OTA AKU is configured on described server; Wherein, described common AKU refers to described software upgrading for all terminal units to described The OTA AKU of current latest edition;Described 2nd OTA AKU includes the described second edition This differential file and described current latest edition between, or described 2nd OTA AKU bag Include the complete packet of the described second edition of described software, the described second edition is to need configuration Redaction.
2. method according to claim 1 is it is characterised in that also include:
When the duration that a described OTA AKU keeps described special AKU is less than described presetting During threshold value, judge whether to need described software upgrading to the described second edition;
When need by described software upgrading to the described second edition when, by described first OTA upgrade Bag is configured to described common AKU, to configure described 2nd OTA liter on described server Level bag.
3. method according to claim 1 and 2 it is characterised in that described will be described After first OTA AKU is configured to common AKU, also include:
Judge whether comprise automatic AKU at least one OTA AKU described;Wherein, institute State automatic AKU and refer to when the version detection not receiving terminal unit is asked, need to will be described The OTA AKU that software is upgraded;
When comprising described automatic AKU at least one OTA AKU described, by described from Dynamic AKU is sent out with the download path being in all OTA AKUs before described automatic AKU Deliver to described terminal unit, so that described terminal unit is downloaded described automatic AKU and is in institute State all OTA AKUs before automatic AKU.
4. method according to claim 1 and 2 it is characterised in that described will be described After first OTA AKU is configured to common AKU, also include:
The version detection request that receiving terminal apparatus send;Wherein, described version detection request bag Include the version number of the current version in described terminal unit for the described software;
When being upgraded to the OTA AKU needed for described current latest edition by described current version When number is more than default maximum chain length, according to the version number of described current version, from described to The OTA AKU with described maximum chain length equivalent number is obtained in a few OTA AKU; Wherein, all OTA liters in the OTA AKU of described and described maximum chain length equivalent number Level bag is continuous, and first OTA AKU is included between described current version and third edition basis Differential file, or described first OTA AKU include described software the described third edition this Complete packet, this version higher than described current version of the described third edition;
By each OTA upgrading in the OTA AKU of described and described maximum chain length equivalent number The download path of bag sends to described terminal unit, so as described terminal unit download described each OTA AKU.
5. method according to claim 1 and 2 it is characterised in that described will be described After first OTA AKU is configured to common AKU, also include:
The version detection request that receiving terminal apparatus send;Wherein, described version detection request bag Include the version number of the current version in described terminal unit for the described software and the product of described terminal unit Product model;
3rd OTA AKU is obtained according to described product type;Wherein, described 3rd OTA AKU includes the differential file between described current version and third edition basis, or the described 3rd OTA AKU includes this complete packet of the described third edition of described software, described this ratio of the third edition The high version of described current version;
According to the configuration parameter of described 3rd OTA AKU, determine that described terminal unit is supported many Bag is continuous to upgrade;
Obtain OTA AKU set, and by all OTA liters in described OTA AKU set The download path of level bag sends to described terminal unit, so that the download of described terminal unit is described OTA AKU set;Wherein, described OTA AKU set is included by described current version It is upgraded to the OTA AKU needed for described current latest edition.
6. method according to claim 5 is it is characterised in that described acquisition OTA liter Level bag set, including:
Obtain by all OTA AKUs of described current version to described current latest edition, obtain First set to OTA AKU;
Judge to whether there is in the OTA AKU that described first set comprises and include described software The OTA AKU of the complete packet of corresponding version;
When there is the OTA AKU of complete packet of the described corresponding version including described software, By be in described include described software corresponding version complete packet OTA AKU after institute The OTA upgrading package having OTA AKU and including the complete packet of corresponding version of described software Become described OTA AKU set.
7. a kind of configuration device of OTA AKU is it is characterised in that be applied to server, Described server configures have at least one OTA AKU, and described device includes:
Whether detector unit, be special AKU for detection the first OTA AKU;Wherein, A described OTA AKU includes software in the current latest edition of described server and the first edition Differential file between this, or a described OTA AKU includes the described of described software and works as The complete packet of front latest edition, described first version is than a low version of described current latest edition This;Described special AKU refers to work as described software upgrading to described for section terminating equipment The OTA AKU of front latest edition;
Judging unit, for being institute when described detector unit detects a described OTA AKU When stating special AKU, judge described first OTA AKU keep described special AKU when Whether length is more than or equal to predetermined threshold value;
When described judging unit, dispensing unit, for judging that obtaining a described OTA AKU protects When the duration holding described special AKU is more than or equal to described predetermined threshold value, by described first OTA AKU is configured to common AKU, to need to be upgraded to the second edition in described software When, the 2nd OTA AKU is configured on described server;Wherein, described common AKU is Refer to for all terminal units, the OTA of described software upgrading to described current latest edition upgrade Bag;Described 2nd OTA AKU is included between the described second edition and described current latest edition Differential file, or described 2nd OTA AKU includes the described second edition of described software Complete packet, the described second edition be need configuration latest edition.
8. device according to claim 7 it is characterised in that
Described judging unit, is additionally operable to keep described special upgrading when a described OTA AKU When the duration of bag is less than described predetermined threshold value, judge whether to need described software upgrading to described The second edition;
Described dispensing unit, is additionally operable to judge to obtain needing by described software when described judging unit When being upgraded to the described second edition, a described OTA AKU is configured to described common upgrading Bag, to configure described 2nd OTA AKU on described server.
9. the device according to claim 7 or 8 it is characterised in that
Described judging unit, is additionally operable to join a described OTA AKU in described dispensing unit After being set to common AKU, judge whether comprise automatically at least one OTA AKU described AKU;Wherein, described automatic AKU refers to do not receiving the version detection of terminal unit During request, the OTA AKU that described software need to be upgraded;
Described device also includes:
Transmitting element, for judging to obtain described at least one OTA upgrading when described judging unit When comprising described automatic AKU in bag, by described automatic AKU and be in described automatic upgrading The download path of all OTA AKUs before bag sends to described terminal unit, so that described Terminal unit is downloaded described automatic AKU and is in all OTA before described automatic AKU AKU.
10. the device according to claim 7 or 8 is it is characterised in that also include:
Receiving unit, general for being configured to a described OTA AKU in described dispensing unit After logical AKU, the version detection request that receiving terminal apparatus send;Wherein, described version Detection request includes the version number of the current version in described terminal unit for the described software;
Acquiring unit, is upgraded to needed for described current latest edition by described current version for working as OTA AKU number be more than default maximum chain length when, according to the version of described current version This number, obtain from least one OTA AKU described and described maximum chain length equivalent number OTA AKU;Wherein, in the OTA AKU of described and described maximum chain length equivalent number All OTA AKUs are continuous, and first OTA AKU includes described current version and the Differential file between three versions, or described first OTA AKU include described software This complete packet of the described third edition, this version higher than described current version of the described third edition;
Transmitting element, for described in described acquiring unit is got with described maximum chain appearance Send to described terminal etc. the download path of each OTA AKU in the OTA AKU of number Equipment, so that described terminal unit downloads each OTA AKU described.
11. devices according to claim 7 or 8 are it is characterised in that also include:
Receiving unit, general for being configured to a described OTA AKU in described dispensing unit After logical AKU, the version detection request that receiving terminal apparatus send;Wherein, described version Detection request includes the version number of the current version in described terminal unit for the described software and described end The product type of end equipment;
Acquiring unit, the described product type for being received according to described receiving unit obtains the Three OTA AKUs;Wherein, described 3rd OTA AKU includes described current version and Differential file between three versions, or described 3rd OTA AKU includes the institute of described software State this complete packet of the third edition, this version higher than described current version of the described third edition;
Determining unit, for the described 3rd OTA AKU being got according to described acquiring unit Configuration parameter, determine that described terminal unit is supported to wrap continuous upgrading more;
Described acquiring unit, is additionally operable to obtain OTA AKU set;Wherein, described OTA AKU set includes being upgraded to needed for described current latest edition by described current version OTA AKU;
Transmitting element, in the described OTA AKU set that gets described acquiring unit The download path of all OTA AKUs sends to described terminal unit, so that described terminal unit Download described OTA AKU set.
12. devices according to claim 11 it is characterised in that described acquiring unit, Specifically for:
Obtain by all OTA AKUs of described current version to described current latest edition, obtain First set to OTA AKU;
Judge to whether there is in the OTA AKU that described first set comprises and include described software The OTA AKU of the complete packet of corresponding version;
When there is the OTA AKU of complete packet of the described corresponding version including described software, By be in described include described software corresponding version complete packet OTA AKU after institute The OTA upgrading package having OTA AKU and including the complete packet of corresponding version of described software Become described OTA AKU set.
CN201510514150.9A 2015-08-20 2015-08-20 A kind of configuration method and device of OTA upgrade package Active CN106470114B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510514150.9A CN106470114B (en) 2015-08-20 2015-08-20 A kind of configuration method and device of OTA upgrade package

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510514150.9A CN106470114B (en) 2015-08-20 2015-08-20 A kind of configuration method and device of OTA upgrade package

Publications (2)

Publication Number Publication Date
CN106470114A true CN106470114A (en) 2017-03-01
CN106470114B CN106470114B (en) 2019-09-20

Family

ID=58229809

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510514150.9A Active CN106470114B (en) 2015-08-20 2015-08-20 A kind of configuration method and device of OTA upgrade package

Country Status (1)

Country Link
CN (1) CN106470114B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108121560A (en) * 2018-01-29 2018-06-05 宇龙计算机通信科技(深圳)有限公司 Difference bag upgrade method, device, terminal and computer readable storage medium
CN112099829A (en) * 2020-09-21 2020-12-18 华人运通(上海)云计算科技有限公司 Vehicle upgrade control method and system, OTA background and vehicle
CN113242288A (en) * 2021-05-06 2021-08-10 国家计算机网络与信息安全管理中心 Internet of things equipment firmware upgrading method, system and device and storage medium
CN114979297A (en) * 2022-05-26 2022-08-30 重庆长安汽车股份有限公司 Vehicle software version large-span OTA (over the air) upgrading method

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1831771A (en) * 2005-03-11 2006-09-13 联想(北京)有限公司 Method for updating software
CN101169719A (en) * 2007-11-30 2008-04-30 华为技术有限公司 Method and system for implementing data upgrading and upgraded client terminal
CN101699399A (en) * 2009-11-03 2010-04-28 中兴通讯股份有限公司 Software update system and method
CN102541596A (en) * 2011-12-22 2012-07-04 中标软件有限公司 Operating system upgrading method and device
KR20130015243A (en) * 2011-08-02 2013-02-13 엘지전자 주식회사 Apparatus and method for upgrading firmware of zigbee module
CN103218239A (en) * 2013-04-09 2013-07-24 沈阳美行科技有限公司 Method for supporting version increment and upgrading version of navigator map
CN104066077A (en) * 2014-06-24 2014-09-24 青岛海信移动通信技术股份有限公司 OTA downloading and upgrading method and device thereof
CN104778057A (en) * 2015-03-11 2015-07-15 小米科技有限责任公司 Terminal system upgrading method and device, and server

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1831771A (en) * 2005-03-11 2006-09-13 联想(北京)有限公司 Method for updating software
CN101169719A (en) * 2007-11-30 2008-04-30 华为技术有限公司 Method and system for implementing data upgrading and upgraded client terminal
CN101699399A (en) * 2009-11-03 2010-04-28 中兴通讯股份有限公司 Software update system and method
KR20130015243A (en) * 2011-08-02 2013-02-13 엘지전자 주식회사 Apparatus and method for upgrading firmware of zigbee module
CN102541596A (en) * 2011-12-22 2012-07-04 中标软件有限公司 Operating system upgrading method and device
CN103218239A (en) * 2013-04-09 2013-07-24 沈阳美行科技有限公司 Method for supporting version increment and upgrading version of navigator map
CN104066077A (en) * 2014-06-24 2014-09-24 青岛海信移动通信技术股份有限公司 OTA downloading and upgrading method and device thereof
CN104778057A (en) * 2015-03-11 2015-07-15 小米科技有限责任公司 Terminal system upgrading method and device, and server

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108121560A (en) * 2018-01-29 2018-06-05 宇龙计算机通信科技(深圳)有限公司 Difference bag upgrade method, device, terminal and computer readable storage medium
CN112099829A (en) * 2020-09-21 2020-12-18 华人运通(上海)云计算科技有限公司 Vehicle upgrade control method and system, OTA background and vehicle
CN113242288A (en) * 2021-05-06 2021-08-10 国家计算机网络与信息安全管理中心 Internet of things equipment firmware upgrading method, system and device and storage medium
CN114979297A (en) * 2022-05-26 2022-08-30 重庆长安汽车股份有限公司 Vehicle software version large-span OTA (over the air) upgrading method

Also Published As

Publication number Publication date
CN106470114B (en) 2019-09-20

Similar Documents

Publication Publication Date Title
CN104598286B (en) The Oftware updating method and device of mobile terminal
US20170206079A1 (en) Method and Device for Upgrading Software
CN106470114A (en) A kind of collocation method of OTA AKU and device
CN105912340A (en) Primary device, remote control and overhead upgrading method of remote control
CN102223416B (en) Method and system for transmitting media file
CN105009554B (en) Detect intelligent terminal hardware whether operation exception method and intelligent terminal
CN106470227B (en) A kind of configuration method and device of OTA upgrade package
CN102833350A (en) Processing method and processing device of WebApp updating
CN103093148A (en) Detection method, system and device of malicious advertisements
CN106155739A (en) A kind of plug-in unit control metering method, server, client and control amount platform
CN110475229A (en) Method, apparatus, computer equipment and the storage medium of service data visitation
CN107239311A (en) Using deployment method and device
CN104580361A (en) Method, device and system for downloading data
CN101901157B (en) Management software self-starting installation method and system
US20150189043A1 (en) Method and apparatus for sharing data quota
CN106897100A (en) The method and terminal of a kind of firmware upgrade
CN105577734A (en) Information backup method, device, server and terminal
CN108874410B (en) Patch management method and device
EP3043268A1 (en) Path dynamic linking method, device and mobile terminal
CN106951296A (en) A kind of Oftware updating method and device
CN103379006B (en) data card self-adapting method and device
CN107977243A (en) A kind of third party's interface call method and device
CN106933624A (en) A kind of Intelligent hardware control system and control method
CN109951549A (en) Access method, device and the computer readable storage medium of Webpage
CN104378144A (en) Bluetooth equipment software installing method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant