CN104778057A - Terminal system upgrading method and device, and server - Google Patents

Terminal system upgrading method and device, and server Download PDF

Info

Publication number
CN104778057A
CN104778057A CN201510106845.3A CN201510106845A CN104778057A CN 104778057 A CN104778057 A CN 104778057A CN 201510106845 A CN201510106845 A CN 201510106845A CN 104778057 A CN104778057 A CN 104778057A
Authority
CN
China
Prior art keywords
described
version
terminal
upgraded
system version
Prior art date
Application number
CN201510106845.3A
Other languages
Chinese (zh)
Inventor
高阳
牛毅
丁晓亮
Original Assignee
小米科技有限责任公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 小米科技有限责任公司 filed Critical 小米科技有限责任公司
Priority to CN201510106845.3A priority Critical patent/CN104778057A/en
Publication of CN104778057A publication Critical patent/CN104778057A/en

Links

Abstract

The invention relates to a terminal system upgrading method, a terminal system upgrading device and a server, and belongs to the field of internets. The method comprises the following steps: receiving a version upgrading request transmitted by a terminal; according to a current system version and a user identifier, determining a version to be upgraded of the terminal; detecting whether a difference packet between the version to be upgraded and the current system version is stored; if the difference packet is not stored, performing difference processing on a big packet of the version to be upgraded and the big packet of the current system version to obtain the difference packet; sending the difference packet to the terminal, and upgrading a system by the terminal according to the difference packet. The version to be upgraded of the terminal is determined according to the current system version and the user identifier, so that a suitable system updating version can be selected for a terminal user; in addition, the difference packet is generated dynamically based on the current system version and the version to be upgraded, so that the system is upgraded automatically by the terminal according to the difference packet; the upgrading mode is intelligent; the bandwidth resources are saved; the user adhesiveness is enhanced.

Description

Terminal system upgrade method, device and server

Technical field

The disclosure relates to internet arena, particularly a kind of terminal system upgrade method, device and server.

Background technology

Televisor, as a kind of Information Communication terminal, is widely used in routine work life.Along with the fast development of Internet technology, television product is constantly weeded out the old and bring forth the new, and intelligent TV set arises at the historic moment, and it just occupies more and more important position in routine work life.Because producer constantly carries out perfect in shape and function to intelligent TV set, therefore need often to carry out system upgrade to intelligent TV set.

In correlation technique, when developer develops system redaction, recent systems AKU is placed in server.When intelligent TV set detects recent systems AKU, the version number of display system upgrade tip word and recent systems AKU on display interface.And then user carries out manual selecting operations according to upgrade tip word, to determine whether to carry out system upgrade operation to intelligent TV set.After user performs confirmation updating operation, download recent systems AKU, and according to recent systems AKU, system is upgraded.

Summary of the invention

For overcoming Problems existing in correlation technique, the disclosure provides a kind of terminal system upgrade method, device and server.

According to the first aspect of disclosure embodiment, provide a kind of terminal system upgrade method, described method comprises:

The edition upgrading request that receiving terminal sends, at least comprises current system version and user ID in described edition upgrading request;

According to described current system version and described user ID, determine the version to be upgraded of terminal;

Detect the difference bag whether stored between described version to be upgraded and described current system version;

If do not store described difference bag, then the large bag of the large bag of described version to be upgraded and described current system version is carried out difference processing, obtain described difference bag;

Described difference bag is issued to terminal, and described terminal is used for carrying out system upgrade according to described difference bag.

Alternatively, before the edition upgrading request that described receiving terminal sends, described method also comprises:

Whether testing product line generates latest edition AKU;

After generation latest edition AKU being detected, according to described latest edition AKU, generate latest edition difference bag and latest edition full dose bag.

Alternatively, described according to described current system version and described user ID, determine the version to be upgraded of terminal, comprising:

Detect between described current system version and recent systems version and whether there is other system version;

When there is other system version between described current system version and described recent systems version, obtain appointing system version, described appointing system version is a upper system version of described current system version, and belongs to described other system version;

Described appointing system version is defined as the version to be upgraded of described terminal.

Alternatively, described according to described current system version and described user ID, determine the version to be upgraded of terminal, comprising:

According to the system upgrade progress of described user ID determination terminal;

When described system upgrade progress is less than predetermined threshold value, described recent systems version is defined as the version to be upgraded of described terminal.

Alternatively, described according to described current system version and described user ID, determine the version to be upgraded of terminal, comprising:

Detect described user ID and whether be arranged in the white list pre-set, described white list comprises the corresponding relation of different user mark and system version;

When described user ID is arranged in the white list pre-set, determine the particular system version that described user ID is corresponding;

Described particular system version is defined as the version to be upgraded of described terminal.

Alternatively, described according to described current system version and described user ID, before determining the version to be upgraded of terminal, described method also comprises:

The upgrading rule of the first system version to second system version is set;

Described according to described current system version and described user ID, determine the version to be upgraded of terminal, comprising:

Judge whether described current system version matches with described the first system version;

If described current system version and described the first system version match, then described second system version is defined as the version to be upgraded of described terminal.

Alternatively, before whether described detection stores the difference bag between described version to be upgraded and described current system version, described method also comprises:

Product line generates the system upgrade bag of different editions rank, and described release level at least comprises forbidding version, beta version, exploitation version, kernel version and user version.

Alternatively, described according to described current system version and described user ID, determine the version to be upgraded of terminal, comprising:

User class is obtained according to described user ID;

Determine according to described user class the upgrading authority that described terminal is corresponding, described upgrading authority at least comprises release level corresponding to described user class;

According to described upgrading authority and described current system version, determine the version to be upgraded of described terminal.

According to the second aspect of disclosure embodiment, provide a kind of terminal system update device, described device comprises:

Upgrade request receiver module, for the edition upgrading request that receiving terminal sends, at least comprises current system version and user ID in described edition upgrading request;

Upgraded version determination module, for according to described current system version and described user ID, determines the version to be upgraded of terminal;

