Summary of the invention
The embodiment of the invention provides the method and apparatus of a kind of over the air upgrading, is intended to solve the problem how diversification and Extraordinary upgrade service are provided for the user.
First aspect, a kind of method of over the air OTA upgrading, described method comprises:
Receive the characteristic catalogue that the OTA server sends; Described characteristic catalogue comprises characteristic information to be upgraded, and described characteristic catalogue obtains according to the difference of new software version and old software version;
Obtain the characteristic to be upgraded that the user selects from described characteristic catalogue;
The characteristic to be upgraded of upgrading user selection.
In conjunction with first aspect, in the possible implementation of the first of first aspect, the characteristic to be upgraded of described upgrading user selection comprises:
According to the OTA AKU that receives from described OTA server all characteristics the described characteristic catalogue are upgraded, described characteristic catalogue is included in the described OTA AKU;
Non-selected characteristic to be upgraded in the described characteristic catalogue is reverted to upgrading characteristic before.
In conjunction with the possible implementation of the first of first aspect, in the possible implementation of the second of first aspect, described with non-selected characteristic to be upgraded in the described characteristic catalogue revert to the upgrading before characteristic, comprising:
When the attribute of described non-selected characteristic to be upgraded when being newly-increased, delete described non-selected characteristic to be upgraded;
When the attribute of described non-selected characteristic to be upgraded is when upgrading, use described non-selected characteristic to be upgraded before the upgrading;
When the attribute of described non-selected characteristic is deletion, recover before described non-selected characteristic to be upgraded of upgrading.
In conjunction with the possible implementation of the second of first aspect, in the third possible implementation of first aspect, described with non-selected characteristic to be upgraded in the described characteristic catalogue revert to the upgrading before characteristic before, described method also comprises:
From the log recording table that described OTA AKU carries, obtain the attribute of described non-selected characteristic to be upgraded;
Described log recording table obtains according to the difference of new software version and old software version, comprises the attribute information of all described characteristic informations to be upgraded in the described log recording table; Described attribute information comprises: increase newly, upgrade or deletion.
In conjunction with first aspect, in the 4th kind of possible implementation of first aspect, the characteristic to be upgraded of described upgrading user selection comprises:
The information of the characteristic to be upgraded of user selection is sent to described OTA server;
The AKU corresponding to characteristic to be upgraded of the described user selection that reception is returned from described OTA server;
According to the AKU that the characteristic to be upgraded of described user selection is corresponding the characteristic to be upgraded of described user selection is upgraded.
Second aspect, a kind of method of over the air OTA upgrading, described method comprises:
To terminal transfer characteristic catalogue, so that described terminal is obtained the characteristic to be upgraded that the user selects from described characteristic catalogue, and the characteristic to be upgraded of upgrading user selection; Described characteristic catalogue comprises characteristic information to be upgraded, and described characteristic catalogue obtains according to the difference of new software version and old software version.
In conjunction with second aspect, in the possible implementation of the first of second aspect, described characteristic catalogue is included in the OTA AKU of described terminal transmission.
In conjunction with the possible implementation of the first of second aspect, in the possible implementation of the second of second aspect, described method also comprises: send log recording table to described terminal, so that described terminal is according to the characteristic to be upgraded of described log recording table upgrading user selection;
Described log recording table is included in the OTA AKU of described terminal transmission; Described log recording table obtains according to the difference of new software version and old software version, comprises the attribute information of all described characteristic informations to be upgraded in the described log recording table; Described attribute information comprises: increase newly, upgrade or deletion.
In conjunction with second aspect, in the third possible implementation of second aspect, described method also comprises after the step of terminal transfer characteristic catalogue:
Receive the information of the characteristic to be upgraded that user that described terminal sends selects from described characteristic catalogue;
Send the AKU corresponding to characteristic to be upgraded of user selection to described terminal, so that described terminal is upgraded to the characteristic to be upgraded of described user selection according to AKU corresponding to the characteristic to be upgraded of described user selection.
The third aspect, a kind of terminal, described terminal comprises:
Receiving element is used for receiving the characteristic catalogue that the OTA server sends; Described characteristic catalogue comprises characteristic information to be upgraded, and described characteristic catalogue obtains according to the difference of new software version and old software version;
Acquiring unit is used for obtaining the characteristic to be upgraded that the user selects from described characteristic catalogue;
The upgrading unit is for the characteristic to be upgraded of upgrading user selection.
In conjunction with the third aspect, in the possible implementation of the first of the third aspect, described upgrading unit specifically is used for:
According to the OTA AKU that receives from described OTA server all characteristics the described characteristic catalogue are upgraded, described characteristic catalogue is included in the described OTA AKU;
Non-selected characteristic to be upgraded in the described characteristic catalogue is reverted to upgrading characteristic before.
In conjunction with the possible implementation of the first of the third aspect, in the possible implementation of the second of the third aspect, described upgrading unit execution in step reverts to upgrading characteristic before with non-selected characteristic to be upgraded in the described characteristic catalogue, comprising:
When the attribute of described non-selected characteristic to be upgraded when being newly-increased, delete described non-selected characteristic to be upgraded;
When the attribute of described non-selected characteristic to be upgraded is when upgrading, use described non-selected characteristic to be upgraded before the upgrading;
When the attribute of described non-selected characteristic is deletion, recover before described non-selected characteristic to be upgraded of upgrading.
In conjunction with the possible implementation of the second of the third aspect, in the third possible implementation of the third aspect, described terminal also comprises acquiring unit, and described acquiring unit specifically is used for:
Described upgrading unit with described characteristic catalogue in before the characteristic of non-selected characteristic to be upgraded before reverting to upgrading, from the log recording table that described OTA AKU carries, obtain the attribute of described non-selected characteristic to be upgraded;
Described log recording table obtains according to the difference of new software version and old software version, comprises the attribute information of all described characteristic informations to be upgraded in the described log recording table; Described attribute information comprises: increase newly, upgrade or deletion.
In conjunction with the third aspect, in the 4th kind of possible implementation of the third aspect, described upgrading unit specifically is used for:
The information of the characteristic to be upgraded of user selection is sent to described OTA server;
The AKU corresponding to characteristic to be upgraded of the described user selection that reception is returned from described OTA server;
According to the AKU that the characteristic to be upgraded of described user selection is corresponding the characteristic to be upgraded of described user selection is upgraded.
Fourth aspect, a kind of server, described server comprises:
Transmitting element is used for to terminal transfer characteristic catalogue, so that described terminal is obtained the characteristic to be upgraded that the user selects from described characteristic catalogue, and the characteristic to be upgraded of upgrading user selection; Described characteristic catalogue comprises characteristic information to be upgraded, and described characteristic catalogue obtains according to the difference of new software version and old software version.
In conjunction with fourth aspect, in the possible implementation of the first of fourth aspect, described characteristic catalogue is included in the OTA AKU of described terminal transmission.
In conjunction with the possible implementation of the first of fourth aspect, in the possible implementation of the second of fourth aspect, described server also comprises the transmission subelement, and described transmission subelement specifically is used for:
Send log recording table to described terminal, so that described terminal is according to the characteristic to be upgraded of described log recording table upgrading user selection;
Described log recording table is included in the OTA AKU of described terminal transmission; Described log recording table obtains according to the difference of new software version and old software version, comprises the attribute information of all described characteristic informations to be upgraded in the described log recording table; Described attribute information comprises: increase newly, upgrade or deletion.
In conjunction with fourth aspect, in the third possible implementation of fourth aspect, described server also comprises receiving element, and described receiving element specifically is used for:
Receive the information of the characteristic to be upgraded that user that described terminal sends selects from described characteristic catalogue;
Described transmitting element also is used for:
Send the AKU corresponding to characteristic to be upgraded of user selection to described terminal, so that described terminal is upgraded to the characteristic to be upgraded of described user selection according to AKU corresponding to the characteristic to be upgraded of described user selection.
The embodiment of the invention, terminal can receive the characteristic catalogue that comprises scalable characteristic information from the OTA server, the scalable characteristic information that comprises in this characteristic catalogue can be for user selection, the user selects characteristic to be upgraded from the characteristic catalogue after, can only the upgrade characteristic to be upgraded of user selection of terminal, thereby so that the user can be flexible the characteristic that need to upgrade of selection, improve the user and experience, for the user provides diversification and Extraordinary upgrade service.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
With reference to figure 1, Fig. 1 is the method flow diagram of a kind of OTA upgrading that provides of the embodiment of the invention.As shown in Figure 1, said method comprising the steps of:
Step 101, terminal receives the characteristic catalogue that the OTA server sends; Described characteristic catalogue comprises characteristic information to be upgraded, and described characteristic catalogue obtains according to the difference of new software version and old software version.
The characteristic catalogue that can obtain to the difference of the new software version of terminal transmission basis and old software version is arranged in the OTA server after the new software version.Wherein, the characteristic catalogue can comprise the affiliated classification, attribute information of characteristic to be upgraded etc., and the user can be according to the affiliated classification of described characteristic to be upgraded and the upgrade feature that attribute information is selected the needs upgrading.Wherein, affiliated classification is operator according to the different definition of the escalation process of described characteristic to be upgraded, and attribute information is that server obtains in the difference of new software version and old software version according to described characteristic to be upgraded.
Step 102, terminal are obtained the characteristic to be upgraded that the user selects from described characteristic catalogue.
When on the display interface of terminal during the display characteristic catalogue, the user can select characteristic to be upgraded from the characteristic catalogue; For example can comprise 5 characteristic informations to be upgraded in the characteristic catalogue, the user can select any one or a plurality of upgrading the in these 5 characteristic informations by button or touch-screen or other modes, and terminal can get access to the characteristic to be upgraded of user selection.
Step 103, the characteristic to be upgraded of terminal staging user selection.
After getting access to the characteristic to be upgraded of user selection, terminal is upgraded to these characteristics to be upgraded.To the process that characteristic to be upgraded is upgraded, can comprise following two kinds of possible execution modes.
A kind of execution mode is: terminal is upgraded to all characteristics the characteristic catalogue according to the OTA AKU that receives from the OTA server, then terminal reverts to upgrading characteristic before with non-selected characteristic to be upgraded in the characteristic catalogue, thereby has realized only upgrading for the characteristic of user selection.
Another kind of execution mode is: terminal is obtained the corresponding AKU of characteristic of user selection from the OTA server, then according to the AKU that obtains the characteristic of user selection is upgraded.
The embodiment of the invention provides a kind of method of OTA upgrading, terminal can receive the characteristic catalogue that comprises scalable characteristic information from the OTA server, the scalable characteristic information that comprises in this characteristic catalogue can be for user selection, the user selects characteristic to be upgraded from the characteristic catalogue after, can only the upgrade characteristic to be upgraded of user selection of terminal, thereby so that the user can be flexible the characteristic that need to upgrade of selection, improving the user experiences, for the user provides diversification and Extraordinary upgrade service, simultaneously, so that operator cooperates to provide characteristic as much as possible with the equipment vendor, further provide the degree of freedom of user selection.
With reference to figure 2, Fig. 2 is the method flow diagram of a kind of OTA upgrading that provides of the embodiment of the invention.As shown in Figure 2, said method comprising the steps of:
The OTA server is to terminal transfer characteristic catalogue, so that described terminal is obtained the characteristic to be upgraded that the user selects from described characteristic catalogue, and the characteristic to be upgraded of upgrading user selection; Described characteristic catalogue comprises characteristic information to be upgraded, and described characteristic catalogue obtains according to the difference of new software version and old software version.
The implementation that the first is possible, described characteristic catalogue are included in the OTA AKU of described terminal transmission.
The difference bag that described OTA AKU is new software version and old software version.
In conjunction with the possible implementation of the first, described method also comprises: send log recording table to described terminal, so that described terminal is according to the characteristic to be upgraded of described log recording table upgrading user selection;
Described log recording table is included in the OTA AKU of described terminal transmission; Described log recording table obtains according to the difference of new software version and old software version, comprises the attribute information of all described characteristic informations to be upgraded in the described log recording table; Described attribute information comprises: increase newly, upgrade or deletion.
The implementation that the second is possible, described method also comprises after the step of terminal transfer characteristic catalogue:
Receive the information of the characteristic to be upgraded that user that described terminal sends selects from described characteristic catalogue;
Send the AKU corresponding to characteristic to be upgraded of user selection to described terminal, so that described terminal is upgraded to the characteristic to be upgraded of described user selection according to AKU corresponding to the characteristic to be upgraded of described user selection.
The embodiment of the invention provides a kind of method of OTA upgrading, the characteristic catalogue that described method sends by receiving the OTA server, after from described characteristic catalogue, selecting characteristic to be upgraded, the characteristic to be upgraded of upgrading user selection, thereby so that the user can be flexible the characteristic that need to upgrade of selection, improve the user and experience, simultaneously, so that operator and equipment vendor's cooperation improve characteristic as much as possible, further provide the degree of freedom of user selection.
With reference to figure 3, Fig. 3 is the method flow diagram of a kind of OTA upgrading that provides of the embodiment of the invention.The embodiment of the invention is not limited to the order between each step, below only does as example take a kind of execution mode and specifies.
As shown in Figure 3, said method comprising the steps of:
Step 301, terminal receives the characteristic catalogue that the OTA server sends, and described characteristic catalogue comprises characteristic information to be upgraded, and described characteristic catalogue obtains according to the difference of new software version and old software version.
Step 302, terminal receives the log recording table that the OTA server sends, so that described terminal is according to the characteristic to be upgraded of described log recording table upgrading user selection; Then execution in step 303.
Need to prove, the OTA server is to characteristic catalogue and log recording table that terminal sends, can be included in to send together in the OTA AKU that the OTA server sends to terminal.
Concrete, described log recording table can comprise classification under all described characteristic informations to be upgraded, overall identification, attribute information etc., and described attribute information comprises: newly-increased, upgrade or deletion.
Can comprise classification under all characteristic informations to be upgraded, attribute information in the characteristic catalogue and about the functional description of characteristic information.Characteristic catalogue and log recording table comprise in have and partially overlap, difference is, the characteristic catalogue is used for being shown to the user at the display interface of terminal, can therefrom select characteristic to be upgraded for the user; And log recording table is used for: when the characteristic to be upgraded of terminal staging user selection, terminal is come the information of acquired character by the inquiry log record sheet, and perhaps, log recording table is used for the difference of the new software version of OTA server record and old software version.
The below is introduced the classification under the characteristic.Suppose a carrier customization m new features, its set expression is: M={t
0, t
1..., t
M-1.According to the classification under the new features, escalation process adopts different processing procedures.For example new features can be carried out following classification:
The category-A characteristic belongs to interrelated characteristic.As the sign (logo) of starting shooting, relate to the adjustment of the characteristics such as quick turn-on logo, static start logo.For this class feature, when over the air (Over-the-Air Technology, OTA) upgrading is selected, if when the user chose some characteristics in the category-A characteristic, other characteristics that are associated with the category-A characteristic were also chosen simultaneously.
The category-B characteristic belongs to forces characteristic to be upgraded.This class feature mainly solves the application that mobile phone problem or the strong request user of operator preset etc., such as the reparation of mobile phone security breaches, the problems such as restarting that crashes.This class feature will not given any prompting of user, in the backstage mandatory upgrade.
The C class feature belongs to autonomous behavior, does not namely solve certain problem simultaneously with other characteristic onrelevants and the characteristic set up.This class feature is the most common customization, such as boot animation, start the tinkle of bells, application etc.This class feature can allow the user select voluntarily.
All there are the attributes such as severity level, function, classification in any characteristic, and the user is with reference to this attribute, the strange characteristic of value, especially user of reasonable assessment characteristic upgrading.Need to prove, in the process of each OTA upgrading, the corresponding classification of the characteristic that comprises in the log recording table can be any class or the multiclass in above-mentioned three classes.
In embodiment, for example can identify described characteristic to be upgraded by overall identification, the logical address that described overall identification can be stored in portable terminal for each characteristic to be upgraded identifies as overall identification described logical address to described each characteristic to be upgraded.
Concrete, it is a kind of mode that the logical address that the characteristic that each is to be upgraded is stored in portable terminal identifies described each characteristic to be upgraded as overall identification.The various application characteristics of mobile phone terminal generally are stored in the various subregions of mobile phone, are stored in such as wallpaper, various game application etc. in the subregions such as system, data, cust.Any characteristic of mobile phone terminal all is unique in mobile phone, and can go to represent with overall identification, and this overall identification is referred to as T_flag.The language list characteristic supported of mobile phone for example, the form of expression of this characteristic in AKU is ASCII coding etc., the white_languages parameter that belongs to partition system File/cust/operator/state/xml/default.xml, then/there is uniqueness in cust/operator/state/xml/default.xml.white_languages in whole system, namely this characteristic logical address/cust/operator/state/xml/default.xml.white_languages that can store in portable terminal with it is as overall identification T_flag, can set up the mapping relations between the overall identification of the logical address of characteristic and characteristic.As shown in table 1:
Characteristic |
The T_flag sign |
Value for example |
The language list characteristic |
/cust/hw/normal/xml/default.xml.white_languages |
Such as en_US |
The boot animation characteristic |
/cust/hw/normal/media.animation |
It is zip file bag |
… |
… |
… |
Table 1
Concrete, with reference to figure 4, Fig. 4 is a kind of method schematic diagram that forms log recording table that the embodiment of the invention provides.As shown in Figure 4, suppose that old software version is the U01 version, new software version is the U02 version, newly-increased 100 new features, and any characteristic all has corresponding overall identification T_flag.
Step 401 compares one by one according to the content of the disparate modules such as platform, system subregion, cust subregion or subregion.
New software version and old software version constantly compare logical address and the T_flag of storage characteristics value in the OTA AKU, and the characteristic value after the characteristic value before will upgrading and the renewal is inserted in the log recording table, this log recording table is the storage characteristics change type simultaneously, and change type comprises newly-increased (I), delete (D), change (U) three types.
Concrete, determine that the method for the change type of characteristic can be as follows:
Judge that the overall identification of characteristic to be upgraded is whether in the overall identification of new software version;
When the overall identification of described characteristic to be upgraded not in the overall identification of new software version, and the overall identification of described characteristic to be upgraded is in the overall identification of old software version version, the attribute that then upgrades described characteristic to be upgraded is deletion;
When the overall identification of described characteristic to be upgraded in the overall identification of new software version, judge that the overall identification of described characteristic to be upgraded is whether in the overall identification of old software version version;
When the overall identification of described characteristic to be upgraded not in the overall identification of old software version version, then upgrade the attribute of described characteristic to be upgraded for newly-increased;
When the overall identification of described characteristic to be upgraded in the overall identification of old software version version, then upgrade the attribute of described characteristic to be upgraded for upgrading.
Concrete, with reference to figure 5, Fig. 5 is a kind of method schematic diagram that obtains the change type of characteristic in the log recording table that the embodiment of the invention provides.As shown in Figure 5, if there is this T_flag in the redaction, and do not exist in the legacy version, change type is I, belongs to newly-increased new features; If there is not this T_flag in redaction, and have this T_flag in the legacy version, change type is D, belongs to the deletion characteristic; If all there is this T_flag in the new and old edition, only property value is different, and updating type is U, belongs to renewing speciality.
Step 402, the storing daily record record sheet forms an OTA AKU that carries described log recording table.
Can comprise following content in the described log recording table:
By aforesaid method, this OTA AKU is compared with traditional OTA AKU, on content-form, increase the log recording table about the change type of characteristic, this log recording table record the historical record of any change of doing of the relative legacy version of redaction.
Step 303, terminal are obtained the characteristic to be upgraded that the user selects from described characteristic catalogue.
Terminal can be shown to the user with the characteristic catalogue, thereby so that the user can select characteristic to be upgraded from the characteristic catalogue.
Step 304, terminal is upgraded to all characteristics the described characteristic catalogue according to the OTA AKU that receives from described OTA server.
The present embodiment does not limit the sequencing that step 303 and step 304 are carried out.
Step 305, terminal are obtained the attribute of non-selected characteristic to be upgraded from the log recording table that described OTA AKU carries.
Described log recording table obtains according to the difference of new software version and old software version, comprises the attribute information of all described characteristic informations to be upgraded in the described log recording table; Described attribute information comprises: increase newly, upgrade or deletion.
Step 306, terminal will not reverted to upgrading characteristic before by the characteristic to be upgraded of user selection in the described characteristic catalogue.
This step specifically can comprise:
When the attribute of described non-selected characteristic to be upgraded when being newly-increased, delete described non-selected characteristic to be upgraded;
When the attribute of described non-selected characteristic to be upgraded is when upgrading, use described non-selected characteristic to be upgraded before the upgrading;
When the attribute of described non-selected characteristic is deletion, recover before described non-selected characteristic to be upgraded of upgrading.
The embodiment of the invention, after the complete characteristic upgrading to the OTA AKU that receives, recover again non-selected characteristic in the OTA AKU, thereby so that the user can be flexible the characteristic that need to upgrade of selection, improve the user and experience, for the user provides diversification and Extraordinary upgrade service, simultaneously, so that operator cooperates to provide characteristic as much as possible with the equipment vendor, further provide the degree of freedom of user selection.
Concrete, with reference to figure 6, Fig. 6 is the method flow diagram of a kind of OTA upgrading of providing of the embodiment of the invention.As shown in Figure 6,
Step 601, user selection upgrade mode, described upgrade mode comprise complete machine upgrade mode (Entriely upgrade mode, EUM) and characteristic upgrade mode (features upgrade mode, FUM); When user selection EUM, execution in step 602, when user selection FUM, execution in step 603.
In embodiment, when carrying out the OTA upgrading, can provide optional upgrade mode for the user.For example: the user can select existing conventional upgrade mode, i.e. EUM, the optional upgrade mode that the user also can select the embodiment of the invention to provide, i.e. FUM.
Step 602, terminal is carried out the complete machine upgrading according to the OTA AKU of downloading in advance.
Step 603, terminal are to user's display characteristic catalogue, for user selection characteristic to be upgraded.
Step 604, terminal receive the information of the characteristic to be upgraded of user selection upgrading.
Concrete, the OTA AKU provides the characteristic tabulation of user selection upgrading according to log recording table.Such as Fig. 7, Fig. 7 is the method schematic diagram of a kind of display characteristic of providing of the embodiment of the invention.That mobile phone client users is selected a kind of example in interface such as Fig. 7, the interface comprises choice box, characteristic abbreviation, attribute information, affiliated classification, described choice box is used for providing selection to the user, described characteristic is called for short and is used for each characteristic of sign, described attribute information comprises newly-increased characteristic, renewing speciality, deletion characteristic, respectively the corresponding new and old edition action type action type that is I, U, D.When the user clicks attribute and selects button, can represent the affiliated classification relevant with this characteristic to the user, such as interrelated classification, pressure characteristic to be upgraded, autonomous behavior etc.
Step 605, terminal obtains the overall identification of the characteristic to be upgraded of the non-selected upgrading of user according to the overall identification statistics of the characteristic to be upgraded of the overall identification of all characteristics to be upgraded in the described OTA AKU and user selection upgrading, and the overall identification of the characteristic to be upgraded of the non-selected upgrading of described user is kept in the temporary variable.
Step 606, terminal is according to all characteristics to be upgraded of OTA AKU upgrading OTA AKU.
Step 607, the OTA AKU is normally upgraded, after the OTA AKU is finished, terminal is the characteristic of non-category-B type according to unselected characteristic T_flag and type, search the attribute information of corresponding historical record, carry out the phase inverse operation, because the characteristic of category-B type is not need the user to agree, need the characteristic of mandatory upgrade.Suppose that the unselected characteristic t1 of user for newly-increased characteristic, is the attribute information of I, the t1 characteristic will be deleted by the version after upgrading by system, and it is reduced into the state of legacy version; If unselected characteristic t2 is the updating type of U for the change characteristic, system will replace the value of the legacy version of characteristic the value after upgrading, and it is reduced into the state of legacy version; If unselected characteristic is the updating type of D for the deletion characteristic, system will allow the state of this characteristic reduction legacy version.The new features of customer selecting enter into force thus, and the unselected new features of client are not reduced into the state of legacy version, i.e. unselected new features and Pending The Entry Into Force.
The embodiment of the invention provides a kind of method of OTA upgrading, described method by the complete characteristic upgrading to the OTA AKU that receives after, recover again non-selected characteristic in the OTA AKU, thereby so that the user can be flexible the characteristic that need to upgrade of selection, improving the user experiences, simultaneously, so that operator and equipment vendor's cooperation improve characteristic as much as possible, further provide the degree of freedom of user selection.
With reference to figure 8, Fig. 8 is the method flow diagram of a kind of OTA upgrading that provides of the embodiment of the invention.The embodiment of the invention is not limited to the order between each step, below only does as example take a kind of execution mode and specifies.
As shown in Figure 8, said method comprising the steps of:
Step 801, terminal receives the characteristic catalogue that the OTA server sends, and described characteristic catalogue comprises characteristic information to be upgraded, and described characteristic catalogue obtains according to the difference of new software version and old software version;
Step 802, terminal are obtained the characteristic to be upgraded that the user selects from described characteristic catalogue;
Step 803, terminal sends to described OTA server with the information of the characteristic to be upgraded of user selection;
Step 804, terminal receive the AKU corresponding to characteristic to be upgraded of the described user selection that returns from described OTA server;
Step 805, terminal is upgraded to the characteristic to be upgraded of described user selection according to AKU corresponding to the characteristic to be upgraded of described user selection.
Concrete, with reference to figure 9, Fig. 9 is the method schematic diagram of a kind of OTA upgrading of providing of the embodiment of the invention.As shown in Figure 9, the OTA AKU that log recording table will carry in operator sends to the OTA server, and OTA updating client (being equivalent to the terminal in above-described embodiment) is selected the FUM pattern and sent the request of characteristic to be upgraded to the OTA server; OTA server calls interface function sends to the OTA updating client according to OTA AKU and log recording table with new features; The OTA updating client represents described new features to the user with forms such as characteristic catalogues, allows the user select as required, after selecting to finish, sends T_flag to the OTA server of described characteristic; The OTA server is according to the T_flag of described characteristic search log recording table, and the AKU of described characteristic is sent to the OTA updating client, and the OTA updating client is accepted to upgrade behind the AKU of described characteristic, and is last, and upgrade status is sent to the OTA server.
The embodiment of the invention provides a kind of method of OTA upgrading, described method sends to the OTA server by the characteristic to be upgraded with user selection, the characteristic to be upgraded of the characteristic upgrading user selection to be upgraded that reception OTA server returns, thereby so that the user can be flexible the characteristic that need to upgrade of selection, improving the user experiences, simultaneously, so that operator and equipment vendor's cooperation improve characteristic as much as possible, further provide the degree of freedom of user selection.
With reference to Figure 10, Figure 10 is the structure drawing of device of a kind of terminal of providing of the embodiment of the invention.As shown in figure 10, described terminal comprises with lower unit:
Receiving element 1001 is used for receiving the characteristic catalogue that the OTA server sends; Described characteristic catalogue comprises characteristic information to be upgraded, and described characteristic catalogue obtains according to the difference of new software version and old software version;
The characteristic catalogue that can obtain to the difference of the new software version of terminal transmission basis and old software version is arranged in the OTA server after the new software version.Wherein, the characteristic catalogue can comprise the affiliated classification, attribute information of characteristic to be upgraded etc., and the user can be according to the affiliated classification of described characteristic to be upgraded and the upgrade feature that attribute information is selected the needs upgrading.Wherein, affiliated classification is operator according to the different definition of the escalation process of described characteristic to be upgraded, and attribute information is that server obtains in the difference of new software version and old software version according to described characteristic to be upgraded.
Acquiring unit 1002 is used for obtaining the characteristic to be upgraded that the user selects from described characteristic catalogue;
When on the display interface of terminal during the display characteristic catalogue, the user can select characteristic to be upgraded from the characteristic catalogue; For example can comprise 5 characteristic informations to be upgraded in the characteristic catalogue, the user can select any one or a plurality of upgrading the in these 5 characteristic informations by button or touch-screen or other modes, and terminal can get access to the characteristic to be upgraded of user selection.
The implementation that the first is possible, described terminal also comprises acquiring unit 1002, described acquiring unit 1002 specifically is used for:
Described upgrading unit with described characteristic catalogue in before the characteristic of non-selected characteristic to be upgraded before reverting to upgrading, from the log recording table that described OTA AKU carries, obtain the attribute of described non-selected characteristic to be upgraded;
Described log recording table obtains according to the difference of new software version and old software version, comprises the attribute information of all described characteristic informations to be upgraded in the described log recording table; Described attribute information comprises: increase newly, upgrade or deletion.
Upgrading unit 1003 is for the characteristic to be upgraded of upgrading user selection.
The implementation that the first is possible, described upgrading unit 1003 specifically is used for:
According to the OTA AKU that receives from described OTA server all characteristics the described characteristic catalogue are upgraded, described characteristic catalogue is included in the described OTA AKU;
Non-selected characteristic to be upgraded in the described characteristic catalogue is reverted to upgrading characteristic before.
The implementation that the first is possible, described upgrading unit 1003 execution in step revert to upgrading characteristic before with non-selected characteristic to be upgraded in the described characteristic catalogue, comprising:
When the attribute of described non-selected characteristic to be upgraded when being newly-increased, delete described non-selected characteristic to be upgraded;
When the attribute of described non-selected characteristic to be upgraded is when upgrading, use described non-selected characteristic to be upgraded before the upgrading;
When the attribute of described non-selected characteristic is deletion, recover before described non-selected characteristic to be upgraded of upgrading.
The implementation that the first is possible, described terminal also comprises acquiring unit 1002, described acquiring unit 1002 specifically is used for:
Described upgrading unit with described characteristic catalogue in before the characteristic of non-selected characteristic to be upgraded before reverting to upgrading, from the log recording table that described OTA AKU carries, obtain the attribute of described non-selected characteristic to be upgraded;
Described log recording table obtains according to the difference of new software version and old software version, comprises the attribute information of all described characteristic informations to be upgraded in the described log recording table; Described attribute information comprises: increase newly, upgrade or deletion.
The implementation that the second is possible, described upgrading unit 1003 specifically is used for:
The information of the characteristic to be upgraded of user selection is sent to described OTA server;
The AKU corresponding to characteristic to be upgraded of the described user selection that reception is returned from described OTA server;
According to the AKU that the characteristic to be upgraded of described user selection is corresponding the characteristic to be upgraded of described user selection is upgraded.
After getting access to the characteristic to be upgraded of user selection, terminal is upgraded to these characteristics to be upgraded.To the process that characteristic to be upgraded is upgraded, can comprise following two kinds of possible execution modes.
A kind of execution mode is: terminal is upgraded to all characteristics the characteristic catalogue according to the OTA AKU that receives from the OTA server, then terminal will not reverted to upgrading characteristic before by the characteristic to be upgraded of user selection in the characteristic catalogue, thereby has realized only upgrading for the characteristic of user selection.
Another kind of execution mode is: terminal is obtained the corresponding AKU of characteristic of user selection from the OTA server, then according to the AKU that obtains the characteristic of user selection is upgraded.
The embodiment of the invention provides a kind of terminal, terminal can receive the characteristic catalogue that comprises scalable characteristic information from the OTA server, the scalable characteristic information that comprises in this characteristic catalogue can be for user selection, the user selects characteristic to be upgraded from the characteristic catalogue after, can only the upgrade characteristic to be upgraded of user selection of terminal, thereby so that the user can be flexible the characteristic that need to upgrade of selection, improving the user experiences, for the user provides diversification and Extraordinary upgrade service, simultaneously, so that operator cooperates to provide characteristic as much as possible with the equipment vendor, further provide the degree of freedom of user selection.
With reference to Figure 11, Figure 11 is the structure drawing of device of a kind of server of providing of the embodiment of the invention.As shown in figure 11, described server comprises with lower unit:
Transmitting element 1101 is used for to terminal transfer characteristic catalogue, so that described terminal is obtained the characteristic to be upgraded that the user selects from described characteristic catalogue, and the characteristic to be upgraded of upgrading user selection; Described characteristic catalogue comprises characteristic information to be upgraded, and described characteristic catalogue obtains according to the difference of new software version and old software version.
The implementation that the first is possible, described characteristic catalogue are included in the OTA AKU of described terminal transmission.
The difference bag that described OTA AKU is new software version and old software version.
In conjunction with the possible implementation of the first, described server also comprises the transmission subelement, and described transmission subelement specifically is used for: send log recording table to described terminal, so that described terminal is according to the characteristic to be upgraded of described log recording table upgrading user selection;
Described log recording table is included in the OTA AKU of described terminal transmission; Described log recording table obtains according to the difference of new software version and old software version, comprises the attribute information of all described characteristic informations to be upgraded in the described log recording table; Described attribute information comprises: increase newly, upgrade or deletion.
The implementation that the second is possible, described server also comprises receiving element, described receiving element specifically is used for:
Receive the information of the characteristic to be upgraded that user that described terminal sends selects from described characteristic catalogue;
Described transmitting element also is used for:
Send the AKU corresponding to characteristic to be upgraded of user selection to described terminal, so that described terminal is upgraded to the characteristic to be upgraded of described user selection according to AKU corresponding to the characteristic to be upgraded of described user selection.
The embodiment of the invention provides a kind of server, the characteristic catalogue that described server sends by receiving the OTA server, after from described characteristic catalogue, selecting characteristic to be upgraded, the characteristic to be upgraded of upgrading user selection, thereby so that the user can be flexible the characteristic that need to upgrade of selection, improve the user and experience, simultaneously, so that operator and equipment vendor's cooperation improve characteristic as much as possible, further provide the degree of freedom of user selection.
With reference to Figure 12, Figure 12 is the structure drawing of device of a kind of terminal of providing of the embodiment of the invention.With reference to Figure 12, Figure 12 is a kind of terminal 1200 that the embodiment of the invention provides, and the specific embodiment of the invention is not done restriction to the specific implementation of described terminal.Described terminal 1200 comprises:
Processor (processor) 1201, communication interface (Communications Interface) 1202, memory (memory) 1203, bus 1204.
Processor 1201, communication interface 1202, memory 1203 is finished mutual communication by bus 1204.
Communication interface 1202 is used for communicating with terminal or OTA server;
Processor 1201 is used for executive program.
Particularly, program can comprise program code, and described program code comprises computer-managed instruction.
Processor 1201 may be a central processing unit (central processing unit, CPU), or be configured to implement one or more integrated circuits of the embodiment of the invention or specific integrated circuit ASIC(Application Specific Integrated Circuit).
Memory 1203 is used for storage program.Memory 1203 can be volatile memory (volatile memory), random access memory (random-access memory for example, RAM), perhaps nonvolatile memory (non-volatile memory), for example read-only memory (read-only memory, ROM), flash memory (flash memory), hard disk (hard disk drive, HDD) or solid state hard disc (solid-state drive, SSD).Processor 1201 is carried out following methods according to the program command of memory 1203 storages:
Receive the characteristic catalogue that the OTA server sends; Described characteristic catalogue comprises characteristic information to be upgraded, and described characteristic catalogue obtains according to the difference of new software version and old software version;
Obtain the characteristic to be upgraded that the user selects from described characteristic catalogue;
The characteristic to be upgraded of upgrading user selection.
The characteristic to be upgraded of described upgrading user selection comprises:
According to the OTA AKU that receives from described OTA server all characteristics the described characteristic catalogue are upgraded, described characteristic catalogue is included in the described OTA AKU;
Non-selected characteristic to be upgraded in the described characteristic catalogue is reverted to upgrading characteristic before.
Described with non-selected characteristic to be upgraded in the described characteristic catalogue revert to the upgrading before characteristic, comprising:
When the attribute of described non-selected characteristic to be upgraded when being newly-increased, delete described non-selected characteristic to be upgraded;
When the attribute of described non-selected characteristic to be upgraded is when upgrading, use described non-selected characteristic to be upgraded before the upgrading;
When the attribute of described non-selected characteristic is deletion, recover before described non-selected characteristic to be upgraded of upgrading.
Described with non-selected characteristic to be upgraded in the described characteristic catalogue revert to the upgrading before characteristic before, described method also comprises:
From the log recording table that described OTA AKU carries, obtain the attribute of described non-selected characteristic to be upgraded;
Described log recording table obtains according to the difference of new software version and old software version, comprises the attribute information of all described characteristic informations to be upgraded in the described log recording table; Described attribute information comprises: increase newly, upgrade or deletion.
In the another kind of execution mode, the characteristic to be upgraded of described upgrading user selection comprises:
The information of the characteristic to be upgraded of user selection is sent to described OTA server;
The AKU corresponding to characteristic to be upgraded of the described user selection that reception is returned from described OTA server;
According to the AKU that the characteristic to be upgraded of described user selection is corresponding the characteristic to be upgraded of described user selection is upgraded.
The embodiment of the invention provides a kind of terminal, terminal can receive the characteristic catalogue that comprises scalable characteristic information from the OTA server, the scalable characteristic information that comprises in this characteristic catalogue can be for user selection, the user selects characteristic to be upgraded from the characteristic catalogue after, can only the upgrade characteristic to be upgraded of user selection of terminal, thereby so that the user can be flexible the characteristic that need to upgrade of selection, improving the user experiences, for the user provides diversification and Extraordinary upgrade service, simultaneously, so that operator cooperates to provide characteristic as much as possible with the equipment vendor, further provide the degree of freedom of user selection.
With reference to Figure 13, Figure 13 is the structure drawing of device of a kind of server of providing of the embodiment of the invention.With reference to Figure 13, Figure 13 is a kind of server 1300 that the embodiment of the invention provides, and the specific embodiment of the invention is not done restriction to the specific implementation of described server.Described server 1300 comprises:
Processor (processor) 1301, communication interface (Communications Interface) 1302, memory (memory) 1303, bus 1304.
Processor 1301, communication interface 1302, memory 1303 is finished mutual communication by bus 1304.
Communication interface 1302 is used for communicating with server or OTA server;
Processor 1301 is used for executive program.
Particularly, program can comprise program code, and described program code comprises computer-managed instruction.
Processor 1301 may be a central processing unit (central processing unit, CPU), or be configured to implement one or more integrated circuits of the embodiment of the invention or specific integrated circuit ASIC(Application Specific Integrated Circuit).
Memory 1303 is used for storage program.Memory 1303 can be volatile memory (volatile memory), random access memory (random-access memory for example, RAM), perhaps nonvolatile memory (non-volatile memory), for example read-only memory (read-only memory, ROM), flash memory (flash memory), hard disk (hard disk drive, HDD) or solid state hard disc (solid-state drive, SSD).Processor 1301 is carried out following methods according to the program command of memory 1303 storages:
To terminal transfer characteristic catalogue, so that described terminal is obtained the characteristic to be upgraded that the user selects from described characteristic catalogue, and the characteristic to be upgraded of upgrading user selection; Described characteristic catalogue comprises characteristic information to be upgraded, and described characteristic catalogue obtains according to the difference of new software version and old software version.
Described characteristic catalogue is included in the OTA AKU of described terminal transmission.
Described method also comprises: send log recording table to described terminal, so that described terminal is according to the characteristic to be upgraded of described log recording table upgrading user selection;
Described log recording table is included in the OTA AKU of described terminal transmission; Described log recording table obtains according to the difference of new software version and old software version, comprises the attribute information of all described characteristic informations to be upgraded in the described log recording table; Described attribute information comprises: increase newly, upgrade or deletion.
Described method can also comprise after the step of terminal transfer characteristic catalogue:
Receive the information of the characteristic to be upgraded that user that described terminal sends selects from described characteristic catalogue;
Send the AKU corresponding to characteristic to be upgraded of user selection to described terminal, so that described terminal is upgraded to the characteristic to be upgraded of described user selection according to AKU corresponding to the characteristic to be upgraded of described user selection.
The embodiment of the invention provides a kind of server, the characteristic catalogue that described server sends by receiving the OTA server, after from described characteristic catalogue, selecting characteristic to be upgraded, the characteristic to be upgraded of upgrading user selection, thereby so that the user can be flexible the characteristic that need to upgrade of selection, improve the user and experience, simultaneously, so that operator and equipment vendor's cooperation improve characteristic as much as possible, further provide the degree of freedom of user selection.
The above; only for the better embodiment of the present invention, but protection scope of the present invention is not limited to this, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.