CN105872106A - Over-the-air upgrade method, over-the-air server and terminal - Google Patents
Over-the-air upgrade method, over-the-air server and terminal Download PDFInfo
- Publication number
- CN105872106A CN105872106A CN201610415948.2A CN201610415948A CN105872106A CN 105872106 A CN105872106 A CN 105872106A CN 201610415948 A CN201610415948 A CN 201610415948A CN 105872106 A CN105872106 A CN 105872106A
- Authority
- CN
- China
- Prior art keywords
- upgrading
- terminal
- success rate
- upgrade
- version
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/22—Processing or transfer of terminal data, e.g. status or physical capabilities
- H04W8/24—Transfer of terminal data
- H04W8/245—Transfer of terminal data from a network towards a terminal
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Stored Programmes (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention provides an over-the-air upgrade method, an over-the-air server and a terminal. After the terminal receives an upgrade success rate transmitted by the OTA (over-the-air) server, the upgrade success rate is used for indicating the probability of successfully upgrading the terminal from a current version into a target version, and then the terminal determines whether upgrade is performed or not according to the upgrade success rate. When upgrade is needed, a differential upgrade package is downloaded to perform upgrade. In the process, as the upgrade success rate is capable of indicating the probability of successfully upgrading the terminal from the current version to the target version by the aid of the differential upgrade package, the terminal can accurately determine whether upgrade is performed or not according to the upgrade success rate, and the problem of reduction of OTA upgrade user experience due to terminal failure caused by OTA upgrade is effectively avoided.
Description
Technical field
The present embodiments relate to communication technical field, particularly relate to one and download upgrade method, sky in the air
Middle download server and terminal.
Background technology
Over the air (Over the Air Technology, OTA) is that one passes through wireless network
Carry out the technology of data download, be widely used in intelligent television, mobile phone, panel computer, machine
In the network upgrade of the equipment such as top box.User by download server end provide current for client
Differential file is also updated Current software version by the way of patch installing by the differential file of software version
In Ben, thus realize the upgrading of OTA.Generally, differential file typically contains only needs upgrading
Fileinfo, such as, differential file V2-V1, contains only version V2 and occur relative to version V1
The application message of change, to realize upgrading, the current version of client by differential file V2-V1
The vital document of V1 must be comprised.
Generally, terminal unit manufacturer, such as asking that smart mobile phone manufacturer can run into during using according to user
Topic, and the suggestion of feedback, arrange, then again develop product software, forms upgrading
Version, to revise problem present in existing version.User settles a dispute by the parties concerned themselves system upgrade problem for convenience,
System upgrade version boil down to OTA AKU after problem reparation can be put into OTA by mobile terminal manufacturer
On server, user download upgrading voluntarily.In OTA escalation process, terminal is sent out to OTA server
Play version querying request, to inquire about in OTA server whether there is Advanced Edition, if existing, then OTA
Server returns scalable state and the version information higher than terminal current version.If user determines upgrading,
The then address of the current scalable version of OTA server push, terminal carries out difference AKU according to address
Download, after download, automatically upgrade.
But, the difference AKU of terminal downloads may be incompatible with this terminal, such as, and difference AKU
The leak (bug) made causes, and this bug solves undiscovered in test;For another example, the setting of terminal with
Arranging of this difference AKU is incompatible etc..After OTA upgrading, incompatible difference AKU causes
Terminal failure, it is impossible to reuse.
Summary of the invention
The embodiment of the present invention provides one to download upgrade method, aerial download server and terminal in the air, with
Solve the problem that OTA upgrading causes terminal failure.
First aspect, the embodiment of the present invention provides one to download upgrade method in the air, including:
Terminal receives aerial downloads the success rate for upgrading that OTA server sends, wherein, described in upgrade successfully
Rate successfully upgrades to the probability of target version for instruction from current version;
Described terminal is according to described success rate for upgrading, it is determined whether upgrading;
If described terminal determines upgrading, then downloading difference AKU, described difference AKU is described terminal
Upgrade to the difference AKU of described target version from described current version, described target version is higher than described
Current version.
Second aspect, the embodiment of the present invention provides one to download upgrade method in the air, including:
When the aerial target version downloaded on OTA server is higher than the current version of terminal, described OTA
Server determines success rate for upgrading, and wherein, described success rate for upgrading becomes from described current version for instruction
Merit upgrades to the probability of described target version;
Described OTA server sends described success rate for upgrading to described terminal, so that described terminal is according to institute
Stating success rate for upgrading to determine whether to download difference AKU, described difference AKU is that described terminal is from described
Current version upgrades to the difference AKU of target version, and described target version is higher than described current version.
The third aspect, the embodiment of the present invention provides a kind of terminal, including:
Transceiver module, for receiving the aerial success rate for upgrading downloading the transmission of OTA server, wherein, institute
State success rate for upgrading and successfully upgrade to the probability of target version for instruction from current version;
Processing module, for according to described success rate for upgrading, it is determined whether upgrading;
Download module, if determining upgrading for described processing module, then downloads difference AKU, described difference
Dividing AKU is that described terminal upgrades to the difference AKU of described target version, institute from described current version
State target version higher than described current version.
Fourth aspect, the embodiment of the present invention provides a kind of aerial download OTA server, including:
Processing module, for downloading the current version higher than terminal of the target version on OTA server in the air
In this time, determining success rate for upgrading, wherein, described success rate for upgrading becomes from described current version for instruction
Merit upgrades to the probability of described target version;
Transceiver module, for sending described success rate for upgrading to described terminal, so that described terminal is according to institute
Stating success rate for upgrading to determine whether to download difference AKU, described difference AKU is that described terminal is from described
Current version upgrades to the difference AKU of described target version, and described target version is higher than described current version
This.
What the embodiment of the present invention provided downloads upgrade method, aerial download server and terminal, terminal in the air
After receiving the success rate for upgrading that OTA server sends, this success rate for upgrading is for indicating from current version
This successfully upgrades to the probability of target version, and then determines whether upgrading according to this success rate for upgrading, when needing
When to be upgraded, download difference AKU and upgrade.During Gai, due to success rate for upgrading energy
Enough instruction terminals use this difference AKU successfully to upgrade to the probability of target version from current version so that
Terminal can according to this success rate for upgrading accurately be made whether upgrading decision, effectively prevent due to
The problem that OTA upgrading causes terminal failure and reduces OTA upgrading user experience.
Accompanying drawing explanation
Fig. 1 is the signaling diagram of OTA upgrade method embodiment one of the present invention;
Fig. 2 is the signaling diagram of OTA upgrade method embodiment two of the present invention;
Fig. 3 is the terminal structure schematic diagram of the embodiment of the present invention;
Fig. 4 is the OTA server architecture schematic diagram of the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out
Clearly and completely describe, it is clear that described embodiment is only a part of embodiment of the present invention, and
It is not all, of embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art are not doing
Go out the every other embodiment obtained under creative work premise, broadly fall into the scope of protection of the invention.
Term " first " in description and claims of this specification and above-mentioned accompanying drawing, " second ", "
Three ", the (if present) such as " the 4th " be for distinguishing similar object, specific without being used for describing
Order or precedence.Should be appreciated that the data of so use can be exchanged in the appropriate case, in order to this
In the embodiments of the invention that describe such as can suitable with in addition to those here illustrating or describing
Sequence is implemented.Additionally, term " includes " and " having " and their any deformation, it is intended that cover not
Exclusive comprises, such as, contain series of steps or the process of unit, method, system, product or
Equipment is not necessarily limited to those steps or the unit clearly listed, but can include the most clearly listing
Or for intrinsic other step of these processes, method, product or equipment or unit.
Before the embodiment of the present invention is carried out detailed explanation, the first application to the embodiment of the present invention
Scene is introduced.The method that the embodiment of the present invention provides is applied to the edition upgrading of terminal, example,
The method of the embodiment of the present invention can apply to the OTA difference upgrading of the software version in terminal, it is also possible to
OTA difference for terminal system version is upgraded, the upgrading of the OTA difference of such as IOS system version,
The OTA difference upgrading etc. of android system version.Example, the terminal of the embodiment of the present invention can be
Smart mobile phone, panel computer, computer, intelligent television, Intelligent worn device etc..
Fig. 1 is a kind of OTA upgrade method flow chart that the embodiment of the present invention provides, the embodiment of the present invention
The executive agent of OTA upgrade method is terminal, sees Fig. 1, and the method includes:
101, aerial OTA server of downloading determines success rate for upgrading.
The embodiment of the present invention is applicable to the version difference upgrading of software, the system version difference upgrading etc. of terminal.
In this step, OTA server determines success rate for upgrading, and success rate for upgrading becomes from current version for instruction
Merit upgrades to the probability of target version.In a kind of feasible implementation, user by terminal inquiry is
No have the highest version higher than current version, i.e. target version, now, the terminal that user is used by self
Version querying request, the current version of carried terminal self in this version querying request is sent to OTA server
This, i.e. the version information of current version, such as version number etc., it is higher than when OTA server determines whether there is
During the target version of current version, determine that terminal successfully upgrades to upgrading successfully of target version from current version
Rate.In the implementation that another kind is feasible, server periodically obtains the version information of terminal, works as service
Device is judged, when the version information of terminal is less than the version information on server, to determine success rate for upgrading.Tool
Body, all versions of OTA server traversal storage, it is determined whether there is the target higher than current version
Version.If not existing, then OTA server sends the instruction message without upgrading to terminal;Otherwise, really
Determine terminal and can successfully upgrade to the success rate for upgrading of target version.During determining, can according to other eventually
Hold the number of times using difference AKU to carry out upgrading, use difference AKU to upgrade to target from current version
The number of times of version etc. determine success rate for upgrading.
Such as, when the target version on OTA server is higher than the current version of terminal, OTA services
Device determines the first ratio of the second variable and the first variable, and using the first ratio as success rate for upgrading, its
In, the first variable uses difference AKU to carry out the number of times upgraded for indicating;Second variable is used for indicating
Difference AKU is used successfully to upgrade to the number of times of target version from current version.
It should be noted that in addition to OTA server determines success rate for upgrading, terminal self can also be true
Determine success rate for upgrading.Such as, the first variable, the second variable are sent to terminal, by end by OTA server
End determines success rate for upgrading according to these variablees voluntarily, i.e. when the target version on OTA server is higher than eventually
During the current version of end, OTA server can be the second variable and the to the success rate for upgrading that terminal sends
First ratio of one variable, it is also possible to be the second variable and the first variable, and then terminal is according to this second change
Amount and the first variable, determine the first ratio of the second variable and the first variable.
102, OTA server sends described success rate for upgrading to terminal.
When the target version on OTA server is higher than the current version of terminal, OTA server is to end
End sends this success rate for upgrading.
It should be noted that when the target version on OTA server is higher than the current version of terminal,
OTA server is except sending success rate for upgrading to terminal, it is also possible to send upgrading prompting message to terminal,
For reminding the current version of this terminal of user to be less than the target version on OTA server.
103, described terminal is according to described success rate for upgrading, it is determined whether upgrading.
In this step, terminal is according to success rate for upgrading, it is determined whether need upgrading.Concrete, terminal can
Predetermined threshold value determines the need for upgrading voluntarily, or, determine the need for upgrading according to the operation of user.
When terminal determines the need for upgrading voluntarily according to predetermined threshold value, predetermined threshold value in terminal, terminal determines
Whether success rate for upgrading is higher than predetermined threshold value, if success rate for upgrading is higher than predetermined threshold value, it is determined that need to rise
Level, otherwise, it is not necessary to upgrading;When terminal determines the need for upgrading according to the operation of user, terminal is
There is the terminal of display screen, show screen display success rate for upgrading, if user thinks that success rate for upgrading is high,
Then display screen is carried out predetermined registration operation, if clicking, double-click etc., when terminal detects that user acts on this and shows
During the predetermined registration operation of display screen, it is determined that upgrading, otherwise, if user thinks that success rate for upgrading is low, then to aobvious
Display screen does not operates, and after terminal is in certain time length for predetermined registration operation being detected, then performs 105 and abandons rising
Level.
If 104 described terminals determine upgrading, then download described difference AKU;
After determining needs upgrading, terminal downloads difference AKU is also upgraded.
105, upgrading is abandoned.
Concrete, determine abandon upgrading time, terminal does not download this difference AKU.
The OTA upgrade method that the embodiment of the present invention provides, terminal is receiving what OTA server sent
After success rate for upgrading, this success rate for upgrading successfully upgrades to the general of target version for indicating from current version
Rate, and then determine whether upgrading according to this success rate for upgrading, when needs are upgraded when, download difference liter
Level bag is also upgraded.During Gai, owing to success rate for upgrading can indicate that terminal uses this difference to upgrade
Bag successfully upgrades to the probability of target version from current version so that terminal can be according to this success rate for upgrading
Be made whether the decision of upgrading accurately, effectively prevent owing to OTA upgrading causes terminal failure to reduce
The problem of OTA upgrading user experience.
In above-described embodiment, the first variable uses difference AKU to carry out the number of times upgraded for indicating;The
Two variablees are for indicating the number of times using difference AKU successfully to upgrade to target version from current version.For
Ensure the accuracy of those variablees, in addition it is also necessary to those variablees are updated.Concrete, if terminal determines
Upgrading, then, after downloading difference AKU, also send upgrade information to OTA server, so that OTA
Server updates success rate for upgrading according to upgrade information, and upgrade information is used for indicating terminal the most successfully to upgrade.
Wherein, the situation of unsuccessful upgrading includes being not successfully downloaded this difference AKU, successfully downloads this difference liter
Level is wrapped but is upgraded unsuccessfully;The situation that success is upgraded includes successfully downloading this difference AKU and upgrading successfully.
It should be noted that in the embodiment of the present invention, before difference AKU is pushed to user, interior
Portion all can try out on a large scale and test, so on OTA server, certainly having had thousand left sides
Right upgrading record.Therefore, when first user initiates OTA request when, OTA server determines
The first variable out is that this difference AKU uses this difference AKU to rise on probation and test phase
The number of times of level, the second variable is that this difference AKU uses difference AKU from working as on probation and test phase
Front version successfully upgrades to the number of times of target version.Certainly, when first user initiates OTA request
Wait, OTA server can also be without exist the success rate for upgrading information that this difference AKU is corresponding, i.e. the
One variable, the second variable are 0.
Below, in conjunction with a specific embodiment, above-mentioned OTA upgrade method is described in detail.
Concrete, can be found in Fig. 2.Fig. 2 is the signaling diagram of OTA upgrade method embodiment two of the present invention, including:
201, terminal sends version querying request to OTA server.
202, OTA server is asked according to described version querying, it is determined whether there is target version.If
Do not exist, then perform 203;Otherwise, 204 are performed
203, OTA server sends the instruction message without upgrading to terminal.
204, OTA server sends upgradeable instruction message to terminal.
205, OTA server determines success rate for upgrading.
In this step, OTA server is mutual with data base's (not shown), obtains in history or one
In fixed cycle, use number of times (the i.e. first variable) that this difference AKU carries out upgrading, use difference liter
Level bag successfully upgrades to the number of times (the i.e. second variable) etc. of target version from current version.Then, according to
Those variablees determine success rate for upgrading.Wherein, data base can be the local data base of server, it is possible to
Think remote data storehouse.
It should be noted that in above-mentioned steps 205, OTA server is determined by the first variable and second
Variable determines success rate for upgrading.But, the present invention is not limited thereto system, in the mode that other are feasible,
Success rate for upgrading can also be determined by other means, such as, by terminal, currently used including user
Terminal, and the number of times of the regular period interior terminal application download difference AKU with OTA server communication
As ternary, it is determined by the second variable and the ratio of ternary, using this ratio as escalating into
Power.
It addition, also, it should be noted in above-mentioned steps 201~205, trigger OTA server and determine liter
The trigger condition of level success rate is that terminal sends version querying request to OTA server, server is determined
With the presence of target version.But, the embodiment of the present invention is not limited thereto system, in the realization that other are feasible
In mode, it is also possible to without terminal trigger, but OTA server autonomous, periodically determine whether
There is the target version higher than terminal current version, if existing, it is determined that success rate for upgrading.
206, OTA server sends success rate for upgrading to terminal.
207, terminal is according to success rate for upgrading, it is determined whether upgrading, if not upgrading, then performs 208;No
Then, 209 are performed.
In the embodiment of the present invention, the predetermined threshold value that terminal is arranged according to self and the relation of success rate for upgrading,
Or the operation that user is carried out according to success rate for upgrading, determine that no needs is upgraded.Below, with terminal according to certainly
As a example by the predetermined threshold value that body is arranged and the relation of success rate for upgrading determine no needs upgrading, it is described in detail.
In a kind of possible implementation, if OTA server is according to the second variable and in step 205
First ratio (i.e. success rate for upgrading) of one variable exceedes predetermined threshold value, then explanation uses the upgrading of this difference
The probability that bag successfully upgrades to target version from current version is big, it is possible to carry out edition upgrading, follow-up basis
Difference AKU upgrades to target version from current version;Otherwise, illustrate to use this difference AKU from working as
The probability that front version successfully upgrades to target version is little, i.e. uses this difference AKU to carry out edition upgrading very
May be failed, and then cause this terminal failure, it is proposed that user does not upgrades.Such as, terminal, including using
In the terminal that family is currently used, and regular period, the terminal with OTA server communication uses difference upgrading
The number of times that bag carries out upgrading is 20 times, and uses this difference AKU successfully to upgrade to target from current version
The number of times of version is only 2 times, if predetermined threshold value is 0.25, then due to the second variable and the of the first variable
One ratio is 0.1, then, after this difference AKU of more terminal downloads is described, use this difference AKU to incite somebody to action
During current version upgrades to target version, occur that mistake causes edition upgrading failure, now, eventually
End may decide that does not upgrades.
In above-mentioned implementation, if OTA server is according to the second variable and the first variable in step 205
The first ratio (i.e. success rate for upgrading) exceed predetermined threshold value, then illustrate that this difference AKU meets the requirements,
Can upgrade, follow-up can upgrade to target version according to this difference AKU from current version;No
Then, the second-rate of this difference AKU is described, it is proposed that user does not upgrades.Such as, terminal, including using
In the terminal that family is currently used, and regular period, the terminal with OTA server communication uses difference upgrading
The number of times that bag carries out upgrading is 10 times, and uses difference AKU successfully to upgrade to target version from current version
This number of times is 7 times, if predetermined threshold value is 0.6, then due to the second variable and the first variable ratio (i.e.
Success rate for upgrading) be 0.7, then explanation uses this difference AKU to upgrade, and upgrades failed probability very
Little, can upgrade.
In alternatively possible implementation, if in step 205 OTA server according to ternary with
Bivariate second ratio (i.e. success rate for upgrading) exceedes predetermined threshold value, then explanation communication link is reliable
Property is higher, it is possible to carries out edition upgrading, i.e. can download this difference AKU, and then according to this difference liter
Level bag upgrades to target version from current version;Otherwise, illustrate that communication link quality is poor, it is proposed that user
Do not upgrade, it is to avoid user, during downloading this difference AKU, causes version due to failed download
Upgrading unsuccessfully, can be prevented effectively from user wastes flow because of failed download simultaneously.Such as, terminal, bag
Difference AKU is downloaded to OTA server application in including the terminal that user is currently used, and regular period
Number of times be 20 times, and the number of times using this difference AKU to carry out upgrading is only 2 times, if predetermined threshold value
It is 0.25, is then 0.1 due to ternary and bivariate ratio, then illustrate that some terminal attempts downloading
After difference AKU, do not download and found that without upgrading, or network problem has caused this difference AKU
Being difficult to download, download can cause the abnormal consumption of flow and the exception of internal memory to take, and now, terminal can
To decide not to perform upgrading.
It should be noted that in above-mentioned steps 205, OTA server can also be by the first variable or the 3rd
Variable, the second variable are sent to terminal so that terminal can determine the need for according to any one variable
Carry out edition upgrading.Or, each variable is combined and determines the need for carrying out edition upgrading.
208, current process is terminated.
209, terminal sends upgrade request to OTA server.
In this step, terminal to sending upgrade request, downloads difference AKU with application to OTA server.
210, ternary is added 1 by OTA server, to update ternary, and will update after the 3rd
Variable storage is in data base.
211, OTA server sends the download address of difference AKU to terminal.
In this step, the download address of difference AKU is pushed to OTA server by OTA server.
212, terminal is according to download address, downloads difference AKU.
Concrete, terminal sends difference AKU to OTA server and downloads request, and OTA server will
Difference AKU is sent to terminal.
213, terminal sends to OTA server and successfully downloads response message.
In this step, terminal sends to OTA server after successfully having downloaded difference AKU and successfully downloads
Response message.
214, terminal carries out edition upgrading according to difference AKU.
In this step, terminal, according to difference AKU, is upgraded to target version from current version.
215, OTA server adds 1 to the first variable, to update the first variable, and will update after first
Variable storage is in data base.
In step 214, terminal uses the difference AKU downloaded to upgrade, and now OTA server will
For indicating the first variable of the number of times using difference AKU to carry out upgrading to add 1, thus update the first change
Amount.
216, terminal determines whether successfully to carry out edition upgrading, if unsuccessful upgrading, then performs 217;No
Then, 218 are performed.
217, terminal sends upgrading failed message to OTA server.
218, terminal sends to OTA server and upgrades successfully instruction message.
219, OTA server adds 1 to the second variable, to update the second variable, and will update after second
Variable storage is in data base.
Step 218 illustrates that terminal uses this difference AKU successfully to upgrade to target version from current version,
Now OTA server will be used for indicating this difference AKU of use successfully to upgrade to target from current version
Second variable of version number of times adds 1, thus updates the second variable.
It should be noted that owing to success rate for upgrading is according to the first variable and the second variable, or, the
Two variablees and ternary are determined, therefore, to the first variable, the second variable and ternary more
Newly, the renewal to success rate for upgrading may finally be realized.
Fig. 3 is the structural representation of terminal embodiment one of the present invention.The terminal that the present embodiment provides, it can
Realize each of the above-mentioned aerial download upgrade method being applied to end side that any embodiment of the present invention provides
Step.Concrete, the terminal that the present embodiment provides includes:
Transceiver module 11, for receiving the aerial success rate for upgrading downloading the transmission of OTA server, wherein,
Described success rate for upgrading successfully upgrades to the probability of target version for instruction from current version;
Processing module 12, for according to described success rate for upgrading, it is determined whether upgrading;
Download module 13, if determining upgrading for described processing module 12, then downloads difference AKU,
Described difference AKU is that described terminal upgrades to the difference upgrading of described target version from described current version
Bag, described target version is higher than described current version.
The terminal that the embodiment of the present invention provides, terminal is receiving the success rate for upgrading that OTA server sends
After, this success rate for upgrading successfully upgrades to the probability of target version, Jin Ergen for instruction from current version
Determine whether upgrading according to this success rate for upgrading, when needs are upgraded when, download difference AKU and carry out
Upgrading.During Gai, owing to success rate for upgrading can indicate that terminal uses this difference AKU from current version
This successfully upgrades to the probability of target version so that terminal can be made accurately according to this success rate for upgrading
The decision whether upgraded, effectively prevent owing to OTA upgrading causes terminal failure to reduce OTA upgrading
The problem of user experience.
Optionally, in an embodiment of the present invention, described transceiver module 11, it is additionally operable at described download mould
After block 13 downloads described difference AKU, send upgrade information to described OTA server, so that
Described OTA server updates described success rate for upgrading according to described upgrade information, and described upgrade information is used for
Described terminal is indicated the most successfully to upgrade.
Optionally, in an embodiment of the present invention, described processing module 12, specifically for determining described liter
Whether level success rate exceedes predetermined threshold value, if exceeding, it is determined that upgrading, otherwise, does not upgrades;
Or,
Described processing module 12, specifically for showing described success rate for upgrading on a display screen, if detecting
Described user acts on the predetermined registration operation of described display screen, it is determined that upgrading, otherwise, does not upgrades.
Fig. 4 is the structural representation of OTA server example one of the present invention.The OTA that the present embodiment provides
Server, what it can realize that any embodiment of the present invention provides be applied to OTA server above-mentioned aerial under
Each step of carrier technology upgrade method.Concrete, the OTA server that the present embodiment provides includes:
Processing module 21, for downloading target version the working as higher than terminal on OTA server in the air
During front version, determining success rate for upgrading, wherein, described success rate for upgrading is for indicating from described current version
This successfully upgrades to the probability of described target version;
Transceiver module 22, for described terminal send described success rate for upgrading so that described terminal according to
Described success rate for upgrading determines whether to download difference AKU, and described difference AKU is that described terminal is from institute
State current version and upgrade to the difference AKU of described target version, described target version higher than described currently
Version.
The OTA server that the embodiment of the present invention provides, is determined by out success rate for upgrading and sends out to terminal
Sending, this success rate for upgrading successfully upgrades to the probability of target version for instruction from current version so that eventually
Hold and determine whether upgrading according to this success rate for upgrading, when needs are upgraded when, download difference AKU also
Upgrade.During Gai, owing to success rate for upgrading can indicate that terminal uses this difference AKU from working as
Front version successfully upgrades to the probability of target version so that terminal can according to this success rate for upgrading accurately
Be made whether the decision of upgrading, effectively prevent owing to OTA upgrading causes terminal failure to reduce OTA
The problem of upgrading user experience.
Optionally, in an embodiment of the present invention, described transceiver module 22, sending institute to described terminal
After stating success rate for upgrading, being additionally operable to receive the upgrade information that described terminal sends, described upgrade information is used
The most successfully upgrade in indicating described terminal;
Described processing module 21, is additionally operable to, according to described upgrade information, update described success rate for upgrading.
Optionally, in an embodiment of the present invention, described processing module 21, specifically for downloading in the air
When target version on OTA server is higher than the current version of terminal, determine the second variable and the first variable
The first ratio, and using described first ratio as described success rate for upgrading;Wherein, described first variable
Described difference AKU is used to carry out the number of times upgraded for indicating;Described second variable is used for indicating use
Described difference AKU successfully upgrades to the number of times of described target version from described current version.
One of ordinary skill in the art will appreciate that: realize all or part of step of above-mentioned each method embodiment
Suddenly can be completed by the hardware that programmed instruction is relevant.Aforesaid program can be stored in a computer can
Read in storage medium.This program upon execution, performs to include the step of above-mentioned each method embodiment;And
Aforesaid storage medium includes: ROM, RAM, magnetic disc or CD etc. are various can store program code
Medium.
Last it is noted that various embodiments above is only in order to illustrate technical scheme, rather than right
It limits;Although the present invention being described in detail with reference to foregoing embodiments, this area common
Skilled artisans appreciate that the technical scheme described in foregoing embodiments still can be modified by it,
Or the most some or all of technical characteristic is carried out equivalent;And these amendments or replacement, and
The essence not making appropriate technical solution departs from the scope of various embodiments of the present invention technical scheme.
Claims (12)
1. an aerial download upgrade method, it is characterised in that including:
Terminal receives aerial downloads the success rate for upgrading that OTA server sends, wherein, described in upgrade successfully
Rate successfully upgrades to the probability of target version for instruction from current version;
Described terminal is according to described success rate for upgrading, it is determined whether upgrading;
If described terminal determines upgrading, then downloading difference AKU, described difference AKU is described terminal
Upgrade to the difference AKU of described target version from described current version, described target version is higher than described
Current version.
Method the most according to claim 1, it is characterised in that if described terminal determines upgrading,
After then downloading described difference AKU, also include:
Described terminal sends upgrade information to described OTA server, so that described OTA server root
Updating described success rate for upgrading according to described upgrade information, described upgrade information is used for whether indicating described terminal
Success is upgraded.
Method the most according to claim 1 and 2, it is characterised in that described terminal is according to described liter
Level success rate, it is determined whether upgrading, including:
Described terminal determines whether described success rate for upgrading exceedes predetermined threshold value, if exceeding, it is determined that upgrading,
Otherwise, do not upgrade;
Or,
Described terminal shows described success rate for upgrading on a display screen, if detecting and acting on described display screen
Predetermined registration operation, it is determined that upgrading, otherwise, do not upgrade.
4. an aerial download upgrade method, it is characterised in that including:
When the aerial target version downloaded on OTA server is higher than the current version of terminal, described OTA
Server determines success rate for upgrading, and wherein, described success rate for upgrading becomes from described current version for instruction
Merit upgrades to the probability of described target version;
Described OTA server sends described success rate for upgrading to described terminal, so that described terminal is according to institute
Stating success rate for upgrading to determine whether to download difference AKU, described difference AKU is that described terminal is from described
Current version upgrades to the difference AKU of described target version, and described target version is higher than described current version
This.
Method the most according to claim 4, it is characterised in that described OTA server is to described
After terminal sends described success rate for upgrading, also include:
Described OTA server receives the upgrade information that described terminal sends, and described upgrade information is used for indicating
Described terminal is the most successfully upgraded;
Described OTA server, according to described upgrade information, updates described success rate for upgrading.
6. according to the method described in claim 4 or 5, it is characterised in that described ought download OTA in the air
When target version on server is higher than the current version of terminal, described OTA server determines and upgrades successfully
Rate, including:
When the aerial target version downloaded on OTA server is higher than the current version of terminal, described OTA
Server determines the first ratio of the second variable and the first variable, and using described first ratio as described liter
Level success rate;
Wherein, described first variable uses described difference AKU to carry out the number of times upgraded for indicating;Institute
State the second variable for indicating the described difference AKU of use successfully to upgrade to described mesh from described current version
The number of times of mark version.
7. a terminal, it is characterised in that including:
Transceiver module, for receiving the aerial success rate for upgrading downloading the transmission of OTA server, wherein, institute
State success rate for upgrading and successfully upgrade to the probability of target version for instruction from current version;
Processing module, for according to described success rate for upgrading, it is determined whether upgrading;
Download module, if determining upgrading for described processing module, then downloads difference AKU, described difference
Dividing AKU is that described terminal upgrades to the difference AKU of described target version, institute from described current version
State target version higher than described current version.
Terminal the most according to claim 7, it is characterised in that
Described transceiver module, is additionally operable to after described download module downloads described difference AKU, to institute
State OTA server and send upgrade information, so that described OTA server is according to described upgrade information more
New described success rate for upgrading, described upgrade information is used for indicating described terminal the most successfully to upgrade.
9. according to the terminal described in claim 7 or 8, it is characterised in that
Described processing module, specifically for determining whether described success rate for upgrading exceedes predetermined threshold value, if super
Cross, it is determined that upgrading, otherwise, do not upgrade;
Or,
Described processing module, specifically for showing described success rate for upgrading on a display screen, if work being detected
Predetermined registration operation for described display screen, it is determined that upgrading, otherwise, does not upgrades.
10. an aerial download OTA server, it is characterised in that including:
Processing module, for downloading the current version higher than terminal of the target version on OTA server in the air
In this time, determining success rate for upgrading, wherein, described success rate for upgrading becomes from described current version for instruction
Merit upgrades to the probability of described target version;
Transceiver module, for sending described success rate for upgrading to described terminal, so that described terminal is according to institute
Stating success rate for upgrading to determine whether to download difference AKU, described difference AKU is that described terminal is from described
Current version upgrades to the difference AKU of described target version, and described target version is higher than described current version
This.
11. OTA servers according to claim 10, it is characterised in that
Described transceiver module, after sending described success rate for upgrading to terminal, is additionally operable to receive described end
The upgrade information that end sends, described upgrade information is used for indicating described terminal the most successfully to upgrade;
Described processing module, is additionally operable to, according to described upgrade information, update described success rate for upgrading.
12. according to the OTA server described in claim 10 or 11, it is characterised in that
Described processing module, is higher than specifically for downloading the described target version on OTA server in the air
During the described current version of described terminal, determine the first ratio of the second variable and the first variable, and by institute
State the first ratio as described success rate for upgrading;
Wherein, described first variable uses described difference AKU to carry out the number of times upgraded for indicating;Institute
State the second variable for indicating the described difference AKU of use successfully to upgrade to described mesh from described current version
The number of times of mark version.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610415948.2A CN105872106A (en) | 2016-06-14 | 2016-06-14 | Over-the-air upgrade method, over-the-air server and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610415948.2A CN105872106A (en) | 2016-06-14 | 2016-06-14 | Over-the-air upgrade method, over-the-air server and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105872106A true CN105872106A (en) | 2016-08-17 |
Family
ID=56650131
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610415948.2A Pending CN105872106A (en) | 2016-06-14 | 2016-06-14 | Over-the-air upgrade method, over-the-air server and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105872106A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110134418A (en) * | 2019-05-10 | 2019-08-16 | 上海擎感智能科技有限公司 | Vehicle upgrade method and device, storage medium and terminal based on space download technology |
US20210136329A1 (en) * | 2018-08-01 | 2021-05-06 | Huawei Technologies Co., Ltd. | Method and system for software-defined camera and camera |
CN112783522A (en) * | 2020-12-28 | 2021-05-11 | 北京五八信息技术有限公司 | File loading method, file loading device and electronic equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090004974A1 (en) * | 2007-06-28 | 2009-01-01 | Seppo Pyhalammi | System, apparatus and method for associating an anticipated success indication with data delivery |
CN101616018A (en) * | 2008-06-27 | 2009-12-30 | 中兴通讯股份有限公司 | The method of upgrading network management software and device |
CN102081536A (en) * | 2010-12-30 | 2011-06-01 | 华为终端有限公司 | Method for updating increment, and server |
CN103123588A (en) * | 2013-02-05 | 2013-05-29 | 东莞宇龙通信科技有限公司 | Method and system for obtaining difference upgrade patch |
US8782633B1 (en) * | 2011-09-21 | 2014-07-15 | Emc Corporation | Upgrading firmware of a power supply |
CN105335181A (en) * | 2014-08-06 | 2016-02-17 | 中兴通讯股份有限公司 | OTA upgrade realization method and terminal |
-
2016
- 2016-06-14 CN CN201610415948.2A patent/CN105872106A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090004974A1 (en) * | 2007-06-28 | 2009-01-01 | Seppo Pyhalammi | System, apparatus and method for associating an anticipated success indication with data delivery |
CN101616018A (en) * | 2008-06-27 | 2009-12-30 | 中兴通讯股份有限公司 | The method of upgrading network management software and device |
CN102081536A (en) * | 2010-12-30 | 2011-06-01 | 华为终端有限公司 | Method for updating increment, and server |
US8782633B1 (en) * | 2011-09-21 | 2014-07-15 | Emc Corporation | Upgrading firmware of a power supply |
CN103123588A (en) * | 2013-02-05 | 2013-05-29 | 东莞宇龙通信科技有限公司 | Method and system for obtaining difference upgrade patch |
CN105335181A (en) * | 2014-08-06 | 2016-02-17 | 中兴通讯股份有限公司 | OTA upgrade realization method and terminal |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20210136329A1 (en) * | 2018-08-01 | 2021-05-06 | Huawei Technologies Co., Ltd. | Method and system for software-defined camera and camera |
US11979686B2 (en) * | 2018-08-01 | 2024-05-07 | Huawei Technologies Co., Ltd. | Method and system for software-defined camera and camera |
CN110134418A (en) * | 2019-05-10 | 2019-08-16 | 上海擎感智能科技有限公司 | Vehicle upgrade method and device, storage medium and terminal based on space download technology |
CN112783522A (en) * | 2020-12-28 | 2021-05-11 | 北京五八信息技术有限公司 | File loading method, file loading device and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108074177B (en) | Data reconciliation method, system and computer-readable storage medium | |
CN105373410B (en) | Base station software difference upgrade method and its device | |
CN106897086B (en) | Method, device and system for upgrading robot operating system | |
EP2456257B1 (en) | Method and system for upgrading wireless data card | |
CN104066077A (en) | OTA downloading and upgrading method and device thereof | |
CN101593119B (en) | Method and device for firmware over-the-air of exclusive flash memory combined equipment | |
CN106648781B (en) | Method and system for upgrading remote firmware of communication equipment | |
CN110365510A (en) | It is a kind of can to network node batch OTA upgrade things-internet gateway and OTA upgrade method | |
CN104144466A (en) | Access method for sensor in Internet of Things, Internet of Things system and server | |
CN105302601A (en) | System and method for software upgrade server | |
CN102915249A (en) | Method and device for remotely realizing firmware updating | |
CN106201588A (en) | The method for upgrading software of terminal and terminal | |
CN110262820A (en) | Method, apparatus, system and storage medium based on MQTT protocol realization OTA upgrading | |
CN105872106A (en) | Over-the-air upgrade method, over-the-air server and terminal | |
CN106708564A (en) | FOTA update method, device and server | |
CN111142905A (en) | OTA (over-the-air) upgrading method, OTA server and OTA upgrading system | |
CN111796853A (en) | Firmware upgrading method, system, equipment and computer storage medium | |
CN105760183A (en) | File processing method, device, and communication system | |
CN105653288A (en) | Method and device for automatic identification of hardware by software of module product | |
CN111176706A (en) | Terminal upgrading method and device, electronic equipment and storage medium | |
CN102348195A (en) | Wireless communication terminal and software updating method thereof | |
CN108874410B (en) | Patch management method and device | |
CN105227600A (en) | The method of mobile device system upgrading | |
CN104333856A (en) | Method for switching network of Java SIM card, SIM card, server and system | |
CN112035129A (en) | Method and device for driver installation and upgrade and computer equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160817 |
|
RJ01 | Rejection of invention patent application after publication |