AKU detection module, for detecting the difference bag whether stored between described version to be upgraded and described current system version;

Processing module, if for not storing described difference bag, then carries out difference processing by the large bag of the large bag of described version to be upgraded and described current system version, obtains described difference bag;

Issue module, for described difference bag is issued to terminal, described terminal is used for carrying out system upgrade according to described difference bag.

Alternatively, described device also comprises:

Whether described AKU detection module, generate latest edition AKU for testing product line;

First AKU generation module, for after generation latest edition AKU being detected, according to described latest edition AKU, generates latest edition difference bag and latest edition full dose bag.

Alternatively, described upgraded version determination module, for detecting between described current system version and recent systems version whether there is other system version; When there is other system version between described current system version and described recent systems version, obtain appointing system version, described appointing system version is a upper system version of described current system version, and belongs to described other system version; Described appointing system version is defined as the version to be upgraded of described terminal.

Alternatively, described upgraded version determination module, for the system upgrade progress according to described user ID determination terminal; When described system upgrade progress is less than predetermined threshold value, described recent systems version is defined as the version to be upgraded of described terminal.

Alternatively, whether described upgraded version determination module, be arranged in for detecting described user ID the white list pre-set, and described white list comprises the corresponding relation of different user mark and system version; When described user ID is arranged in the white list pre-set, determine the particular system version that described user ID is corresponding; Described particular system version is defined as the version to be upgraded of described terminal.

Alternatively, described device also comprises:

Upgrading rule arranges module, for arranging the upgrading rule of the first system version to second system version;

Described upgraded version determination module, for judging whether described current system version matches with described the first system version; If described current system version and described the first system version match, then described second system version is defined as the version to be upgraded of described terminal.

Alternatively, described device also comprises:

Second AKU generation module, for generating the system upgrade bag of different editions rank on product line, described release level at least comprises forbidding version, beta version, exploitation version, kernel version and user version.

Alternatively, described upgraded version determination module, for obtaining user class according to described user ID; Determine according to described user class the upgrading authority that described terminal is corresponding, described upgrading authority at least comprises release level corresponding to described user class; According to described upgrading authority and described current system version, determine the version to be upgraded of described terminal.

According to the third aspect of disclosure embodiment, provide a kind of server, described server comprises:

Processor;

For the storer of storage of processor executable instruction;

Wherein, described processor is configured to: the edition upgrading request that receiving terminal sends, and at least comprises current system version and user ID in described edition upgrading request; According to described current system version and described user ID, determine the version to be upgraded of terminal; Detect the difference bag whether stored between described version to be upgraded and described current system version; If do not store described difference bag, then the large bag of the large bag of described version to be upgraded and described current system version is carried out difference processing, obtain described difference bag; Described difference bag is issued to terminal, and described terminal is used for carrying out system upgrade according to described difference bag.

The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect:

Receive terminal send at least comprise the edition upgrading request of current system version and user ID after, according to the version to be upgraded of current system version and user ID determination terminal, detect the difference bag whether stored between version to be upgraded and current system version afterwards, if do not store difference bag, then the large bag of version to be upgraded and the large bag of current system version are carried out difference processing and obtain difference bag, and difference bag is issued to terminal, terminal is made to carry out system upgrade according to this difference bag, due to the version to be upgraded according to current system version and user ID determination terminal, so can be terminal user to select suitable system upgrade version, in addition difference bag is dynamically generated based on current system version and version to be upgraded, terminal is made automatically to carry out system upgrade according to difference bag, upgrading mode is not only comparatively intelligent, save bandwidth resources, and enhance user's degree of adhesion.

Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the disclosure.

Accompanying drawing explanation

Accompanying drawing to be herein merged in instructions and to form the part of this instructions, shows embodiment according to the invention, and is used from instructions one and explains principle of the present invention.

Fig. 1 is the process flow diagram of a kind of terminal system upgrade method according to an exemplary embodiment.

Fig. 2 is the process flow diagram of a kind of terminal system upgrade method according to an exemplary embodiment.

Fig. 3 is the block diagram of the first the terminal system update device according to an exemplary embodiment.

Fig. 4 is the block diagram of the second terminal system update device according to an exemplary embodiment.

Fig. 5 is the block diagram of the third terminal system update device according to an exemplary embodiment.

Fig. 6 is the block diagram of the 4th kind of terminal system update device according to an exemplary embodiment.

Fig. 7 is the block diagram of a kind of server according to an exemplary embodiment.

Embodiment

Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Embodiment described in following exemplary embodiment does not represent all embodiments consistent with the present invention.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present invention are consistent.

Fig. 1 is the process flow diagram of a kind of terminal system upgrade method according to an exemplary embodiment, and as shown in Figure 1, this terminal system upgrade method is used for, in server, comprising the following steps.

In a step 101, the edition upgrading request that receiving terminal sends, at least comprises current system version and user ID in this edition upgrading request.

In a step 102, according to current system version and user ID, determine the version to be upgraded of terminal.

In step 103, the difference bag whether stored between version to be upgraded and current system version is detected; If do not store difference bag, then perform following step 104.

At step 104, if do not store difference bag, then the large bag of version to be upgraded and the large bag of current system version are carried out difference processing, obtain difference bag.

In step 105, difference bag is issued to terminal, terminal is used for carrying out system upgrade according to difference bag.

The method that disclosure embodiment provides, receive terminal send at least comprise the edition upgrading request of current system version and user ID after, according to the version to be upgraded of current system version and user ID determination terminal, detect the difference bag whether stored between version to be upgraded and current system version afterwards, if do not store difference bag, then the large bag of version to be upgraded and the large bag of current system version are carried out difference processing and obtain difference bag, and difference bag is issued to terminal, terminal is made to carry out system upgrade according to this difference bag, due to the version to be upgraded according to current system version and user ID determination terminal, so can be terminal user to select suitable system upgrade version, in addition difference bag is dynamically generated based on current system version and version to be upgraded, terminal is made automatically to carry out system upgrade according to difference bag, upgrading mode is not only comparatively intelligent, save bandwidth resources, and enhance user's degree of adhesion.

Alternatively, before the edition upgrading request that receiving terminal sends, the method also comprises:

Whether testing product line generates latest edition AKU;

After generation latest edition AKU being detected, according to latest edition AKU, generate latest edition difference bag and latest edition full dose bag.

Alternatively, according to current system version and user ID, determine the version to be upgraded of terminal, comprising:

Detect between current system version and recent systems version and whether there is other system version;

When there is other system version between current system version and recent systems version, obtain appointing system version, appointing system version is a upper system version of current system version, and belongs to other system version;

Appointing system version is defined as the version to be upgraded of terminal.

Alternatively, according to current system version and user ID, determine the version to be upgraded of terminal, comprising:

According to the system upgrade progress of user ID determination terminal;

When system upgrade progress is less than predetermined threshold value, recent systems version is defined as the version to be upgraded of terminal.

Alternatively, according to current system version and user ID, determine the version to be upgraded of terminal, comprising:

Detect user ID and whether be arranged in the white list pre-set, white list comprises the corresponding relation of different user mark and system version;

When user ID is arranged in the white list pre-set, determine the particular system version that user ID is corresponding;

Particular system version is defined as the version to be upgraded of terminal.

Alternatively, according to current system version and user ID, before determining the version to be upgraded of terminal, the method also comprises:

The upgrading rule of the first system version to second system version is set;

According to current system version and user ID, determine the version to be upgraded of terminal, comprising:

Judge whether current system version matches with the first system version;

If current system version and the first system version match, then second system version is defined as the version to be upgraded of terminal.

Alternatively, before detecting the difference bag whether stored between version to be upgraded and current system version, the method also comprises:

Product line generates the system upgrade bag of different editions rank, and release level at least comprises forbidding version, beta version, exploitation version, kernel version and user version.

Alternatively, according to current system version and user ID, determine the version to be upgraded of terminal, comprising:

User class is obtained according to user ID;

The upgrading authority corresponding according to user class determination terminal, upgrading authority at least comprises release level corresponding to user class;

According to upgrading authority and current system version, determine the version to be upgraded of terminal.

Above-mentioned all alternatives, can adopt and combine arbitrarily formation optional embodiment of the present invention, this is no longer going to repeat them.

Fig. 2 is the process flow diagram of a kind of terminal system upgrade method according to an exemplary embodiment, and as shown in Figure 2, this terminal system upgrade method is applied in server, comprises the following steps.

In step 201, whether testing product line generates latest edition AKU; After generation latest edition AKU being detected, according to latest edition AKU, generate latest edition difference bag and latest edition full dose bag.

Wherein, product line is used for the system upgrade bag of build (generations) not release level, by developing line and stability line forms.And the ID monotone increasing of system upgrade bag, if than ID be 1 system upgrade bag go out by developing line build, then the version of stability line build can not occur that ID is the system upgrade bag of 1 again, and the version of its build must be greater than 1.

Need to explain and illustrate, in the disclosed embodiments, difference bag refers to the class AKU produced by the target file (file destination) of two different system versions, with signature, can be used for increment upgrading.Wherein, target file has another name called large bag or tundish, contains the All Files needed for system upgrade, but does not sign.Full dose bag, can be produced by target file, with signature, can be used for full dose upgrading.

Wherein, release level at least comprises forbidding version (identifying it with-100), beta version (identifying it with-1), exploitation version (identifying it with 0), kernel version (identifying it with 10) and user version (identifying it with 100).In addition, disclosure embodiment is also classified to different user, mainly comprises test subscriber's (identifying it with-1), development of user (identifying it with 0), core customer's (identifying it with 10) and domestic consumer's (identifying it with 100).

When system upgrade bag is for forbidding version, all terminals all can not carry out system upgrade; When system upgrade bag is beta version, test subscriber's terminal can carry out system upgrade; When system upgrade bag is for exploitation version, test subscriber's terminal and development of user terminal can carry out system upgrade; When system upgrade bag is kernel version, test subscriber's terminal, development of user terminal and core customer's terminal can carry out system upgrade; When system upgrade bag is user version, test subscriber's terminal, development of user terminal and general subscriber terminal can carry out system upgrade.

Also be, server is after being divided into test subscriber, development of user, core customer and domestic consumer by user, when the upgrade request that subsequently received terminal sends, user class can be determined according to user ID, and then the upgrading authority of user is searched according to this user class correspondence, to determine whether this terminal can upgrade, the AKU of which release level of upgrading, and be upgraded to which system version.

Generally, when determining that the user is test grades user according to user ID, in other release level system upgrade bags except forbidding version, determine the system upgrade bag that the version to be upgraded of terminal is corresponding; When determining that the user is exploitation class subscribers according to user ID, in other release level system upgrade bags except forbidding version and beta version, determine the system upgrade bag that the version to be upgraded of terminal is corresponding; When determining that the user is core level user according to user ID, the kernel version level-systems AKU of version to be upgraded is defined as system upgrade bag corresponding to terminal; When determining that the user is common grade user according to user ID, the plaintext level-systems AKU of version to be upgraded is defined as system upgrade bag corresponding to terminal.Wherein, determine that the version to be upgraded of terminal can see the method shown in following step 203.After determining the system upgrade bag that the version to be upgraded of terminal is corresponding, just in subsequent process, difference bag corresponding to terminal can be obtained according to this system upgrade bag and current system version, and then according to this difference bag, system upgrade be carried out to terminal.

It should be noted that, core customer can not upgrade with the system upgrade bag of domestic consumer in the disclosed embodiments; Provide and wrap in build on exploitation line to the system upgrade of core customer, provide and wrap in build on stability line to the system upgrade of domestic consumer.In general, core customer can not with the system upgrade bag on stability line, and domestic consumer can not with the system upgrade bag on exploitation line; Test subscriber and development of user then not by the restriction of exploitation line, stability line, are only upgraded to highest version.

In the disclosed embodiments, when whether testing product line generates latest edition AKU, because product line is when build system upgrade bag, a corresponding version number can be set for the system upgrade bag of each version, therefore server can according to the version number's create-rule pre-set, and detects current whether to there is new version number every Preset Time; If the version number that current existence is new, then determine product line has generated latest edition AKU.Certainly, except whether above-mentioned testing product line generates except the mode of latest edition AKU, also can take other modes, such as after product line generation system AKU, initiatively send redaction information, after server receives redaction information, just detect that product line generates latest edition AKU, disclosure embodiment does not specifically limit this.

After generation latest edition AKU being detected, according to latest edition AKU, generate latest edition difference bag and latest edition full dose bag.Wherein, up-to-date difference bag carries out calculus of differences generation by the large bag of the large bag of latest edition and another version already present, for increment upgrading, and can saving network flow.Latest edition full dose bag is generated according to the corresponding command by the large bag of latest edition, for full dose upgrading, comparatively takies network traffics.Wherein, the latest edition difference bag of generation and latest edition full dose bag can be stored in CDN (Content DeliveryNetwork, content distributing network) server.

In step 202., the edition upgrading request that receiving terminal sends, at least comprises current system version and user ID in edition upgrading request.

Wherein, current system version refers to the current system version used of terminal, and user ID is the unique identification generated according to predetermined operation rule according to the MAC Address of terminal, and disclosure embodiment does not specifically limit this.In addition, in edition upgrading request except comprising current system version and user ID, also can comprise other information, such as the version request rise time etc., disclosure embodiment does not specifically limit equally to this.

In step 203, according to current system version and user ID, determine the version to be upgraded of terminal.

In the disclosed embodiments, according to current system version and user ID, when determining the version to be upgraded of terminal, following four kinds of modes can be taked to realize:

First kind of way, detect between current system version and recent systems version whether there is other system version; When there is other system version between this current system version and recent systems version, obtain appointing system version, appointing system version is defined as the version to be upgraded of terminal.

For first kind of way, appointing system version is a upper system version of current system version, and belongs to other system version.Give one example, suppose that current system version is V1, recent systems version is V4, then just there are V2 and V3 two system versions between current system version and recent systems version, and system version V2 and V3 is just other system version.Because first kind of way is not for can skip upgrading rule, so when determining the version to be upgraded of terminal, version to be upgraded only can be a upper system version of current system version.Also namely, if current system version is V1, then the version to be upgraded of terminal can be only system version V2.

The second way, system upgrade progress according to user ID determination terminal; When system upgrade progress is less than predetermined threshold value, recent systems version is defined as the version to be upgraded of terminal.

Wherein, predetermined threshold value can be 2,3 or 4 etc., and disclosure embodiment does not specifically limit this.

For the second way, it is mandatory upgrade rule.If terminal staging progress is too slow, then latest edition can be defined as the version to be upgraded of terminal, terminal can be permitted without user, directly from current system edition upgrading to recent systems version.Current system version and user ID is at least comprised, so server just can according to the system upgrade progress of above-mentioned information determination terminal due in the edition upgrading request that terminal is uploaded.With user A, suppose that recent systems version is V5, current system version is V1, then the system upgrade progress of terminal user is 0, is less than predetermined threshold value, so recent systems version V5 is defined as the version to be upgraded of terminal by server.

Certainly, outside system upgrade progress characterizes divided by the difference of version, can also characterize by system interval, disclosure embodiment does not specifically limit this at every turn.After the type of system upgrade progress changes, predetermined threshold value also can correspondingly change.

Whether the third mode, detection user ID are arranged in the white list pre-set, and white list comprises the corresponding relation of different user mark and system version; When user ID is arranged in the white list pre-set, determine the particular system version that user ID is corresponding; Particular system version is defined as the version to be upgraded of terminal.

For the third mode, which employs white list mechanism.See table 1, this white list comprises the corresponding relation between different user mark and system version.Server is after the edition upgrading request receiving the terminal transmission that in white list, a certain user ID is corresponding, and terminal is scalable to the particular system version indicated by white list.When whether detection user ID is in the white list pre-set, query search can be carried out in white list or traversal is searched according to the user ID of terminal, when the user ID of user ID a certain in white list and terminal matches, determine that the user ID of terminal is arranged in the white list pre-set.

Table 1

User ID System version 1234 V3 Acdf V4 Ghjk V5

……… ………

Giving one example, suppose that the user ID of terminal is 1234, and this user ID is for being arranged in white list, current system version is V1 is example, then according to the white list shown in table 1, system version V3 is defined as the version to be upgraded of terminal by server.

4th kind of mode, the upgrading rule of the first system version to second system version is set; Judge whether current system version matches with the first system version; If current system version and the first system version match, then second system version is defined as the version to be upgraded of terminal.

For the 4th kind of mode, arrange the upgrading rule of the first system version to second system version, namely all current system versions are the terminal of the first system version, directly upgrade to second system version.With the first system version for V1, second system version is V4 is example, then server is after determining that the current system version of terminal is V1, directly V4 is defined as the version to be upgraded of terminal.

In step 204, the difference bag whether stored between version to be upgraded and current system version is detected; If do not store this difference bag, then perform following step 205; If store this difference bag, then this difference bag is directly issued to terminal.

In the disclosed embodiments, no matter difference bag or full dose bag is all stored in CDN server, so when detecting the difference bag whether stored between version to be upgraded and current system version, the difference bag whether stored between version to be upgraded and current system version can be detected in CDN server by direct-detection.Due to all corresponding version information of each difference bag, the difference bag whether stored in CDN server between version to be upgraded and current system version therefore just can be determined according to version information.If do not store difference bag, then directly perform following step 205; If store difference bag, then directly this difference bag is issued to terminal, so that terminal carries out system upgrade according to this difference bag.It should be noted that, why detect the difference bag whether stored between current system version and system version to be upgraded, the difference bag that may not generate the two because of server on the one hand, because need the data magnanimity stored in CDN server on the other hand, in order to alleviate the storage pressure of CDN server, the a part of data storing duration long abandon, or there are other uncontrollable factors etc.

In step 205, if do not store difference bag, then the large bag of version to be upgraded and the large bag of current system version are carried out difference processing, obtain difference bag.

In the disclosed embodiments, if do not store the difference bag between current system version and system version to be upgraded, from CDN server, then obtain the full dose bag of version to be upgraded and the full dose bag of current system version, the large bag of version to be upgraded and the large bag of current system version are carried out difference processing, obtain difference bag, difference is wrapped and passes to CDN server.

In step 206, difference bag is issued to terminal, terminal is used for carrying out system upgrade according to difference bag.

After obtaining the difference bag between current system version and recent systems version, this difference bag is issued to terminal, to make terminal carry out incremental system upgrading according to this difference bag, saves network traffics.

The method that disclosure embodiment provides, receive terminal send at least comprise the edition upgrading request of current system version and user ID after, according to the version to be upgraded of current system version and user ID determination terminal, detect the difference bag whether stored between version to be upgraded and current system version afterwards, if do not store difference bag, then the large bag of version to be upgraded and the large bag of current system version are carried out difference processing and obtain difference bag, and difference bag is issued to terminal, terminal is made to carry out system upgrade according to this difference bag, due to the version to be upgraded according to current system version and user ID determination terminal, so can be terminal user to select suitable system upgrade version, in addition difference bag is dynamically generated based on current system version and version to be upgraded, terminal is made automatically to carry out system upgrade according to difference bag, upgrading mode is not only comparatively intelligent, save bandwidth resources, and enhance user's degree of adhesion.In addition, the measures such as white list upgrade mechanism and release level control, make upgrading mode more flexible, meet the various upgrade requirements of terminal user, improve development efficiency, reduce upgrading risk, and be easy to control system version.

Fig. 3 is the block diagram of a kind of terminal system update device according to an exemplary embodiment.With reference to Fig. 3, this device comprises: upgrade request receiver module 301, upgraded version determination module 302, AKU detection module 303, processing module 304, issue module 305.

Wherein, upgrade request receiver module 301 is connected with upgraded version determination module 302, for the edition upgrading request that receiving terminal sends, at least comprises current system version and user ID in edition upgrading request; Upgraded version determination module 302 is connected with AKU detection module 303, for according to current system version and user ID, determines the version to be upgraded of terminal; AKU detection module 303 is connected with processing module 304, for detecting the difference bag whether stored between version to be upgraded and current system version; Processing module 304 with issue module 305 and be connected, if for not storing difference bag, then the large bag of version to be upgraded and the large bag of current system version are carried out difference processing, obtain difference bag; Issue module 305, for difference bag is issued to terminal, terminal is used for carrying out system upgrade according to difference bag.

See Fig. 4, this device also comprises:

Whether AKU detection module, generate latest edition AKU for testing product line;

First AKU generation module 306, for after generation latest edition AKU being detected, according to latest edition AKU, generates latest edition difference bag and latest edition full dose bag.

Alternatively, upgraded version determination module, for detecting between current system version and recent systems version whether there is other system version; When there is other system version between current system version and recent systems version, obtain appointing system version, appointing system version is a upper system version of current system version, and belongs to other system version; Appointing system version is defined as the version to be upgraded of terminal.

Alternatively, upgraded version determination module, for the system upgrade progress according to user ID determination terminal; When system upgrade progress is less than predetermined threshold value, recent systems version is defined as the version to be upgraded of terminal.

Alternatively, whether upgraded version determination module, be arranged in for detecting user ID the white list pre-set, and white list comprises the corresponding relation of different user mark and system version; When user ID is arranged in the white list pre-set, determine the particular system version that user ID is corresponding; Particular system version is defined as the version to be upgraded of terminal.

See Fig. 5, this device also comprises:

Upgrading rule arranges module 307, for arranging the upgrading rule of the first system version to second system version;

Upgraded version determination module, for judging whether current system version matches with the first system version; If current system version and the first system version match, then second system version is defined as the version to be upgraded of terminal.

See Fig. 6, this device also comprises:

Second AKU generation module 308, for generating the system upgrade bag of different editions rank on product line, release level at least comprises forbidding version, beta version, exploitation version, kernel version and user version.

Upgraded version determination module, for obtaining user class according to user ID; The upgrading authority corresponding according to user class determination terminal, upgrading authority at least comprises release level corresponding to user class; According to upgrading authority and current system version, determine the version to be upgraded of terminal.

The device that disclosure embodiment provides, receive terminal send at least comprise the edition upgrading request of current system version and user ID after, according to the version to be upgraded of current system version and user ID determination terminal, detect the difference bag whether stored between version to be upgraded and current system version afterwards, if do not store difference bag, then the large bag of version to be upgraded and the large bag of current system version are carried out difference processing and obtain difference bag, and difference bag is issued to terminal, terminal is made to carry out system upgrade according to this difference bag, due to the version to be upgraded according to current system version and user ID determination terminal, so can be terminal user to select suitable system upgrade version, in addition difference bag is dynamically generated based on current system version and version to be upgraded, terminal is made automatically to carry out system upgrade according to difference bag, upgrading mode is not only comparatively intelligent, save bandwidth resources, and enhance user's degree of adhesion.

About the device in above-described embodiment, wherein the concrete mode of modules executable operations has been described in detail in about the embodiment of the method, will not elaborate explanation herein.

Fig. 7 is the block diagram of a kind of server 700 for terminal system upgrading according to an exemplary embodiment.Such as, server 700 may be provided in a server.With reference to Fig. 7, server 700 comprises processing components 722, and it comprises one or more processor further, and the memory resource representated by storer 732, can such as, by the instruction of the execution of processing components 722, application program for storing.The application program stored in storer 732 can comprise each module corresponding to one group of instruction one or more.In addition, processing components 722 is configured to perform instruction, to perform the above method embodiment.

Server 700 can also comprise the power management that a power supply module 726 is configured to perform server 700, and a wired or wireless network interface 750 is configured to server 700 to be connected to network, and input and output (I/O) interface 758.Server 700 can operate the operating system based on being stored in storer 732, such as Windows Server tM, Mac OS X tM, Unix tM, Linux tM, FreeBSD tMor it is similar.

A kind of non-transitory computer-readable recording medium, when the instruction in storage medium is performed by the processor of mobile terminal, make mobile terminal can perform a kind of terminal system upgrade method, the method comprises:

The edition upgrading request that receiving terminal sends, at least comprises current system version and user ID in edition upgrading request;

According to current system version and user ID, determine the version to be upgraded of terminal;

Detect the difference bag whether stored between version to be upgraded and current system version;

If do not store difference bag, then the large bag of version to be upgraded and the large bag of current system version are carried out difference processing, obtain difference bag;

Difference bag is issued to terminal, and terminal is used for carrying out system upgrade according to difference bag.

Alternatively, before the edition upgrading request that receiving terminal sends, the method also comprises:

Whether testing product line generates latest edition AKU;

After generation latest edition AKU being detected, according to latest edition AKU, generate latest edition difference bag and latest edition full dose bag.

Alternatively, according to current system version and user ID, determine the version to be upgraded of terminal, comprising:

Detect between current system version and recent systems version and whether there is other system version;

When there is other system version between current system version and recent systems version, obtain appointing system version, appointing system version is a upper system version of current system version, and belongs to other system version;

Appointing system version is defined as the version to be upgraded of terminal.

Alternatively, according to current system version and user ID, determine the version to be upgraded of terminal, comprising:

According to the system upgrade progress of user ID determination terminal;

When system upgrade progress is less than predetermined threshold value, recent systems version is defined as the version to be upgraded of terminal.

Alternatively, according to current system version and user ID, determine the version to be upgraded of terminal, comprising:

Detect user ID and whether be arranged in the white list pre-set, white list comprises the corresponding relation of different user mark and system version;

When user ID is arranged in the white list pre-set, determine the particular system version that user ID is corresponding;

Particular system version is defined as the version to be upgraded of terminal.

Alternatively, according to current system version and user ID, before determining the version to be upgraded of terminal, the method also comprises:

The upgrading rule of the first system version to second system version is set;

According to current system version and user ID, determine the version to be upgraded of terminal, comprising:

Judge whether current system version matches with the first system version;

If current system version and the first system version match, then second system version is defined as the version to be upgraded of terminal.

Alternatively, before detecting the difference bag whether stored between version to be upgraded and current system version, the method also comprises:

Product line generates the system upgrade bag of different editions rank, and release level at least comprises forbidding version, beta version, exploitation version, kernel version and user version.

Alternatively, according to current system version and user ID, determine the version to be upgraded of terminal, comprising:

User class is obtained according to user ID;

The upgrading authority corresponding according to user class determination terminal, upgrading authority at least comprises release level corresponding to user class;

According to upgrading authority and current system version, determine the version to be upgraded of terminal.

The non-transitory computer-readable recording medium that disclosure embodiment provides, receive terminal send at least comprise the edition upgrading request of current system version and user ID after, according to the version to be upgraded of current system version and user ID determination terminal, detect the difference bag whether stored between version to be upgraded and current system version afterwards, if do not store difference bag, then the large bag of version to be upgraded and the large bag of current system version are carried out difference processing and obtain difference bag, and difference bag is issued to terminal, terminal is made to carry out system upgrade according to this difference bag, due to the version to be upgraded according to current system version and user ID determination terminal, so can be terminal user to select suitable system upgrade version, in addition difference bag is dynamically generated based on current system version and version to be upgraded, terminal is made automatically to carry out system upgrade according to difference bag, upgrading mode is not only comparatively intelligent, save bandwidth resources, and enhance user's degree of adhesion.

Those skilled in the art, at consideration instructions and after putting into practice invention disclosed herein, will easily expect other embodiment of the present invention.The application is intended to contain any modification of the present invention, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present invention and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Instructions and embodiment are only regarded as exemplary, and true scope of the present invention and spirit are pointed out by claim below.

Should be understood that, the present invention is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.Scope of the present invention is only limited by appended claim.

Claims (17)

1. a terminal system upgrade method, is characterized in that, described method comprises:
The edition upgrading request that receiving terminal sends, at least comprises current system version and user ID in described edition upgrading request;
According to described current system version and described user ID, determine the version to be upgraded of terminal;
Detect the difference bag whether stored between described version to be upgraded and described current system version;
If do not store described difference bag, then the large bag of the large bag of described version to be upgraded and described current system version is carried out difference processing, obtain described difference bag;
Described difference bag is issued to terminal, and described terminal is used for carrying out system upgrade according to described difference bag.
2. method according to claim 1, is characterized in that, before the edition upgrading request that described receiving terminal sends, described method also comprises:
Whether testing product line generates latest edition AKU;
After generation latest edition AKU being detected, according to described latest edition AKU, generate latest edition difference bag and latest edition full dose bag.
3. method according to claim 1, is characterized in that, described according to described current system version and described user ID, determines the version to be upgraded of terminal, comprising:
Detect between described current system version and recent systems version and whether there is other system version;
When there is other system version between described current system version and described recent systems version, obtain appointing system version, described appointing system version is a upper system version of described current system version, and belongs to described other system version;
Described appointing system version is defined as the version to be upgraded of described terminal.
4. method according to claim 1, is characterized in that, described according to described current system version and described user ID, determines the version to be upgraded of terminal, comprising:
According to the system upgrade progress of described user ID determination terminal;
When described system upgrade progress is less than predetermined threshold value, described recent systems version is defined as the version to be upgraded of described terminal.
5. method according to claim 1, is characterized in that, described according to described current system version and described user ID, determines the version to be upgraded of terminal, comprising:
Detect described user ID and whether be arranged in the white list pre-set, described white list comprises the corresponding relation of different user mark and system version;
When described user ID is arranged in the white list pre-set, determine the particular system version that described user ID is corresponding;
Described particular system version is defined as the version to be upgraded of described terminal.
6. method according to claim 1, is characterized in that, described according to described current system version and described user ID, before determining the version to be upgraded of terminal, described method also comprises:
The upgrading rule of the first system version to second system version is set;
Described according to described current system version and described user ID, determine the version to be upgraded of terminal, comprising:
Judge whether described current system version matches with described the first system version;
If described current system version and described the first system version match, then described second system version is defined as the version to be upgraded of described terminal.
7. method according to claim 1, is characterized in that, before whether described detection stores the difference bag between described version to be upgraded and described current system version, described method also comprises:
Product line generates the system upgrade bag of different editions rank, and described release level at least comprises forbidding version, beta version, exploitation version, kernel version and user version.
8. method according to claim 7, is characterized in that, described according to described current system version and described user ID, determines the version to be upgraded of terminal, comprising:
User class is obtained according to described user ID;
Determine according to described user class the upgrading authority that described terminal is corresponding, described upgrading authority at least comprises release level corresponding to described user class;
According to described upgrading authority and described current system version, determine the version to be upgraded of described terminal.
9. a terminal system update device, is characterized in that, described device comprises:
Upgrade request receiver module, for the edition upgrading request that receiving terminal sends, at least comprises current system version and user ID in described edition upgrading request;
Upgraded version determination module, for according to described current system version and described user ID, determines the version to be upgraded of terminal;
AKU detection module, for detecting the difference bag whether stored between described version to be upgraded and described current system version;
Processing module, if for not storing described difference bag, then carries out difference processing by the large bag of the large bag of described version to be upgraded and described current system version, obtains described difference bag;
Issue module, for described difference bag is issued to terminal, described terminal is used for carrying out system upgrade according to described difference bag.
10. device according to claim 9, is characterized in that, described device also comprises:
Whether described AKU detection module, generate latest edition AKU for testing product line;
First AKU generation module, for after generation latest edition AKU being detected, according to described latest edition AKU, generates latest edition difference bag and latest edition full dose bag.
11. devices according to claim 9, is characterized in that, described upgraded version determination module, for detecting between described current system version and recent systems version whether there is other system version; When there is other system version between described current system version and described recent systems version, obtain appointing system version, described appointing system version is a upper system version of described current system version, and belongs to described other system version; Described appointing system version is defined as the version to be upgraded of described terminal.
12. devices according to claim 9, is characterized in that, described upgraded version determination module, for the system upgrade progress according to described user ID determination terminal; When described system upgrade progress is less than predetermined threshold value, described recent systems version is defined as the version to be upgraded of described terminal.
13. devices according to claim 9, is characterized in that, described upgraded version determination module, whether are arranged in for detecting described user ID the white list pre-set, and described white list comprises the corresponding relation of different user mark and system version; When described user ID is arranged in the white list pre-set, determine the particular system version that described user ID is corresponding; Described particular system version is defined as the version to be upgraded of described terminal.
14. devices according to claim 9, is characterized in that, described device also comprises:
Upgrading rule arranges module, for arranging the upgrading rule of the first system version to second system version;
Described upgraded version determination module, for judging whether described current system version matches with described the first system version; If described current system version and described the first system version match, then described second system version is defined as the version to be upgraded of described terminal.
15. devices according to claim 9, is characterized in that, described device also comprises:
Second AKU generation module, for generating the system upgrade bag of different editions rank on product line, described release level at least comprises forbidding version, beta version, exploitation version, kernel version and user version.
16. devices according to claim 15, is characterized in that, described upgraded version determination module, for obtaining user class according to described user ID; Determine according to described user class the upgrading authority that described terminal is corresponding, described upgrading authority at least comprises release level corresponding to described user class; According to described upgrading authority and described current system version, determine the version to be upgraded of described terminal.
17. 1 kinds of servers, is characterized in that, described server comprises:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to: the edition upgrading request that receiving terminal sends, and at least comprises current system version and user ID in described edition upgrading request; According to described current system version and described user ID, determine the version to be upgraded of terminal; Detect the difference bag whether stored between described version to be upgraded and described current system version; If do not store described difference bag, then the large bag of the large bag of described version to be upgraded and described current system version is carried out difference processing, obtain described difference bag; Described difference bag is issued to terminal, and described terminal is used for carrying out system upgrade according to described difference bag.
CN201510106845.3A 2015-03-11 2015-03-11 Terminal system upgrading method and device, and server CN104778057A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510106845.3A CN104778057A (en) 2015-03-11 2015-03-11 Terminal system upgrading method and device, and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510106845.3A CN104778057A (en) 2015-03-11 2015-03-11 Terminal system upgrading method and device, and server

Publications (1)

Publication Number Publication Date
CN104778057A true CN104778057A (en) 2015-07-15

Family

ID=53619542

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510106845.3A CN104778057A (en) 2015-03-11 2015-03-11 Terminal system upgrading method and device, and server

Country Status (1)

Country Link
CN (1) CN104778057A (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105094931A (en) * 2015-09-09 2015-11-25 小米科技有限责任公司 Software upgrading method and device
CN105630544A (en) * 2015-12-21 2016-06-01 小米科技有限责任公司 System updating control method and apparatus as well as server device
CN106162612A (en) * 2016-06-27 2016-11-23 北京小米移动软件有限公司 Control the method and device of Root authority
CN106470114A (en) * 2015-08-20 2017-03-01 青岛海信移动通信技术股份有限公司 A kind of collocation method of OTA AKU and device
CN106535228A (en) * 2016-11-30 2017-03-22 努比亚技术有限公司 System upgrading device and method
CN106648745A (en) * 2016-10-26 2017-05-10 腾讯科技(深圳)有限公司 Application upgrading control method and device
CN106775672A (en) * 2016-11-30 2017-05-31 努比亚技术有限公司 The method and terminal of system version upgrading
CN107135089A (en) * 2016-02-29 2017-09-05 大唐移动通信设备有限公司 A kind of method and apparatus upgraded to operation maintenance center's system
CN107358032A (en) * 2017-06-23 2017-11-17 深圳市康冠医疗设备有限公司 A kind of upgrade method of product, device and product upgrading system
CN107451010A (en) * 2016-05-31 2017-12-08 宇龙计算机通信科技(深圳)有限公司 A kind of data-frozen defreezing method, device and terminal
CN107544872A (en) * 2017-07-31 2018-01-05 青岛海信电器股份有限公司 A kind of method and apparatus of system upgrade
CN107707589A (en) * 2016-08-09 2018-02-16 阿里巴巴集团控股有限公司 The update method of system version, content delivery network node, remote gateway
CN108089868A (en) * 2016-11-21 2018-05-29 北京京东尚科信息技术有限公司 The method upgraded to the project on smart machine
CN110708199A (en) * 2019-10-08 2020-01-17 联想(北京)有限公司 Method, device, electronic equipment and medium for upgrading terminal equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102081536A (en) * 2010-12-30 2011-06-01 华为终端有限公司 Method for updating increment, and server
CN103513998A (en) * 2012-06-25 2014-01-15 中兴通讯股份有限公司 Method and device for generating upgrade package and method and terminal for upgrading dynamic documents in difference mode
CN104052818A (en) * 2014-06-27 2014-09-17 青岛海信移动通信技术股份有限公司 Version upgrade method and device for mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102081536A (en) * 2010-12-30 2011-06-01 华为终端有限公司 Method for updating increment, and server
CN103513998A (en) * 2012-06-25 2014-01-15 中兴通讯股份有限公司 Method and device for generating upgrade package and method and terminal for upgrading dynamic documents in difference mode
CN104052818A (en) * 2014-06-27 2014-09-17 青岛海信移动通信技术股份有限公司 Version upgrade method and device for mobile terminal

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106470114A (en) * 2015-08-20 2017-03-01 青岛海信移动通信技术股份有限公司 A kind of collocation method of OTA AKU and device
CN106470114B (en) * 2015-08-20 2019-09-20 青岛海信移动通信技术股份有限公司 A kind of configuration method and device of OTA upgrade package
CN105094931A (en) * 2015-09-09 2015-11-25 小米科技有限责任公司 Software upgrading method and device
CN105094931B (en) * 2015-09-09 2019-03-01 小米科技有限责任公司 Method for upgrading software and device
CN105630544A (en) * 2015-12-21 2016-06-01 小米科技有限责任公司 System updating control method and apparatus as well as server device
CN107135089B (en) * 2016-02-29 2019-11-22 大唐移动通信设备有限公司 The method and apparatus that a kind of pair of operation and maintenance center's system is upgraded
CN107135089A (en) * 2016-02-29 2017-09-05 大唐移动通信设备有限公司 A kind of method and apparatus upgraded to operation maintenance center's system
CN107451010A (en) * 2016-05-31 2017-12-08 宇龙计算机通信科技(深圳)有限公司 A kind of data-frozen defreezing method, device and terminal
CN106162612A (en) * 2016-06-27 2016-11-23 北京小米移动软件有限公司 Control the method and device of Root authority
CN107707589A (en) * 2016-08-09 2018-02-16 阿里巴巴集团控股有限公司 The update method of system version, content delivery network node, remote gateway
CN106648745B (en) * 2016-10-26 2020-08-04 腾讯科技(深圳)有限公司 Application upgrading control method and device
CN106648745A (en) * 2016-10-26 2017-05-10 腾讯科技(深圳)有限公司 Application upgrading control method and device
CN108089868A (en) * 2016-11-21 2018-05-29 北京京东尚科信息技术有限公司 The method upgraded to the project on smart machine
CN106535228A (en) * 2016-11-30 2017-03-22 努比亚技术有限公司 System upgrading device and method
CN106775672A (en) * 2016-11-30 2017-05-31 努比亚技术有限公司 The method and terminal of system version upgrading
CN107358032A (en) * 2017-06-23 2017-11-17 深圳市康冠医疗设备有限公司 A kind of upgrade method of product, device and product upgrading system
CN107358032B (en) * 2017-06-23 2020-05-19 深圳市康冠医疗设备有限公司 Product upgrading method and device and product upgrading system
CN107544872A (en) * 2017-07-31 2018-01-05 青岛海信电器股份有限公司 A kind of method and apparatus of system upgrade
CN110708199A (en) * 2019-10-08 2020-01-17 联想(北京)有限公司 Method, device, electronic equipment and medium for upgrading terminal equipment

Similar Documents

Publication Publication Date Title
CN104202360B (en) The method of accessed web page, device and router
RU2604326C2 (en) Webpage browsing method, webapp framework, method and device for executing javascript and mobile terminal
CN101119517B (en) Method of automatic downloading software from network server
JP5705869B2 (en) Apparatus and method for loading and updating code of a cluster-based JAVA application system
RU2605919C2 (en) Method and apparatus for displaying push messages
US10212563B2 (en) Updating web resources
CN1988535B (en) Synchronous method, system for file storage and customer terminal
CN100411341C (en) Parallel downloading method and terminal
CN102857578B (en) A kind of file uploading method of network hard disc, system and net dish client
US20170083307A1 (en) Updating Web Resources
US20130066901A1 (en) Hash-based file comparison
JP2012078916A (en) Terminal device and program
EP3382534A1 (en) Page jumping method and apparatus
KR20080099309A (en) Communication device for emulating a behavior of a navigation device
TWI549080B (en) The method, system and device for sending information of category information
CN103561479A (en) Bluetooth device communication method and device
CN104268055A (en) Program exception monitoring method and device
CN103645910A (en) Methods for updating applications
KR20180038539A (en) A method and system for implementing data tracking with a software development kit
CN101098248B (en) Method and system for implementing universal network management based on configuration describing document
EP3386150A1 (en) Terminal failure processing method, device and system
CN103577658B (en) The appraisal procedure and assessment system of intelligent terminal hardware
CN101179472A (en) Network resource searching method and searching system
US10554532B2 (en) Method and device for establishing performance measurement task and processing performance measurement result
WO2013078951A1 (en) Method and system for upgrading software

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20150715